/* Emergency Exit Popup*/
*,
*:before,
*:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #0f72e5;
}
body.no-scroll {
    overflow: hidden;
}
.popup{
    background-color: #ffffff;
    width: 25%px;
    padding: 1% 2%;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    border-radius: 3%;
    font-family: "Poppins",sans-serif;
    display: none;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    z-index: 9999;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Popup backdrop */
.popup-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 9998;
}
.popup button{
    display: block;
    margin:  0 0 5% auto;
    background-color: transparent;
    font-size: 30pt;
    color: #0f72e5;
    border: none;
    outline: none;
    cursor: pointer;
}
.popup p{
    font-size: 15pt;
    text-align: justify;
    margin: 10% 0;
    line-height: 20pt;
}

body {
    background-image: url("images/EEP Background.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif, sans-serif;
    font-size: 15pt;
    line-height: 1.6;
    margin: 10%;
}


/* apply the 20px spacing to the main content only */
.page-content { margin: 10%; }


h1 {
    text-align: center;
    background-color: #f5b58f;
    border-radius: 25px;
}

h2 {
text-align: center;
background-color: #c495eb;
    border-radius: 25px;
}

h4 {
  font-weight: bold;
}

#separator {
    color: #f5b58f;
    text-align: center;
    background-color: #f5b58f;
    border-radius: 25px;
    font-size: smaller;
}

#footnotes {
    color: rgb(29, 28, 28);
    font-style:italic;
    font-size: 10pt;
    text-align: center;
}

#mostdesirable {
    color:rgb(42, 148, 148);
    font-weight: bold;
    font-size: large;
}

#middleground {
    color:rgb(190, 124, 0);
    font-weight: bold;
    font-size: large;
}

#leave {
    color:red;
    font-weight: bold;
    font-size: large;
}

#small-img {
    width:25%;
    /* border-radius:25px;--> */
    border-image-slice: 1;
    padding: 10px;
    background: linear-gradient(#faf7c0, #ffffff, #c495eb, #797979);
    border-radius: 30px;
    margin-right: 20px;
    margin-bottom: 10px;
    min-width: 100px;
    max-width: 200px;
}

#banner {
  width: 100%;
  border-radius: 15px;
  display: block; margin: 0 auto;
}

#face-ranks {
  width: 30%;
  align-items: center;
  display: block; margin: 0 auto; 

}

/* state tables */
table, th, td {
  border: 1px solid rgb(255, 183, 0);
  width: 33%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  vertical-align: middle;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:nth-child(odd) {
  background-color: #a5a5a5;
}

tr:hover {
  background-color: #fff433;;
}

/* resource filters */
.filterDiv {
  float: left;
  background-color: #c495eb;
  color: #ffffff;
  width: 100%;
  text-align: center;
  margin: 2px;
  display: none;
  border: transparent;
  border-radius: 25px;;
}

.show {
  display: block;
}

.container {
  margin-top: 20px;
  overflow: hidden;
  margin: 0 auto;
}

/* Style the buttons */
.btn {
  border-radius: 15px;
  border: transparent;
  outline: none;
  padding: 12px 16px;
  background-color: #f5b58f;
  cursor: pointer;
}

.btn:hover {
  background-color: #2196F3;
}

.btn.active {
  background-color: #c495eb;
  color: white;
}



.kofi {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 3px 3px;
    background-color: transparent;
    border: transparent;
    cursor: pointer;
    z-index: 1000; /* Ensures the button is above other content */
}

/* fixed navigation toggle that stays on screen and slides */
.nav-toggle {
  position: fixed;
  top: 10px;
  left: 10px;
  font-size: 30px;
  cursor: pointer;
  z-index: 999; /* just beneath the sidenav (1000) so it sits behind when menu opens */
  background: #f5b58f;
  padding: 6px 10px;
  border-radius: 6px;
  transition: left 0.3s ease;
}

@media screen and (max-width: 480px) {
  .nav-toggle { top: 8px; left: 8px; font-size: 26px; padding: 5px 8px; }
}

/* Ko-fi button at bottom of page */
.kofi2 {
    padding: 10px;
    background-color: #f5b58f;
    border-radius: 25px;
    border: transparent;
    cursor: pointer;
    margin: auto;
    display: block;
}

/* Contact form*/
#contact-form {
    padding: 10px;
    background-color: #f5b58f;
    border-radius: 25px;
    border: transparent;
    cursor: pointer;
    margin: auto;
    display: block;
    
}

form { 
  margin: 0 auto; 
  width: 300px;
}

input:not([type="checkbox"]), textarea {
  padding: 10px;
  border: transparent;
  border-radius: 15px;
  max-width: 280px;
  max-height: 300px;
  min-width: 280px;
  min-height: 20px;
  color:#262626;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

input[type="submit"] {
  background-color: #5BCEFA;
  color: white;
  font-weight: bold;
  border: transparent;
  border-radius: 15px;
  cursor: pointer;
  min-width: 285px;
  min-height: 20px;
}


.copyright {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: rgb(29, 28, 28);
  }

  /* Contact form styling */
  #contact {
    padding: 50px 100px;

  }

  #contact-header {
    margin-bottom: 20px;
    color: #f5b58f;
    font-size: 50px;
    -webkit-text-stroke: 1px black;
    text-align: center;
  }

  /**Quick Escape**/
#quick-escape{
  --size: 75px;
  --background-color: var(--blue);
  --text-color: black;
  font-weight: bold;
  --offset:17px;
  --font-size: 15px;

  display: grid;
  place-items: center;
  height:var(--size, 50px);
  width:var(--size, 50px);
  position: fixed;
  right: var(--offset, 17px);
  bottom: var(--offset, 17px);
  z-index:99;
  padding: 5px;
  border-radius:50%;
  box-shadow: 2px 2px 5px #f5b58f;
  background: var(--background-color, #f5b58f);
  opacity:1;
  transition: all .5s ease;
  .text {
    font-size: var(--font-size);
    width: 100%;
    text-align:center;
    color: var(--text-color, #f5b58f);
  }
  &:hover {
    scale: 1.1;
  }
}

/* Dropdown/Side Navigation Menu */
/* Fixed sidenav, full height */
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  /* keep nav above overlay so links are not blocked */
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: #f5b58f;
  overflow-x: hidden;
  padding-top: 20px;
  transition: width 0.3s ease;
}

/* Style the sidenav links and the dropdown button */
.sidenav a, .dropdown-btn {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 20px;
  color: #BF40BF;
  display: block;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

/* On mouse-over */
.sidenav a:hover, .dropdown-btn:hover {
  color: rgb(42, 148, 148);
}

/* Main content */
.main {
  margin-left: 0;
  font-size: 20px; /* Increased text to enable scrolling */
  padding: 0px 10px;
  transition: margin-left 0.3s ease;
}

/* Add an active class to the active dropdown button */
.active {
  background-color: #FFAC1C;
  color: black;
}

/* Dropdown container (hidden by default). Optional: add a lighter background color and some left padding to change the design of the dropdown content */
.dropdown-container {
  display: none;
  background-color: #262626;
  padding-left: 8px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
  font-weight: bolder;
}

/* Some media queries for responsiveness */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* overlay that appears when sidenav is open; clicking it closes the nav */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: none;
  z-index: 900; /* beneath the sidenav but above other page content */
}

/* informational modal styling */
.info-modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
.info-content {
  background: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  position: relative;
}
.info-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}


