@font-face {
    font-family: Gilroy;
    src: url(./Gilroy-Medium.ttf);
}

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Gilroy;
}

html,
body {
    height: 100%;
    width: 100%;
}

#main{
    width: 100%;
    height: 100%;
}

#nav{
    padding: 1vw 2vw;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2.2vw;
}
#nav h4{
    font-size: 20px;
    font-weight: 600;
}

#nav i {
    background-color: #000000;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    padding: 1%;
}

#center{
    width: 100%;
    padding: 16px 80px;
}
#center h1{
    font-size: 4.1vw;
    font-weight: 500;
    line-height: 4.4vw;
}

#center-in{
    width: 100%;
    margin-top: 42px;
    margin-top: 5.2vh;
    display: flex;
    justify-content: space-between;
}
#center-in p{
    font-size: 1.17vw;
    font-weight: 600;
    line-height: 1.8vw;
}

#right{
    width: 25%;
}

.elem{
    padding: 1vw 0;
    border-top: 2px solid #17171d;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.elem i{
    font-size: 25px;
    font-weight: 500;
    opacity: 0;
}
.elem a{
    color: #17171d;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3vw;
}

.elem:hover i{
    opacity: 1;
}

.elem:hover {
    background-color: #d7d7d7;
}

#bottom{
    width: 100%;
    height: 30%;
    background: url(https://images.unsplash.com/photo-1627903803335-074553c99cbc?q=80&w=2023&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3DD);
    background-size: cover;
    background-position: 0 38%;
}

@media (max-width: 600px) {
    #nav{
        padding: 16px 10px 18px 10px;
        gap: 3vw;
    }
    #nav h4{
        font-size: 13px;
    }
    
    #nav i {
        font-size: 13px;
    }

    #center{
        padding: 2vw 4vw;
        margin-top: 12px;
    }
    #center h1{
        font-size: 40px;
        line-height: 40px;
    }
    
    #center-in{
        display: flex;
        gap: 2.2vh;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 14px;
    }
    #center-in p{
        font-size: 12px;
        line-height: 14px;
    }
    
    #right{
        width: 100%;
       margin-top: 20px;
       margin-bottom: 15px;
    }
    
    .elem{
        padding: 10px;
        border-top: 2px solid #000;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .elem:nth-last-child(1){
        border-top: 2px solid #17171d;
    }

    .elem i{
        font-size: 12px;
        opacity: 1;
    }
    .elem a{
        font-size: 12px;
    }
    

    .elem:hover {
        background-color: #d7d7d7;
    }
    #bottom{
        height: 40%;
    }
    
    
}