@import url('https://fonts.googleapis.com/css2?family=Poppins&family=Tinos:wght@400;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: 0;
}

body{
    font-family: 'Poppins', sans-serif;
    color: #fff;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}



ul{
    list-style: none;
}

.bg{
    position: absolute;
    top: 0%;
    right: 0%;
    width: 0%;
    height: 100%;
    background: #969E77;
    z-index: -1;

}

/* navbar */

.navbar{
    display: flex;
    justify-content: space-between;
    height: 80px;
    align-items: center;
    padding: 0 50px;
}

.navbar .title{
    margin-right: 100px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.navbar .categories{
    margin-right: auto;
}

.navbar .categories ul li{
    display: inline-block;
    padding: 0 30px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.navbar .menu{
    margin-right: 50px;
    font-size: 24px;
}

/* social media */
.social{
    position: absolute;
    top: 350px;
    right: -90px;
    transform: rotate(-90deg);
}

.social ul li{
    display: inline-block;
    padding: 0 20px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Images */
.img-wrapper1{
    position: absolute;
    top: 120px;
    left: 200px;
}

.img-wrapper1 .img1{
background-position: 50%;
background-size: cover;
height: 500px;
width: 350px;
opacity: 0;
animation: image-display 0.0001s linear forwards;
animation-delay: 2.2s;
}

.img-wrapper2{
    position: absolute;
    top: 0;
    left: 650px;
}

.img-wrapper2 .img2{
    background-position: 50%;
    background-size: cover;
    height: 100vh;
    width: 800px;
    opacity: 0;
    animation: image-display 0.0001s linear forwards;
    animation-delay: 2.4s;
}

@keyframes image-display{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}


/* blocks */

.block{
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgb(65, 87, 68);
    animation: block-display 1.5s cubic-bezier(0.19,1,0.22,1) forwards;
    animation-delay: 1.5s;
}

.img-wrapper2.block{
animation-delay: 1.8s;
}

@keyframes block-display{
 0%{
     left: 0;
     width: 0%;
 }
 50%{
     left: 0;
     width: 100%;
 }
 100%{
     left: 100%;
     width: 0%;
 }
}


/* main-text */
.text{
    position: absolute;
    top: 50%;
    left: 55%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    width: 1270px;
}

.text h1 {
    font-size: 70px;
    font-family: 'Tinos';
    font-weight: lighter;
    letter-spacing: 5px;
    text-transform: uppercase;
  
    position: relative;
    overflow: hidden;
    height: 150px;
    width: 100%;
  }


.text h1 .hidetext {
    position: absolute;
}

.text p{
    font-size: 40px;
    font-family: 'Tinos', serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: lighter;
    position: relative;
    overflow: hidden;
    height: 50px;
    width: 100%;
}

.text p .hidetext{
    position: absolute;
}

/* scroll down */

.scrolldown{
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
    position: absolute;
    bottom: 110px;
    left: -60px;
    transform: rotate(-90deg);
}

.scrolldown::before{
    content: "";
    border: 1px solid #fff;
    width: 100px;
    margin: 0 20px 0 0;
    transform: translateY(-3px);
    opacity: .5;
    display: inline-block;
}

/* bottom-nav */

.bottomnav{
    position: absolute;
    bottom: 30px;
    right: 50px;
}

.bottomnav .next{
    font-size: 10px;
    letter-spacing: 8px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.bottomnav .next::after{
    content: "";
    display: inline-block;
    border: 1px solid #fff;
    width: 148px;
    margin: 0 0 0 20px;
    transform: translateY(-3px);
}

.bottomnav .nav{
    display: flex;
}

.bottomnav ul{
    background: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bottomnav ul li{
    padding: 30px 20px;
    font-size: 25px;
}

.bottomnav-img{
    background: url('https://images.pexels.com/photos/3888471/pexels-photo-3888471.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260') no-repeat;
    background-position: 50%;
    background-size: cover;
    height: 200px;
    width: 300px;
}



