@font-face {
  font-family: 'Univia Pro';
  src: url('../fonts/UniviaPro-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Univia Pro';
  src: url('../fonts/UniviaPro-Light.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Univia Pro';
  src: url('../fonts/UniviaPro-Regular.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Univia Pro';
  src: url('../fonts/UniviaPro-Medium.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Univia Pro';
  src: url('../fonts/UniviaPro-Bold.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Univia Pro';
  src: url('../fonts/UniviaPro-Black.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}


@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler_Ultra_Light.otf') format("opentype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler_Light.otf') format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler_Regular.otf') format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler_Medium.otf') format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler_Bold.otf') format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler_ExtraBold.otf') format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Butler';
  src: url('../fonts/Butler_Black.otf') format("opentype");
  font-weight: 700;
  font-style: normal;
}

:root {
    --font-primary: "Univia Pro", sans-serif;
    --font-secondary: "Butler", serif;
}
  
:root {
    --mainColor1: #aca297;
    --mainColor2: #7c818b;
    --mainColor3: #606060;
    --mainColor4: #617246;
    --mainColor5: #404040;
    --mainColor6: #a0a0a0;
    --mainColor7: #1d2128;
    --mainColor8: #404040;
    --mainColor9: #F5F5F5;
    --mainColor10: #f0f0f0;
}

html {
    scroll-behavior: smooth;
}

body{
    background-color: var(--mainColor9);
    font-family: var(--font-primary);
    color: var(--mainColor8);
    font-weight: 400;
    margin: 0;
    padding: 0; 
}

.menu__section{
    margin-top: 90px;
}

.menu__content{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: inherit;
    position: relative;
}

.menu__content:nth-of-type(odd){
    flex-direction: row-reverse;
}

.menu__content:not(:first-of-type){
    margin-top: -90px;
}

.menu__content:not(:last-of-type)::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 88px;
    background-color: var(--mainColor9);
    background-image: url('../images/icon.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    left: 50%;
    bottom: 1px;
    transform: translateX(-50%);
    z-index: 10;
}

.menu__info {
    width: 50%;
    padding: 100px;
    display: flex;
    flex-direction: column;
}

.menu__title {
    position: relative;
    margin-bottom: 1rem;
}

.menu__title h2 {
    font-family: var(--font-secondary);
    font-size: 70px;
    font-weight: 600;
    line-height: 110px;
    color: transparent;
    -webkit-text-stroke: 1px #DCD8D2;
    text-transform: uppercase;
}

.menu__title h3 {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
  margin-top: -60px;
}

.menu__info p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.menu__products{
    border: 1px solid var(--mainColor1);
    padding: 70px 75px;
    width: 50%;
}

.menu__product__detail{
    margin: 0 0 30px;
}

.menu__product__detail:last-child{
    margin: unset;
}

.name__price{
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.product__name, .product__price{
    font-weight: 400;
    text-transform: uppercase;
    font-size: 15px;
}

.line__product{
    background-color: var(--mainColor1);
    width: 50%;
    height: 1px;
    opacity: 0.3;
}

.product__description{
    font-size: 12px;
    font-weight: 300;
    margin-bottom: 0;
}

.footer__section{
    margin-top: 20px;
    margin-bottom: 90px;
}

.footer__container{
    border: 1px solid var(--mainColor1);
    padding: 25px 200px;
}

.footer__content, .footer__infos{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.footer__logo{
    display: flex;
    justify-content: center;
}

.footer__logo img{
    width: 40%;
}

.footer__contact{
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 35px;
}

.footer__location{
    margin-bottom: 2px;
    font-size: 16px;
    font-weight: 500;
}

.footer__location::after{
    content: "";
    height: 2px;
    width: 25px;
    display: block;
    margin-top: 2px;
    background: var(--mainColor4)
}

.footer__phone{
    color: var(--mainColor8);
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
}

.footer__phone:hover{
    color: var(--mainColor1);
}

.footer__email{
    color: var(--mainColor8);
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
}

.footer__email:hover{
    color: var(--mainColor1);
}

.footer__copyright{
    color: var(--mainColor8);
    font-weight: 400;
    font-size: 14px;
}


.button {
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--mainColor8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: relative;
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 999;
}

.svgIcon {
    width: 10px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: var(--mainColor9);
}

.button:hover {
    height: 120px;
    transition-duration: 0.3s;
    background-color: var(--mainColor1);
    align-items: center;
}

.button:hover .svgIcon {
    transition-duration: 0.3s;
    transform: translateY(-500%);
}

.button::before {
    position: absolute;
    bottom: -20px;
    content: "Retour en haut";
    color: var(--mainColor9);
    font-size: 0px;
}

.button:hover::before {
    font-size: 12px;
    font-weight: 300;
    width: 90px;
    opacity: 1;
    bottom: unset;
    transition-duration: 0.3s;
    transform: rotate(90deg);
}


/* --------------RESPONSIVE--------------------- */

@media(max-width: 1024px){
    .menu__content{
        flex-direction: column-reverse !important;
        gap: 50px;
        margin-bottom: 80px;
    }
    .menu__content:nth-of-type(odd){
        flex-direction: unset;
    }
    .menu__content:not(:first-of-type){
        margin-top: unset;
    }
    .menu__products, .menu__info{
        width: 80%;
    }
    .menu__info{
        padding: 0;
    }
    .menu__content:not(:last-of-type)::after{
        display: none;
    }
}

@media(max-width: 768px){
    .menu__title h2{
        font-size: 90px;
    }
    .menu__title h3{
        font-size: 30px;
    }
    .menu__products {
        padding: 40px 45px;
    }
    .product__name, .product__price{
        font-size: 14px;
    }
    .product__description{
        font-size: 10px;
    }
    .footer__container{
        padding: 25px 130px;
    }
    .footer__location{
        font-size: 14px;
    }
    .footer__phone, .footer__email, .footer__copyright{
        font-size: 12px;
    }
}

@media(max-width: 430px){
    .menu__section{
        margin-top: 30px;
    }
    .menu__products, .menu__info{
        width: 100%;
    }
    .menu__content{
        gap: 30px;
        margin-bottom: 45px;
    }
    .menu__title h2{
        font-size: 40px;
    }
    .menu__title h3{
        font-size: 20px;
        margin-top: -60px;
    }
    .menu__info p{
        font-size: 12px;
    }
    .menu__products{
        padding: 35px 30px;
    }
    .product__name, .product__price{
        font-size: 12px;
    }
    .line__product{
        width: 50%;
    }
    .footer__section{
        margin-bottom: 30px;
    }
    .footer__container {
        padding: 10px 45px;
    }
    .footer__content, .footer__infos{
        gap: 10px;
    }
    .footer__location{
        font-size: 12px;
    }
    .footer__phone, .footer__email, .footer__copyright{
        font-size: 10px;
    }
}

@media(max-width: 375px){
    .menu__title h2{
        font-size: 30px;
    }
    .menu__title h3{
        font-size: 16px;
    }
    .footer__container {
        padding: 10px;
    }
}

@media(max-width: 330px){
    .menu__products{
        padding: 30px 10px;
    }
    .menu__title h2{
        font-size: 25px;
    }
    .line__product{
        width: 40%;
    }
    .product__name, .product__price{
        font-size: 8px;
    }
    .product__description{
        font-size: 7px;
    }
}