/*
    Author: Betty Kao
    Date: May/4/2021

    This is the style.css page for index.html
    This is the style sheet that is used on index.html
*/

* {
  font-family: "Montserrat", sans-serif;
}

.button {
  background-color: #ff4529;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 30px;
  box-shadow: 0 3px hsl(8, 54%, 53%);
}

.button:hover {
  background-color: #df4f36;
  cursor: pointer;
}

.button:active {
  background-color: #df4f36;
  box-shadow: 0 5px #666;
  transform: translateY(4px);
}

.webmadewell {
  background-color: white;
}
body {
  margin: 0;
}

p {
  font-size: 15px;
}

.header {
  left: 0;
  top: 0;
  width: 100%;
  background-image: url("./img/sky_cover.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.header::before {
  content: "";
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.3;
}
.header-section {
  position: relative;
  padding: 15% 0 10%;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}
h1 {
  font-weight: 500;
}
h2 {
  font-weight: 400;
}
.section-wrap {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section {
  position: relative;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 40px;
}

.section-below {
  position: relative;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  padding: 5px;
}

body {
  background: url("./img/sunset.jpeg");
  background-size: cover;
  background-repeat: no-repeat;
}

.hidden {
  display: none;
}

.flex-container {
  display: flex;
  background-color: rgb(246, 235, 246);
}

.options, #next-second-button, #next-third-button, #next-fourth-button, #next-fifth-button {
  flex: 1;
  margin-top: 5px;
}  

#next-second-button, #next-third-button, #next-fourth-button, #next-fifth-button {
  background-color: #ffcc41;
  border: none;
  border-radius: 5px;
  color: rgb(255, 136, 0);
  padding: 8px 28px;
  margin-right: 10px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  box-shadow: 0 3px hsl(34, 100%, 50%);
  position:relative;
  /* margin-top:80%; */
}

#next-second-button:hover, #next-third-button:hover, #next-fourth-button:hover, #next-fifth-button:hover {
  background-color: #f8b706;
  cursor: pointer;
}

a {
  position:relative;
  margin-top:13%;
  margin-bottom:2%;
}

.flex-child:first-child {
  margin-right: 20px;
} 

.option {
  background-color: #da699e;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  display: block;
  margin: 20px;
  font-size: 15px;
  box-shadow: 0 3px hsl(286, 48%, 68%);
}

.active, .option:hover {
  background-color: #be3f7b;
  border: none;
  border-radius: 5px;
  color: white;
  padding: 7px 20px;
  text-align: center;
  text-decoration: none;
  display: block;
  margin: 20px;
  font-size: 15px;
  box-shadow: 0 3px hsl(286, 48%, 68%);
  cursor: pointer;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}

/* .modal-body * {
  font-si: sans-serif;
} */

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-title-incorrect {
  color: red;
}

.modal-title-correct {
  color: rgb(13, 153, 13);
}

.same-background {
  background: linear-gradient(#bacbeb, #ecd8f0);
}

html {
  scroll-behavior: smooth;
}

a:hover {
  text-decoration: none;
}

hr.divider {
  border-top: 3px dashed rgb(95, 37, 255);
  margin: 2px;
}

.references {
  font-size: 10px;
  font-family: sans-serif;
}
