body * {
  box-sizing: border-box;
  font-family: 'Goldman', cursive;
}
body {
  background-image: radial-gradient(purple 30%, turquoise 100%);

  min-height: 100vh; 
  margin:0; 
  display:flex; 
  flex-direction:column;
}

#verben-container {
  font-size: 16px;
  overflow: auto;
}

header {
  min-height: 20px;
  display: flex;
  justify-content: space-around;
}

header h1 {
  font-size: 48px;
  font-weight: bold;
  color: paleturquoise;
}

#leftPic {
  /* -webkit-transform: scaleX(-1); */
  transform: scaleX(-1);
}
section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex:1;
}

.input-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
}

h1, h2, h3, h4, h5 {
  text-align: center;
  color: paleturquoise;
}

label {
  font-size: 32px;
  color: paleturquoise;
}

.input-container {
  border: 5px inset  paleturquoise;
  margin-bottom: 5rem;
}

#total {
  font-size: 16px;
  color: paleturquoise;
}

.invisible {
  display: none;
}

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

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

  header h1 {
    font-size: 32px;
    font-weight: bold;
    color: paleturquoise;
  }
  
  .input-container {
    border: none;
    /* margin-bottom: 16px;  */
    margin: 16px;
  }

  .input-container .input-element {
    padding: 0px;
    margin: none;
  }

  label {
    font-size: 24px;
  }
  
}

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

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

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

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

.input-element {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 0.5rem;
  padding: 10px;
}

.input-field {
  font-size: 24px;
  margin-top: .5em;
  padding: 3px 10px;
  border: 1px solid lightgray;
}

.input-field.correct {
  border: 2px solid green;
  background-color: lightgreen;
}

.input-field.incorrect {
  border: 2px solid red;
  background-color: pink;
}

.input-field.special {
  border-style: dotted;
}

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

.info label {
  font-size: 16px;
}

#verben-container textarea {
  margin: 0px;
  border: 0.5px solid lightgray;
}

@media (min-width: 567px) {

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

  .input-container, .info {
    display: grid;
    grid-template-columns: repeat(2, 50%);
  }

}

.buttons, .info {
  text-align: center;
  padding: 1em;
}

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

/* Style the button that is used to open and close the collapsible content */
#verben-container .collapsible {
  background-color: #808080;
  color: #f1f1f1;
  cursor: pointer;
  border: none;
  text-align: center;
  outline: none;
  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) */
#verben-container .active, 
#verben-container .collapsible:hover {
  background-color: #ccc;
  color:  #606060;
}

button.collapsible {
  border-radius: 0;
}

.explanation-container p button:disabled {
  color: #606060;
}

/* Style the collapsible content. Note: hidden by default */
.explanation-container .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;
}

.progress, .info {
  display: flex;
  justify-content: center;
}

/* progress bar: */
progress::-webkit-progress-bar {background-color: lightgray; width: 100%;}
progress {background-color: lightgray;}

/* progress bar value: */
progress::-webkit-progress-value {background-color: paleturquoise !important;}
progress::-moz-progress-bar {background-color: paleturquoise !important;}
progress {color: paleturquoise;}