
::-webkit-scrollbar {
  display: none;
}

html{
  height: 100%;
  overflow-y: hidden;
}

::-webkit-scrollbar {
  display: none;
}

@font-face {
  font-family: 'Prototype';
  src: url('./Prototype.woff') format('woff');
}

@font-face{
  font-family: 'Ttl';
  src: url('./good_times_rg.woff') format('woff');
}

@font-face {
  font-family: 'Aquire';
  src: url('./AquireRegular.woff2') format('woff2'),
      url('./AquireRegular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  background: 
  linear-gradient(
    rgba(13, 110, 139, 0.75),
    rgb(0, 0, 0)
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  overflow-y: hidden;
}

input {
  border-radius: 10em;
}

button {
    color: rgb(0, 0, 0);
    border: none;
    background-color: #ffffff;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 10em;
    border: 1px solid black;
    font-size: calc(0.25em + 0.75vw);
    font-family: 'Prototype', sans-serif;
    transition: all .3s;
}

button:hover{
  cursor: pointer;
  background-color: #006aff;
  color: rgb(255, 255, 255);
  border: 5px solid #006aff;
}



.loader{
  position: fixed;
  top: 0;
  left: 0;
  background: rgb(0, 0, 0);
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

#pre-loader {
  height: 200px;
  width: auto;
}

.disppear{
  animation: vanish 1s forwards;
}
@keyframes vanish {
  100%{
    opacity: 0;
    visibility: hidden;
  }
}

.text-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 240px;
  color: white;

}

.text-container h1 {
  font-size: calc(4em + 1vw);
  text-shadow: 12px 12px 12px black;
  animation: fadeIn 2s ease-in;

}

.text-container h2 {
  animation: fadeIn 2.5s ease-in;
  font-size: calc(0.5em + 1vw);
  text-shadow: 2px 2px 2px black;
  width: auto;
  text-align: center;
}



.text-container p {
  padding-top: 20px;
  font-size: calc(0.25em + 1vw);
  width: 40em;
  text-align: center;
  animation: fadeIn 2.7s ease-in;
  text-shadow: 2px 2px 2px black;

}

@media (max-width: 450px) {
  .text-container p {
    width: clamp(15em, 20em, 30em);
    font-size: 1.25em;
  }
  .text-container h2 {
    width: clamp(15em, 15em, 30em);
    font-size: 1.5em;
  }
}

.modal1 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}


.modal-content1 {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 25px;
  border: 1px solid #888;
  border-radius: 32px;
  width: 80%;
  border-radius: 32px;
}


.close1 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

#video{
  position: static;
  z-index: 0;
  height: auto;
  max-width: 100%;
}

.close1:hover,
.close1:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


.modal2 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  overflow: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  overflow-y: hidden;

}


.modal-content2 {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  max-width: 76.4%;
  border-radius: 32px;
  overflow-y: hidden;
}

@media (max-width: 450px) {
  .modal-content2{
    margin: 50% auto;
    max-width: 100%;
  }
  .modal-content1{
    margin: 50% auto;
    max-width: 100%;
  }
  .modal-content3{
    margin: 50% auto;
    max-width: 100%;
  }
}

.close2 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close2:hover,
.close2:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal3 {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content3 {
  background-color: #fefefe;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  border-radius: 32px;
}

.close3 {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close3:hover,
.close3:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.interactContainer {
  display: flex;
  justify-content: space-around;
  margin: 0px;
  margin-top: 5%;
}

.resultLoader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 2s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.image-container {
  width: 90%;
  margin: 0 auto 30px auto;
}

.image-container img {
  display: block; 
  position: relative;
  max-width: 100%;
  max-height: 400px; 
  margin: auto;
}

figcaption {
  margin: 20px 0 30px 0;
  text-align: center;
  color: black;
}

input[type="file"] {
  display: none;
}

#file-name{
  color: #006aff;
  text-shadow: none;
}

.classifyImageContainer h1{
  text-align: center;
  padding: 10px;
  color:#006aff;
  text-shadow: none;

}

label, #classify {
  display: block;
  position: relative;
  background-color: #3498db;
  color: white;
  text-align: center; 
  width: 25%;
  padding: 10px 0; 
  border-radius: 15px;
  cursor: pointer;
  border: 0px solid black;
  text-shadow: 2px 2px 2px black;
  font-size: 2vw;
}

.buttonGroup {
  display: flex; 
  justify-content: space-around;
}

.video-holder {
  display: block;
  text-shadow: none;
  width: 640px;
  background-color: white;
  align-items: center;
  text-align: center;
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  padding-bottom: 80px;
  width: 80%;
}

#background-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  background-image: url(../Images/interact-background.jpeg);
  position: fixed;
  background-size: 110%, 110%;
  top: 0;
  left: 0;
  z-index: -1;
  filter: blur(10px);
  transition: filter 0.5s ease;
}

#classificationResults {
  color: #006aff;
  margin-top: 12px;
  text-shadow: none;
}

#outputProb {
  color: #006aff;
  text-shadow: none;
}

.fileInputLabel{
  text-shadow: none;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  } 
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn2 {
  0% {
    opacity: 0;
  } 
  30% {
    opacity: 1;
  }
}

#canvas{
  place-self: center;
  display: flex;
  margin-top: -50%;
  height: auto;
  max-width: 100%;
  z-index: 100;
  margin-left: 17.5%;
  color: #006aff;
}

@media (max-width: 1450px) {
  #canvas{
    margin-top: -75%;
    margin-left: 0%;
  }
}

.quizModal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: navy;
  border-radius: 10px; 
  padding: 20px; 
  margin: 20px;
}

.quizModal h1{
  text-align: center;
  text-shadow: none;
}

.quizQuestions {
  text-align: center;
  font-size: 30px;
  text-shadow: none;
}

.quizOptions {
  font-size: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex; 
  flex-direction: column;
  text-shadow: none;
}

#quizButton {
  font-size: 20px;
  padding: 10px 20px;
  background-color: #4f98c2;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  text-align: center;
}

#quizButton:hover {
  color: #4f98c2;
  background-color: white;
}

#score {
  font-size: 30px;
  color: rgb(69, 69, 187);
  text-shadow: none;
}

.video-holder{
  color: rgb(69, 69, 187);
}

.progress-container {
  width: 100%;
  background-color: #f1f1f1;
  border: 2px solid #000; 
  border-radius: 15px;
  margin-bottom: 10px;
  margin-top: 10px;
}

.progress-bar {
  width: 100%;
  height: 30px;
  background-color: rgb(0, 119, 255);
  transition: width 0.5s ease;
  border-radius: 13px;
}

.progress {
  width: 50%;
  text-align:center;
  text-shadow: none;
}

@media (max-width: 450px) {
  #myBtn1{
    font-size: 0.75em;
  }
  #myBtn2{
    font-size: 0.75em;
  }
  #myBtn3{
    font-size: 0.75em;
  }
  .text-container {
    margin-top: 20vh;
  }
}