@font-face {
    font-family: interVariable;
    src: url(../assets/fonts/inter/Inter-VariableFont_opsz\,wght.ttf)
}

body {
    font-family: interVariable;
    margin: 0;
    padding: 0;
    background-color: rgb(20, 20, 20);
}

.hero {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: calc(100vh - 16px);
    width: 100%;
    color: white;
}

.about {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    min-height: 100vh;
    width: 100%;
    position: relative;
    color: white;
}

.about-content {
    font-size: 1.5rem;
    line-height: 2;
    max-width: 55rem;
    text-align: left;
    text-indent: 4rem;
}

.portfolio {
    display: flex;
    text-align: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    margin-bottom: 2rem;
    width: 100%;
    color: white;
}

.portfolio-heading {
    font-size: 3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.portfolio-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    max-width: 900px;
    padding: 10px;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.portfolio-projects div {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    padding: 16px;
    font-size: 1rem;
    text-align: center;
    background-color: #f1f1f1;
    color: black;
}

.contact {
    display: grid;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    min-height: 50vh;
    width: 100%;
    position: relative;
    color: white;
}

.contact-heading {
    font-size: 3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.contact-subtitle {
    margin-top: 0;
}

.contact-projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    max-width: 900px;
    padding: 10px;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.contact-projects div {
    text-align: center;
    color: white;
}

h2,
p {
    margin: 10px;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #3e3e3e;
    margin: 0;
    padding: 0;
}

/* Navigation Menu */
ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgb(30, 30, 30);
    font-weight: 650;
}

ul li {
    float: left;
}

ul li a {
    display: block;
    color: white;
    padding: 16px 16px;
    text-decoration: none;
    text-align: center;
    font-size: 1em;

}

ul li a:hover:not(.active) {
    background-color: #0F4C75;
}

ul li a.active {
    background-color: #3282B8;
}

/* Footer */
footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0;
    background: none;
    text-align: center;
    font-size: 0.8em;
    color: rgba(180, 192, 192, 0.615);
}

@media (max-width: 900px) {
    .portfolio-projects,
    .contact-projects {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 1rem 1rem;
        gap: 16px;
    }

    .portfolio {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 700px) {
    .hero {
        padding: 0 1rem;
        height: auto;
        min-height: calc(100vh - 16px);
    }

    .hero h1 {
        font-size: clamp(2.5rem, 10vw, 4rem) !important;
        line-height: 1.05;
    }

    .hero p {
        font-size: clamp(1.1rem, 4.5vw, 1.75rem) !important;
    }

    .portfolio-heading,
    .contact-heading {
        font-size: 2.25rem;
        margin-top: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .about {
        padding: 0 1rem;
    }

    .about-content {
        font-size: 1.1rem;
        line-height: 1.7;
        text-indent: 0;
    }

    ul {
        flex-wrap: wrap;
    }

    ul li {
        float: none;
    }

    ul li a {
        padding: 12px 12px;
        font-size: 0.95em;
    }
}