:root {
    --color-background: #0b1f5c;
    --color-blue-highlight: #BAD6EB;
    --color-font: #f7f2eb;
}


@media (max-width: 54em) {

    body {
        margin: 0 1rem;
    }

    footer span {
        display: none;
    }

    h2 {
        font-size: 1.75rem;
    }

    .about {
        grid-template-columns: 1fr;

    }

    .about-picture {
        grid-column: 1;
        display: flex;
        justify-content: center;
        margin-bottom: -4em;
    }

    .about-presentation {
        grid-column: 1;
    }

    .about-picture img {
        width: 200px;
    }

    figcaption {
        width: 200px;
    }

    .about-ling {
        margin-top: 2em;
    }

    .about-presentation p {
        text-align: left;
        hyphens: auto;
    }

    h2 {
        font-size: 1.75rem;
    }

    .skills {
        gap: 2rem;
    }

    .skills-main,
    .skills-interests {
        height: auto;
    }

    .skills-main-list,
    .skills-interests-list {
        height: auto;
        gap: 1.25rem;
    }

    .experience-card {
        gap: 1rem;
    }

    .experience-img {
        width: 100%;
        height: auto;
    }

    .experience-list {
        height: auto;
    }

    .education-columns,
    .activities-columns {
        gap: 1rem;
    }

    .education-dates,
    .activities-dates {
        font-size: 0.85rem;
    }

    footer span {
        display: none;
    }

}

@media (max-width: 30em) {

    a {
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
    }

    html {
        scroll-snap-type: none;
    }

    section,
    header {
        scroll-snap-align: none;
    }

    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-y: scroll;
        margin: 0 0.5rem;
    }

    section {
        height: auto;
        min-height: 100vh;
        padding: 2rem 0;
    }

    .about {
        grid-template-columns: 1fr;
    }

    .about-picture {
        grid-column: 1;
        margin-bottom: 0;
    }

    .about-presentation {
        grid-column: 1;
    }

    .about-ling {
        margin-top: 2em;
    }

    .about-picture img {
        width: 200px;
    }

    figcaption {
        width: 200px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .about-presentation p {
        text-align: left;
        hyphens: auto;
    }

    .skills {
        display: flex;
        flex-direction: column;
        gap: 3rem;
        align-items: flex-start;
    }


    .skills-main,
    .skills-interests {
        height: auto;
        justify-self: unset;
        width: 100%;
    }

    .skills-main-list,
    .skills-interests-list {
        height: auto;
        gap: 1rem;
    }


    .skills-main-list i {
        font-size: 1.2rem;
    }

    .skills-interests-list i {
        font-size: 1.2rem;
    }

    .experience-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-figure {
        width: 100%;
        align-self: center;
    }

    .experience-img {
        width: 100%;
        height: auto;
    }

    .experience-caption {
        width: 100%;
    }

    .experience-list {
        height: auto;
        width: 100%;
        text-align: left;
    }

    .education-columns {
        display: flex;
        flex-direction: column;
    }

    .education-dates {
        display: none;
    }

    .experience-card {
        margin-top: 1em;
    }

    .education-list {
        grid-column: 1;
        padding-left: 0;
    }

    .education-card:nth-child(1)::before {
        content: "11/09/2022 - PRESENT";
        color: var(--color-blue-highlight);
        display: block;
        margin-bottom: 0.5rem;
    }

    .education-card:nth-child(2)::before {
        content: "02/09/2019 - 07/07/2022";
        color: var(--color-blue-highlight);
        display: block;
        margin-bottom: 0.5rem;
    }

    .education-card:nth-child(3)::before {
        content: "13/09/2015 - 11/06/2019";
        color: var(--color-blue-highlight);
        display: block;
        margin-bottom: 0.5rem;
    }

    .activities-columns {
        display: flex;
        flex-direction: column;
    }

    .activities-dates {
        display: none;
    }

    .activities-list {
        grid-column: 1;
        padding-left: 0;
    }

    .activity-card:nth-child(1)::before {
        content: "09/09/2025 - Present";
        color: var(--color-blue-highlight);
        display: block;
        margin-bottom: 0.5rem;
    }


    figcaption {
        display: none;
    }

    footer span {
        display: none;
    }

    .contact form {
        width: 100% !important;
    }
}