/* this is a css reset that makes sure the browser won't add any unexpected margins or padding to your page */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #78beff;
  background: linear-gradient(90deg, rgb(120, 190, 255, 0.5) 0%, rgb(255, 117, 117, 0.5) 50%, rgb(255, 244, 140, 0.5) 100%);
}

.cropper {
  width: 1500px;
  height: 800px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

.cropper iframe {
  width: 1500px;
  height: 830px;
  border: none;
  position: absolute;
  top: -42px;
}

.titletext {
  background-color: #492dff;
  border: none;
  box-shadow: inset 0 4px 10px black;

  border-radius: 10px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  padding: 10px;
  text-align: center;
  color: #ffff1d;
  font-size: 180%;
  font-family: "Audiowide", sans-serif;
  font-style: italic;
}

.gradienttext {
  background: linear-gradient(to right, #ffe065, #492dff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.shortdesc {
  font-family: "Audiowide", sans-serif;
  font-size: 130%;
  padding: 1%;
  margin-bottom: 30px;
  margin: auto 100px;
  align-items: left;
}

.buttons-container {
  font-family: "Audiowide", sans-serif;
  margin-bottom: 0;

}

.btn {
  display: flex;
  align-items: center;
  background: #bf0909;
  text-decoration: none;
  width: 370px;
  height: 100px;
  margin: 25px 0;
  margin-left: 50px;
  border-radius: 10px;
  overflow: hidden;

  box-shadow: inset 0 4px 10px black;
  position: relative;


}

.btn.timepeople::after,
.btn.timepeople::before {
  content: "Time to Complete";
  position: absolute;
  text-align: center;
  width: 100%;
  font-family: "Audiowide", sans-serif;
  font-size: 160%;

  text-transform: uppercase;
  line-height: 4;
  color: #ffefb0;

  transition: all 400ms;
  top: 0;

}

.btn.timepeople.btn2::after,
.btn.timepeople.btn2::before {
  content: "Number of People";
}

.btn.btn.timepeople:hover::after {
  top: -65px;
  line-height: 8;

}

.btn.timepeople::before {
  content: "~ 15 mins";
  top: 65px;
  font-family: "Quicksand", sans-serif;
  font-style: bold;
  font-weight: 700;
  font-size: 130%;
  padding-top: 25px;

}

.btn.btn.timepeople:hover::before {
  top: 0;
}

.btn.timepeople.btn2::before {
  content: "Three";
  font-family: "Quicksand", sans-serif;
  font-style: bold;
  font-weight: 700;
  font-size: 130%;
  padding-top: 25px;
}

.dropdown {
  display: inline-block;
  margin-top: 25px;
}

.dropdown .menu {
  background-color: #bf0909;
  font-family: "Audiowide", sans-serif;
  font-size: 160%;
  color: #ffefb0;

  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-right: 50px;
  width: 370px;
  height: 100px;
  box-shadow: inset 0 4px 10px black;


}

.dropdown a {
  display: block;
  color: #ffefb0;

  text-decoration: none;
  padding: 10px 15px;
}

.dropdown .tools {
  display: none;
  position: absolute;
  background-color: #bf0909;
  min-width: 100px;
  box-shadow: 2px 2px 5px #000000e3;
  border-radius: 10px;
  font-family: "Quicksand", sans-serif;
  font-style: bold;
  font-weight: 700;
  font-size: 100%;
}

.dropdown:hover .tools {
  display: block;
  border-radius: 10px;
}

.dropdown:hover .menu {
  background-color: #a50808;
  border-radius: 10px;

}

.dropdown a:hover {
  background-color: #d60a0a;
  border-radius: 10px;

}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.instructions {
  background-color: #492dff;
  border: none;
  box-shadow: inset 0 4px 10px black;
  border-radius: 10px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  width: 90%;
  padding: 30px;
  text-align: center;
  color: #ffff1d;
  font-size: 200%;
  font-family: "Audiowide", sans-serif;
  font-style: italic;

  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);

}

.overview {
  font-family: "Audiowide", sans-serif;
  font-size: 120%;
  padding: 1%;
  margin-bottom: 50px;
  margin: auto 20px;
  padding: 50px;
  align-items: center;

}

li::marker {
  color: #ffefb0;
}

.ifthen {
  display: flex;
  padding: 1%;
  margin-bottom: 50px;
  margin: auto 50px;
  align-items: center;
  font-family: "Quicksand", sans-serif;
  font-style: bold;
  font-weight: 700;
  font-size: 120%;
  justify-content: space-between;

}

.space {
  padding: 15px;
}

#btn{
  display: block;
  margin-left: 50px;
  color: black;
  font-family: "Quicksand", sans-serif;
  font-size: 1.25rem;
}

#btn:hover{
  color: red;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~TABLET SECTION~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media (max-width: 768px) {

  .cropper {
    width: 100%;
    height: 450px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
  }

  .cropper iframe {
    width: 100%;
    height: 500px;
    position: absolute;
    top: -40px;
  }

  .titletext {
    width: 90%;
    font-size: 150%;
    padding: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

  }

  .shortdesc {
    margin: 100px auto 80px auto;
    padding: 15px;
    font-size: 110%;
    text-align: left;
    width: 90%;
    transform: translate(0%, 80%);

  }

  .btn {
    width: 85%;
    margin: 15px auto;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-3%, 0%);
    
  }

  .btn.timepeople::after {
    top: -65px;
    line-height: 8;
    transition: all 400ms;
  }

  .btn.timepeople::before {
    top: 0;
    padding-top: 28px;
    transition: all 400ms;
  }

  .btn.timepeople.btn2::after {
    top: -65px;
    line-height: 8;
    transition: all 400ms;
  }

  .btn.timepeople.btn2::before {
    top: 0;
    padding-top: 28px;
    transition: all 400ms;
  }

  .dropdown {
    width: 85%;
    margin: 15px auto;
    display: block;
    padding-right: 32px;
  }

  .dropdown .menu {
    width: 100%;
    height: auto;
    text-align: center;
    border-radius: 10px 10px 0 0;
  }

  .dropdown .tools {
    display: block;
    position: relative;
    width: 100%;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
  }

  .dropdown .tools a {
    padding: 15px;
    background-color: #bf0909;
    border-bottom: 1px solid #a50808;
    text-align: center;
    font-size: 120%;
  }

  .dropdown .tools a:last-child {
    border-bottom: none;
  }

  .dropdown .tools a:hover {
    background-color: #d60a0a;
  }

  .buttons-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .top-bar {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
  }

  .overview {
    margin: 20px 30px;
    padding: 30px;
    font-size: 110%;
    text-align: left;
  }

  .ifthen {
    flex-direction: column;
    text-align: left;
    gap: 20px;
    margin: 20px;
  }

  .instructions {
    width: 120%;
    margin-bottom: 70px;
  }
}
/*~~~~~~~~~~~~~~~~~~~~~~~~~~MOBILE SECTION~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
@media (max-width: 425px) {
  .cropper iframe {
    display: none;
  }

 .titletext {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 85%;
    margin: 20px auto 60px auto;
    text-align: center;
    text-size-adjust: 90%;
  }
    .shortdesc {
    transform: none;
    margin: 0 auto 1px auto;
    padding: 40px;
    text-align: left;
    width: 85%;
  }
    .cropper {
    height: 0;
    overflow: visible;
    margin: 0;
    padding: 0;
  }
   .buttons-container {
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-right: 10px;
   }

  .dropdown {
    width: 90%;
    margin: 0 auto 20px auto;
    display: block;
    padding-right: 0;
    padding-left: 10px;
  }

  .dropdown .menu {
    width: 90%;
    height: auto;
    text-align: center;
    border-radius: 10px 10px 0 0;
  }

  .dropdown .tools {
    display: block;
    position: relative;
    width: 90%;
    border-radius: 0 0 10px 10px;
    overflow: hidden;
  }

  .dropdown .tools a {
    padding: 15px;
    background-color: #bf0909;
    border-bottom: 1px solid #a50808;
    text-align: center;
    font-size: 120%;
  }

  .dropdown .tools a:last-child {
    border-bottom: none;
  }

  .dropdown .tools a:hover {
    background-color: #d60a0a;
  }

  .ifthen {
    margin-left: 0px;
    font-size: 105%;
  }
  }
