:root {
    --bodyBackground: #FFF7EE;
    --bodyDarkBackground: #2C2A28;
    --bodyAltBackground: #FFAA5C;
    --bodyWith: 1200px;

    --roundCorner: 35px;
    --pillCorner: 200px;

    --border: 1px solid;
    --borderLight: 1px solid #57534A;

    --font: "Open Sans", sans-serif;
    --fontTitle: "Gotu", sans-serif;
    --fontColor: #33302A;
    --fontLightColor: #FFF7EE;
    --fontSize-sm: .9rem;
    --fontSize-rg: 1.2rem;
    --fontSize-md: 1.75rem;
    --fontSize-lg: 2.5rem;

    --logoSize: 96px;
    --logoFont: 'InkFree';

    --sidePadding: 2rem;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bodyBackground);
    font-family: var(--font);
    font-size: var(--fontSize-rg);
    color: var(--fontColor);
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover:not([class]) {
    text-decoration: underline;
}

h2, h3 {
    font-family: var(--fontTitle);
    font-weight: normal;
    margin: 0;
}

h2 {
    font-size: var(--fontSize-lg);
}

h3 {
    font-size: var(--fontSize-md);
}

/* ------------------ */
/* ALL SECTIONS */

nav {
    background-color: var(--bodyAltBackground);
    padding: 1.8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 999
}

.nav_link {
    background-color: var(--bodyBackground);
    border-radius: var(--pillCorner);
    padding: 0 1rem;
    font-family: var(--fontTitle);
}

/* ------------------ */
/* HERO PAGE */

header {
    text-align: center;
    padding: 5rem var(--sidePadding);
}

.logo {
    width: 100%;
    max-width: 500px;
}

.banner {
    position: relative;
    background-color: var(--bodyAltBackground);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem .5rem;
}

.activity {
    background-color: var(--bodyBackground);
    border-radius: var(--pillCorner);
    padding: 0 1rem;
    font-family: var(--fontTitle);
}

/* ------------------ */
/* ALL SECTIONS */

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    margin: 5rem 0 7rem;
    padding: 0 2rem;
    scroll-margin-top: calc(var(--navHeight) + 1rem);
}

.section_title {
    text-align: center;
}

.section_grid {
    width: 100%;
    max-width: var(--bodyWith);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
}



/* SECTION about */

.aboutme_img {
    border-radius: var(--roundCorner);
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    background-color: #fff;
}

.aboutme_text {
    grid-column: 2 / span 2;
    padding: 0 1.5rem;
}

.aboutme_text-strong {
    font-weight: bold;
    white-space: nowrap;
}


/* SECTION values */

.values {
    background-color: var(--bodyAltBackground);
    padding: 3rem 2rem;
    border-radius: var(--roundCorner);
}

.value {
    background-color: var(--bodyBackground);
    border-radius: var(--roundCorner);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.value p {
    margin: 0;
}

.value:nth-child(even) {
    flex-direction: column-reverse;
    gap: 3rem;
}

.value_text-title {
    line-height: 1.5rem;
}

/* SECTION creations */

.creation {
    position: relative;
    margin: 0;
}

.creation img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--roundCorner);
}

/* SECTION creations */

.mentions_legales-text {
    grid-column: 1 / span 3;
}

/* ------------------ */
/* FOOTER */

footer {
    background-color: var(--bodyDarkBackground);
    border-radius: var(--roundCorner) var(--roundCorner) 0 0;
    color: var(--fontLightColor);
    padding: 3rem var(--sidePadding);
    text-align: center;
}

.footer_section {
    margin-bottom: 2rem;
}

.contact_button {
    margin: .5rem;
    padding: 0 .8rem;
    border: var(--borderLight);
    border-radius: var(--pillCorner);
    margin: 0 auto;
    display: flex;
    gap: .5rem;
    align-items: center;
    width: max-content;
    font-weight: normal;
    font-family: var(--fontTitle);
}

.footer_links {
    width: 100%;
    max-width: var(--bodyWith);
    margin: 0 auto;
    display: flex;
    column-gap: 3rem;
    flex-wrap: wrap;
    justify-content: space-between
}


@media (max-width: 980px) {
    .section_grid.portfolio {
      grid-template-columns: 1fr 1fr;
    }

    .aboutme_text {
        grid-row: 2;
        grid-column: 1 / span 2;
    }
  }


@media (max-width: 425px) {
    :root {
        --fontSize-rg: 1rem;
        --sidePadding: .7rem;
    }

    .nav_link {
        font-size: .9rem;
        padding: 0 .5rem;
    }

    .activity:nth-child(n+6) {
        display: none;
    }

    .section_grid.portfolio {
        grid-template-columns: 1fr;
      }

    .contact_button {
        font-size: .9rem;
    }

    .footer_links {
        justify-content: center;
    }
  }