/* GENERAL STYLING */
* { /* Reset the space of the webpage */
   margin: 0px;
   padding: 0px;
   box-sizing: border-box;
}

body {
 background-color: #efe2ba; 
}

/* STYLE GENERAL TEXT */
h1 {
  color: #f13c20;
  text-align: center;
  margin-top: 40px;
  font-family: "Syne", sans-serif;
  font-size: 3em;
}

h2 {
  font-size: 2em;
  color: #4056a1
}

main {
  text-align: center;
  font-family: "Syne", sans-serif;
}

label {
  font-size: 1.25em;
}

p {
  font-size: 1.25em;
  text-align: center;
  font-family: "Syne", sans-serif;
}

/* STYLE HOME-PAGE IMAGES */
.home-imgs {
  overflow: hidden;
  padding: 40px 0;
  white-space: nowrap;
  position: relative;
}

.home-imgs-slide {
  display: inline-block;
  animation: 35s slide infinite linear;
}

.home-imgs-slide img {
  height: 500px;
  margin: 0 40px;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* STYLE NAVIGATION BAR */
nav {
   text-align: right;
   position: relative;
   font-family: "Syne", sans-serif;
}

nav ul {
  list-style-type: none;
  background-color: #E3A024;
  overflow: hidden;
  padding: 1em;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: #4056a1;
  font-size: 1.3em;
  padding: 1em;
}

nav ul li a:hover {
  background-color: #c5cbe3;
  color: #f13c20;
  border-radius: 50px;
  padding: 0.5em 1em;
}

/* STYLE PERSONAL SURVEY ON HOME PAGE */
.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.flex-item {
  flex-basis: 100%;
  margin: 1%;
  padding: 1%;
}

#name-item {
  background: #e2442c;
  border-radius: 10px;
}

#choice-item {
  background: #E3A024;
  border-radius: 10px;
}

#message-item {
  background: #c5cbe3;
  border-radius: 10px;
}

/*STYLE TEXT INPUT FIELD ON HOME-PAGE SURVEY */
input[type=text] {
  padding: 5px 8px;
  margin: 8px;
  border: 3px dotted #9e301f;
  background-color: #f5c4bc;
  border-radius: 10px;
  outline: none;
  font-family: "Syne", sans-serif;
  font-size: 1.1em;
}

input[type=text]:focus {
  border: 3px solid #9e301f;
}

input[type=text]:hover {
  background-color: #ffaea3;
}

/* STYLE RADIO BUTTONS LAYOUT ON HOME PAGE-SURVEY */
.radio-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  justify-content: center;
}

.radio-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left: 20%;
}

.radio-option input[type="radio"] {
  margin-right: 5px;
}
/* RADIO BUTTON STYLINGS FOR INDIVIDUAL BUTTONS ON SEPARATE CSS FILE */

/* STYLE FACT GENERATOR ON HOME PAGE */
.stat-container {
  background: #A581E0;
  border-radius: 10px;
  margin: 1% 8%;
  padding: 1% 3%;
}

#stat {
  font-size: 2em;
}

/*STYLE DRAGGABLE FACTS ON MYTHS PAGE */
.phone-text { display: none; }

.flex-facts{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.fact {
  flex-basis: 100%;
  margin: 1%;
  padding: 1%;
  background: #c5cbe3;
  border-radius: 10px;
  cursor: grab; 
  text-align: left;
}

.dropped-fact {
  padding: 10px;
  margin: 10px;
}

/* STYLE DROPBOX MYTHS ON MYTHS PAGE */
.dropBox {
  flex-basis: 100%;
  margin: 1%;
  padding: 1%;
  border: 3px dotted #E3A024;
  background: #eadaa9;
  border-radius: 10px;
  vertical-align: top;
  text-align: center;
}

.dropBoxesContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

/* MORE STYLING FOR BOTTOM HALF OF MYTHS PAGE ON script_myths.js FILE */
#mythUnder {
  font-size: 1em;
}

/* STYLE HOVER IMAGES AND SENTENCES ON TAKE ACTION PAGE */
#actionPicture {
  transition: opacity 0s ease;
  height: 375px;
  width: 600px;
  border: 3px dotted #E3A024;
  border-radius: 10px;
}

.hover-change {
  cursor: pointer;
  color: #8f8f8f;
  font-size: 1.75em;
  text-align: left;
  border-radius: 10px;
}

.hover-change:hover {
  color: black;
}

.black-text {
  color: black;
}

.grey-text {
  color: #8f8f8f;
}

.action-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

.action-item {
  flex-basis: 100%;
  margin: 0% 1%;
  padding: 1%;
}

/* STYLE INTRO AND ACTION METHODS TEXT IN TAKE ACTION PAGE */
#actionIntro {
  margin: 1%;
  padding: 1%;
  font-size: 1.5em;
  background: #c5cbe3;
  border-radius: 10px;
}

#action-text {
  padding: 1.25%;
  background: #e6b965;
  margin-left: 0%;
  margin-right: 3%;
  border-radius: 10px;
}

/* STYLE ENDING TEXT AND IMAGE ON TAKE ACTION PAGE */
#bottomActionPic {
  width: 70%;
  height: 70%;
  border-radius: 30px;
}

#actionBR {
  display: block; 
  content: ""; 
  margin-top: 10px; 
}

footer {
  margin: 1% 15%;
  padding: 1%;
  border-radius: 10px;
  background: #7CC9EB;
}

#footerText {
  font-size: 1.5em;
}

/* STYLE DESCRIPTION TEXT IN ABOUT PAGE */
#about-me {
  margin: 1%;
  padding: 1%;
  font-size: 1.5em;
  background: #eea69b;
  border-radius: 10px;
}

/* STYLE RESOURCES LIST ON ABOUT PAGE */
.resources-list {
  margin: 1% 20%;
  padding: 1% 6%;
  font-size: 1.5em;
  background: #c5cbe3;
  border-radius: 10px;
}

.resources {
  display: block;
  text-align: left;
}

.resources a {
  text-decoration-line: underline;
  text-decoration-style: solid;
  color: #4056a1;
  font-size: 1em;
  padding: 0em;
}

.resources a:hover {
  color: #f13c20;
}

/* STYLE THANK YOU TEXT AND IMAGE IN ABOUT PAGE */
#ending {
  margin: 1% 25%;
  margin-bottom: 2%;
  padding: 1%;
  font-size: 1.5em;
  background: #f5ce84;
  border-radius: 10px;
}

#cat-img {
  width: 50%;
  height: 50%;
  border-radius: 30px;
}

/* STYLE BOTTOM REFERENCES ON EACH PAGE */
.underReference {
  margin-bottom: 2%; 
}

.underReference a {
  color: #4056a1;
}

.underReference a:hover {
  color: #f13c20;
}

/* BUTTON STYLINGS ON SEPARATE CSS FILES */