:root {
    --color-black: #222820;
    --color-dark: #174928;
    --color-main: #3b8534;
    --color-light: #a5c71e;
    --color-xlight: rgb(245, 243, 226);
    --span: calc(1 / 18 * 100vw);
    --span-2: calc(2 * var(--span));
    --span-4: calc(4 * var(--span));
    --span-6: calc(6 * var(--span));
    --span-8: calc(8 * var(--span));
    --span-10: calc(10 * var(--span));
    --span-14: calc(14 * var(--span));
    --span-16: calc(16 * var(--span));
    --font-family-regular: 'Gotham', Arial, Helvetica, sans-serif;
    --font-family-bold: 'Gotham Bold';
    --font-family-black: 'Gotham Black';
    --font-family-thin: 'Gotham Thin';
}

@font-face {
    font-family: 'Gotham';
    src: url('../assets/font/Gotham-Book.otf') format('opentype');
}

@font-face {
    font-family: 'Gotham Bold';
    src: url('../assets/font/Gotham-Bold.otf') format('opentype');
}
@font-face {
    font-family: 'Gotham Black';
    src: url('../assets/font/Gotham-Black.otf') format('opentype');
}
@font-face {
    font-family: 'Gotham Thin';
    src: url('../assets/font/Gotham-Thin.otf') format('opentype');
}

body {
    color: var(--color-dark);
    font-family: var(--font-family-regular);
    margin: 0 var(--span);
}

/* SPANS */
.span-2 {
    width: var(--span-2);
}

.span-4 {
    width: var(--span-4);
}

.span-6 {
    width: var(--span-6);
}

.span-8 {
    width: var(--span-8);
}

.span-10 {
    width: var(--span-10);
}

.span-14 {
    width: var(--span-14);
}

.full-width {
    margin-left: calc(-1 * var(--span));
    width: 99vw;
}

/* Background color */
.bg--color-dark {
    background-color: var(--color-dark);
    color: white;
}

.bg--color-main {
    background-color: var(--color-main);
    color: white;
}

.bg--color-light {
    background-color: var(--color-light);
    color: white;
}

.bg--color-xlight {
    background-color: var(--color-xlight);
}

.bg--color-white {
    background-color: white;
    color: var(--color-dark);
}

/* Border color */

.border--color-dark {
    border: var(--color-dark);
}

.border--color-main {
    border: var(--color-main);
}

.border--color-light {
    border-color: var(--color-light);
}

.border--color-xlight {
    border-color: var(--color-xlight);
}

.border--color-white {
    border: white 1px solid !important;
}

/* Font color */

.font--color-dark {
    color: var(--color-dark);
}

.font--color-main {
    color: var(--color-main);
}

.font--color-light {
    color: var(--color-light) !important;
}

.font--color-xlight {
    color: var(--color-xlight);
}

.font--color-white {
    color: white;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 2em 0;
}

.header__logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 1rem;
}

.header__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
}

.header__nav li,
.header__nav a {
    font-size: 1.2rem;
    font-weight: 700;
    list-style: none;
    display: inline;
    margin-right: 2em;
}

.header__nav a {
    text-decoration: none;
}

.header__nav ul li :last-child {
    margin-right: 0;
}

#menu-burger-open {
    display: none;
}

#nav-mobile {
    position: absolute;
    display: none;
    top: 0;
    left: 0;
    padding: 2rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100vw;
    height: 100vh;
    background-color: var(--color-dark);
    color: white;
}

#menu-burger-close {
    display: block;
    align-self: flex-end;
    margin: 2em 1em;
}

#nav-mobile li {
    list-style: none;
    margin-bottom: 2em;
    text-align: center;
}

#nav-mobile a {
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 800;
}

.header__nav__burger__line {
    width: 33px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--color-dark);
    margin-bottom: 5px;
}

.header__nav__burger__line:last-child {
    margin-bottom: 0;
}

.header__nav__burger__cross {
    width: 33px;
    height: 4px;
    border-radius: 2px;
    background-color: white;
    margin-bottom: 5px;
    transform: rotate(45deg);
}

.header__nav__burger__cross:last-child {
    transform: rotate(-45deg);
    translate: 0 -9px;
}

.section,
.card {
    display: flex;
    align-items: center;
}

.section {
    margin-bottom: var(--span);
}

.card {
    border-radius: 50px;
    padding: calc(0.8 * var(--span));
}

.row {
    flex-direction: row;
}

.column {
    flex-direction: column;
}

.button {
    border: none;
    font-weight: 600;
    --height: 3.6em;
    height: var(--height);
    border-radius: calc(var(--height) * 1 / 2);
    padding: calc(var(--height) * 1 / 3) calc(var(--height) * 1 / 3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: fit-content;
}

.button__container {
    display: flex;
    flex-direction: row;
    gap: 1em;
    margin-bottom: 2em;
}

.button__dl {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: var(--color-dark);
    padding: 10px 25px;
    height: 50px;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
}

.button__dl-icon {
    width: 20px;
    margin-right: 10px;
}

.button__dl-text {
    font-size: 0.66em;
    line-height: 1.1;
}

.button__dl-text em {
    font-size: 1.8em;
    font-style: normal;
    font-family: var(--font-family-bold);
}

.etiquette__container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 1em;
    row-gap: 1.4em;
    margin-bottom: var(--span);
}

.etiquette__container--big {
    justify-content: center;
}

.etiquette {
    display: -webkit-box;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    --height: 2.6em;
    height: var(--height);
    width: fit-content;
    border-radius: calc(var(--height) * 1 / 2);
    border-style: solid;
    border-width: 2px;
    padding: calc(var(--height) * 1 / 8) calc(var(--height) * 1 / 3);
    font-weight: 600;
    overflow: hidden;
    -webkit-line-clamp: 1;
}

.etiquette img {
    color: #fff;
    width: 32px;
    translate: -10px;
}

.etiquette--big {
    display: flex;
    --height: 5rem;
    height: var(--height);
    border-radius: calc(var(--height) * 1 / 2);
    padding: calc(var(--height) * 1 / 8) calc(var(--height) * 1 / 3);
    background-color: var(--color-dark);
    color: white;
    font-size: 1.8em;
}

.etiquette--big img {
    width: 32px;
    margin: 0 1rem;
}

.etiquette--light {
    background-color: white;
    border-color: var(--color-dark);
}

.grid-logo {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    grid-gap: 3rem;
    align-items: center;
    justify-content: center;
    width: 50%;
}

.grid-logo img {
    margin: 0 auto;
    height: 78px;
}

@media (max-width: 1400px) {
    .header__nav li,
    .header__nav a {
        font-size: 1rem;
    }
}

@media (max-width: 1250px) {
    .header__nav li,
    .header__nav a,
    .section__contact__text .button__container a {
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    .grid-logo {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    .header__nav ul {
        display: none;
    }

    #menu-burger-open {
        display: block;
    }

    .button__container,
    .etiquette__container {
        flex-direction: column;
    }

    .image-desktop {
        display: none;
    }

    .image-mobile {
        display: block;
    }
}

@media (max-width: 920px) {
    .card {
        flex-direction: column;
    }

    .etiquette__container--big {
        display: none;
    }

    .etiquette {
        font-size: 0.8em;
    }
}

@media (max-width: 425px) {
    .header__logo__text {
        width: 120px;
    }
    .header__logo__image {
        width: 40px;
    }
}
