* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background-color: #ffd2ce;
    color: #101632dd;
}

body, div, nav, ul, header, a, li, label, footer {
    margin: 0;
    padding: 0;
}

/*----------- HEADER SECTION -----------*/

.header {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 0px 9px #0004;
    container-type: inline-size;
    container-name: header;
}

.name {
    display: inline;
    margin: auto;
    margin-left: 0px;
}

.header__open-nav-button {
    font-size: 3rem;
    color: #e56d59;
    font-weight: 900;
    position: absolute;
    right: 5px;
}

.header__checkbox {
    display: none;
}

.header__checkbox:checked ~ .header__nav {
    display: flex;
}

.header__nav {
    display: none;
    background-color: #eee;
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: -1;
    top: 0;
    border-bottom: #101632dd 2px solid;
    box-shadow: 0px 0px 12px #0009;
}

.header__nav-list {
    display: flex;
    height: 40vh;
    margin: auto;
    flex-direction: column;
    justify-content: space-evenly;
    width: 80%;
}

.header__logo {
    max-width: 100%;
    width: 50px;
    margin: 10px 10px 10px 20px;
}

.header__nav-item {
    list-style: none;
    background-color: #e56d59;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding: 5px;
    border-bottom: #ae3a27 1px solid;
    border-top: #f6b6ab 2px solid;
}

.header__nav-item a {
    text-decoration: underline;
    color: #fff;
}

.header__nav-item a:not(:is(:hover,:active)) {
    text-decoration: none;
}

/*----------- HEADER QUERY -----------*/

@container header (min-width: 600px) {
    .header__nav {
        position: static;
        height: auto;
        width: auto;
        z-index: 0;
        display: flex;
        justify-content: space-between;
        /* ADD-ON */
        box-shadow: none;
        border-bottom: none;
        background-color: #fff;
    }

    .header__nav-list {
        flex-direction: row;
        height: auto;
        width: auto;
        gap: 20px;
        margin-right: 20px;
    }

    .header__open-nav-button {
        display: none;
    }

    /* ADD-ON */

    .header__nav-item {
        background-color: transparent;
        border: none;
    }

    .header__nav-item a {
        color: #e56d59;
    }
}

/*----------- HEADER ENDS -----------*/

/*----------- PROFILE SECTION -----------*/

.profile {
    container-name: pro;
    container-type: inline-size;
    position: relative;
    z-index: -2;
}

.profile__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    max-width: 1400px;
}

.profile__data {
    max-width: 600px;
    padding: 12px;
}

.profile__img-container {
    max-height: 400px;
    overflow: hidden;
}

.profile__img {
    max-width: 100%;
    width: 700px;
}

h1, h2 {
    color: #e56d59;
}

.profile__product {
    list-style: none;
    display: flex;
    margin: 10px;
    max-width: 600px;
    margin-left: 0px;
    align-items: center;
}

.load-bar {
    border: #e56d59 2px solid;
    border-radius: 8px;
    color: #fff;
    width: 80%;
    font-size: 12px;
    padding: 2px;
    margin-right: 3px;
    margin-left: 0px;
}

.load-bar__bar {
    background-color: #e56d59;
    padding: 5px;
    border-radius: 4px;
    letter-spacing: 2px;
    font-weight: bolder;
}

.bar--80 {
    width: 80%;
}

.bar--60 {
    width: 60%;
}

.bar--70 {
    width: 70%;
}

.bar--40 {
    width: 40%;
}

/*----------- PROFILE QUERY -----------*/

@container pro (min-width: 620px) {
    .profile__wrapper {
        padding: 20px;
        flex-direction: row;
        background-color: transparent;
        min-height: 90vh;
        margin: auto;
    }

    .profile__data-container {
        background-color: #fff;
        display: flex;
        align-items: center;
        border-radius: 0px 25px 25px 0px;
        box-shadow: 0px 0px 9px #0004;
    }

    h1 {
        margin: 0px;
        font-size: 4rem;
        text-wrap: balance;
    }

    .profile__data {
        max-width: 620px;
    }

    .profile__img-container {
        max-height: initial;
        border-radius: 15px 0px 0px 15px;
    }

    .profile__img {
        height: 100%;
        width: 620px;
        object-fit: cover;
    }
}