@import url(fonts.css);
@import url(variables.css);

*{
    font-family: 'Poppins', sans-serif;
}

body{
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    background-color: gray;
}

.yellow-text{
    color: var(--first-color);
    background-color: var(--second-color);
}

.black-text{
    color: var(--second-color);
    background-color: var(--first-color);
}


.navbar{
    width: 100%;
    height: 120px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    /* display: none; */
}

.navbar .start,
.navbar .end{
    width: 200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .start .logo{
    height: 90px;
    width: auto !important;
}

.btn{
    font-size: 18px;
    padding: 10px 20px;
    border: none;
    background-color: var(--first-color);
    color: var(--second-color);
    border-radius: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary{
    background-color: var(--first-color);
}


.navbar .end .btn.selected{
    border: 3px solid var(--second-color);
    color: black;
    font-weight: 600;
}

.btn-secondary{
    background-color: var(--bg-color);
}

.btn:hover{
    transform: scale(1.03);
}

.navbar .middle{
    width: 400px;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.navbar .nav-link{
    text-decoration: none;
    color: var(--second-color);
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

.navbar .nav-link.selected::after{
    position: absolute;
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--first-color);
    left: 0;
    bottom: -7px;
}





footer{
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--bg-color);
    border-top: 2px solid rgb(236, 236, 236);
}

footer .start{
    width: 100%;
    height: 130px;
    display: flex;
    align-items: center;
    width: calc(100% - 100px);
    margin-left: 50px;
}

footer .start img{
    width: 100px;
    height: 100px;
}

footer .middle{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: calc(100% - 100px);
    margin-left: 50px;
}

footer .end .line a{
    text-decoration: underline;
    color:rgb(73, 158, 255);
}



footer .middle .col{
    display: flex;
    flex-direction: column;
}

footer .middle .col .line{
    margin-bottom: 10px;
}

footer .middle .col-name{
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}

footer .end{
    width: 100%;
    text-align: center;
    padding-block: 30px;
    background-color: var(--second-color);
    margin-top: 50px;
}

footer .middle .col .line{
    font-size: 16px;
}

footer .end .line{
    color: var(--bg-color);
}

footer .line a{
    text-decoration: none;
    color: unset;
}
footer .line{
    text-decoration: none;
    color: var(--second-color);
}



@media screen and (max-width: 1100px) {
    footer .middle{
        flex-wrap: wrap;
        gap: 40px;
        justify-content: flex-start;
    }
}


@media screen and (max-width: 900px) {
    footer .middle{
        flex-direction: column;
    }
}

@media screen and (max-width: 820px) {

    .navbar{
        flex-direction: column;
        height: fit-content;
        overflow: hidden;
        max-height: 120px;
    }

    .navbar .start{
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        min-height: 120px;
    }

    .navbar .start .logo{
        margin-left: 20px;
        min-height: 80px;
    }

    .navbar .btn-mobile{
        display: flex !important;
        height: 50px;
        width: 50px;
        margin-right: 20px;
    }

    .navbar .middle {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        gap: 0px;
    }

    .navbar .nav-link.selected::after{
        display: none;
    }

    .navbar .nav-link{
        width: 100%;
        text-align: center;
        padding-block: 20px;
    }

    .navbar .end{
        width: 100%;
    }

    .navbar .end .btn{
        width: 100%;
        border-radius: 0px !important;
        padding-block: 16px;
        margin-top: 20px;
    }



    footer .start{
        width: calc(100% - 40px);
        margin-left: 20px;
    }

  
    footer .middle{
        width: calc(100% - 40px);
        margin-left: 20px;
    }

}



