*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
html,body{
    height: 100%;
    width:100%;
}
#page1{
    height: 100%;
    width: 100%;
}
#nav{
    height: 120px;
    width: 100%;
    /*background-color: red;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
}
#content{
    height: calc(100% - 120px);
    width: 100%;
    padding: 100px;
    /*background-color: chocolate;*/
}
#content h3{
    background-color: #F2B0EA;
    width: fit-content;
    border-radius: 50px;
    text-align: center;
    padding:5px 5px;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}
#content h1{
    text-align: center;
    font-size: 80px;
    margin: 25px 0;
    font-weight: 100;
    line-height: 80px;
}
#content h4{
    text-align: center;
    font-size: 20px;
    font-weight: 400;
}
#nav-part1{
    width:35%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: capitalize;
}
#nav-part1 h4{
    font-size: 14px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: 500;
}
#nav img{
    height: 90px;
}
#nav-part2{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#nav-part2 button{
    padding: 12px 14px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    background-color: black;
    color: white;
    margin: 0 12px;
}
#nav-part2 button:nth-child(1){
    background-color: #fff;
    color: black;
}
#content button{
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    background-color: black;
    color: white;
    padding: 15px;
    position: relative;
    left: 50%;
    transform: translate(-50%);
margin:30px 0
}
#bottom{
    height: 400px;
    width: 100%;
    /*background-color: red;*/
    padding: 5px;
    display: flex;
    flex-wrap: nowrap;
    gap:30px;
    overflow-x: fixed;
    overflow-y: hidden;
}
.elem{
    height: 100%;
    width: 210px;
    background-color: royalblue;
    border: none;
    flex-shrink: 0;
    position: relative;
    border-radius: 50px;
    /*overflow: hidden;*/
    animation-name: anime;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
@keyframes anime {
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}
.elem video{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;   
}
.elem img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
#bottom::-webkit-scrollbar{
    display: none;
}
.elem .bottom{
    height: 25%;
    width: 100%;
    background-color: rgb(0,0,0,0,1.54);
    bottom: 0;
    backdrop-filter: blur(4px);
    position: absolute;
}
.bottom h4{
    color: rgb(247, 243, 243);
    font-size: 5vh;   
}
#page2{
    height: 100%;
    width: 100%;
    background-color: rgb(255, 255, 255);
    position: relative;
    margin-top: 60vh;
    padding: 100px;
}
#page2 h1{
    text-align: center;
    font-family: gilroy;
    font-weight: 500;
    font-size: 50px;
    margin-bottom: 70px;
}
.box{
    height: 200px;
    width: 250px;
    position: relative;
    background-color: red;
     overflow: hidden; 
    border-radius: 10px;
    display: inline-block;
    margin: 15px;
    transition: all ease 0.3s;
}
.box img{
    height: 200px;
    width: 250px;   
}
.box-bottom{
    height: 40%;
    width: 100%;
    background:linear-gradient(transparent,rgb(71, 71, 71));
    position: absolute;
    bottom:-40%;
    transition: all ease 0.3s;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.box:hover .box-bottom{
bottom: 0;
font-weight: 600;
font-family: gilroy;
}
.box-bottom i{
background-color: white;
padding: 8px 9px;
color: black;
border-radius: 50%;
font-size: 15px;
}
.box:hover{
    box-shadow:0px 2px 20px rgb(0,0,0,0.435);
}
#page3{
    height: 100%;
    width: 100%;
    position: relative;
}
.boxes{
    height: 80%;
    width: 100%;
    background-color: rgb(252, 209, 128);
    margin-top: 150vh;
}
/* #clicks
    height: 100%;
    width: 0%;
    background-color: red;
}*/
#matter{
    height: 100%;
    width: 100%;
    padding: 100px;
}
#matter h1{
    text-align: center;
    font-size: 80px;
    font-weight: 300;
    line-height: 1;
    padding: 4px 30px;
}
#matter h2{
    text-align: center;
    font-size: 20px;
    font-weight: 200;
    width: 40%;
    transform: translateX(75%);
    line-height: 1.5;
    padding: 20px;
}
#page3 button{
    height: 44px;
    width: 15%;
    padding: 5px;
    border-radius: 50px;
    font-size: 15px;
    border: none;
    background-color: black;
    color: white;
    position: relative;
    left: 40%;
    transform: translate(-50%);
}
#page3 #click2{
background-color: white;
color: black;
}
#page3 h4{
    text-align: center;
    margin: 10px 12px;
    font-size: 25px;
    font-weight: 200;
    padding-top: 18px;
}
#page3 a{
    color: black;
}
#page4{
    height: 40vh;
    width: 100%;
    position: relative;
    /* background-color: red; */
    top:900px;
    white-space: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    
}
.elements{
    height: 100%;
    width: 100%;
    display: flex;
    animation-name: anime;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;

}
@keyframes anime {
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-100%);
    }
}
.elements img{
    height: 90%;
    width: 50%;
    object-fit: cover;
    object-position: 30% 30%;  
    padding: 1vw; 
}
#page5{
    height: 100%;
    width: 100%;
}
#navs{
    height: 40vh;
    width: 100%;
    /* background-color: red; */
    position: relative;
    top:900px;
    
}
 #navbar1 #news{
    height: 10%;
    width: 10%;
    margin-left: -10vw;
    /* margin-top: 15vh; */
}
#navbar1{
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 30px; 
}
#navbar1 h2{
    font-size: 18px;
    text-transform: capitalize;
    font-weight: 200;
}
#navbar2{
    display: flex;
    align-items: center;
    margin-left: 40vw;
    gap: 20px;
}
#navbar2 i{
    font-size: 30px;
    
}
