@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
    
}

/* body {
    background-color: white;
    margin: 0 auto;
    width: 60vw;
    justify-content: center;
    align-items: center;
} */

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  overflow-x: hidden;
  color: white;
  background-color: transparent;
  background-size: cover;
}

.container {
  background: rgb(2,0,36);
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
    color: #ddd;
    border-radius: 10px;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    padding-top: 10px;
    margin: 0 auto;
}
.pure-form {
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
    color: #ddd;
    border-radius: 30px;
    padding: 30px;
    font-family: 'Montserrat', sans-serif;
    max-width: 100%;
    padding-top: 30px;
    margin: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}

.container>b {
    font-size: 32px
}

b{
    color: whitesmoke;
    text-shadow: .5px .5px white;
    text-align: center;
}

.startpage{
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h2 {
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    font-size: 30px;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
}

nav ul li {
    display: inline-block;
    margin-left: 25px;
}

button {
    display:table-row;
    font-family: sans-serif;
    background-color: #2f2f52;
    border-radius: 5px;
    border: 3px double #cccccc;
    color: #eeeeee;
    text-align: center;
    font-size: 15px;
    padding: 5px;
    width: 200px;
    margin-top: 3px;
}

button:hover{
    box-shadow: 4px 3px 6px whitesmoke;
}

input{
    text-align: center;
}

nav {
    padding-top: 15px;
    margin-right: 20px;
    float: inline-start;    
}

#options {
    display: table-row;
}

.options {
    position: relative;
    padding-left: 40px
}

#options button {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    cursor: pointer
}

.options input {
    opacity: 0
}

.checkmark {
    position: absolute;
    top: -1px;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #555;
    border: 1px solid #ddd;
    border-radius: 50%
}

.options input:checked~.checkmark:after {
    display: block
}

.options .checkmark:after {
    content: "";
    width: 10px;
    height: 10px;
    display: block;
    background: white;
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 300ms ease-in-out 0s
}

.options input[type="radio"]:checked~.checkmark {
    background: #21bf73;
    transition: 300ms ease-in-out 0s
}

.options input[type="radio"]:checked~.checkmark:after {
    transform: translate(-50%, -50%) scale(1)
}

.btn-primary {
    background-color: #555;
    color: #ddd;
    border: 1px solid #ddd
}

.btn-primary:hover {
    background-color: #21bf73;
    border: 1px solid #21bf73
}

.btn-success {
    padding: 5px 25px;
    background-color: #21bf73
}

#startpage{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#timer{
    font-family: sans-serif;
    background-color: #21bf73;
    color: #eeeeee;
    font-size: x-large;
    text-shadow: .5px .5px black;
    text-align: center;
    padding: 5px;
    border-radius: 20px;
}

#quiz {
    display: none;
}

#questions {
    width: 75%;
    padding: 10px;
    font-size: large;
}

#result {
    display: none;
}


footer {
    padding: 30px;
    clear: both;
    font-family: 'Momentum Grotesk', 'Neue Haas Grotesk', 'Swiss721';
    text-align: center;
    color: black;
}

footer h2 {
    font-size: 20px;
    text-align: center;
}

.hide {
    display: none;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  top: 0;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

*,
*:before,
*:after {
box-sizing: border-box;
transition: all 0.5s ease;
}

/* body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  background-size: cover;
  font-family: sans-serif;
} */

#overlay {
  background: rgba(147, 135, 242, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#cocktail {
  max-width: 350px;
  text-align: center;
  padding: 30px 30px 12px 30px;
  color: #fff;
  background-color: #7766d7;
  border: 4px solid #9387f2;
  border-radius: 5px;
}

#cocktail h1 {
  margin: 0 0 15px 0;
  text-transform: uppercase;
}

#cocktail img {
  max-width: 300px;
  border: 6px solid #fff;
  border-radius: 150px;
}

#cocktail ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#cocktail li {
  padding: 15px 0;
  font-size: 18px;
}

#cocktail li:not(:last-of-type) {
  border-bottom: 1px solid #fff;
}

body {
  font-family: sans-serif;
  margin: 0;
  width: 100vw;
  height: 100vh;
}

#container {
  width: 100%;
  max-width: 400px;
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#container.closed header {
  cursor: pointer;
}
header {
  cursor: pointer;
}

.header {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: center / cover;
  background-image: "";
}

.title {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-top: 0px;
}

#container.closed .title {
  padding: 40px 20px 10px 20px;
  margin-top: -87px;
  color: white;
  border: none;
}

.title:before {
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  opacity: 0;
}

#container.closed .title:before {
  opacity: 1;
}

article {
  padding: 25px 30px;
  overflow: hidden;
  max-height: 400px;
}

#container.closed article {
  max-height: 0px;
  padding: 0 30px;
}

.ingredients {
  margin: 0px;
  padding: 0px;
  margin-bottom: 20px;
  padding-left: 4px;
  font-size: 0.9rem;
}

.ingredients > li {
  list-style-type: none;
  display: flex;
  margin: 4px 0px;
}

.ingredients > li > .amount {
  width: 80px;
  color: #1976d2;
}

.preperation > div {
  margin-bottom: 10px;
}

@media(max-width:576px) {
    .question {
        width: 100%;
        word-spacing: 2px
    }
}



/*Quiz Question Block Styling*/
.quiz-container {
    background-color: #555;
    color: #ddd;
    border-radius: 10px;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    max-width: 700px;
    padding-top: 10px;
    margin: 0 auto;
}

.choice-container {
    display: flex;
    margin-bottom: 0.5rem;
    width: 100%;
    font-size: 1.8rem;
    border: 0.1rem solid #14477440;
    background-color: white;
  }
  
  .choice-container:hover {
    cursor: pointer;
    box-shadow: 0 0.4rem 1.4rem 0 rgba(86, 185, 235, 0.5);
    transform: translateY(-0.1rem);
    transition: transform 150ms;
  }
  
  .choice-prefix {
    padding: 1.5rem 2.5rem;
    background: rgb(2,0,36);
    background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%);
    color: white;
  }
  
  .choice-text {
    padding: 1.5rem;
    width: 100%;
    color: black
  }
  
  .correct {
    background-color: #28a745;
  }
  
  .incorrect {
    background-color: #dc3545;
  }

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #eff5f8;
  color: #001b44;
}

label, p {
  font-size: 30px;
}

input {
  height: 50px;
  width: 100%;
  padding: 6px;
  margin-top: 10px;
  font-size: 2em;
  border: 1px solid #001b44;
}

h1 {
  text-align: center;
}

ul {
  list-style-type: none;
  padding: 0;
  background-color: white;
}

li {
  height: 50px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px;
  background-color:  #001b44;
  color: white;
  font-size: 1em;
  line-height: 1.5;
}

li:before {
  content: "\200B";
  position: absolute;
}

li::after {
  content: " ";
  display: block;
  clear: both;
}

li button {
  float: right;
  border: none;
  height: 40px;
  cursor: pointer;
  background-color: #ee1010;
  color: white;
  font-size: 1em;
}

.card {
  display: block;
  background-color:	#92becf;
  border: 1px solid #eceff1;
  border-radius: 8px;
  box-shadow: rgba(60, 64, 67, 2) 0 1px 2px 0,
    rgba(60, 64, 67, 0.15) 0 2px 4px 3px;
  margin: 60px auto;
  padding: 20px;
  width: 80vw;
}

