body {
  margin-top: 75px;
  font-family: palanquin, avenir, sans-serif;
  font-size: 16px;
  overflow: auto;
}

h1, h2, h3, h4, h5 {
  font-family: 'Mountains of Christmas';
  text-align: center;
  color: #000060;
}

.invisible {
  display: none;
}

@media (min-width: 576px) {
  .xs-only {
    display: none;
  }
}

@media (max-width: 575px) {
  .hidden-xs {
    display: none;
  }
  .xs-only {
    font-size: 1rem;
    overflow: hidden;
  }
}

#main-container {
  padding: 1rem;
}

#congrats-container {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1rem;
}

.congrats-emoji {
  font-size: 5rem;
}

#congrats-container h4 {
  text-transform: uppercase;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.congrats-text {
  font-size: 1.25rem;
  color: #000060;
  margin-top: 2rem;
}

.input-container {
  width:100%;
}

.input-element {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 0.5rem;
}

.description {
  font-size: smaller;
  font-weight: 200;
  color: #606060;
  margin-top: .25rem;
}

input {
  margin: 0px;
  font-size: 1rem;
  border: 0.5px solid lightgray;
}

textarea {
  margin: 0px;
  border: 0.5px solid lightgray;

}

@media (min-width: 440px) {

  #main-container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .input-container {
    display: grid;
    grid-template-columns: repeat(3, 33%);
    grid-gap: 4px;
  }

  .input-element-1, 
  .input-element-2,
  .input-element-3 {
    width: 100%;
  }

  .input-element-4 {
    grid-column: span 3;
  }

}

.buttons {
  margin-top: 2rem;
  margin-bottom: 4rem;
  text-align: center;
}

button {
  padding: 5px;
  border-radius: 5px;
  font-size: small;
  border-width: 1px;
  border-style: solid;
  border-color: #d8d8d8 #d1d1d1 #bababa;
  border-image: initial;
  background-color: white;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
  background-color: #808080;
  color: #f1f1f1;
  cursor: pointer;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 0.75rem;
  padding: 0.5rem;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, 
.collapsible:hover {
  background-color: #ccc;
  color:  #606060;
}

button.collapsible {
  border-radius: 0;
}

.explanation-container p button:disabled {
  /* font-size: small; */
  font-size: .75rem;
  color: #606060;
}

/* Style the collapsible content. Note: hidden by default */
.content {
  padding: 0 18px;
  max-height: 0px;
  text-align: left;
  font-size: 0.75rem;
  overflow: hidden;
  /* transition: max-height 0.1s ease-out; */
  background-color: #f1f1f1;
}

.explanation-container p button {
  padding-top: 0px;
  padding-bottom: 0px;
  margin-left: -2px;
  margin-right: 0px;
  font-size: smaller;
}
