/* * {
    box-sizing: border-box;
} */

body{
    background-color: #ECEAE8;
}

main{
    background-color: #ECEAE8;
    margin: auto;
}



/* nav */
header{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px;
    background-color: #ECEAE8;
    border-bottom: solid 2px #912508;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

header a{
    font-size: 1.5rem;
    color: #912508;
    text-decoration: none;
    margin-right: auto;
}

nav ul{
    list-style-type: none;
    overflow: hidden;
    margin: 0%;
    padding-right: 20px;
}

nav li{
    display: inline-block;
    padding: 10px;
    /* margin: 10px; */
    position: relative;
}

nav a{
    font-size: 1.5rem;
    color: #912508;
    text-decoration: none;
    
}
nav a:before{
    content: "";
    position: absolute;
    background-color: #912508;
    height: 2px;
    width: 0;
    left:0;
    bottom: 0px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

nav a:hover:before{
    transform: scaleX(1);
    /* transform-origin:left ; */
    width: 100%;
}

#burger-toggle {
  display: none;
}

nav .burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  user-select: none;
  color: #912508;
}

@media (max-width: 800px) {
  nav .burger {
    display: block;
    position: relative;
    z-index: 10001; /* au-dessus du menu */
  }

  nav ul {
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-top: 70px;
    margin: 0;
    background: #ECEAE8;
    position: fixed;
    top: 0;
    right: -400px; /* caché hors écran */
    width: 280px; /* largeur du menu */
    height: 100vh;
    transition: right 0.4s ease;
    z-index: 10000;
    overflow-y: auto;
    border-left: solid 2px #912508;
  }

  nav li {
    padding: 15px 10px;
    border-bottom: 1px solid #912508;
    text-align: right;
  }

  nav li:last-child {
    border-bottom: none;
  }

  /* Quand checkbox cochée, menu glisse */
  #burger-toggle:checked + .burger + ul {
    right: 0;
  }
}



.top_btns {
    display: flex;
    margin-bottom: 20px;
}

.top_btns form {
    display: flex;
}

.search_input {
    background-color: #E1D2CD;
    border-radius: 5px;
    border: 1px solid #6B2316;
}

/* Titles */
h1{
    color: #912508;
    font-family: "LoveYaLikeASister";
    font-size: clamp(9rem, 20vw,20rem);
    margin: 0%;
}

h2{
    color: #912508;
    font-family: 'LoveYaLikeASister';
    width: 100px;
}

h3{
    color: #912508;
    font-family: 'RubikDistressed';
    font-size: 2rem;
    margin-left: 2vw;
}

.title{
    display: flex;
    align-items: center;
}

.title2{
    display: flex;
    align-items: center;
}

.bg_title{
    border: solid 1px #912508;
    height: 60%;
    width: 100%;
    position: absolute;
    bottom: 0.15em;
    left: 2.5em;
    z-index: 1;
}

.title_wrapper{
    position: relative;
    display: inline-block;
    margin-right: 50px;
}

/* Vertical lines */
.vertical_line{
    background-color: #912508;
    height: 3px;
    width: 10vw;
}

.vertical_line2{
    background-color: #912508;
    height: 3px;
    width: 30vw;
}

.barcode_separation{
    display: flex;
    align-items: center;
    margin-bottom: 2vw;
}

.barcode{
    overflow: hidden;
    height: clamp(20px, 3vw, 50px);
    margin: 10px;
}

.barcode_img{
    width: 20vw;
}


/* paths buttons */
.top_page {
    /* padding: 15%; */
    padding-top: 150px;
    padding-left: 15%;
    padding-right: 15%;
    padding-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    /* display: flex; */
}

.title_n_paths {
    display: flex;
    /* flex-direction: column; */
}

@media (max-width: 800px) {
    .title_n_paths{
        flex-direction: column;
    }
    .top_page_paths {
        margin-top: 50px;
    }
    .title_wrapper{
        max-width: 180px;
    }
}

.paths{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    height: 70vw;
    /* width: 70vw; */
    max-height: 700px;
    font-family: 'SixCaps';
    position: relative;
    vertical-align: bottom;
    text-decoration: none;
}

.top_page_paths {
    height: clamp(200px, 25vw, 400px);
    width: clamp(300px,45vw,600px);
    display: flex;
    margin-left: auto;
    margin-right: 5vw;
    font-family: 'SixCaps';
}

.top_page_path_wishlist, .top_page_path_myCollection {
    text-decoration: none;
    border: solid 1px #912508;
    border-radius: 5%;
    height: 100%;
    width: 45%;
    max-width: 350px;
    display: block;
    position:relative;
    margin-left: auto;
    color: #6B2316;
    transition: transform 0.2s ease;
}

.top_page_path_wishlist{
    bottom: 30px;
}

.top_page_path_myCollection:hover, .top_page_path_wishlist:hover{
    transform: scale(1.05);
}

.top_page_path_myCollection span, .top_page_path_wishlist span{
    position: absolute;
    bottom:0;
    right: 2%;
    text-align: right;
    line-height: 0.85;
    font-size: clamp(2.5rem,5vw,5em);
}


.path_myCollection, .path_WishList, .path_All{
    border: solid 3px brown;
    border-radius: 10px;
    margin: 10px;
    transition: transform 0.3s ease;
    position: relative;
    line-height: 88%;
    color: #912508;
}

.path_All{
    grid-column: 1;
    grid-row: 1 / 4;
    font-size: clamp(1vw,25vw,25em);
}

.path_myCollection, .path_WishList {
    grid-column: 2;
    font-size: clamp(1vw,10vw,10em);
}

.path_myCollection{
    grid-row: 1 / 3;
}

.path_WishList{
    grid-row: 3;
}

.path_All span{
    position:absolute;
    bottom: 0;
}

.path_myCollection span, .path_WishList span{
    position: absolute;
    bottom:0;
    right: 0;
    text-align: right;
}

.path_All:hover{
    transform: scale(1.05);
}

.path_myCollection:hover, .path_WishList:hover{
    transform: scale(1.05);
}




/* Card Selection */
.selection{
    /* background-color: aquamarine; */
    display: flex;
    flex-wrap: wrap;
    width: 95vw;
    margin: 0 auto;
    gap: 20px;
}

a.card {
    background-color: #E1D2CD;
    width: 300px;
    height: 400px;
    border: solid 1px #912508;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-left: auto;
    margin-right: auto;
    font-family: "LoveYaLikeASister", sans-serif;
    color: #6B2316;
    font-size: 1.4rem;
    padding: 10px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
    background-repeat: no-repeat;
    background-position: center;
    background-size: 200px;
}

a.card:hover{
    transform: translate(-10px, -10px);
    box-shadow: 10px 10px #6B2316;
}

.card_left{
    line-height: 10px;
    margin-top: 0px;
}

.card_top p:first-child {
    font-family: "LuckiestGuy", sans-serif;
}

.card_right{
    padding-top: 10px;
    font-family: "LuckiestGuy", sans-serif;
    max-width: 150px;
    text-align: right;
    line-height: 25px;
}

.card_bottom{
    /* background-color: aqua; */
    width: 100%;
    margin-top: auto;
    margin-bottom: 0;
    align-self: center;
    text-align: center;
    text-shadow:
    1px 1px 0 #fff,
    -1px 1px 0 #fff,
    -1px -1px 0 #fff,
    1px -1px 0 #fff;
}

.card_bottom h2{
    font-family: 'LuckiestGuy', sans-serif;
    font-size: 2rem;
    color: #6B2316;
    margin-bottom: 0px;
    width: fit-content;
    /* max-width: 200px; */
    display: inline-block;
}

.card_bottom p{
    /* background-color: aquamarine; */
    margin-top: 5px;
    margin-bottom: 5px;
}

.card_top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.card_top p{
    margin-bottom: 0;
}


/* VAG presentation */
.vag {
    /* background-color: rgb(122, 19, 170); */
    min-width: 300px;
    max-width: 1000px;
    min-height: 400px;
    display: flex;
    margin-top: 180px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 800px) {
    .vag {
        flex-direction: column;
        align-items: center;
    }

    .vag_info {
        text-align: center;
    }
}

.vag_img {
    /* background-color: aquamarine; */
    width: 300px;
    height: 400px;
    display: flex;
}

.vag_info {
    /* background-color: burlywood; */
    flex: 2;
    margin-left: 20px;
    
    display: flex;
    flex-direction: column;
}

.vag_info h1 {
    font-family: 'LuckiestGuy', sans-serif;
    font-size: 3rem;
    color: #6B2316;
    margin-bottom: 0px;
}

.vag_info p{
    font-family: 'LoveYaLikeASister', sans-serif;
    color: #6B2316;
    font-size: 1.5rem;
    padding-left: 10px;
    margin: 0px;
    padding: 20px;
}

.vag_info_middle {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    margin-bottom: auto;
}

.vag_info p:last-of-type{
    margin-top: auto;
}

/* variants */
.variants {
    /* padding-left: 15%;
    padding-right: 15%; */
    padding-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
}

.variants .title2 {
    min-width: 300px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
 
/* Fonts */
@font-face {
    font-family: 'LoveYaLikeASister';
    src: url('../fonts/LoveYaLikeASister.woff2') format('woff2'),
        url('../fonts/LoveYaLikeASister.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LuckiestGuy';
    src: url('../fonts/LuckiestGuy.woff2') format('woff2'),
        url('../fonts/LuckiestGuy.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'RubikDistressed';
    src: url('../fonts/RubikDistressed-Regular.woff2') format('woff2'),
        url('../fonts/RubikDistressed-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'SixCaps';
    src: url('../fonts/SixCaps.woff2') format('woff2'),
        url('../fonts/SixCaps.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
