@font-face {
    font-family: 'Afacad';
    src: url('/fontused/Afacad-VariableFont_wght.ttf') format('truetype');
}
body {
    font-family: 'Afacad', sans-serif;
    background-color: #F8E7DD;
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
  }

#quiz {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    max-width: 600px;
    height: 300px;
    margin: 20px auto;
    padding: 10px;
    background-color: #cff7d3;
    border-radius: 5px;
    border: 2px solid #4d726d;
    box-shadow: 0 0 10px rgba(198, 222, 60, 0.2);
}

.body-content {
    margin: 50px auto;
    display: flex;
    width: 80%;
}
h1 {
    text-align: center;
    color: #000000;
    margin: 0px;
    height: 40px;
}

h2 {
    text-align: center;
    font-size: 18px;
    color: #000000;
    margin: 20px;
   
}

.articles {
  width: 30%;
  background: #FFF;
  padding: 15px;
  border-radius: 5px;
  margin-right: 20px;
  max-height: fit-content;
}

.article-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.article-item img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
}
.article-text {
  margin-left: 10px;
}

#question {
    margin-bottom: 20px;
}

#options {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    

}

.content {
  display: flex;
  width: 100%;
  margin-top: 20px;
  justify-content: center;
  flex-direction: column;
}


button {
    display:block;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #79b0a9;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;

}

button:hover {
    background-color: #72b1f9;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    grid-auto-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    grid-template-areas:
      "Header"
      "Footer";
  }
  
  
  
  .Header {
    grid-area: Header;
  }
  
  .Intro {
    grid-area: Intro;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: antiquewhite;
  }
  
  .comfort-text {
    background-color: white;
    opacity: 0.77;
    transform: translateY(250px) translateX(-300px);
    z-index: 2;
    width: 450px;
    height: 350px;
    position: absolute;
    border-radius: 20px;
  }
  
  
  .Footer {
    grid-area: Footer;
  }
  
  
  #small-logo {
    width: 190px;
    height: 190px;
  }
  
  #Header {
    background-color: rgba(255, 255, 255, 1);
    display: flex;
    justify-content: space-between;
    font-family: Afacad;
  }
  
  #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;
  }
  
  
  
  /*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;
  }
  
  #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: 601px) {
    

  .body-content {
    display: flex;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
    flex-direction: column-reverse;
  }  

  .articles {
    display: flex;
    flex-direction: row;
    width: 100%;
  }

  #Footer {
    background-color: rgba(255, 255, 255, 1);
    display: grid;
    grid-template-columns: auto auto auto;
    justify-content: space-around;
    height: auto;
    width: 42em;
}

  
}

  @media screen and (min-width: 320px) and (max-width: 763px) {
    #Header {
      width: 42rem;
  }

  #footer {
    height: auto;
    width: 102%
  }
}

   @media screen and (max-width: 320px ) {
    .body-content {
      display: flex;
      width: 100%;
      margin-top: 20px;
      justify-content: center;
      flex-direction: column-reverse;
    }  
  
    .articles {
      display: flex;
      flex-direction: row;
      width: 100%;
    }
  
    #Footer {
      background-color: rgba(255, 255, 255, 1);
      display: grid;
      grid-template-columns: auto auto auto;
      justify-content: space-around;
      height: auto;
      width: 42em;
  }
   }
  
 /*  @media screen and (max-width: 668px) {
    #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;
    }
  } */