@font-face {
  font-family: 'Afacad';
  src: url('../fontused/Afacad-VariableFont_wght.ttf') format('truetype');
}


@font-face {
  font-family: "InterItalic";
  src: url(../EF/Inter-Italic-VariableFont_opsz\,wght.ttf) ;
}

@font-face {
  font-family: "Inter";
  src: url(../EF/Inter-VariableFont_opsz\,wght.ttf) ;
}



.container {  display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "Header"
      "Product"
         "LearnMore"
      "Brands"
      "ReviewsRelated"
      "Footer";
  }
  
  .Header { grid-area: Header; }
  
  .Footer { grid-area: Footer; }
  
  .Product { grid-area: Product; 
  background-color:#F8E7DD;
  display:flex;
  align-items: center;
  justify-content: center;

}
  
  .Brands { grid-area: Brands;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    height:100px;
       }
  
  .LearnMore { grid-area: LearnMore; 
    background-color:#F8E7DD;
    display:flex;
    align-items: center;
    justify-content: center;
  }

  .LearnText {
    font-family: 'Afacad', sans-serif;
    font-size: 20px;
    color: #2A2A2A;
    margin: 20px;

  }

  .LearnText h2{
    opacity:0.8;
    font-size:18px;
    margin-top:0px;
  }

  .ReviewsSmall img{
    width:50px;
    height:50px;
  }

  .Brands img:nth-child(3) {
    height:120px;
    width:170px;  
  }

  
  .Brands img:nth-child(6) {
    height:60px;
    width:120px;  
  }

   
  .Brands img:nth-child(5) {
    height:140px;
    width:140px;  
  }

   
  .Brands img:nth-child(4) {
    height:120px;
    width:120px;  
  }

  .ReviewsSmall {
    width:250px;
    height: fit-content;
    background-color: white;
    align-items:center;
    margin:20px;
    border-radius: 10px;
  }

  .Profile {
    display:flex;
    align-items: center;

  }

  .Values p {
    border-radius: 10px;
    border: solid #CAC4D0;
    width: 150px;
    text-align:left;
    padding:5px;
  }

  #cart {
    width:550px;
    border:solid #2C2C2C;
    margin-top:20px;
  }

  .ProductDescription h2{
    background-color: #CFF7D3;
    border-radius: 10px;
    width: 100px; 
    color:#02542D;
    text-align:center;
  }

  .ProductDescription h1{
    color:#2A2A2A;
  }

  .ProductDescription p {
    margin:0;
    opacity: 0.9;
  }

  .ReviewsSmall h1 {
    font-family: "Inter";
    font-size:20px;
    margin:10px;
  }

  .ReviewsSmall h2 {
    font-family: "Inter", sans-serif;
    font-size:12px;
    margin:10px;
    opacity: 0.9;
    color: #2A2A2A;
  }

  .LearnText h1{
    margin-bottom:0px;
    margin-top:0px;
  }

  .LearnText p{
    font-family: "Inter", sans-serif;
    opacity:0.9;
  }

  .LearnVideo {
    margin:20px;
  }
  
  .ReviewsRelated { grid-area: ReviewsRelated; 
    background-color:#F8E7DD;
    display: flex;
  font-family: "Inter", sans-serif;
  ;
}
  
  
  html, body , .container {
    height: 100%;
    margin: 0;
  }

  .ProductColor {
    display: flex;
    justify-content:space-around;
    background-color:#fefaf8;
    width:80vw;
    height:450px;
  }

  #read {
    width:250px;
    margin-right:0px;
  }

  .ExtraInfo {
    display: flex;
    justify-content: space-around;
  }

  button {
    background-color:#CFF7D3;
    border-radius:10px;
    width: auto;
    height:50px;
  }

  

  .PersonReviews button{
    width:170px;
    margin-right:80px;
    border:none;
    font-family: "Inter", sans-serif;
    font-weight:bold;
  }

  .RelatedProductSmall {
    background-color:white;
    margin:20px;
    padding:10px;
    width:250px;
    height:250px;
    border-radius: 10px;
    display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration:none;
    

  }

  .PersonReviews {
    display:flex;
    flex-direction:column;
    width:800px;
    align-items:Center;
  }

  .RelatedProductSmall img{
    width:200px;
  }

  .RelatedProducts h1{
    text-align:center;
    text-decoration:none;
  }

  .ProductDescription{
    display: flex;
        flex-direction: column;
        width:400px;
        height:auto;
        transform: translateX(-90px);
  }

  .RelatedProductSmall h2 {
    font-weight:500;
  }

.RelatedProductSmall:nth-child(4) h2 {
    margin-top:56px;
}

.RelatedProductSmall:nth-child(4) img {
  margin-top:50px;
}

.RelatedProductSmall:nth-child(3) h2 {
  margin-top:35px;
}

.RelatedProductSmall:nth-child(3) img {
  margin-top:50px;
}


 h1, h2, p {
    font-family: "Inter", sans-serif; 
  }

  .Production {
    display: flex
    ;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
        margin: 20px;
        max-width: 790px;
        max-height: 790px;
    
  }


  .LearnColor {
    display: flex;
    background-color:#fefaf8;
    width:80vw;
    height:400px;
  }
  
  .Brands img {
    width: 75px;
    height: 75px;
  }

.Product img {
    width: 500px;
    height: 400px;
    margin:20px;
    border-radius:10px;
  }
  

  #Header {
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: space-between;
    font-family: 'Afacad', sans-serif;
  }
  
  #Header img {
    width: 100px;
    height: 100px;
  }
  
  #navigation {
    background-color: none;
    display: flex;
    align-items: center;
    margin-right: 50px;
    color: black;
    gap: 50px;
  }
  #navigation a {
    color: black;
    text-decoration: none;
    font-size: 20px;
  }
  #navigation a:hover {
    color: rgb(107, 95, 95);
  }
  .dropbtn {
    color: black;
    background-color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
  }
  
  .ElementA {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 100px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 3;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  .ElementA:hover .dropdown-content {
    display: block;
  }
  
  .ElementA:hover .dropbtn {
    color: gray;
  }
  #ElementB {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  
  /*this just to show it works on a full page*/
  /*make sure to delete this*/


  #small-logo {
    width: 190px;
    height: 190px;
  }
  #verytallwall {
    height: 500px;
  }
  
  /*Footer*/
  #Footer {
    background-color: rgba(255, 255, 255, 1);
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-around;
    height: 300px;
  }
  #Contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    color: gray;
  }
  #Contact p {
    margin: 2px;
  }
  .footerTitle {
    font-size: 18px;
    font-weight: bold;
  }
  #LinkWall {
    display: flex;
    flex-direction: row;
    gap: 80px;
  }
  .footerColumn {
    margin-top: 30px;
  }
  .footerColumn a {
    color: black;
    text-decoration: none;
  }
  .footerTitle {
    font-size: 18px;
    font-weight: bold;
    color: gray;
  }
  #ContactColumn {
    margin-top: 50px;
    font-family: 'Afacad', sans-serif;
  }
  #Extras {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background-color: white;
    border-top: solid;
    border-color: gray;
    border-width: 0.4px;
    color: gray;
  }
  #Newsletter {
    display: flex;
    justify-content: left;
    align-items: center;
  }
  #Base {
    padding: 10px;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
    border: solid;
    border-width: 0.1px;
    border-color: gray;
  }
  #BaseButton {
    padding: 10px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border: solid;
    border-width: 0.1px;
    border-color: gray;
    background-color: rgba(2, 159, 174, 1);
    color: white;
  }
  #BaseButton:hover {
    background-color: rgb(0, 181, 197);
  }
  #BaseButton:active {
    background-color: rgb(0, 87, 95);
  }

  
  
  @media screen and (min-width: 300px) and (max-width: 600px) {
    #Header {
      background-color: rgba(255, 255, 255, 1);
      display: flex;
      justify-content: space-between;
      font-family: 'Afacad', sans-serif;
      font-size: 10px;
    }
    #Header img {
      width: 80px;
      height: 80px;
    }
    .dropbtn {
      color: black;
      background-color: white;
      padding: 0px;
      font-size: 10px;
      border: none;
      cursor: pointer;
    }
    #navigation {
      background-color: none;
      display: flex;
      align-items: center;
      margin-right: 50px;
      color: black;
      gap: 20px;
    }
    #navigation a {
      color: black;
      text-decoration: none;
      font-size: 12px;
    }
  
    #Footer {
      background-color: rgba(255, 255, 255, 1);
      display: grid;
      grid-template-columns: auto;
      justify-content: space-around;
      height: 800px;
    }
    #Contact {
      align-items: flex-start;
      margin-left: 50px;
    }
    #LinkWall {
      justify-content: center;
    }
    #ContactColumn {
      margin-left: 50px;
      display: flex;
      justify-content: center;
      flex-direction: column;
    }
    
  }


  @media screen and (min-width: 300px) and (max-width: 425px) {

    #cart {
      font-size:24px;
      width:250px;
    }

    .ProductDescription {
      transform:translate(0);
      width:300px;
    }

    .ExtraInfo {
      width:300px;
    }

    .Values p {
      width:100px;
    }

    
    .ProductDescription h1{
      font-size:28px;
      margin-bottom:5px;
    }

    .ProductDescription h2{
      font-size:24px;
      width:90px;
    }

    .ProductDescription p {
      font-size:24px;
    }

    .Product img {
      width:250px;
      height:250px;
    }


    .ProductColor {
      width:600px;
      height:fit-content;
    }

    .LearnColor {
      width:600px;
      height:fit-content;
      flex-direction:column;
    }

  

    .spacing {
      display:flex;

    }

    .ReviewsSmall {
      width:300px;
      height:260px;
    }

    .ReviewsSmall h2{
      font-size:18px;
    }

    .ReviewsSmall h1 {
      font-size:26px;
    }

    #read {
      font-size:28px;
    }
    

    .LearnText {
      margin-bottom:0px;
    }

    .LearnText p {
      font-size:28px;
    }

    video {
      width: 400px;
      height:auto;
    }



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

    .Brands {
      height:60px;
    }

    .Brands img {
      height: 40px;
      width:40px;
    }

    .ReviewsRelated {
      flex-direction:column;
    }


  }


  
  @media screen and (min-width: 424px) and (max-width: 700px) {

    .ProductDescription {
      transform:translate(0);
      width:300px;
    }

    .ExtraInfo {
      width:300px;
    }

    
    #read {
      font-size:28px;
    }

    .Values p {
      width:100px;
    }

    
    .ProductDescription h1{
      font-size:26px;
    }

    .ProductDescription h2{
      font-size:14px;
      width:60px;
    }

    .ProductDescription p {
      font-size:16px;
    }

    .Product img {
      width:250px;
      height:250px;
    }

    #cart {
      width:200px;
      height:40px;
    }

    .ProductColor {
      width:600px;
      height:fit-content;
    }

    .LearnColor {
      width:600px;
      height:fit-content;
      flex-direction:column;
    }

    .LearnColor p {
      font-size:18px;
    }

    .spacing {
      display:flex;

    }

    .ReviewsSmall {
      width:300px;
      height:200px;
    }

    .ReviewsSmall h2{
      font-size:16px;
    }

    .LearnText {
      margin-bottom:0px;
    }

    video {
      width: 400px;
      height:auto;
    }



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

    .Brands {
      height:60px;
    }

    .Brands img {
      height: 40px;
      width:40px;
    }

    .ReviewsRelated {
      flex-direction:column;
    }

  }

  @media screen and (min-width: 701px) and (max-width: 1000px) {

    
    .ReviewsSmall {
      width:300px;
      height:200px;
    } 

    .spacing {
      display:flex;

    }

    .ProductDescription {
      transform:translate(0);
    }

    
    .ProductDescription h1{
      font-size:20px;
    }

    .ProductDescription h2{
      font-size:12px;
      width:60px;
    }

    .Product img {
      width:250px;
      height:250px;
    }

    #cart {
      width:200px;
      height:40px;
    }

    .ProductColor {
      width:90vw;
      height:fit-content;
    }

    .LearnColor {
      width:90vw;
      height:fit-content;
      flex-direction:column;
    }

    .LearnText {
      margin-bottom:0px;
    }

    video {
      width: 500px;
      height:auto;
    }

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

    .Brands {
      height:60px;
    }

    .Brands img {
      height: 40px;
      width:40px;
    }

    .ReviewsRelated {
      flex-direction:column;
    }
  }
  @media screen and (min-width: 1024px) and (max-width: 1266px) {
    .LearnText p{
      font-family: "Inter", sans-serif;
      opacity:0.9;
     
    }
   }