@import url('https://fonts.cdnfonts.com/css/ica-rubrik-black');
@import url('https://fonts.cdnfonts.com/css/poppins');

/* ------ NavBar Section ------ */
.navbar {
    background: #1f456e;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    position: sticky;
    top: 0;
    z-index: 999;   
}
.navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}
/*Moving img/logo to the top left*/

.logo_navbar{
  position: flex;
  height: flex;
  left: 0px;
  width: 100px;
}
#navbar__logo {
    background-color: #f99185;
    background-image: linear-gradient(to top, #fde7b1 0%, #ff6700 100%);
    background-size: 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 2rem;
}
.fa-g {
   margin-right: 0.5rem; 
}
.navbar__menu {
  display: flex; 
  align-items: center; 
  list-style: none;
  text-align: center;
}
.navbar__item {
    height: 60px; 
}
.navbar__links {
  color: #fff;
  display: flex;  
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 1rem;
  height: 100%;
}
.navbar__btn {
  display: flex; 
  justify-content: center; 
  align-items: center;
  padding: 0 1rem;
  width: 100%;
}
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background: #f9b279;
    color: #fff;
    background-image: linear-gradient(to top, #ffba87 0%, #ff8a35 100%);
}
.button:hover {
  background: #f77062;  
  transition: all 0.3s ease; 
}
.navbar__links:hover {
    color: #f77062;
    transition: all 0.3s ease;
}
@media screen and (max-width: 960px) {
  .navbar__container {
    display: flex;
    justify-content: space-between;
    height: 80px;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0; 
  }  
  .navbar__menu {
    display: grid;
    grid-template-columns: auto;
    margin: 0;
    width: 100%;
    position: absolute;
    top: -1000px;
    opacity: 0;
    transition: all 0.5s ease;
    height: 50vh;
    z-index: -1;
    background: #1f456e;
  }
  .navbar__menu.active {
    background: #1f456e;
    top: 100%;
    opacity: 1;
    transition: all 0.5s ease;
    z-index: 99;
    height: 50vh;
    font-size: 1.6rem;
  }
  #navbar__logo {
    padding-left: 25px;
  }
  .navbar__toggle .bar {
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background: #faf9f9;
  }
  .navbar__item {
    width: 100%;
  }
  .navbar__links {
    text-align: center;
    padding: 2rem;
    width: 100%;
    display: table;
  }
  #mobile-menu {
    position: absolute;
    top: 20%;
    right: 5%;
    transform: translate(5%, 20%);
  }
  .navbar__btn {
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 0 1rem;
  }
  .button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    margin: 0;
    font-size: 1.5rem;
  }
  .navbar__toggle .bar {
    display: block;
    cursor: pointer;
  }

  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }

   #mobile-menu.is-active .bar:nth-child(1) {
       transform: translateY(8px) rotate(45deg);
   }

   #mobile-menu.is-active .bar:nth-child(3) {
       transform: translateY(-8px) rotate(-45deg);
   }
  }
   @media screen and (max-width: 360px) {
    .navbar__container {
      display: flex;
      justify-content: space-between;
      height: 80px;
      z-index: 1;
      width: 100%;
      max-width: 1300px;
      padding: 0; 
    }  
    .navbar__menu {
      display: grid;
      grid-template-columns: auto;
      margin: 0;
      width: 100%;
      position: absolute;
      top: -1000px;
      opacity: 0;
      transition: all 0.5s ease;
      height: 50vh;
      z-index: -1;
      background: #1f456e;
    }
    .navbar__menu.active {
      background: #1f456e;
      top: 100%;
      opacity: 1;
      transition: all 0.5s ease;
      z-index: 99;
      height: 50vh;
      font-size: 1.6rem;
    }
    #navbar__logo {
      padding-left: 25px;
    }
    .navbar__toggle .bar {
      width: 25px;
      height: 3px;
      margin: 5px auto;
      transition: all 0.3s ease-in-out;
      background: #faf9f9;
    }
    .navbar__item {
      width: 100%;
    }
    .navbar__links {
      text-align: center;
      padding: 2rem;
      width: 100%;
      display: table;
    }
    #mobile-menu {
      position: absolute;
      top: 20%;
      right: 5%;
      transform: translate(5%, 20%);
    }
    .navbar__btn {
      display: flex; 
      justify-content: center; 
      align-items: center;
      padding: 0 1rem;
      width: 100%;
    }
    .button {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 80px;
      margin: 0;
      font-size: 1.0rem;
    }
    .navbar__toggle .bar {
      display: block;
      cursor: pointer;
    }
  
    #mobile-menu.is-active .bar:nth-child(2) {
      opacity: 0;
    }
  
     #mobile-menu.is-active .bar:nth-child(1) {
         transform: translateY(8px) rotate(45deg);
     }
  
     #mobile-menu.is-active .bar:nth-child(3) {
         transform: translateY(-8px) rotate(-45deg);
     }
}


.banner__3d {
    width: 100%;
    height: 100vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}
.banner__3d .slider{
    position: absolute;
    width: 200px;
    height: 200px;
    top: 10%;
    left: calc(50% - 100px);
    transform-style: preserve-3d;
    transform: perspective(1000px);
    animation: autoRun 20s linear infinite;
    z-index: 2;
}
@keyframes autoRun{
    from{
        transform: perspective(1000px) rotateX(-16deg) rotateY(0deg);
    }to{
        transform: perspective(1000px) rotateX(-16deg) rotateY(360deg);
    }
}

.banner__3d .slider .item{
    position: absolute;
    inset: 0 0 0 0;
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(400px);
}
.banner__3d .slider .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner__3d .content{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}
.banner__3d .content h1{
    font-family: 'ICA Rubrik';
    font-size: 7em;
    line-height: 1em;
    color: transparent;
    background-image: linear-gradient(to top, #ffba87 0%, #ff8a35 100%);
    background-clip: text;
    position: relative;
    padding-left: 1rem;
    padding-top: 20rem;
}
.banner__3d .content h1::after{
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
    padding-left: 1rem;
    padding-top: 20rem;
}
.banne ,.content h2::after {
    -webkit-text-stroke: 2px black;
    color: transparent;
    padding-left: 0rem;
    padding-top: 0rem;
    content: attr(data-content);
  }
.banner__3d .content .author{
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}
.banner__3d .content h2{
    font-size: 2em;
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
    background-image: linear-gradient(to top, #005477 0%, #71bce1 100%);
      background-size: 100%;
      background-clip: text;
      -webkit-background-clip: text;
      -moz-background-clip: text;
      -webkit-text-fill-color: transparent;
      -moz-text-fill-color: transparent;
      
      
}
.banner__3d .content .model{
    background-image: url(images/lightning-bolt.png);
    width: 100%;
    height: 150vh;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: auto 130%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
}
@media screen and (max-width: 1297px) {
    .banner__3d .slider{
        width: 200px;
        height: 200px;
        left: calc(50% - 80px);
        position: center;
        
    }
    .banner__3d .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(400px);
    }
    .banner__3d .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner__3d .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 1024px) {
    .banner__3d .slider{
        width: 200px;
        height: 200px;
        left: calc(50% - 80px);
        position: center;
        
    }
    .banner__3d .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(400px);
    }
    .banner__3d .content h1{
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }
    .banner__3d .content .author{
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .banner__3d .slider{
        width: 100px;
        height: 150px;
        left: calc(50% - 50px);
    }
    .banner__3d .slider .item{
        transform: 
            rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }
    .banner__3d .content h1{
        font-size: 7em;
    }
}
@media screen and (max-width: 440px) {
  .banner__3d .slider{
    width: 100px;
    height: 150px;
    left: calc(50% - 50px);
    position: center;
    
}
.banner__3d .slider .item{
    transform: 
        rotateY(calc( (var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(200px);
}
.banner__3d .content h1{
    text-align: center;
    width: 100%;
    text-shadow: 0 10px 20px #000;
    font-size: 8em;
}
.banner__3d .content .author{
    color: #fff;
    padding: 20px;
    text-shadow: 0 10px 20px #000;
    z-index: 2;
    max-width: unset;
    width: 100%;
    text-align: center;
    padding: 0 30px;
}
}
@media screen and (max-width: 333px) {
    .banner__3d .slider{
        position: absolute;
        width: 100px;
        height: 150px;
        top: 4%;
    }
}