* {
  margin: 0;
}

html,
body {
  height: 100%;
}
body {
  background: #e5efff;
  font-family: "Montserrat", serif;
}

.blog-card {
  max-width: 550px;
  width: 100%;
  height: 500px;
  position: absolute;
  font-family: "Droid Serif", serif;
  color: #fff;
  top: 20%;
  right: 0;
  left: 0;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0px;
  box-shadow: 0px 10px 20px -9px rgba(0, 0, 0, 0.5);
  text-align: center;
  transition: all 0.4s;
  background: url(https://ik.imagekit.io/lgmxp6zal/Montage_albercas-89_UU_DMeGAcZ.jpg)
    center no-repeat;
  background-size: 100%;
}
.blog-card a {
  color: #fff;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-card .color-overlay {
  background: rgba(64, 84, 94, 0.5);
  width: 550px;
  height: 500px;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  transition: background 0.3s cubic-bezier(0.33, 0.66, 0.66, 1);
}
.blog-card .gradient-overlay {
  background-image: linear-gradient(transparent 0%, rgba(0, 0, 0, 0.6) 21%);
  width: 550px;
  height: 500px;
  position: absolute;
  top: 350px;
  left: 0;
  z-index: 15;
}
.blog-card:hover {
  box-shadow: 0px 18px 20px -9px rgba(0, 10, 30, 0.75);
}
.blog-card:hover .card-info {
  opacity: 1;
  bottom: 100px;
}
.blog-card:hover .color-overlay {
  background: rgba(64, 64, 70, 0.8);
}
.blog-card:hover .title-content {
  margin-top: 70px;
}
.title-content {
  text-align: center;
  margin: 170px 0 0 0;
  position: absolute;
  z-index: 20;
  width: 100%;
  top: 0;
  left: 0;
  transition: all 0.6s;
}

.blog-card:hover h3:after {
  animation: changeLetter 0.3s 1 linear;
  width: 80%;
}

.blog-card h3,
h1 {
  font-size: 1.9em;
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 0;
  display: inline-block;
}
.blog-card h3 a {
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
}
.blog-card h3 a:hover {
  text-shadow: 0px 8px 20px rgba(0, 0, 0, 0.95);
}
h3:after {
  content: " ";
  display: block;
  width: 10%;
  height: 2px;
  margin: 20px auto;
  border: 0;
  background: #bda26b;
  transition: all 0.2s;
}

@keyframes changeLetter {
  0% {
    width: 10%;
  }
  100% {
    width: 80%;
  }
}

.intro {
  width: 170px;
  margin: 0 auto;
  color: #ddd;
  font-style: italic;
  line-height: 18px;
}
.intro a {
  color: #ddd;
}
.intro a:hover {
  text-decoration: underline;
}
.card-info {
  box-sizing: border-box;
  padding: 0;
  width: 100%;
  position: absolute;
  bottom: -40px;
  left: 0;
  margin: 0 auto;
  padding: 0 50px;
  font-style: 16px;
  line-height: 24px;
  z-index: 20;
  opacity: 0;
  transition: bottom 0.64s, opacity 0.63s cubic-bezier(0.33, 0.66, 0.66, 1);
}

.card-info a {
  display: block;
  width: 100px;
  margin: 15px auto;
  background: #fff;
  color: #444;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 0.8em;
}
.card-info a:hover {
  background: #8e7c49;
  color: #fff;
}
.card-info a:hover span {
  filter: brightness(10);
  opacity: 1;
}
.utility-info {
  position: absolute;
  bottom: 0px;
  left: 0;
  z-index: 20;
  width: 100%;
  text-align: left;
}
.utility-info:after {
  content: " ";
  background: url(https://rawcdn.githack.com/Nodws/NodPen/ffad95aa5244b4b09a3c7c1508a018959bbedb7e/postItem/licons.svg)
    center no-repeat;
  background-size: 30px auto;
  display: block;
  opacity: 0.4;
  position: absolute;
  bottom: 25px;
  right: 15px;
  width: 30px;
  height: 15px;
}
.utility-info a:hover {
  text-decoration: underline;
}
.utility-list {
  list-style-type: none;
  margin: 0 0 10px 20px;
  padding: 0;
  width: 100%;
}
.utility-list li {
  margin: 0 5px 0 0;
  padding: 3px 0 15px 0px;
  display: inline-block;

  font-size: 0.8em;
}

.licon {
  position: relative;
  width: 23px;
  height: 15px;
  display: inline-block;
  vertical-align: middle;
}
.licon:before {
  content: "";
  background: url(https://rawcdn.githack.com/Nodws/NodPen/ffad95aa5244b4b09a3c7c1508a018959bbedb7e/postItem/licons.svg?) -2px -6px
    no-repeat;
  background-size: 250px;
  width: 26px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  position: absolute;
  top: -3px;
  left: 0;
}
.icon-white {
  filter: brightness(10);
}
.icon-black {
  filter: brightness(0);
  opacity: 0.6;
}
.icon-like:before {
  background-position: -183px -6px;
}
.icon-com:before {
  background-position: -63px -4px;
}
.icon-dat:before {
  background-position: -94px -7px;
}
.icon-tag:before {
  background-position: -33px -6px;
}

@media (max-width: 750px) {
  .utility-info {
    text-align: center;
  }
  .utility-info ul {
    width: 100%;
    margin: 0;
    box-sizing: border-box;
  }
  .utility-info li {
    width: 49%;
    display: inline-block;
    box-sizing: border-box;
    margin: 0;
  }
}

@media (max-width: 500px) {
  .utility-info li:last-of-type {
    width: 100%;
  }
  .card-info {
    display: none;
  }
  .blog-card:hover .title-content,
  .title-content {
    margin-top: 40px;
  }
  .blog-card {
    height: 300px;
  }
  .blog-card h3 {
    font-size: 1.3em;
  }
  .intro {
    font-size: 0.8em;
  }
}

/*  ================  */

/* ignore this bit :P */
#profile-badges:after {
  content: "BRO";
  font-family: "Lato", "Lucida Grande", "Lucida Sans Unicode", Tahoma,
    Sans-Serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  padding: 1px 4px 1px 4px;
  color: black !important;
  border-radius: 3px;
  position: relative;
  top: -2px;
  text-shadow: none !important;
  white-space: nowrap;
  letter-spacing: 0;
  background: #ffdd40;
}
.profile-header {
  background: #333
    url(
      https://images.unsplash.com/photo-1435783099294-283725c37230?dpr=1&auto=compress,
      format&fit=crop&w=1376&h=635&q=80&cs=tinysrgb&crop=&bg=
    )
    top center no-repeat;
  background-size: cover;
  font-size: 3em;
  position: relative;
}
.profile-header:after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(23, 23, 31, 0.42);
  z-index: 0;
}
#profile-links a {
  font-family: "Abril Fatface", serif;
  font-size: 1.2em;
}

.profile-links a[href*="nodws\.com"]:before {
  content: "\2616";
  color: #0a45b5;
  padding-right: 3px;
}

.profile-links a[href*="twitter"]:before {
  content: "\1f426";
  color: #08c;
}

.profile-links a[href*="dribbble"]:before {
  content: "\26BE";
  color: #d055bf;
}
#following-this-user {
  pointer-events: none;
}
#follow-this-user {
  font-size: 1.2em;
  border-color: #359ef9;
}
#follow-this-user:after {
  content: "\1f448";
}
.links-and-stats {
  background: rgb(20, 20, 21);
}
.profile-name h1 {
  text-shadow: 0 6px 9px rgba(0, 0, 0, 0.48);
}
.profile-avatar {
  bottom: -10px;
  width: 150px;
  height: 150px;
  border: 0px solid #1e1e1e;
  background: rgba(2, 2, 2, 0.49);
  box-shadow: 0 19px 19px -10px rgba(0, 0, 0, 0.63);
}
.profile-username,
.upsell,
.profile-location,
.primary-pro {
  opacity: 0;
}
.upsell,
#pen-as-header-question {
  display: none;
}
.profile-nav-1 a {
  font-size: 1.2rem;
}
.profile-bio,
.profile-nav-1 a.active,
.profile-nav-1 a:hover {
  color: rgba(20, 20, 21, 0.59) !important;
  font-size: 1.2rem;
}
.meta .pen-title {
  font-family: "Droid Serif", serif;
  text-align: center;
}
.pagination-button {
  background-color: #2f2f31;
  border-color: #2f2f31;
  transition: all 0.2s;
}
.pagination-button:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
.single-project .stats,
.single-pen .stats {
  text-align: center;
  width: 100%;
}
.stats svg {
  fill: #bda26b;
}
.stats svg,
.loves .icon-heart {
  fill: rgba(47, 47, 49, 0) !important;
  stroke: #ba6 !important;
  stroke-width: 0.1em !important;
}
.loves .icon-heart {
  stroke-width: 0.5em !important;
}
.comments svg {
  stroke-width: 0.35em !important;
}
.single-stat.loves.loved-1 svg {
  stroke: #fff !important;
}

.single-pen:hover h3:after {
  width: 40%;
  transition: all 0.2s;
}
.pen-actions {
  border: 0px !important;
}
.meta {
  box-shadow: none !important;
}

/*  */

header {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 18px 100px;
  opacity: 0;
  color: #fff;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 0 0 85% 85% / 40%;
  animation: fadein 1s 0.5s forwards;
}

@keyframes fadein {
  100% {
    opacity: 1;
  }
}

header nav {
  display: flex;
  margin-right: -15px;
}

header nav li {
  margin: 0 15px;
  list-style: none;
  color: white;
}

header nav li a {
  opacity: 1;
  font-size: 20px;
  text-decoration: none;
  color: white
}


/* MOBILE HAMBURGER MENU */
/* Don't display on web page */
@media (min-width: 600px) {
  .hamburger {
    display: none;
  }
}
/* Basic Styles */
@media (max-width: 600px) {
  header {
    display: none;
  }

  /* Basic Styles */
  .hamburger {
    position: fixed;
    z-index: 4;
    opacity: 0;
    animation: fadein 1s 0.5s forwards;
  }

  /* Toggle Functionality */
  #toggle {
    display: none;
  }

  #toggle:checked ~ .toggle-container .button-toggle {
    box-shadow: 0 0 0 550px rgba(0, 0, 0, 0.9),
      inset 0 0 0 20px rgba(0, 0, 0, 0.9);
  }

  #toggle:checked ~ .toggle-container .button-toggle {
    border-radius: 1%;
  }

  #toggle:checked ~ .toggle-container .button-toggle:before {
    transform: translateY(-50%) rotate(45deg) scale(1);
  }

  #toggle:checked ~ .toggle-container .button-toggle:after {
    transform: translateY(-50%) rotate(-45deg) scale(1);
  }

  #toggle:checked ~ .nav {
    margin-bottom: 100px;
    pointer-events: auto;
    transform: translate(50px, 50px);
  }

  #toggle:checked ~ .nav .nav-item {
    z-index: 4;
    color: #fff;
    letter-spacing: 0;
    height: 40px;
    line-height: 40px;
    margin-top: 0;
    opacity: 1;
    transform: scaleY(1);
    transition: 0.5s, opacity 0.1s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(1) {
    transition-delay: 0.2s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(1):before {
    transition-delay: 0.2s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(2) {
    transition-delay: 0.15s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(2):before {
    transition-delay: 0.15s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(3) {
    transition-delay: 0.1s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(3):before {
    transition-delay: 0.1s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(4) {
    transition-delay: 0.05s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(4):before {
    transition-delay: 0.05s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(5) {
    transition-delay: 0s;
  }

  #toggle:checked ~ .nav .nav-item:nth-child(5):before {
    transition-delay: 0s;
  }

  #toggle:checked ~ .nav .nav-item:before {
    opacity: 0;
  }

  /* Toggle Button */
  .button-toggle {
    position: absolute;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin: 25px;
    border-radius: 100%;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: 0.6s;
    box-shadow: 0 0 0 16px rgb(0, 0, 0), inset 0 0 0 20px rgb(0, 0, 0);
  }

  .button-toggle:before,
  .button-toggle:after {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000a1d;
    border-radius: 1%;
    transition: 0.5s;
  }

  .button-toggle::before,
  .button-toggle::after {
    background-color: white;
    border-radius: 0%;
  }

  .button-toggle:before {
    transform: translateY(-50%) rotate(45deg) scale(0);
  }
  .button-toggle:after {
    transform: translateY(50%) rotate(-45deg) scale(0);
  }

  /* Menu */
  .nav {
    display: inline-block;
    margin: 25px 25px 20px;
    pointer-events: none;
    transition: 0.5s;
  }
  .nav-item {
    position: relative;
    float: left;
    clear: both;
    color: rgba(0, 0, 0, 0.9);
    font-size: 18px;
    letter-spacing: -6.2px;
    height: 7px;
    line-height: 7px;
    text-transform: uppercase;
    white-space: nowrap;
    transform: scaleY(0.2);
    transition: 0.5s, opacity 1s;
  }

  .nav-item:nth-child(1) {
    transition-delay: 0s;
  }

  .nav-item:nth-child(1):before {
    transition-delay: 0s;
  }

  .nav-item:nth-child(2) {
    transition-delay: 0.05s;
  }

  .nav-item:nth-child(2):before {
    transition-delay: 0.05s;
  }

  .nav-item:nth-child(3) {
    transition-delay: 0.1s;
  }

  .nav-item:nth-child(3):before {
    transition-delay: 0.1s;
  }

  .nav-item:nth-child(4) {
    transition-delay: 0.15s;
  }

  .nav-item:nth-child(4):before {
    transition-delay: 0.15s;
  }

  .nav-item:nth-child(5) {
    transition-delay: 0.2s;
  }

  .nav-item:nth-child(5):before {
    transition-delay: 0.2s;
  }

  .nav-item:nth-child(1) {
    letter-spacing: -8px;
  }

  .nav-item:nth-child(2) {
    letter-spacing: -7px;
  }

  .nav-item:nth-child(n + 4) {
    letter-spacing: -8px;
    margin-top: -7px;
    opacity: 0;
  }

  .nav-item:before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: translateY(-50%) scaleY(5);
    transition: 0.5s;
  }
}

