/* HEADER/MAIN CONTENT STYLES */
  .hamburger {
    display: none;
    background: none;
    outline: none;
    border: none;
  }
  .mobile-nav {
    display: none;
  }
  .mobile-nav li a.is-open {
    color: #00ffffb3
  }

  .page-container {
      width: 1440px;
      max-width: 100%;
      margin: 0 auto;
  }

.home-top {
    position: absolute;
    top: 1.5rem;
    left: 50%;
    margin-left: -25px;
    cursor: pointer;
  }

  .home-top:hover path, 
  .home-top:focus-within path, 
  .home-top:active path {
    fill: #c55050;
    transition: .2s;
  }
  .go-back-top a {
    position: absolute;
    display: flex;
    top: 2.5rem;
    left: 10%;
    margin-left: -25px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.rem, 1.5vw, 1.2rem);
  }
  .go-back-top a:hover, 
  .go-back-top a:focus, 
  .go-back-top a:active {
    color: #c55050;
    transition: .2s ease-in-out;
    animation-name: hvr-wobble-horizontal;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 1;
  }

  @keyframes hvr-wobble-horizontal {
    16.65% {
      transform: translateX(8px);
    }
    33.3% {
      transform: translateX(-6px);
    }
    49.95% {
      transform: translateX(4px);
    }
    66.6% {
      transform: translateX(-2px);
    }
    83.25% {
      transform: translateX(1px);
    }
    100% {
      transform: translateX(0);
    }
  }

  @keyframes MoveLeft {
    0% {
        transform: translateX(0rem);
    }
    50% {
        transform: translateX(-.65rem);
    }
    100% {
        transform: translateX(0rem);
    }
  }

  .arrow-left {
    position: absolute;
    left: -2rem;
    width: 37px;
    height: 22px;
    animation: MoveLeft 1s ease-in-out infinite;
  }

  header {
    margin: 11rem auto 0rem auto;
  }

  .blog-header {
    width: 90%;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
  }

  .blog-photo-small {
    margin-bottom: 1rem;
    height: 450px;
    min-width: 75%;
  }
  .blog-photo-big {
    margin-bottom: 1rem;
    height: 500px;
    max-width: 75%;
  }

  .post-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.4rem);
    color: #c55050;
    padding-bottom: .75rem;
    word-wrap: break-word;
  }
  
  .author {
    display: flex;
    align-items: center;
    margin-bottom: .35rem;
    width: 65%;
    border-bottom: 1px solid #00ffffb3;
    padding-bottom: .5rem;
  }
  .author-info {
    margin-bottom: .3rem;
  }

  .name {
    font-family: 'Roboto', sans-serif;
    color: rgb(168, 168, 168);
    font-size: clamp(.9rem, 1.5vw, 1.1rem);
  }
  .date {
    font-family: 'Roboto', sans-serif;
    color: rgb(131, 131, 131);
    font-size: clamp(.8rem, 1.35vw, .9rem);
  }

  .profile-pic {
    margin-right: .5rem;
    margin-bottom: .5rem;
  }

  .section-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #c55050;
    font-size: clamp(2.75rem, 4vw, 4.4rem);
    padding-left: .75rem;
    border-left: 3px solid #00ffffb3;
    margin-bottom: 1rem;
  }

  .accent {
    color: #c55050;
    font-size: clamp(1.75rem, 2.5vw, 2.3rem);
    line-height: 1.3;
  }

  .post-container {
    width: 1440px;
    max-width: 90%;
    margin: 0 auto 8rem auto;
  }

  .main-text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: rgb(202, 201, 201);
    font-size: clamp(1.2rem, 2.5vw, 1.3rem);
    width: 65%;
    padding-top: 1rem;
    line-height: 1.6;
  }
  .last-paragraph {
    margin-bottom: 6rem;
  }

  /* ------------- */ 
  /* FOOTER STYLES */
  /* ------------- */

  nav {
    width: 100%;
  }

@keyframes Pulse {
  50% {
    transform: scale(1.2);
  }
}
.heart {
  animation: Pulse 1.5s infinite ease-in-out;
}

.mobile-heart {
  display: none;
}

.footer-mobile-nav {
  display: none;
}

.nav-ul {
  width: 1440px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-ul li {
  margin: 0 auto;
  /* width: max-content; */
}

.nav-ul li a {
  color: rgb(168, 168, 168);
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  transition: .2s;
  position: relative; /* needed for underline */
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}
.nav-ul li a.is-open, .footer-mobile-nav li a.is-open {
  color: #c55050;
}
.nav-ul li a:hover, 
.nav-ul li a:focus, 
.nav-ul li a:active {
  color: #c55050;
}

  /* UNDERLINE FROM MIDDLE */
.hover-text-from-middle::after {
content: '';
position: absolute;
display: block;
left: 50%;
right: 100%;
bottom: -5px;
border-bottom: 2px solid #c55050;
transition: .5s;
}
.hover-text-from-middle::before {
content: '';
position: absolute;
display: block;
right: 50%;
left: 100%;
bottom: -5px;
border-bottom: 2px solid #c55050;
transition: .5s;
}

.item-to-underline:hover .hover-text-from-middle::after {
right: -2px; /* 10px goes to the edge of the text, 0 is too far */
}
.item-to-underline:hover .hover-text-from-middle::before {
left: 0;
}

.home-bottom {
  position: absolute;
  bottom: 3.2rem;
  left: 50%;
  margin-left: -21px;
  cursor: pointer;
}

.home-bottom:hover path, 
.home-bottom:focus-within path, 
.home-bottom:active path {
  fill: #c55050;
  transition: .2s;
}

.copyright {
  position: relative;
  color: rgb(168, 168, 168);
  font-size: clamp(.8rem, 1vw, .9rem);
  text-align: center;
  width: 90%;
  margin: 8rem auto 1rem auto;
}


  /* ------------- */
  /* MEDIA QUERIES */
  /* ------------- */

  @media screen and (max-width: 319px) {
    .go-back-top a {
      left: 25%;
    }
  }

  @media screen and (min-width: 320px) and (max-width: 481px) {
    .go-back-top a {
      left: 20%;
    }
  }

  @media screen and (min-width: 482px) and (max-width: 768px) {
    .go-back-top a {
      left: 13%;
    }
  }

  @media screen and (min-width: 492px) {
    .space {
        display: none;
    }
}

  @media screen and (max-width: 581px) {
    .main-text {
      line-height: 2;
    }
  }

  @media screen and (max-width: 768px) {
  body {
    background: rgb(23, 22, 22) !important;
  }
  .home-top {
      display: none;
  } 
  header .hamburger {
      display: block;
      z-index: 10000;
      position: absolute;
      left: 85%;
      margin-left: -26.5px;
      top: 2.5rem;
      background: none;
      outline: none;
      border: none;
  }
  header .mobile-nav {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-evenly;
      position: fixed;
      top: 0;
      opacity: 0;
      left: 100%;
      width: 100%;
      height: 100%;
      z-index: 99;
      background-color: rgb(0, 0, 0);
      padding-top: 5rem;
      transition: .4s ease-in-out;
      color: #c55050;
      font-family: 'Open Sans', sans-serif;
      font-weight: 400;
      font-size: 1.7rem;
  }
  .mobile-nav.is-active {
      left: 0;
      opacity: 1;
  }
  .mobile-nav li a {
      color: #c55050;
  }

  .mobile-nav li a:hover, 
  .mobile-nav li a:focus, 
  .mobile-nav li a:active {
      color: #df7171;
  }
  .mobile-nav li a.is-open {
      color: #00ffffb3;
    }
  /* mobile nav fade in animation START */
      .mobile-nav.is-active li { 
      opacity: 0; /* elements fade in from being invisible */
     }
     .mobile-nav.is-active li.open {
      animation-name: fadeIn;
      animation-fill-mode: forwards;
      animation-duration: .5s; /* time between start and end of animation */
      animation-delay: .15s; /* time before animation kicks in */
      animation-timing-function: ease-in-out;
     }
     .mobile-nav.is-active li.open:nth-child(2) {
      animation-delay: .25s;
     }
     .mobile-nav.is-active li.open:nth-child(3) {
      animation-delay: .4s;
     }
     .mobile-nav.is-active li.open:nth-child(4) {
      animation-delay: .6s;
     }
     .mobile-nav.is-active li.open:nth-child(5) {
      animation-delay: .7s;
     }
     @keyframes fadeIn {
      0% {
       transform: translateX(75px); /* placement when animation begins */
       opacity: 0;
      }
      100% {
       transform: translateX(0); /* placement when animation ends */
       opacity: 1;
      }
     }
     /* mobile nav fade in animation END */
     
    .container {
      margin: -1rem auto 5rem auto !important;
    }
    .header-post {
        margin-bottom: 6rem;
    }
    .post-title {
        text-align: left;
    }
    .blog-photo {
        height: 250px;
    }
    .main-text {
        width: 97%;
        text-align: left;
        line-height: 1.8;
    }
    .author {
        width: 97%;
    }
    footer .nav-ul {
        display: none;
    }
    footer .footer-mobile-nav {
        display: flex;
        flex-direction: column;
        height: 400px;
        align-items: center;
        justify-content: space-evenly;
    }
    footer .footer-mobile-nav li a {
        color: rgb(148, 148, 148);
        font-family: 'Open Sans', sans-serif;
        font-weight: 300;
        font-size: clamp(1.2rem, 2vw, 1.7rem);
    }
    footer .footer-mobile-nav li a:hover, 
    footer .footer-mobile-nav li a:focus, 
    footer .footer-mobile-nav li a:active {
        color: #c55050;
    }
    footer .copyright {
        margin-top: 4rem;
    }

    footer {
        margin-top: -8rem !important;
    }
    footer .home-bottom {
        margin-left: -20px;
    }
  }

  @media screen and (max-width: 1024px) {
    .blog-header .blog-photo-big, .blog-header .blog-photo-small {
        max-width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 2000px) {
  .main-text {
    font-size: 2rem !important;
  }
  .accent {
    font-size: 3rem !important;
  }
  .nav-ul li a {
    font-size: 1.75rem !important;
  } 
}
