.active + .answer {
  display: block;
}
.answer {
  display: none;
  background-color: rgb(219, 252, 253);
}

.answer p {
  margin-left: 20px;
  font-size: 18px;
}

body{
  display: grid;
  grid-gap: 25px;
  grid-template-columns: 1fr;
  background-color: azure;
  justify-content: center;
  margin: 10px 100px 50px 100px;
}

header {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  grid-column: 1/2;
}

header h1 {
  color: azure;
  font-family: Garamond;
  font-size: 55px;
  font-weight: bold;
  margin: 75px 0 0 0 ;
}

header h2 {
  color: azure;
  font-family: Garamond;
  font-size: 25px;
  font-weight: bold;
  margin: 0 0 75px 0 ;
}

.turtle-shop {
  background-image: url("./images/turtle-unsplash.jpg");
  background-size: cover;
}

input{
  display: block;
  border: 1px solid rgb(0, 0, 0);
  margin: 5px 0;
}

form {
  padding: 50px; 
  display: flex;
  justify-content: center;
  flex-direction: column;
  background-color: rgba(17,234,247,0.2);
}

button {
  margin: 5% auto 0 auto;
  padding: 10px 25px;
  max-width: 100px;
  border-radius: 5px 15px;
  font-size: 22px;
  border: 1px solid black;
  background-color: azure;
  color: rgb(21, 71, 77);
}

button:hover {
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: rgb(10, 35, 37);
}

.polaroid{
  max-width: 100%;
}

.polcontainer{
  text-align: center;
  background-color: white;
  width: 300px;
  padding: 0 0 25px 0;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin: auto;
  transform: rotate(+15deg)
}

.accordion {
background-color:rgb(51, 177, 192);
display: flex;
flex-direction: column;
}

.accordion h2 {
  color: white;
  font-family: Garamond;
  font-size: 28px;
  margin-left: 20px;
  }

.question {
  background-color: rgb(101, 213, 225);
  color: #444;
  cursor: pointer;
  padding: 18px;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  transition: 0.4s;
  max-width: 100%;
  border-bottom: 2px dotted;
  font-weight: bold;
}

select {
  background-color: azure;
  color: rgb(83, 83, 83);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.question:hover , .active{
  background-color: rgb(195 251 253);
}

.gender {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 10px;

}

h3 {
  margin-bottom: 5px;
  font-weight: bold;
  font-size: 16px;
}

.gender label{
  font-weight: lighter;
}

label{
  font-weight: bold;
}

figcaption {
  margin: 10px 0 0 0;
  font-style: italic;
}

footer{
  color: rgb(177, 179, 180);
  margin-top: 20px;
}

/*We use the same design for tablet + desktop*/
@media (min-width: 668px) {

  body{
    grid-template-columns: 1fr 1fr;
  }
  
  header{
    grid-column: span 2;
  }

  header h1 {
    font-size: 65px;
  }
  
  header h2 {
    font-size: 35px;
  }

  .polcontainer {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
    margin: auto;

  }

  .accordion {
    margin: 0 0 auto 0;
  }

  form {
    grid-row: 2 / 4
  }

  .turtle-shop {
    background-position: center;
    object-fit: contain;
  }

  footer{
    margin-top: 80px;
  }

} 