/* Layout of Teachers vs Technology Website */ 
html {
    height: 100%;
    width: 100%;
    font-family: helvetica;
  }

/* Layout of Teachers vs Technology Website */ 
body {
  background-color: #FEE0DA;
  height: 100%;
  margin: 0px auto;
  width: 100%;  
}
  
/* Home Page */
/* Decorative box at the top of the home page */
.box1 {
  border: 10px solid #FFF7F5;
}

/* Main title for the home page */ 
h1 {
  color: #5D1F11;
  display:  table-caption;
  font-family: helvetica;
  font-size: 4vw;
  font-weight: bold;
  letter-spacing: 2px;
  padding-left: 30px;
  text-align: center;
}
 
/* The layout of the button on the home page */  
.homebutton {
  background-color: #F7C1B5;
  border-color: #5D1F11;
  cursor: pointer;
  color: #FFF;
  font-family: helvetica;
  font-size: 2vw;
  font-weight: bold;
  margin: 65px 0px 0px 50px;
  letter-spacing: 2px;
  padding: 1.5vw;
  text-decoration: none;
}

/* Image on the homepage */
.titleimage {
  display: block;
  float: right;
  height: 100%;
  margin-right: auto;
  padding: 0px 25px 0px 20px;
  width: 50%;
}

/* For all of the other pages */
/* Main title for all of the other pages */
h2 {
  background-color: #FFF7F5;
  color:black; 
  font-family: helvetica;
  font-size: 4vw;
  margin-top:-5px;
  padding: 18px 0px 18px 0px;
  text-align: center;
  }

/* The layout of the horizontal nav */
.navbar {
  overflow: hidden;
  background-color: #FFF7F5;
  font-family: helvetica;
  width: 100%;
  display: flex;
}

/* Links inside the horizontal nav */
.navbar a {
  float: left;
  font-size: 2vw;
  font-weight: bold;
  height: 2vw;
  margin-right: 7.5vw;
  color: black;
  letter-spacing: 2px;
  text-align: center;
  text-decoration: none;
  padding: 15px 0px 15px 5px;
}

/* The courses dropdown container on the horizontal nav*/
.dropdown {
  float: left;
  overflow: hidden;
  margin-right: 9vw;
  display: flex;
}

/* Courses dropdown button on the horizontal nav */
.dropdown .dropbtn {
  font-size: 2vw;
  font-weight: bold;
  letter-spacing: 2px;
  color: black;
  padding: 3px 0px 0px 0px;
  background-color: #FFF7F5;
  font-family: helvetica; 
  margin: 0; 
  border: none;
}

/* Add a brownish background color to navbar links when the user hovers */
.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #F7C1B5;
}

/* Content for the courses dropdown */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #FFF7F5;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the courses dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

/* Add a brownish background color to the courses dropdown links when the user hovers */
.dropdown-content a:hover {
  background-color: #F7C1B5;
}

/* Show the courses dropdown menu when the user hovers */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Courses page */
/* Layout of carousel on courses page */
.carousel-cell {
  background-color: white;
  border: 2px solid black;
  width: 33.3%;
  height: 50vw;
  letter-spacing: 2px;
  margin-left: 5px;
  margin-right: 20px;
  margin-top: 50px;
  padding-bottom: 20px;
  text-align: center;
  font-size: 1.5vw;
}

.carousel-cell img {
  width: 80%;
  height: 50%;
}

/* Style of links to take them to the different skills pages */
.carousel-cell a {
  color:black; 
  font-family: helvetica;
  font-size: 2vw;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}

/* Layout of button on the courses carousel */
.coursesbuttons {
  background-color: #F7C1B5;
  cursor: pointer;
  color: #FFF;
  font-family: helvetica;
  font-size: 1.5vw;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 2vw 2vw;
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  text-decoration: none;
}

/* Pages that have information inside of flex boxes */
/* Style of flex box images */
.main-flexbox img {
  border: 2px solid black;
}

/* Layout of the first flex boxes on all pages with text */
.flexboxone {
  display:  flex;
  height: 75vw;
  margin: 50px;
}

/* Style of the first flex boxes which is in the div */
.flexboxone div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the first flex boxes text which is in the div */
.flexboxone div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the second flex boxes on all pages with text */
.flexboxtwo {
  display: flex;
  flex-direction: row-reverse;
  height: 75vw;
  margin: 50px;
}

/* Style of the second flex boxes which is in the div */
.flexboxtwo div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the second flex boxes text which is in the div */
.flexboxtwo div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the third flex boxes on all pages with text */
.flexboxthree {
  display: flex;
  height: 75vw;
  margin: 50px;
}

/* Style of the third flex boxes which is in the div */
.flexboxthree div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the third flex boxes text which is in the div */
.flexboxthree div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the fourth flex boxes on all pages with text */
.flexboxfour {
  display: flex;
  flex-direction: row-reverse;
  height: 75vw;
  margin: 50px;
}

/* Style of the fourth flex boxes which is in the div */
.flexboxfour div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the fourth flex boxes text which is in the div */
.flexboxfour div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the fifth flex boxes on all pages with text */
.flexboxfive {
  display: flex;
  height: 75vw;
  margin: 50px;
}

/* Style of the fifth flex boxes which is in the div */
.flexboxfive div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the fifth flex boxes text which is in the div */
.flexboxfive div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the sixth flex boxes on all pages with text */
.flexboxsix {
  display: flex;
  flex-direction: row-reverse;
  height: 75vw;
  margin: 50px;
}

/* Style of the sixth flex boxes which is in the div */
.flexboxsix div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the sixth flex boxes text which is in the div */
.flexboxsix div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the seventh flex boxes on all pages with text */
.flexboxseven {
  display: flex;
  height: 75vw;
  margin: 50px;
}

/* Style of the seventh flex boxes which is in the div */
.flexboxseven div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the seventh flex boxes text which is in the div */
.flexboxseven div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the eighth flex boxes on all pages with text */
.flexboxeight {
  display: flex;
  flex-direction: row-reverse;
  height: 75vw;
  margin: 50px;
}

/* Style of the eighth flex boxes which is in the div */
.flexboxeight div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the eighth flex boxes text which is in the div */
.flexboxeight div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the ninth flex boxes on all pages with text */
.flexboxnine {
  display: flex;
  height: 75vw;
  margin: 50px;
}

/* Style of the ninth flex boxes which is in the div */
.flexboxnine div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the nineth flex boxes text which is in the div */
.flexboxnine div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Layout of the tenth flex boxes on all pages with text */
.flexboxten {
  display: flex;
  height: 75vw;
  margin: 50px;
}

/* Style of the tenth flex boxes which is in the div */
.flexboxten div {
  background-color: white;
  border: 2px solid black;
  padding-left: 20px;
  width: 75%;
}

/* Style of the tenth flex boxes text which is in the div */
.flexboxten div p {
  font-family: helvetica;
  font-size: 1.5vw;
  letter-spacing: 2px;
}

/* Skills Quiz */
/* Layout of the skills quiz on the skills quiz page */
.skillsquiz {
  width: 500vw;
  height: 100%;
  padding-left: 1px;
}

/* Flashcards */
/* Title for the flex boxes and flashcard pages (inner flashcard title) */
h3 {
  color:black; 
  font-family: helvetica;
  font-size: 2vw;
  padding-bottom: 5px;
}

/* Other title for flashcard pages */
h4 {
  font-family: helvetica;
  font-size: 4vw;
  letter-spacing: 2px;
  text-align: center;
  text-decoration: underline;
}

/* Layout of the flashcards on the flashcards page */
.flip-card {
  background-color: transparent;
  border: 2px solid black;
  width: 50vw;
  height: 52vh;
  perspective: 1000px;
  margin-left:26%;
  margin-bottom: 5%;
}

/* Design of the flashcards on the flashcards page */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

/* Flashcard flips when the user hovers over it */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Design of the front of the flashcards */
.flip-card-front {
  background-color: #F7C1B5;
  color: black;
}

/* Design of the back of the flashcards */
.flip-card-back {
  background-color: #F7C1B5;
  color: black;
  transform: rotateY(180deg);
}

/* Style of the text of the flashcards */
.flip-card p {
  font-size: 1.18vw;
  letter-spacing: 2px;
}