/* 
    * file: main.css
    * author: @TechnicDev
    * description: Main CSS file for the website
    * version: 1.0.0
*/

@font-face {
    font-family: 'outfit';
    src: url(./outfit.ttf) format('truetype');
}

body {
    font-family: 'outfit';
    margin: 0;
    color: #fff;
    background-color: #010101;
}

::-webkit-scrollbar {width: .25rem;}
::-webkit-scrollbar-track {background: #000;}
::-webkit-scrollbar-thumb {background: #888; border-radius: 1rem;}
::-webkit-scrollbar-thumb:hover {background: #555;}


.navbar {
    text-align: center;
    position: fixed;
    width: calc(100% - 2rem);
    top: 0rem;
    left: 0rem;
    margin: 1rem;
    border-radius: .5rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
    z-index: 1000;
}
.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(157 157 157 / 19%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: .5rem;
    z-index: -1;
}
.navbar::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(2rem + 50px);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    z-index: -1;
}

.nav-items{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: .5rem 2rem;
}

.nav-icon img{width: 50px;}
.nav-icon{height: 50px;}

@media screen and (min-width: 900px) {
    .nav-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.nav-title h1{
    font-size: 1.75rem;
    margin: 0;
    padding: 0;
    color: #fff;
}
.nav-title-logo{
    height: 35px;
    width: 95px;
    background-image: url(./images/logo.webp);
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.nav-link{
    color: #fff;
    text-decoration: none;
    font-size: 1.25rem;
    margin: 0 1rem;
    padding: .5rem 1rem;
}
.nav-link::before {
    content: '';
    display: inline-block;
    position: absolute;
    background-color: #fff;
    width: 0px;
    height: 2px;
    /* left: .6rem; */
    /* top: 7px; */
    bottom: 1rem;
    transition: .2s;
}
.nav-link:hover::before {
    width: 4.5rem;
}

.nav-expend-btn{
    background: none;
    border: none;
}
.nav-expend-btn img{
    width: 40px;
}

@media screen and (min-width: 621px) {
    .nav-expend{
        display: none;
    }
}
@media screen and (max-width: 620px) {
    .nav-links{
        position: absolute;
        transition: .3s top, .3s opacity;
        width: calc(100% - 2rem);
        left: 0;
        z-index: 999;
        top: 0;
        pointer-events: none;
        opacity: 0;
        padding: 1rem;
        border-radius: .5rem;
    }
    .nav-links::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(110, 110, 110, 0.5);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-radius: .5rem;
        z-index: -1;
    }
    .nav-links-expended{
        top: calc(2rem + 50px);
        opacity: 1;
        pointer-events: all;
    }
    .nav-link{
        font-size: 1rem;
        padding: .25rem 0.5rem;
    }

    .nav-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

.centered-message{
    margin-top: 13rem;
    text-align: center;
}
.centered-message > h1{
    font-size: 2.75rem;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.8);
}
.centered-message > p{
    font-size: 1.75rem;
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.6);
}
/* Footer */

.footer{
    margin-top: 20rem;
    background-color: #121212;
    padding: 2rem 4rem 1rem 4rem;
}
.footer-items{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
    grid-row-gap: 2rem;
    align-items: center;
}

.footer-brand{
    display: flex;
    align-items: center;
    flex-direction: column;
}
.footer-brand > img{
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
}
.footer-brand > a{
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    color: #fff;
    text-decoration: underline;
}
.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-link{
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    color: #fff;
    text-decoration: none;
}
.footer-underline{
    text-decoration: underline;
}
.footer-link:hover{
    color: #fff;
    text-decoration: underline;
}
.footer-heading{
    font-size: 1.2rem;
    /* font-weight: 800; */
    margin: 0;
    padding: 0;
    color: #fff;
}
.footer-credits{
    margin-top: 3rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}