html{
    scroll-behavior: smooth;
}


::-webkit-scrollbar {
    width: 10px;
  }
   
  ::-webkit-scrollbar-track {
    box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
  }
   
  ::-webkit-scrollbar-thumb {
    background-color: black;
    outline: 1px solid slategrey;
  }

body{
    font-family: 'Alata', sans-serif;
    margin: 0;
    padding: 0;
    
}
header{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('assets/header_bg.jpg');
    background-size: cover;
    background-position-y: -80px;
    color: white;
}
header h1{
    text-align: center;
    margin: 50px;
    font-size: 50px;
    margin-top: -20px;
    border-right: 3px solid #fff;
    width: 15ch;
    white-space: nowrap;
    overflow: hidden;
    animation: animate-1 3.5s steps(15), animate-2 .5s infinite alternate;
}
@keyframes animate-1{
    0%{
        width: 0;
    }
}
@keyframes animate-2{
    100%{
        border-color: transparent;
    }
}

.about{
    height: 700vh;
    display: flex;
    background-color: #16181b;
/*    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.pexels.com/photos/1624496/pexels-photo-1624496.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
*/    background-size: contain;
}

.about-2{
    height: 200vh;
    display: flex;
    background-color: #16181b;
/*    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('https://images.pexels.com/photos/1624496/pexels-photo-1624496.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500');
*/    background-size: contain;
}

.about-title, .about-title-2{
    width: 50%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    margin: 0 !important;
    color: white;
}
.about-pages, .about-pages-2{
    width: 50%;

}
.about-pages div{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.about-pages div>p{
    width: 80%;
    font-size: 15px;
    line-height: 20px;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    margin-bottom: 40px;
}

.about-pages div:nth-child(1){
    background: url('assets/2/10.png');
    background-size: cover;
    background-position: center;
}

.about-pages div:nth-child(2){
    background: url('assets/2/9.png');
    background-size: cover;
    background-position: center;
}
.about-pages div:nth-child(3){
    background: url('assets/2/8.png');
    background-size: cover;
    background-position: center;
}
.about-pages div:nth-child(4){
    background: url('assets/2/2.png');
    background-size: cover;
    background-position: center;
}
.about-pages div:nth-child(5){
    background: url('assets/2/3.png');
    background-size: cover;
    background-position: center;
    background-position-y: 46px;
}
.about-pages div:nth-child(6){
    background: url('assets/2/4.png');
    background-size: cover;
    background-position: center;
}
.about-pages div:nth-child(7){
    background: url('assets/2/5.png');
    background-size: cover;
    background-position: center;
    background-position-y: 10px;
}

.about-pages-2 div{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.about-pages-2 div>p{
    width: 80%;
    font-size: 15px;
    line-height: 20px;
    background: rgba(0,0,0,0.7);
    padding: 10px;
    margin-bottom: 40px;
}
.about-pages-2 div:nth-child(1){
    background: url('assets/2/6.png');
    background-size: cover;
    background-position: center;
    background-position-y: 10px;
}
.about-pages-2 div:nth-child(2){
    background: url('assets/2/7.png');
    background-size: cover;
    background-position: center;
    background-position-x: -45px;
    background-position-y: 20px;
}


footer{
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #16181b;
    background-size: cover;
}

.middle{
    position: absolute;
    bottom: 50px;
}
.mouse{
    width: 40px;
    height: 70px;
    border: 2px solid #fff;
    border-radius: 60px;
}
.mouse:before{
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 30px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    opacity: 1;
    animation: mouse 2s infinite;
}
@keyframes mouse{
    from{
        opacity: 1;
        top: 10px;
    }
    to{
        opacity: 0;
        top: 40px;
    }
}

  #topBtn{
    position: fixed;
    bottom: 40px;
    right: 40px;
    font-size: 22px;
    width: 50px;
    height: 50px;
    background: #16181b;;
    color: white;
    border: none;
    cursor: pointer;
    display: none;
  }

  h2{
      letter-spacing: 1px;
  }
  
  footer h2{
      position: absolute;
      font-size: 40px;
      color: white;
      margin-top: -300px;
      white-space: nowrap;
      overflow: hidden;
      border-right: 3px solid #fff;
      width: 32ch;
      animation: animate-3 3.5s steps(32), animate-4 .5s infinite alternate;
  }

@keyframes animate-3{
  0%{
      width: 0;
  }
}
@keyframes animate-4{
  100%{
      border-color: transparent;
  }
}



  header nav{
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    padding: 25px;
}
nav li{
    text-decoration: none;
    list-style: none;
    padding: 0 20px 0 20px;
}
nav li a{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
}
nav li a:hover{
    border-bottom: 1px solid white;
}

.btn{
    position: absolute;
    text-decoration: none;
    margin-top: 70px;
    padding: 15px;
    cursor: pointer;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    border: 3px solid white;
    border-radius: 60px;
    color: white;
    width: 150px;
    text-align: center;
}
.btn:hover{
    background: white;
    color: black;
    transition: all ease 0.5s;
}



.loader-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #242f3f;
    display:flex;
    justify-content: center;
    align-items: center;
  }
  .loader {
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    border: 4px solid #Fff;
    animation: loader 2s infinite ease;
    margin-top: -200px;
  }
  .loader-inner {
    vertical-align: top;
    display: inline-block;
    width: 100%;
    background-color: #fff;
    animation: loader-inner 2s infinite ease-in;
  }
  @keyframes loader {
    0% { transform: rotate(0deg);}
    25% { transform: rotate(180deg);}
    50% { transform: rotate(180deg);}
    75% { transform: rotate(360deg);}
    100% { transform: rotate(360deg);}
  }
  @keyframes loader-inner {
    0% { height: 0%;}
    25% { height: 0%;}
    50% { height: 100%;}
    75% { height: 100%;}
    100% { height: 0%;}
  }

/*
.text{
    position: absolute;
    right: 0;
    padding-right: 10px;
}
*/

.imgBx{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 100px;
    max-width: 900px;
}
.imgBx img{
    max-width: 120px;
    margin: 20px;
    opacity: 1;
    cursor: pointer;
    filter: invert(100%);
    -webkit-filter: invert(100%);
}
.imgBx img:hover{
    opacity: 0.5;
}


.fade-in {
    animation: fadeIn ease 3s;
    -webkit-animation: fadeIn ease 3s;
    -moz-animation: fadeIn ease 3s;
    -o-animation: fadeIn ease 3s;
    -ms-animation: fadeIn ease 3s;
    }
    @keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
    }
    
    @-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
    }
    
    @-webkit-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
    }
    
    @-o-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
    }
        
        @-ms-keyframes fadeIn {
        0% {opacity:0;}
        100% {opacity:1;}
        }

a{  
    opacity: 1;
    text-decoration: none;
}
a:hover{
    opacity: 0.5;
}
/*
@media(max-width: 1366px){
    .about-pages div:nth-child(1){
        background-position-x: -176px;
    }
    .about-pages div:nth-child(2){
        background-position-x: -176px;
    }
    .about-pages div:nth-child(3){
        background-position-x: -210px;
    }
    .about-pages div:nth-child(4){
        background-position-x: -176px;
    }
    .about-pages div:nth-child(5){
        background-position-x: -176px;
    }
    .about-pages-2 div:nth-child(1){
        background-position-x: -176px;
    }
    .about-pages-2 div:nth-child(2){
        background-position-x: -240px;
    }
    header{
        background-position-y: 0px;
    }
}
*/

@media(max-width: 1100px){
    .scrollmagic-pin-spacer{
        display: none !important;
    }
    .about-pages, .about-pages-2{
        width: 100%;
    }
    header h1{
        margin-top: -200px;
        font-size: 30px;
    }
    h2{
        margin-top: 50px;
    }
    .about-pages div>p{
        margin-bottom: 50px;
    }
    .about-pages-2 div>p{
        margin-bottom: 50px;
    }
    .btn{
        margin-top: 0;
    }
    .middle{
        bottom: 80px;
    }
    footer h2{
        font-size: 16px;
        width: 35ch;
        animation: animate-3 3.5s steps(35), animate-4 .5s infinite alternate;
        margin-bottom: 150px;
    }
    header{
        background-position-y: 0;
        background-position: bottom;
    }
    .about-pages div:nth-child(1){
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #16262e;
    }
    .about-pages div:nth-child(2){
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #16262e;
    }
    .about-pages div:nth-child(3){
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #2e4756;
    }
    .about-pages div:nth-child(4){
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #3c7a89;
        background-position-y: 0;
        background-position: center;
    }
    .about-pages div:nth-child(5){
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #9fa2b2;
    }
    .about-pages div:nth-child(6){
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #dbc2cf;
        background-position-y: 0px;
        background-position: center;
    }
    .about-pages div:nth-child(7){
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #dbc2cf;
        background-position-y: 0px;
        background-position: center;
    }
    .about-pages-2 div:nth-child(1) {
        background-size: 120%;
        background-repeat: no-repeat;
        background-color: #9fa2b2;
        background-position-x: -50px;
        background-position-y: 80px;
    }
    .about-pages-2 div:nth-child(2) {
        background-size: contain;
        background-repeat: no-repeat;
        background-color: #3c7a89;
        background-position-y: 90px;
        background-position-x: -25px;
    }
    .imgBx{
        max-width: 100%;
        margin-left: 40px;
        margin-right: 40px;
        margin-top: 75px;
    }
    .imgBx img{
        max-width: 85px;
        margin: 12px;
    }
}
@media(max-width: 360px){
    header h1{
        font-size: 26px;
    }
    h2{
        font-size: 18px;
    }
    footer h2{
        font-size: 14px;
        margin-bottom: 85px;
    }
    .imgBx img{
        margin: 4px;
    }
}

