:root {
    --Orange: hsl(26, 100%, 55%);
    --Pale-orange: hsl(25, 100%, 94%);
    --Very-dark-blue: hsl(220, 13%, 13%);
    --Dark-grayish-blue: hsl(219, 9%, 45%);
    --Grayish-blue: hsl(220, 14%, 75%);
    --Light-grayish-blue: hsl(223, 64%, 98%);
    --white: hsl(0, 0%, 100%);
    --Black: hsl(0, 0%, 0%);
}

@font-face {
    font-family: Kumbh;
    src: url(../assets/fonts/KumbhSans-VariableFont_YOPQ\,wght.ttf);
}

body {
    font-size: 16px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    font-family: Kumbh;
}

header {
    width: 85%;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-header, .left-header div, .right-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: var(--Dark-grayish-blue);
}

hr {
    width: 85%;
    height: 0.5px;
    background-color: var(--Light-grayish-blue);
    border-color: var(--Light-grayish-blue);
}

.left-header { gap: 2rem; }

.left-header div { gap: 1rem; }

.left-header div p {
    cursor: pointer;
    transition: all 0.3s ease;
}

.left-header div p:hover {
    color: var(--Black);
    text-decoration: underline;
    text-underline-offset: 3.5rem;
    text-decoration-thickness: 4px;
    text-decoration-color: var(--Orange);
}

.panier { cursor: pointer; }

.picture {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.picture:hover {
    border: 2px solid var(--Orange);
}

.right-header {
    gap: 1rem;
}

main {
    width: 75%;
    height: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.little-pic {
    width: 75px;
    height: 75px;
    border-radius: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.little-pic:hover {
    border-color: var(--Orange);
}

.big-pic {
    width: 350px;
    height: 350px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.littlePictures {
    width: 350px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.title-right {
    text-transform: uppercase;
    color: var(--Dark-grayish-blue);
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 0;
    letter-spacing: 0.1rem;
}

.main-left {
    width: 50%;
    height: auto;
}

.main-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

h1 {
    font-weight: bold;
    color: black;
    width: 400px;
    font-size: 40px;
    margin-bottom: 0;
    margin-top: 0.7rem;
}

.mainP {
    color: var(--Grayish-blue);
    font-weight: bold;
    width: 425px;
    line-height: 1.750rem;
}

.prices {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

#price, strong {
    font-weight: bold;
    font-size: 25px;
}

#price {
    margin-left: 0;
}

strong {
    margin-right: 0;
}

#reduction {
    padding: 0.5rem;
    color: white;
    background-color: black;
    font-size: 13px;
    border-radius: 5px;
}

#reducedPrice, #red {
    margin-top: 0;
    font-size: 13px;
    color: var(--Dark-grayish-blue);
    text-decoration: line-through;
}

#reducedPrice { margin-bottom: 0; }

#strongDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.350rem;
    height: auto;
}

.button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 125px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    background-color: var(--Light-grayish-blue);
    border-radius: 10px;
    font-weight: bold;
}

.icon {
    cursor: pointer;
}

.flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    gap: 1.5rem;
}

.add-to-card {
    width: 250px;
    height: 58.4px; /* same as button div */
    border-radius: 10px;
    background-color: var(--Orange);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--Black);
    transition: all 0.3s ease;
}

.add-to-card:hover {
    opacity: 0.750;
}

.attribution, .attribution a {
    font-size: 13.5px;
    font-weight: bold;
    color: var(--Black);
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.attribution a:hover {
    color: var(--Orange);
}

#numberInPanier {
    width: 20px;
    height: 12.5px;
    border-radius: 7.5px;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: center;
    background-color: var(--Orange);
    transform: translateX(-5.5rem) translateY(-0.550rem);
}

#numberInPanier p {
    font-size: 7.5px;
    color: white;
}
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    width: 300px;
    height: 200px;
    background-color: white;
    box-shadow: 0px 0px 15px var(--Grayish-blue);
    border-radius: 15px;
    position: absolute;
    z-index: 1;
    transform: translateX(-5.5rem) translateY(8.5rem);
    transition: all 0.3s ease;
}

.hamburger p {
    margin-left: 1rem;
    margin-bottom: 0;
    font-weight: bold;
    color: var(--Black);
}

.hamLine {
    width: 100%;
    height: 1px;
    border: none;
    margin-top: 0;
    background-color: var(--Dark-grayish-blue);
}

.infos {
    width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}

.bin {
    cursor: pointer;
}

#picInCart {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    margin-right: 0;
}

.hamTitle, .hamSubTitle {
    font-size: 12.5px;
}

#checkout {
    width: 250px;
    height: 40px;
    border-radius: 5px;
    background-color: var(--Orange);
    color: var(--Black);
    font-weight: bold;
    align-self: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

#checkout p {
    text-align: center;
    margin: 0;
}

#checkout:hover {
    opacity: 0.7;
}

/* Mobile devices: 350px to 750px */
@media (min-width: 350px) and (max-width: 750px) {
    body {
      height: auto;
      padding: 1rem 0;
    }
  
    header {
      width: 90%;
    }
  
    .left-header div p {
      display: none; /* Hide navigation text on mobile */
    }
  
    .left-header {
      gap: 1rem;
    }
  
    hr {
      width: 90%;
    }
  
    main {
      width: 90%;
      flex-direction: column;
    }
  
    .main-left, .main-right {
      width: 100%;
      margin-bottom: 2rem;
    }
  
    .big-pic {
      width: 100%;
      height: auto;
    }
  
    .littlePictures {
      width: 100%;
      justify-content: space-evenly;
    }
  
    .little-pic {
      width: 60px;
      height: 60px;
    }
  
    h1 {
      width: 100%;
      font-size: 28px;
    }
  
    .mainP {
      width: 100%;
    }
  
    .flex {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
    }
  
    .button {
      width: 185px;
    }
  
    .add-to-card {
      width: 215px;
    }
  
    .hamburger {
      transform: translateX(0) translateY(8.5rem);
      width: 90%;
      right: 5%;
    }

    .attribution, .attribution a {
        text-align: center;
    }
  }
  
  /* Tablet devices: 750px to 1100px */
  @media (min-width: 751px) and (max-width: 1100px) {
    body {
      height: auto;
      padding: 2rem 0;
    }
  
    header, hr, main {
      width: 90%;
    }
  
    .left-header div p:hover {
      text-underline-offset: 2.5rem;
    }
  
    main {
      flex-direction: row;
      gap: 2rem;
    }
  
    .main-left, .main-right {
      width: 50%;
    }
  
    .big-pic {
      width: 100%;
      height: auto;
    }
  
    .littlePictures {
      width: 100%;
    }
  
    .little-pic {
      width: 65px;
      height: 65px;
    }
  
    h1 {
      width: 100%;
      font-size: 32px;
    }
  
    .mainP {
      width: 100%;
    }
  
    .flex {
      flex-direction: row;
      width: 100%;
    }
  
    .add-to-card {
      width: 60%;
    }
  
    .button {
      width: 30%;
    }
  
    .hamburger {
      transform: translateX(-4rem) translateY(6rem);
    }
  }