* {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    scroll-behavior: smooth;
}

/*go figure why this works LMAO
it solves the whiteline at the top problem*/

header {
    padding-top: 48px;
}

.first {
    height: 100vh;
    background-color: #001220;
    z-index: -1;
}

.second {
    background-color: #224167;
    z-index: -1;
}

.navbar {
    background-color: transparent;
}

.container {
    display: flex;
    flex-direction: column;
}

#about-me,
#projects {
    margin-top: 9%;
    min-height: 225px;
    text-align: center;
    border-radius: 25px;
}

#name,
.description {
    color: #378CE7 !important;
    margin: 0;
    pointer-events: none;
    animation: fade-up 1s;
    letter-spacing: 2px;
    padding-bottom: 5px;
}

.highlight {
    height: 100%;
    animation-name: highlight;
    animation-delay: 1s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    background-size: 200% 200%;
    background: linear-gradient(to right, #001220 50%, #e6f0fa 5%);
    background-size: 200% 100%;
}

@keyframes highlight {
    from {
        background-position: 0;
    }

    to {
        background-position: -100%;
    }
}


#name {
    font-size: 4rem;
    font-weight: 900;
}

@keyframes fade-up {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}

.description {
    font-size: 1.8rem;
    font-weight: 500;
}

.nav-link {
    color: #378CE7 !important;
    font-size: 1.5rem !important;
    animation: fade-down 0.5s;
}

.nav-link.active {
    color: #e5e5e5 !important;
}

.nav-link:hover {
    color: #39FF14 !important;
}

.btn-primary {
    color: white !important;
    background-color: #378CE7 !important;
    border: none !important;
    animation: fade-up 1s ease;
}

.container-projects {
    display: flex;
    justify-content: center;
    margin-top: 10%;
}

#project-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    margin-top: 5%;
    border: 2px solid #9CBFE7;
    border-radius: 10px;
}

#project-titles {
    color: #378CE7;
}

#tools {
    color: #378CE7;
}

.project-body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.projectbodytext {
    display: flex;
    flex-direction: column;
    width: 60%;
}

.projects-section {
    height: 100vh;
    background-color: #001220;
    z-index: -1;
}

#textings {
    color: #378CE7;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
    margin-left: 25px;
    text-align: left;
}

/* .title
{
    color: #378CE7 !important;
    margin: 0;
    pointer-events: none;
    letter-spacing: 2px;
    padding-bottom: 5px;
    font-weight: 900;
} */



@media only screen and (max-width: 680px) {
    .name {
        font-size: 2rem;
    }

    .description {
        font-size: 1.2rem;
    }

    .project-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    img {
        width: 70%;
    }

    #textings {
        margin-left: 0;
        text-align: center;
    }

    .container {
        height: fit-content
    }

    .projects-section {
        height: fit-content;
    }

    #powerbi-icon, #excel-icon{
        width: 50px;
        height: 50px;
    }