/****************FOR ROB GARRATT ONLY*****************/
*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit; 
}

body {
    height: 100%;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

#page-container {
  position: relative;
  min-height: 100vh;
  background-color: #FFF;
}

#content-wrap {
  padding-bottom: 5rem;
}

@keyframes imageAnimation {
    0% {
      opacity: 0;
      animation-timing-function: ease-in;
      
    }
    50% {
      opacity: 0.9;
      animation-timing-function: ease-out;
    }
    100% {
      opacity: 0;
    }
  }
  
.section-main {
    font-family: 'Libre Franklin', sans-serif;
    width: 100%;
    height: auto;
  }

  /* HEADER SECTION START */

  .header-container {
    position: relative;
    width: 56rem;
    margin: 0 auto;
    padding-top: 1rem;
    text-align: justify;
  }

  @media(max-width: 560px) {
    .header-container {
      width: 100%;
    }
  }
  
  .header-main {
    font-size: 9.24rem;
    color: #555;
    font-family: memimas-pro, sans-serif;
    font-style: normal;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 4px;
  }

  @media(max-width: 560px) {
    .header-main {
      text-align: center;
    }
  }
  

  @media (max-width: 768px) {
    .header-main {
      font-size: 8.5rem;
    }
  }

  @media (max-width: 625px) {
    .header-main {
      font-size: 7rem;
    }
  }
  
  @media (max-width: 500px) {
    .header-main {
      font-size: 5.5rem;
    }
  }

  @media (max-width: 400px) {
    .header-main {
      font-size: 4rem;
    }
  }

  .header-sub {
    font-size: 2.74rem;
    color: #666;
    white-space: nowrap;
    margin-top: 0;
    white-space: pre-line;
    line-height: 1rem;
    font-family: memimas-pro, sans-serif;
    font-style: normal;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-align: center;
  }

  @media (max-width: 768px) {
    .header-sub {
      font-size: 2.4rem;
    }
  }
  
  @media (max-width: 500px) {
    .header-sub {
      font-size: 1.6rem;
    }
  }

  @media (max-width: 400px) {
    .header-sub {
      font-size: 1.2rem;
    }
  }

  @media (max-width: 300px) {
    .header-sub {
      font-size: 0.8rem;
    }
  }

  .ten-rem-margin {
    margin-top: 10rem;
    width: 100%;
  }

  .ten-rem-padding {
    padding-top: 10rem;
    width: 100%;
  }

   /* HEADER SECTION END */
   /* IMAGE GRID START */
  .image-container {
    position: relative;
    margin: 5rem auto 2rem auto;
    width: 56rem;
    height: 56rem;
  }

  @media (max-width: 1200px) {
    .image-container {
      width: 41rem;
      height: 41rem;
    }
  }

  @media (max-width: 450px) {
    .image-container {
      width: 29rem;
      height: 29rem;
    }
  }
  
  /* .text-container {
    font-family: "myriad-pro", sans-serif;
    width: 80%;
    margin: 5rem auto 5rem auto;
    font-size: 1.8rem;
    flex-wrap: wrap;
    padding-bottom: 5rem;
  }

  @media (max-width: 992px) {
    .text-container {
      margin: 5rem auto;
    }
  } */

  .text-container {
    font-family: "myriad-pro", sans-serif;
    width: 70rem;
    height: 56rem;
    margin: 2rem auto 5rem 0;
    font-size: 1.8rem;
    padding: 5px;
    /* flex-wrap: wrap; */
    /* padding-bottom: 5rem; */
    overflow: auto;
  }

  @media (max-width: 768px) {
    .text-container {
      margin: 5rem auto;
      width: 75vw;
      height: 65vh;
    }
  }

  
  .help-header, .ihave-header {
    color: #222;
    /* font-family: 'Kanit', sans-serif; */
    font-family: 'Courier Prime', monospace;
    margin-top: 0;
    font-size: 1.8rem;
  }

  .ihave-break {
    margin-bottom: 2rem;
  }
  
  .help {
    margin-left: 2rem;
    color: #222;
    font-size: 1.5rem;
  }
  
  .ihave {
    color: #222;
    font-size: 1.5rem;
  }
  
  .sq-all {  
    position: absolute;
    width: 18rem;
    height: 18rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* -webkit-box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.6);
    box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.6); */
  }
  
  .sq-overlay-container {
    position: relative;
  }
  
  .sq-overlay {
    transition: .3s ease;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18rem;
    text-align: center;
  }
  
  .sq-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.4rem;
  }
  
  .sq-overlay:hover {
    opacity: 0.9;
  }
  
  .sq1-overlay {
    background-color: #FFA194;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 6s;
  }

  #about-content {
    background-color: #FFF;
  }

  #interview-content {
    background-color: #FFA194;
  }

  #about-separator {
    border-top: 2px dashed #2541B2
  }

  #interview-separator {
    border-top: 2px dashed #992A1C;
  }

  #review-separator {
    border-top: 2px dashed #996F1C;
  }

  #copywriting-separator {
    border-top: 2px dashed #1C9956;
  }

  #film-separator {
    border-top: 2px dashed #281C99;
  }

  #music-separator {
    border-top: 2px dashed #94F7FF;
  }

  #travel-separator {
    border-top: 2px dashed darkmagenta;
  }

  #lifestyle-separator {
    border-top: 2px dashed #991C2E;
  }

  #culture-separator {
    border-top: 2px dashed #995E1C;
  }

  #personal-separator {
    border-top: 2px dashed #FBB13C;
  }

  .sq2-overlay {
    background-color: #FFD37A;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 11s;
  }

  #review-content {
    background-color: #FFD37A;
  }

  .sq3-overlay {
    background-color: #21FF8A;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 5s;
  }

  #copywriting-content {
    background-color: #21FF8A;
  }

  .sq4-overlay {
    background-color: #BFB8FF;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 9s;
  }

  #film-content {
    background-color: #BFB8FF;
  }

  .sq5-overlay {
    background-color: #3986FA;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 7s;
  }

  #music-content {
    background-color: #3986FA;
  }

  .sq6-overlay {
    background-color: #FFB8E5;
    animation: imageAnimation 6s linear infinite;
  }

  #travel-content {
    background-color: #FFB8E5;
  }

  .sq7-overlay {
    background-color: #FF5E75;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 15s;
  }

  #lifestyle-content {
    background-color: #FF5E75;
  }

  .sq8-overlay {
    background-color: #FFB55E;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 13s;
  }

  #culture-content {
    background-color: #FFB55E;
  }

  .sq9-overlay {
    background-color: #EE964B;
    animation: imageAnimation 6s linear infinite;
    animation-delay: 1s;
  }

  #personal-content {
    background-color: #EE964B;
  }

  .sq1-overlay:hover {
    background-color: #FFA194;
    opacity: 0.9;
  }
    
  .sq2-overlay:hover {
    background-color: #FFD37A;
    opacity: 0.9;
  }
  
  .sq3-overlay:hover {
    background-color: #21FF8A;
    opacity: 0.9;
  }
  
  .sq4-overlay:hover {
    background-color: #BFB8FF;
    opacity: 0.9;
  }
  
  .sq5-overlay:hover {
    background-color: #3986FA;
  }
  
  .sq6-overlay:hover {
    background-color: #FFB8E5;
    opacity: 0.9;
  }
  
  .sq7-overlay:hover {
    background-color: #FF5E75;
    opacity: 0.9;
  }
  
  .sq8-overlay:hover {
    background-color: #FFB55E;
    opacity: 0.9;
  }
  
  .sq9-overlay:hover {
    background-color: #CC8D56;
    opacity: 0.9;
  }
  
  .sq-overlay2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18rem;
    text-align: center;
  }
  
  .sq-overlay-text2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.4rem;
  }
  
  .sq-overlay2:hover {
    background-color: #FFD37A;
  }
  
  .sq-overlay3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 18rem;
    text-align: center;
  }
  
  .sq-overlay-text3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-size: 2.4rem;
  }
  
  .sq-overlay3:hover {
    background-color: #FFD37A;
  }

  @media (max-width: 1200px) {
    .sq-all, .sq-overlay, .sq-overlay2, .sq-overlay3  { 
      width: 13rem;
      height: 13rem;
    }
  }

  @media (max-width: 450px) {
    .sq-all, .sq-overlay, .sq-overlay2, .sq-overlay3  { 
      width: 9rem;
      height: 9rem;
    }
  }

  @media (max-width: 1200px) {
    .sq-overlay-text, .sq-overlay-text2, .sq-overlay-text3 {
      font-size: 2rem;
    }
  }

  @media (max-width: 450px) {
    .sq-overlay-text, .sq-overlay-text2, .sq-overlay-text3 {
      font-size: 1.4rem;
    }
  }
  
  .sq1 {
    top: 0;
    left: 0;
    background-image: url('img/frontpage/interviews.jpg');
  }
  
  .sq2 {
    top: 0;
    left: 19rem;
    background-image: url('img/frontpage/reviews.jpg');
  }

  @media (max-width: 1200px) {
    .sq2 {
      left: 14rem;
    }
  }
  
  @media (max-width: 450px) {
    .sq2 {
      left: 10rem;
    }
  }

  .sq3 {
    top: 0;
    left: 38rem;
    background-image: url('img/frontpage/copywriting.jpg');
    /* background-color: #bbb; */
  }

  @media (max-width: 1200px) {
    .sq3 {
      left: 28rem;
    }
  }
  
  @media (max-width: 450px) {
    .sq3 {
      left: 20rem;
    }
  }

  .sq4 {
    top: 19rem;
    left: 0;
    background-image: url('img/frontpage/film.jpg');
    /* background-color: #777;  */
  }

  @media (max-width: 1200px) {
    .sq4 {
      top: 14rem;
    }
  }
  
  @media (max-width: 450px) {
    .sq4 {
      top: 10rem;
    }
  }

  .sq5 {
    top: 19rem;
    left: 19rem;
    background-image: url('img/frontpage/music.jpg');
  }

  @media (max-width: 1200px) {
    .sq5 {
      top: 14rem;
      left: 14rem;
    }
  }
  
  @media (max-width: 450px) {
    .sq5 {
      top: 10rem;
      left: 10rem;
    }
  }

  .sq6 {
    top: 19rem;
    left: 38rem;
    background-image: url('img/frontpage/travel.jpg');
  }

  @media (max-width: 1200px) {
    .sq6 {
      top: 14rem;
      left: 28rem;
    }
  }

  @media (max-width: 450px) {
    .sq6 {
      top: 10rem;
      left: 20rem;
    }
  }
  
  .sq7 {
    top: 38rem;
    left: 0;
    background-image: url('img/frontpage/lifestyle.jpg');
  }

  @media (max-width: 1200px) {
    .sq7 {
      top: 28rem;
    }
  }

  @media (max-width: 450px) {
    .sq7 {
      top: 20rem;
    }
  }
  
  .sq8 {
    top: 38rem;
    left: 19rem;
    background-image: url('img/frontpage/culture.jpg');
  }

  @media (max-width: 1200px) {
    .sq8 {
      top: 28rem;
      left: 14rem;
    }
  }
  
  @media (max-width: 450px) {
    .sq8 {
      top: 20rem;
      left: 10rem;
    }
  }

  .sq9 {
    top: 38rem;
    left: 38rem;
    background-image: url('img/frontpage/personal.jpg');
    /* background-color: #222; */
  }

  @media (max-width: 1200px) {
    .sq9 {
      top: 28rem;
      left: 28rem;
    }
  }
  
  @media (max-width: 450px) {
    .sq9 {
      top: 20rem;
      left: 20rem;
    }
  }

  /* The Modal (background) */
  .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 2rem; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #FFB8E5;
    color: #FFF;
    margin: auto;
    padding: 20px;
    border: none;
    border-radius: 0;
    width: 66rem;
    height: 66rem;  
    overflow: hidden;
  }

  @media (max-width: 768px) {
    .modal-content {
      width: 80vw;
      height: 85vh;
    }
  }
  
  /* The Close Button */
  .close {
    color: #000;
    float: right;
    margin-top: -1rem;
    margin-bottom: 1rem;
    font-size: 4rem;
    font-weight: bold;
    text-shadow: none;
    opacity: 0.9;

  }
  
  .close:hover,
  .close:focus {
    color: #333;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.9;
  }

/* The Close Button */
    #cross1, #cross2, #cross3 {
        display: none;
        color: #aaaaaa;
        float: right;
        margin-bottom: 1rem;
        margin-right: 1.5rem;
        font-size: 28px;
        font-weight: bold;
    }
    
    #cross1:hover,
    #cross1:focus,
    #cross2:hover,
    #cross2:focus,
    #cross3:hover,
    #cross3:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    .popup-header-image-container {
        position: relative;
        text-align: center;
        height: 25rem;
    }

    .popup-header-image {
        height: 25rem;
        width: auto;       
    }

    .popup-header-container {
        position: relative;
        text-align: center;
    }

    .popup-header {
        color: #FFF;
    }

    .popup-header-white {
      width: 50%;
      margin: 0 auto;
      color: #000;
      text-align: center;
      text-transform: uppercase;
      margin-top: -3rem;
      /* text-shadow: 1px 1px 1px rgba(0,0,0,0.7); */
      animation-delay: 1s;
      animation-duration: 2s;
      font-family: memimas-pro, sans-serif;
      font-style: normal;
      font-weight: 300;
  }

  @media (max-width: 768px) {
    .popup-header-white {
      width: 100%;
      font-size: 2.6rem;
    }
  }

    .popup-header-black {
        width: 50%;
        margin: 0 auto;
        color: black;
        text-align: center;
        margin-top: -4rem;
    }

    .popup-header-separator {
      width: 90%;
      margin: 1rem auto;
      border-top: 2px dashed darkmagenta;
      animation-delay: 1s;
      animation-duration: 2s;
    }

    .popup-subheader {
      width: 100%;
      text-align: left;
      color: #FFF;
      text-shadow: 1px 1px 1px rgba(0,0,0,0.7);
      text-transform: uppercase;
      margin-left: 1rem;

    }

    .popup-sub {
        color: white;
    }

    .popup-para {
        color: white;
        font-size: 1.6rem;
        text-align: justify;
        padding: 4rem 1rem;
        margin: 0 2rem;
    }

  
  .popup-image-container {
    position: relative;
    width: 66rem;
    height: 66rem;
  }

  .grid-image-container {
    position: absolute;
    bottom: 4rem;
    left: 0;
    width: 100%;
    height: 50rem;
    overflow: auto;
  }

  @media (max-width: 768px) {
    .grid-image-container {
      height: 50vh;
      bottom: auto;
    }
  }

  .row {
    width: 100%;
    margin: 0;
  }

  .col-md-3, .col-md-4, .col-md-6 {
      padding: 0;
  }

  .popup-summary-text {
    font-size: 1.4rem;
    color: #111;
    padding: 0.5rem 0.5rem 2rem 0.5rem;
    animation-delay: 1.5s;
    animation-duration: 2s;
  }

  @media (max-width: 768px) {
    .popup-summary-text {
      font-size: 1.2rem;
    }
  }


  .sm-image-container {
    position: relative;
    width: 15rem;
    height: 15rem;
    margin: 0 auto 1rem auto;
  }

  @media (max-width: 400px) {
    .sm-image-container {
      width: 12rem;
      height: 12rem;
    }
  }

    #a1, #a2, #a3 {
        display: none;
        background-color: #FF5E75;
        z-index: 4;
        width: 86rem;
        height: 86rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }



  .sm-image {
    overflow: hidden;
    object-fit: cover;
    width: 15rem;
    height: 15rem;
    margin-bottom: 1rem;
  }

  @media (max-width: 400px) {
    .sm-image {
      width: 12rem;
      height: 12rem;
    }
  }
  
  .sm-image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 1.4rem;
    color: white;
    width: 90%;
    margin: 0 auto;
  }

  .black-img-overlay {
    width: 15rem;
    height: 15rem;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.5;
  }

  @media (max-width: 400px) {
    .black-img-overlay {
      width: 12rem;
      height: 12rem;
    }
  }

  .sm-image-container:hover .black-img-overlay {
    opacity: 0;
    transition: 0.5s ease-out;
  }

  .sm-image-container:hover .sm-image-text {
    opacity: 0;
    transition: 0.5s ease-out;
  }

  .footer {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    color: #FFF;
    height: 5rem;
    background-color: #555;
  }

  .social-media-container {
    position: relative;
    height: 5rem;
    width: 100%;
    text-align: center;
  }

  .social-media-icon {
    font-size: 3rem;
    color: #FFF;
    margin: 5px;
  }
  
  .about-me-button-container {
    width: 100%;
    height: 3rem;
    margin-top: 3rem;
  }

  .about-me-button {
    margin: 0 auto;
    width: 56rem;
    height: 3rem;
    color: #FFF;
    /* -webkit-box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.6);
    box-shadow: 3px 3px 2px 0px rgba(0,0,0,0.6); */
    padding-top: 1.1rem;
    font-size: 1.6rem;
    text-align: center;
    background-color: #555;
  }

  @media (max-width: 1200px) {
    .about-me-button {
      width: 41rem;
    }
  }

  @media (max-width: 450px) {
    .about-me-button {
      width: 29rem;
    }
  }