/* === Global === */
html {
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
    cursor: url('/images/cursor.png')22.5 22.5, pointer;
    overflow-x: hidden;
}

body {
    width: 100vw;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #FFF9F4;
}

.container {
    margin: 0 auto;
    padding: 0 2rem;
}
.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.flex {
    display: flex;
}

.mx-auto {
    margin: 0 auto;
}
/* === Upper Fold === */

.col-12 {
    grid-column: span 12;
}
.upper-fold {
    /* display: grid; */
    background-color: #100E0E;
    width: 100vw;
    /* height: calc(100vh - 76.39px); */
    height: 100vh;
}

.quote span {
    color: #CC0033;
}

.content {
    height: 100vh;
    width: 100%;
}


/* === Navigation === */

  ul {
    list-style-type: none;
    text-align: center;
    padding: 0;
    margin: 0;
  }

  .active {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .active img {
    max-height: 2.4em;
    width: auto;
    text-align: center;
    margin: 17px 0;
  }

  #top-nav {
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 74px;
    background: #100E01;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.14),0px 0px 5px rgba(0, 0, 0, 0.14);
  }
  
  .nav-menu  {
    background: none;
    width: 60px;
    height: 80px;
    top: 0;
    right: 15px;
    -webkit-transition: width 0.2s ease, height 0.4s ease;
      -moz-transition: width 0.2s ease, height 0.4s ease;
      -o-transition: width 0.2s ease, height 0.4s ease;
      transition: width 0.2s ease, height 0.4s ease;
  }
  .open {
    position: fixed;
    background: #FFCC33;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
  }
  .menu-list {
    margin-top: 100px;
    text-align: center;
    font-size: 26px;
    padding: 0;
    opacity: 0;
  }
  .list-open {
    opacity: 1;
    -webkit-transition: opacity 0.3s ease;
      -moz-transition: opacity 0.3s ease;
      -o-transition: opacity 0.3s ease;
      transition: opacity 0.64s ease;
    -webkit-transition-delay: 0.34s;
    -moz-transition-delay: 0.34s;
    -o-transition-delay: 0.34s;
    transition-delay: 0.34s;
  }


  
  .menu-list.list-open {
    opacity: 1;
    pointer-events: auto;
  }
  

  .menu-list li {
    /* padding: 12px; */
    background: none;
    color: #100E01;
    padding: 50px 50px;
  }

  .menu-list li a {
    color: #100E01;
    /* text-shadow: #F2EDE9 1px 1px; */
    list-style-type: none;
    text-decoration: none;
  }

  .menu-list li:hover {
    background-color: #CC0033;
    cursor: pointer;
  }

  .menu-item {
    padding: 0 10px;
    text-decoration: none;
    display: block;
  }
  
  /* Burger */
  #burger-wrap {
    position: fixed;
    top: 0;
    right: 15px;
    margin: 0;
    padding: 0;
    width: 64px;
    height: 85px;
  }
  .burger {
    position: fixed;
    top: 8px;
    right: 15px;
    overflow: hidden;
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: 64px;
    height: 85px;
    border-radius: 50%;
    border: none;
    -webkit-transition: all .3s;
    transition: all .3s;
    background-color: transparent;
  }
  .burger span {
    display: block;
    position: absolute;
    top: 28px;
    left: 16px;
    right: 16px;
    height: 3.8px;
    background: #ffcc33;
    border-radius: 15px;
    -webkit-transition: background 0.3s .3s;
    transition: background 0.3s .3s;
    -o-transition: background 0s 0s;
    -webkit-transition-delay: 0.4s,0s;
    transition-delay: 0.4s,0s;
  }
  .open .burger span {
    background: 0 0 transparent;
    transform: rotate(90deg);
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    -o-transition: all 0s ease;
      -webkit-transition-delay: 0s,0s;
      transition-delay: 0s,0s;
  }
  .burger span::after,
  .burger span::before {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 3.8px;
    background-color: #ffcc33;
    content: "";
      border-radius: 5px;
    -webkit-transition-duration: .3s,.3s;
    transition-duration: .3s,.3s;
    -webkit-transition-delay: 0.4s,0s;
    transition-delay: 0.4s,0s;
  }
  .burger span::before {
    top: -8px;
    -webkit-transition-property: top,-webkit-transform;
    transition-property: top,transform;
  }
  .burger span::after {
    bottom: -8px;
    -webkit-transition-property: bottom,-webkit-transform;
    transition-property: bottom,transform;
  }
  
  .open .burger span::after,
  .open .burger span::before {
    -webkit-transition-delay: 0s,.4s;
    transition-delay: 0s,.4s;
    background-color: #CC0033;
  }
  .open .burger span::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  .open .burger span::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  
  
  /* Disable scrollbar on Chrome and Safari browsers! */
  html::-webkit-scrollbar { width: 0 !important; height: 0 !important; }
  
  /* Make sure the menu is deactivated while closing */
  .nav-menu.closed {
    display: none;
    pointer-events: none;
  }
  
  
/* === Home Page Container === */

.searchbox {
    /* width: 22vw;
    height: 28vh; */
    max-width: 100%;
    height: max-content;
    border-radius: 1em;
    background-color: #F2EDE9;
    align-items: center;
    text-align: start;
    grid-column: 5 / 9;
    margin-top: 4.5rem;
    /* background-color: rgba(255, 255, 255, 0.7); */
    /* box-shadow: 2px 4px rgba(238, 238, 238, 0.861); */
    box-shadow: 0px 2px 8px rgba(219, 219, 219, 0.679);
    opacity: 0.9;
}

.searchbox li {
    text-decoration: none;
    list-style: none;
    margin-top: 1.5rem;
}

.searchbox h1, h2 {
    font-family: 'Oooh Baby', sans-serif;
    font-size: 1.9em;
    color: #100E0E;
    padding-right: 3rem;
}


/* === container-1-2 === */


.container-1-2{
    width: 100%;
    grid-column: span 12;
    /* margin-bottom: 2%; */
}


.first-hello {
    font-size: 6.5rem;
}
.container-1-2 h3{
    margin-left: 3%;
    padding-top: 0.2rem;
    font-size: 3.8rem;
    color: #FFCC33;
    line-height: 5.3rem;
    font-weight: 600;
}

.discipline-highlight {
  color: #F2EDE9;
}

.text3 {
    margin-bottom: 3%;
}

#text-container {
    display: grid;
    position: relative;
    margin-bottom: -12rem;
  }

  #text1,
  #text2{
    position: absolute;
    top: -2.45rem;
    left: 3%;
    /* margin-top: -0.5rem; */
    opacity: 0;
    animation: 2s ease-in-out infinite alternate-reverse;
    /* transition: transform 0.5s ease-in-out; */
  }
  
  #text1 {
    animation-name: fall;
    animation-delay: 0s;
  }
  
  #text2 {
    animation-name: rise;
    animation-delay: 2s;
  }
  
  @keyframes fall {
    0% {
      opacity: 0;
      transform: translateY(0%);
    }
    100% {
      opacity: 1;
      transform: translateY(-20%);
    }
  }
  
  @keyframes rise {
    0% {
      opacity: 0;
      transform: translateY(-20%);
    }
    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }
  

/* Sub-logo */

.grid .col-12 .sub-logo {
    grid-column: span 12; 
    position: relative;
    margin-top: -11%; 
}

.sub-logo img{
    width: 9rem;
    opacity: 0.5;
    /* position: absolute; */
    left: 0;
    /* transition: all 2s linear; */
    /* animation: move 3s ease-in-out infinite alternate; */
}

/* === Scroll Indicator  === */
#scroll-indicator {
    /* display: flex; */
    position: absolute;
    bottom: 1.1%;
    left: 48%;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 20px; 
    opacity: 1;
    transition: opacity 0.3s ease-out;
  }
  
  .arrow {
    width: 30px;
    height: 30px;
    border-top: 4px solid #FFCC33;
    border-right: 4px solid #FFCC33;
    border-radius: 2px;
    transform: rotate(135deg);
    animation: arrowAnimation 1.2s linear infinite;
  }
  
  @keyframes arrowAnimation {
    0% {
      opacity: 1;
      transform: rotate(135deg) translateY(0);
    }
    50% {
      opacity: 0;
      transform: rotate(135deg) translateY(-8px);
    }
    100% {
      opacity: 1;
      transform: rotate(135deg) translateY(0);
    }
  }
  
  .hide-indicator {
    opacity: 0;
  }


/* === Back to top indicator === */
#back-indicator {
    /* display: flex; */
    position: absolute;
    left: 47%;
    justify-content: center;
    align-items: flex-end;
    /* padding-bottom: 20px;  */
    opacity: 1;
    transition: opacity 0.3s ease-out;
    padding: 1.2rem;
    cursor: pointer;
  }
  
  .back-arrow {
    width: 17px;
    height: 17px;
    border-top: 3px solid #FFCC33;
    border-right: 3px solid #FFCC33;
    border-radius: 2px;
    transform: rotate(-45deg);
    animation: backarrowAnimation 1.4s infinite;
  }

  @keyframes backarrowAnimation {
    0% {
      opacity: 1;
      transform: rotate(-45deg), translateY(0);
    }
    50% {
      opacity: 0;
      transform: rotate(-45deg), translateY(-10px);
    }
    100% {
      opacity: 1;
      transform: rotate(-45deg), translateY(0);
    }
  }
/* === fontawesome === */
.fa-search {
    font-size: 24px;
}

/* === feature-list === */
.feature-list {
    grid-column: span 12;
}

.feature-list-title {
    grid-column: span 12;
}

.feature-list-item {
    grid-column: span 12;
}
.feature-img-container {
    grid-column: span 12;
}

.feature-img {
    position: relative;
    margin-top: 2.5em;
    background-size: cover;
    /* overflow: hidden; */
    grid-column: 1 / 12;
}

.feature-img img {
    display: grid;
    max-width: 75%;
    height: auto;
    object-fit: cover; 
    /* box-shadow: 6px 8px #FFCC33; */
    box-shadow: 1.5px 6px 6px rgba(0,0,0,0.2);
    margin: auto;
    margin-top: 130px;
    margin-right: 0;
}



/* === Feature Project List === */

h4 {
    font-family: 'Oooh Baby', sans-serif;
    font-size: 2.7em;
    color: #100E0E;
    position: relative;
    margin-bottom: 1em;
}
.feature-work-col {
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid black;
}

.feature-work {
    /* display: grid; */
    font-size: 1.4em;
    font-weight: 400;
    text-decoration: none;
    color: #100E0E;
    padding: 0.45rem 0;
    padding-right: 12.5rem;
}

.feature-type {
    /* display: grid; */
    font-family: 'Oooh Baby', sans-serif;
    font-size: 1.4em;
    color: #CC0033;
    text-decoration: none;
}

.feature-work:visited {
    color: #100E0E;
}

.type {
    margin-top: 8.1em;
    text-align: end;
}


/* === Feature Img Hover Effects=== */


#worka:hover, #workb:hover, #workc:hover, #workd:hover {
    color:#CC0033
}


/* === Media Query === */
@media screen and (min-width: 360px) and (max-width: 767px) {
    .sub-logo {
        grid-column: span 12;
    }
    .sub-logo img {
        max-width: 7rem;
    }
    
    .container-1-2 {
        grid-column: span 12;
        /* word-wrap: break-word; */
    }

    .container-1-2 h3 {
        font-size: 2.3rem;
        line-height: normal;
    }

    .container-1-2 .first-hello {
        font-size: 4.5rem;
    }

    .quote {
        height: max-content;
    }

    .third-fold .quote p {
        font-size: 1.1rem;
    }

    .third-fold .add-on span {
        font-size: 1rem;
        grid-column: 5/12;
    }

    .footer span, .footer a {
        font-size: 0.85rem;
    }

    .searchbox {
        grid-column: 3 / 11;
    }

    .searchbox h1, h2 {
        font-size: 1.3rem;
    }

    .searchbox h1 .icon {
        font-size: 1rem;
    }

    .feature-work, .feature-type {
        font-size: 1.15rem;
    }

    #text-container {
        margin-bottom: -4.4rem;
    }

    #text1,
    #text2 {
    top: 1rem;
    }

    .feature-work {
        padding-right: 3rem;
    }

    #scroll-indicator {
        padding-bottom: 10px;
        left: 46%;
    }

    .f-3 {
      margin-top: -1.3rem !important;
      margin-left: 1.7rem !important;
    }

    .f-4 {
      padding-bottom: 5rem;
      margin-left: 1.7rem !important;
    }

    .menu-item {
      display: initial !important;
    }

    .feature-img img {
      margin-top: auto;
      margin-right: auto;
    }

    #back-indicator {
      left: 43.5%;
    }

}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .sub-logo {
        grid-column: 1 / 12;
    }
    .sub-logo img {
        max-width: 8rem;
    }
    
    .container-1-2 {
        grid-column: 1 / 12;
    }

    .container-1-2 h3 {
        font-size: 3.2rem;
        line-height: normal;
    }

    .first-hello {
        font-size: 5rem;
    }

    .third-fold .quote p {
        font-size: 1.2rem;
    }

    .add-on {
        grid-column: span 12;
    }

    .third-fold .add-on span {
        font-size: 1.1rem;
    }

    .footer span, .footer a {
        font-size: 1rem;
    }


    .searchbox {
        grid-column: 4 / 10;
    }

    .searchbox h1, h2 {
        font-size: 1.7rem;
    }

    .searchbox h1 .icon {
        font-size: 1.5rem;
    }

    .feature-work, .feature-type {
        font-size: 1.3rem;
    }

    #text-container {
        margin-bottom: -3rem;
    }

    #text1,
    #text2 {
    top: 4rem;
    }

    .feature-img img {
      margin-top: auto;
      margin-right: auto;
    }


}

@media screen and (min-width: 1024px) {
    
    .upper-fold .footer {
        grid-column: span 12;
    }

    .feature-list {
        grid-column: span 6;
    }
    

    .feature-img-container {
        grid-column: span 6;
    }


}

/* === Third Fold === */

.third-fold {
    display: grid;
    width: 100%;
}

.add-on {
    display: grid;
    margin-bottom: 3rem;
    grid-column: 2/11;
}

.add-on a {
    text-decoration: none;
    color: #CC0033;
    font-weight: 500;
}

.add-on a:visited {
    color: #CC0033;
}

.add-on span {
    grid-column: 5/9;
    font-size: 1.3rem;
}


/* === Quote === */
.quote {
    grid-column: 1 / 12;
    background-color: #FFCC33;
    text-align: center;
    margin-bottom: 3.5rem;
    margin-top: 3.5rem;
}

.quote p {
    /* font-family: 'Oooh Baby', sans-serif; */
    font-size: 1.35rem;
    font-style: italic;
    padding: 0.8rem 0.5rem 0.5rem;
}

/* === Footer === */
footer {
    text-decoration: none;
    list-style-type: none;
    background-color: #100E0E;
    color: #FFF9F4;
    font-style: italic;
    font-size: 1.1em;
    font-weight: 300;
    min-width: 100vw;
    height: 22rem;
    overflow: hidden;
}

.footer a {
    text-decoration: none;
    color: #F2EDE9;
}

.footer a:visited {
    color: #F2EDE9;
}

.footer .email {
    color: #FFCC33;
}

.footer .email:visited {
    color: #FFCC33;
}

.f-1 {
    grid-column: 1 / 4;
    margin-top: 1em;
    margin-left: 2rem;
}

.f-2 {
    grid-column: 6 / 9;
    margin-top: 1rem;
    margin-left: 2rem;
}

.f-3 {
    grid-column: 7 / 7;
    margin-top: 1.2rem;
    margin-left: 2rem;
}

.f-4 {
    grid-column: 7 / 12;
    margin-top: 0;
    margin-bottom: 8rem;
    margin-left: 2rem;
    padding-bottom:2rem;
}


.fa-linkedin {
    color: #FFF9F4;
    font-size: 2.8rem;
}

/* === Page Resize === */
:root {
    --doc-height: 100%;
   }
   
   html,
   body {
    padding: 0;
    margin: 0;
    height: 100vh; 
    height: var(--doc-height);
   }