* {
    box-sizing: border-box;
}

:root {
    --darkblue: #1B213C;
    --bluegray: #3181B2;
    --lightblue: #83CAD8;
    --lightgray: #EDEDED;
    --darkgray: #A3A3A3;
    --white: #FFF;
    --yellow: #FFCF2F;
    --lightyellow: #EFD961;
    --green: #8DC63F;
    --darkgreen: #80A450;
    --lightgreen: #95C994;
    --darkestpink: #BB5146;
    --darkpink: #DA7369;
    --lightpink: #FAA299;
    --lightestpink: #FFCCC7;
    --lightpurple: #C0ABD6;
    --darkpurple: #8561AA;
}

.about-hero {
    display: flex;
    width: 100vw;
    height: 30rem;
}

.personal-projects-hero-container {
    display: flex;
    width: 100vw;
    height: 20rem;
}

.about-page-hero-box-1 {
    display: flex;
    flex-direction: column;
    width: 800px;
    padding: 5rem;
}

.about-page-hero-box-2 {
    display: flex;
    background-image: url(assets/images/hero/goldsmiths.jpg);
    width: 100%;
    object-fit: cover;
    background-repeat: no-repeat;
    height: 100%;
    background-size: cover;
    background-position: top;
}

.personal-projects-hero {
    display: flex;
    background-image: url(assets/images/hero/personal-projects.jpg);
    width: 100%;
    object-fit: cover;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}

.school-project-hero {
    background-image: url(assets/images/hero/school-projects-hero.jpg);
}

.frontend-mentor-hero {
    background-image: url(assets/images/hero/frontend-mentor-hero.jpg);
}

.about-h1, .about-h2 {
    margin-bottom: 0;
}

.hero-box {
    width: 100%;
    height: 100%;
    padding: 4rem;
    padding-left: 6rem;
    padding-right: 6rem;
}

.bold {
    font-weight: 700;
}

.italic {
    font-style: italic;
}

.linkedin-btn {
    color: white;
    padding: 0.8rem;
    border-radius: 12px;
    background-color: var(--darkblue);
    color: var(--white);
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.2rem;
    border: 0;
    cursor: pointer;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.linkedin-btn:hover {
    background-color: var(--bluegray);
}

.about-under-hero {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-image: url(assets/images/hero/ulsrudvannet.jpg);
}

.about-under-hero > div {
    width: 100%;
    height: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.get-in-touch {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}

.contact-form {
    background-color: var(--lightyellow);
    padding: 4rem 6rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.get-in-touch-title {
    font-size: 2rem;
}

.badges {
    width: 350px;
}

.about-socials {
    display: flex;
    gap: 1rem;
    font-size: 2rem;
}


/* Small screen */
@media (max-width: 750px) {
    .about-hero {
        flex-wrap: wrap-reverse;
        flex-direction: column-reverse;
        height: auto;
        margin-bottom: 1rem;
        padding: 0;
    }

    .hero-box {
        width: 100%; /* Full width for small screens */
        padding: 3rem;
    }

    .about-page-hero-box-1 {
        margin-left: 2rem;
    }

    .about-page-hero-box-2 {
        height: 30rem; /* Adjust height for better image display */
    }

    .badges {
        width: 100%;
    }

    .about-under-hero {
        flex-direction: column;
    }

    .contact-form {
        padding: 2rem;
        margin-top: 2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about-under-hero > div {
        padding: 2rem 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gray-aboutpage-box {
        padding: 5rem;
    }

}

/* Medium screen */
@media (min-width: 751px) {
    .about-hero {
        flex-direction: row;
        width: 100vw;
        height: 40rem;
    }

    .about-page-hero-box-1, .about-page-hero-box-2 {
        width: 100%;
    }

    .badges {
        width: 350px;
        padding-bottom: 4rem;
    }

    .contact-form {
        padding: 2rem 4rem;
        margin-top: 2rem;
    }

    .about-under-hero {
        flex-direction: column;
    }
    
}