@font-face {
    font-family: 'normsproregular';
    src: url('./fonts/TTNormsProRegular.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
  }

  @font-face {
    font-family: 'normspronormal';
    src: url('./fonts/TTNormsProNormal.woff2') format('woff2');
    font-style: normal;
    font-weight: normal;
  }

  @font-face {
    font-family: 'myriadproregular';
    src: url('./fonts/MYRIADPRO-REGULAR.woff2') format('woff2');
    font-style: normal;
    font-weight: 100;
  }


/* Main */

html{
    font-size: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding: 100px;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    line-height: 1.3;
    margin: 0px;
    padding: 0px;
    width: 100%;
    background-color: #f5f5f5;
    font-family: 'myriadproregular';
    font-weight: 100;
}

#wrapper {
    margin: 0 auto;
    width: 65vw;
}

/* NAV */

header{
    display: flex;
    flex-direction: row;
}

header {
    width: 100%;
    height: 11vh;
    padding: 1.5rem;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 99;
    background-color: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hamburger {
    display: none;
}

.nav_bar ul {
    display: flex;
    list-style-type: none;
}

.nav_bar ul li a  {
    display: block;
    padding: 10px 15px;
    font-size: 1rem;
    text-decoration: none;
}

.nav_bar ul li a:visited  {
    text-decoration: none;
    color: inherit;
}

.nav_bar ul li a:hover {
    text-decoration: underline 2px;
    text-underline-offset: 0.5rem;
}

.nav_bar ul li a.active {
    text-decoration: underline 2px;
    text-underline-offset: 0.5rem;
}

/* BANNER */

#kv_banner {
    text-align: center;
    width: 100%;
    object-fit: cover;
}

/* PRODUIT */

.product_section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}

.product_section p {
    text-align: center;
    margin: 0 0 1em 0;
}

.section_title {
    color: #e39c4e;
    margin: 0 0 1em 0;
}

.product_card {
    width: 280px;
    margin: 1em;
    background-color: white;
    padding: 1.3em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 15px;
    text-align: center;
}
.product_card h3 {
    font-size: 1em;
    margin: 0 0 0.5em 0;
    font-family: 'normspronormal';
}

.product_card img {
    margin: 0 0 0.5em 0;
}

.product_card p {
    font-size: 0.8em;
}

.specs {
    display: block;
    font-size: 0.8em;
    margin-bottom: 0.7em;
}

hr {
    background-color: #cbcbcb;
    margin: 0 0 1em 0;
    border: 0;
    height: 1px;
}

.price {
    font-size: 1.2em;
    font-weight: 800;
    margin-right: 7px;
}

.alt_price {
    font-size: 1em;
    margin: 0 10px;
    text-decoration: line-through;
}

.button {
    display: flex;
    justify-content: center;
    background-color: #e39c4e;
    color: white;
    border-radius: 5px;
    width: 100%;
    margin: 0.7em 0;
    padding: 0.3em 0;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

/*.button {
    text-decoration: none;
    color: white;
}*/

.button:hover {
    text-decoration: none;
    background-color: #e29139;
}

/* RESPONSIVE */

@media only screen and (max-width: 1320px) {
    header {
        padding: 0 50px;
    }
}

@media only screen and (max-width: 1100px) {
    header {
        padding: 0 30px;
    }
}

@media only screen and (max-width: 900px) {
        .hamburger {
            display: block;
            cursor: pointer;
        }

        .hamburger:before {
           content: "\2630";
           font-size: 2em;
        }

        .nav_bar {
            height: 0;
            position: absolute;
            top: 65px;
            left: 0;
            right: 0;
            width: 100%;
            background-color: #f5f5f5;
            transition: 0.5s;
            overflow: hidden;
        }

        .nav_bar.active {
            height: 250px;
        }

        .nav_bar ul {
            display: block;
            width: 100%;
            margin: 40px -18px;
            text-align: center;
            transition: 0.5;
            opacity: 0;
        }

        .nav_bar.active ul  {
            opacity: 1;
        }

        .nav_bar ul li a {
            margin-bottom: 1em;
        }

        #kv_banner {
            height: 100%;
        }
    }

