/*
Theme Name: George - Ruban Libre Paris
Author: joana jost
Description: Thème e-commerce pour GEORGE - Ruban Libre Paris. Connecté à Github
Version: 26.03.16
Text Domain: grlp_theme
Requires at least: 5.9
*/

:root {

    /* couleurs */
    --primary: #1a1a1a;
    --secondary: #a9a9a9;
    --white: #fff;
    --dark-white: #f5f5f5;
    --light-primary: #292929;
    --transparent: #ffffff00;

    /* fontes */
    --main-font: 'Inter Display', sans-serif;
    --fw-thin: 100;
    --fw-xlight: 200;
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;

    /* font sizes */
    --txt-xsmall: 11px;
    --txt-small: 13px;
    --txt-medium: 15px;
    --txt-large: 17px;
    --txt-xlarge: 24px;

    /* marges */
    --margin-small: 1rem;
    --margin-intermediate: 2rem;
    --margin-medium: 3rem;
    --margin-large: 6rem;

    /* tailles */
    --width-minus-s-margin: calc(100% - var(--margin-small) * 2);
    --width-minus-m-margin: calc(100% - var(--margin-medium) * 2);
    --width-minus-l-margin: calc(100% - var(--margin-large) * 2);

    /* colonnes */
    --grid-columns: 12;
    --col: calc(100vw / var(--grid-columns));

    --col-0-5: calc(var(--col) * 0.5);
    --col-1: calc(var(--col) * 1);
    --col-1-5: calc(var(--col) * 1.5);
    --col-2: calc(var(--col) * 2);
    --col-2-5: calc(var(--col) * 2.5);
    --col-3: calc(var(--col) * 3);
    --col-3-5: calc(var(--col) * 3.5);
    --col-4: calc(var(--col) * 4);
    --col-5: calc(var(--col) * 5);
    --col-6: calc(var(--col) * 6);
    --col-7: calc(var(--col) * 7);
    --col-8: calc(var(--col) * 8);
    --col-9: calc(var(--col) * 9);
    --col-10: calc(var(--col) * 10);
    --col-11: calc(var(--col) * 11);
    --col-12: 100vw;

    /* BORDERS */
    --dark-border: 0.75px solid var(--primary);
    --light-border: 0.75px solid var(--light-primary);

}

/* -------------------
GENERAL 
---------------------- */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    font-weight: var(--fw-regular);
    letter-spacing: 0.01em;
    color: var(--primary);
    font-size: var(--txt-medium);
    line-height: 1.1;

    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--white);
    text-shadow: none;
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
    text-shadow: none;
}

img {
    width: 100%;
    height: auto;
}

/* reinit */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

strong {
    font-weight: var(--fw-medium);
}

em {
    font-style: italic;
}

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

a:hover {
    text-decoration: underline;
}

button {
    font-family: inherit;
    font-weight: inherit;
    font-size: inherit;
    color: inherit;
    background-color: var(--transparent);
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

button:hover {
    text-decoration: underline;
}

/* --------
 --MODULES--
-------- */

.all-caps {
    text-transform: uppercase;
}

/* .letter-spaced {
    letter-spacing: 25%;
} */

.text-med {
    font-weight: var(--fw-medium);
}

.scroll-links {
    text-transform: uppercase;
    /* letter-spacing: 25%; */
    font-weight: var(--fw-medium);
    font-size: var(--txt-small);
    text-align: center;
}

.upper-cased {
    text-transform: uppercase;
    /* letter-spacing: 25%; */
    font-weight: var(--fw-medium);
    font-size: var(--txt-small);
    /* text-align: center; */
}

.scroll-links:hover {
    text-decoration: none;
}

.scroll-links a:hover {
    text-decoration: none;
}

/* BOUTONS */


.white-button,
.black-button {
    display: block;
    padding: 0.85em var(--margin-small);
    border: var(--dark-border);
    width: var(--col-2);
    min-width: 175px;
    text-align: center;
}

.white-button {
    background-color: var(--white);
    color: var(--primary);
}

.white-button:hover {
    text-decoration: none;
    background-color: var(--dark-white);
}

.black-button {
    background-color: var(--primary);
    color: var(--white);
}

.black-button:hover {
    text-decoration: none;
    background-color: var(--light-primary);
}

/* --------
 --header--
-------- */
/* header ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

header ul li {
    padding-left: 0 !important;
}

header ul li::before {
    content: "" !important;
} */

.site-header__inner {
    position: fixed;
    top: 0;
    left: 0;

    display: flex;
    width: var(--col-12);
    justify-content: space-between;

    z-index: 100;

    padding: var(--margin-medium) var(--col-0-5) 0 var(--col-0-5);
}



.home .site-header__inner {
    position: absolute;
    top: 100vh;
    top: 100svh;
}

.home .site-header__inner.is-sticky {
    position: fixed;
    top: 0;
}

.site-header__link {
    min-width: var(--col-1);
}

.website-logo {
    width: var(--col-1-5);
    max-height: 20em;
}

.website-logo img {
    /* width: 100%;
    height: auto; */
    max-height: 100%;
    object-fit: contain;
}

.site-header__right {
    text-align: right;
}

/* ==============================
        MEDIA QUERIES   
================================= */

@media (max-width: 767px) {

    :root {
        --grid-columns: 4;
        --col: calc(calc(100vw - var(--margin-intermediate) * 2) / var(--grid-columns));
    }

    /* * {
        overflow-x: hidden;
    } */

    .site-header__inner {
        padding: var(--margin-intermediate);
    }

    .home .site-header__inner {
        position: absolute;
        top: 100vh;
        top: 100svh;
        padding: var(--margin-intermediate);
    }

    .white-button,
    .black-button {
        width: var(--col-3);
    }

}