/* styles.css 
   Project: 
   Author: 
   Date: 
	
*/

/*google font*/

@import url('https://fonts.googleapis.com/css2?family=Lato&family=Montserrat&family=Open+Sans&family=Raleway&family=Roboto&display=swap');

/*main css*/

* {
  box-sizing: border-box;
}

img, video {
  width: 100%;
  display: block;
}

audio {
  display: block;
}

/*link style*/

a {
  text-decoration: none;
  color: darkred;
}

a:visited {
  color: gray;
}

a:hover, a:active {
  color: darkgray;
} 

body, html {
  font-family: 'Lato', sans-serif; 
}

body {
  background-image: url('img/whitecrinkledpaper.jpg'); /* Replace 'path_to_your_image.jpg' with the actual path to your image */
  background-size: cover; /* Adjust background properties as needed */
  background-position: center; /* Center the background image */
}

h1, h2, h3, .pullquote {
  font-family: 'Permanent Marker';font-size: 22px;

}

header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: -1;
  background-color: black;
  /*max-height: 600px;*/
}

header2 {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: -1;
  background-color: black;
  display: none;
}

header2 img {
  object-fit: cover;
}

.tiktok {
        display: flex;
        align-items: center;
        width: 50%;
    }

.tiktoktext {
        flex: 1;
        padding: 20px;
    }

.video {
        flex: 1;
    }

.flip-card {
  background-color: transparent;
  border: 10px solid black;
  perspective: 1000px;
  border-radius: 10px;
  box-shadow: 5px 5px 5px black;
  width: 17vw;
  height: 8vw;  
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;

  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

.flip-card-front {
  background-color: transparent;
  color: black;
  margin:auto;
  text-align: center;
  padding: 5%;
}

.flipcardpart {
  width: 100%;
}

.flipcardpart h1{
  font-size: 4em;
  text-align: center;
}

.flipcardpart h2{
  font-size: 2em;
  text-align: center;
  width: 60%;
  margin: auto;
}

.flip-card-front h1 {
  text-align: center;
  margin: auto !important; /* Remove default margins */
  font-size: 3em;
}

.flip-card-back {
  background-color: white;
  color: black;
  transform: rotateY(180deg);
  width: 100%;
  height: 100%;
  padding: 3%;
}


.candidates {
   margin: auto;
   margin-top: 1%;
   margin-bottom: -6%;
   display: grid;
   grid-gap: 5%;
   grid-template-columns: 1fr 1fr 1fr;
   width: 65%;
   background-color: white;
   padding: 2%;
   padding-bottom: 3%;
   border-radius: 3%;
   border: 15px dashed red;
   box-shadow: 5px 5px 5px black;
}

.doodleleft {
  float: left;
  width: 50%;
  padding-right: 20px;
  margin-left: -350px;
}

.doodleright {
  float: right;
  width: 50%;
  padding-left: 20px;
  margin-right: -350px;
}


.titleimage {
  width:80%;
  margin: auto;
  min-height:100vw;
}

.titleimg img{
  width:100%;
}

.tabselection {
  width: 70%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin: auto;
  align-text: center;
}

.tabselection1, .tabselection2, .tabselection3 {
  margin: auto;
}

.tabselection1 {
  color: hotpink;
}

.tab {
  background-color: pink;
  border: 5px dashed hotpink;
  width: 75%;
  margin: auto;
  padding: 2%;
  box-shadow: 5px 5px 5px black;
}

.tab2 {
  background-color: lightskyblue;
  border: 5px dashed mediumslateblue;
  display: none;
}

.tab3 {
  background-color: lemonchiffon;
  border: 5px dashed orange;
  display: none;
}

.ui-droppable-active {
   padding: 0%;

} 

.ui-state-highlight {
    border: 2px dashed black; /* Adjust border properties as needed */
    background-color: red;
}

.foodgame {
  margin: auto;
  width: 100%;
}

.mother {
   display: grid;
   grid-template-columns: 3fr 2fr;
   width: 80%;
   margin:auto;
   margin-bottom: -200px;
}

.foodgame h1 {
  text-align: center;
  font-size: 3em;
}

.foodgame h2 {
  text-align: center;
  font-size: 1.5em;
  width: 50%;
  margin: auto;
}

.container {
   display: grid;
   grid-template-columns: 1fr 1fr 1fr;
   grid-gap: 2% 2%;
   margin: auto;
}

.pokemon img {
   width: 90%;
   height: 90%;
   object-fit: cover;
}

.pokemon{
   width: 175px;
   height: 175px;
   margin: auto;
   cursor: pointer;
}

.pokemon p {
  margin-top: -10px;
  display: none;
}

.calculator {
   margin: auto;
   font-size: 5em;
   display: grid;
   grid-template-columns: 1fr;
}

.finalprice {
   margin: auto;
   font-color: black;
   margin-bottom: 30%;
}
.finalprice h1 {
   font-size: 0.75em;
}

.pending{
   margin: auto;
   position: relative;
   width:100%;
   z-index: -1!important;
}

.pending img {
  width: 100%;
}

.reset {
   background-color: red;
   border: 5px solid blaack;
   padding: 1%;
   font-size: 3em;
   position: relative;
   right: -115%;
   top: -200%;
   width: 40%;
   cursor: pointer;
}

.pending img {
   width: 100%;
}

.title1 {
  position: absolute;
  width: 100%;
  top: 3%;
  color: black;
  text-align: center;
  margin-bottom: 30px;
}

.title1 h1 {
  font-size: 5.1vw;
  margin-bottom: -4px;
  line-height: 0.75em;
}

.title1 h2 {
  font-size: 2vw;
}

.tabselection h1 {
  font-size: 2em;
  margin: auto;
  margin-bottom: 5%;
  cursor: pointer;
  text-align: center;
}

.tab h1{
  font-size: 2em;
}

.title1 h3 {
  font-size: 1.2em;
  font-style: italic;
}

.title2 {
  width: 100%;
  color: black;
  text-align: center;
  padding: 3% 10%;
}

.title2 h1 {
  font-size: 4.7em;
  margin-bottom: -4px;
}

.title2 h2 {
  font-size: 2em;
}

.title2 h3 {
  margin-top: 10%;
  margin-bottom: 0;
  font-size: 1.1em;
  font-style: italic;
}

.tab p {
  font-size: 1.5em;
}

.tab3 p {
  margin-right: 100px;
}

.content {
  width: 100%;
  margin-top: 20px;
/*  background-color: white;*/

}

.tiktok-embed {
  float: right;
  margin: 200px;
}

.maintext {
  max-width: 700px;
  margin: auto;
  color: black;
  font-size: 1.2em;
  line-height: 1.7em;
  text-align: justify;
  padding: 1%;
  margin-top: 120px;
}

.pullquote {
  width: 50%;
  font-size: 1.4em;
  line-height: 1.6em;
  font-style: italic;
  text-align: left;
}

.name {
  font-size: 0.7em;
  text-align: center;
  line-height: 0.1em;
  padding-bottom: 30px;
}

.left {
  float: left;
  padding-right: 20px;
  margin-left: -40px;
}

.right {
  float: right;
  padding-left: 20px;
  margin-right: -40px;
}

.floatingpic {
  width: 50%;
}

.floatingpic audio {
  width: 100%;
  margin-top: 5px;
}

.floatingcap {
  margin-top: 0px;
  font-size:  0.8em;
  text-align: center;
}

.sectionhead {
  text-align: center;
  color: black;
}

.bigphoto {
  position: relative;
}

.photocaption {
  position: absolute;
  bottom: 0px;
  width: 100%;
  padding-left: 1%;
  color: white;
  background-color: rgba(0,0,0,0.4);
}

.sidebyside {
  display: flex;
}

.photoleft {
    flex-direction: row;
}

.photoright {
    flex-direction: row-reverse;
}

.sidephoto {
  flex: 2;
}

.sidecaption {
  flex: 1;
  background-color: black;
  color: white;
  font-size: 1.2em;
  display: grid;
  align-items: center;
  text-align: center;
  padding: 20px 40px;
}

.photogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5px;
}

.gridpic {
  position: relative;
}

.gridpic .photocaption {
  display: none;
}

.cycle-slideshow {
  max-width: 700px;
  margin: auto;
}

.knightlab {
  max-width: 700px;
  margin: auto;
}

.googlemap {
  overflow:hidden;
  padding-bottom:56.25%;
  position:relative;
  height:0;
  max-width: 700px;
  margin: auto;
}

.googlemap iframe {
  left:0;
  top:0;
  height:100%;
  width:100%;
  position:absolute;
}

.youtube {
  max-width: 700px;
  margin: auto;
}

.responsivecontainer {
  position: relative; 
  padding-bottom: 56.25%; 
  padding-top: 30px; 
  height: 0; 
  overflow: hidden;
}

.responsivecontainer iframe, .responsivecontainer object, .responsivecontainer embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%;
}

.clickhere {
  font-style: italic;
  font-size: 0.7em;
  text-align: right;
  padding-right: 1%;
}

.voxpop {
  max-width: 700px;
  margin: auto;
}

.voxgrid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 10px;
}

.person {
  border-radius: 5px;
  box-shadow: 2px 3px 3px lightslategrey;
  overflow: hidden;
}

.person audio {
  width: 100%;
  display: block;
}

.headshot {
  position: relative;
  text-align: center;

}

.popup {
  cursor: pointer;
}

.infographic {
  max-width: 700px;
  margin: auto;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slidetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 12px;
  position: absolute;
  bottom: 0px;
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dots {
  margin-top: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  text-align: center;
}

 
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}


/*footer */

footer {
  background-color: black;
  color: white;
  padding: 1%;
  text-align: right;
}

/*popup modal*/

.overlay {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-y: scroll;
  display: none;
  z-index:  10;
}

.modal {
  width: 70%;
  margin: 2% auto;
}

.closer {
  position: absolute;
  right: 1vh;
  top:  1vh;
  width: 10%;
  cursor: pointer;
}

/*media query for responsive design */

@media only screen and (max-width: 900px) {

  .doodleright, .doodleleft {
    display: none;
  }

  .titleimage {
    margin-top: 20px;
  }

  .content {
    margin-top: -350px;
  }

  .title1 {
    top: 5%;
    margin-bottom: -300px;
  }

  .title1 h1 {
    font-size: 3.5em;
  }

  .title1 h2 {
    font-size: 1.5em
  }

  .title1 h3 {
    font-size: 1.1em;
  }

  header {
    display: none;
  }

  header2 {
    display: block;
  }

  .candidates {
    width: 95%;
    height: 80vw;
    grid-template-columns: 1fr 1fr;
  }

  .flip-card {
    width: 40vw;
    height: 20vw;
    margin: auto;
  }

  .foodgame {
    margin-bottom: 70%;
  }

  .container {
    grid-template-columns: 1fr 1fr;
    grid-gap: 2%;
  }

  .pokemon {
   width: 100px;
   height: 100px;
  }

  .pending {
    width: 80%;
  }

  .calculator {
   margin: auto;
   font-size: 2em;
   display: grid;
   grid-template-columns: 1fr;
}

.finalprice {
   margin: auto;
   font-color: black;
   margin-bottom: 50%;
}
.finalprice h1 {
   font-size: 0.5em;
}

.reset {
   background-color: red;
   border: 5px solid blaack;
   padding: 1%;
   font-size: 1em;
   position: relative;
   right: -115%;
   top: -300%;
   width: 40%;
   cursor: pointer;
}

}


@media only screen and (max-width: 800px) {

  .pullquote {
    width: 100%;
    margin: 0px;
    padding: 0px;
    text-align: center;
    display: none; /* remove this line if you want the pullquotes to display on mobile*/ 
  }

  .left, .right {
    margin: 0px;
    padding: 10px;
  }

  .floatingpic {
    width:  100%;
    margin: 0px;
    padding:  0px;
  }

  .popup {
    margin-bottom: 15px;
  }

  .popup .floatingcap {
    display: none;
  }  

}


@media only screen and (max-width: 640px) {

  .title1 {
    top: 1%;
  }

  .title1 h1 {
    font-size: 3em;
  }

  .title1 h2 {
    display: none;
  }

  .title1 h3 {
    font-size: 0.9em;
  }

  .title2 h1 {
    font-size: 2em;
  }

  .title2 h2 {
    font-size: 1.3em;
  }

  .title2 h3 {
    font-size: 1em;
  }

  .maintext {
    font-size: 1.4em;
    line-height: 1.6em;
    text-align: left;
    margin: 0px 0px;
  }

  .voxgrid {
    grid-template-columns: 1fr 1fr;
  }

  .person audio {
    background-color: black;  
  }

  .modal {
    width: 97%;
    margin: 10% auto;
  }

  .sidebyside {
    display: block;
  }

  .sidecaption {
    font-size: 1em;
    padding: 10px 20px;
  }

}











