@import url('https://fonts.googleapis.com/css2?family=Jost&family=Roboto&display=swap');

.colorbold {
  color: purple;
  font-weight: bold;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(0, 0, 0);
  color: #FFFFFF;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 30px;
  font-family: tahoma;
  z-index: 1000;
  transition: all 1s ease-out;
}

.secondheader {
  position: fixed;
  top: 50px;
  left: 0px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  z-index: 1000;
  transition: all 1s ease-in-out;
  display: none;
}

.secondheader:hover {
  background-color: rgb(0, 0, 0);
  transition: all 0.7s ease-out;
}

.chocobo {
  height: 100%;
  transform: scalex(-1);
  position: relative;
  animation: runningchocobo 6s infinite;
}

.headerlist {
  list-style: none;
  display: flex;
}

.listheader {
  margin-right: 20px;
 }

 .listlink {
  color: #FFFFFF;
  text-decoration: none;
 }

.headercontainer {
  display: flex;
  height: 100%;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.headerbutton {
  background-color: #808080;
  color: #FFFFFF;
  cursor: pointer;
  border-radius: 9px;
  transition: all 0.5s ease-out;
  padding: 10px;
  margin-right: 1rem;
}

.headerbutton:hover {
  background-color: #606060;
  transition: all 0.5s ease-out;
}

.centerlog {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: #000000;
  background: rgba(0, 0, 0, 0.8);
  padding-top: 4rem;
}

.register {
  background-color: #CCCCCC;
  margin: 5% auto 15% auto;
  border: double #000000;
  width: 50%;
  font-weight: bold;
}

#formConfirmMessage {
  margin: 8px 0 8px 0;
  border-radius: 3px;
  box-sizing: border-box;
  background-color: rgb(67, 161, 67);
  padding: 0.5rem;
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  display: none;
}

.registerError {
  display: none;
  color: #DC3545;
  margin: 8px;
}

#tos {
  align-content: center;
}

#fname, #lname, #email, #password {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #000000;
  box-sizing: border-box;
}

#formbutton {
  background-color: #3230C7;
  color: #FFFFFF;
  padding: 14px 20px;
  margin: 0 auto;
  cursor: pointer;
  width: 75%;
  transition: all 0.5s ease-out;
  display: block;
}

#formbutton:hover {
  background-color: #1613cc;
  transition: all 0.5s ease-in;
}

#formbutton:disabled, #formbutton[disabled] {
  background-color: #a1a0bd;
  border: none;
  cursor: default;
}

.inputbox {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #CCCCCC;
  height: 80%"

}

body {
  background-color: #CCCCCC;
  font-family: 'Roboto', sans-serif;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #000000;
  padding-top: 40px;
  transition: all 0.4s ease-in;
}

.musicplayer {
  width: 300px;
  text-align: center;
  margin: auto;
  padding: 10px;
  opacity: 0.4;
}

.musicplayer:hover {
  opacity: 1;
}

.parentimg {
  width: 100%;
  height: 150px;
  padding: 10px;
  border-color: #000000;
  word-wrap: normal;
  display: flex;
}

.name {
  display: column;
  margin: 5px;
}

.joshuaimage1 {
  width: 150px;
  height: 100%;
  object-fit: cover;
  border-radius: 500px;
  filter: grayscale(0.6);
  transition: all 0.5s ease-out;
  top: 0px;
  left: 0px;
}

.joshuaimage1:hover {
  filter: grayscale(0);
}

h3 {
  background-color: rgba(11, 60, 151, 0.2);
}

.title {
  width: 75%;
  text-align: center;
  margin: auto;
  padding: 10px;
  border-style: none;
  border-color: #000000;
  word-wrap: normal;
  font-size: 2.5rem;
}

.imgbodycontent {
  width: 75%;
  margin: auto;
  padding: 10px;
}

.bodycontent {
  width: 75%;
  text-align: center;
  margin: auto;
  margin-bottom: 1rem;
  padding: 10px;
  border-style: double;
  border-color: #000000;
  word-wrap: normal;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-right: 1.3rem;
  gap: 0.5rem;
}

.gridimage {
  text-align: center;
  margin: 10px;
  border-style: solid;
  height: 350px;
  width: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(0.7);
}

.gridimage:hover {
  transition: all .3s ease-in;
  opacity: 1;
  transform: scale(1.25);
  height: auto;
  object-fit: cover;
  filter: grayscale(0);
}

.videobox {
  position: relative;
  display: block;
  width: 90%;
  /* width of iframe wrapper */
  height: 0;
  margin: auto;
  padding: 0% 0% 56.25%;
  /* 16:9 ratio */
  overflow: hidden;
}

.videobox iframe {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contactme {
  display: flex;
  flex-direction: column;
}

.contactmeBtn {
  border: none;
  padding: 10px;
}

.nasamap {
  width: 75%;
  height: 40rem;
  min-height: 10rem;
  margin: auto;
  padding: 10px;
}

/* Dark mode CSS styling */
.dark-mode {
  background-color: #333333;
  color: #F0F0F0;
  transition: all 0.4s ease-in;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 3.75rem;
  height:2.13rem;
  margin-bottom: 0.63rem;
  margin-inline: auto;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.sliderDarkMode {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #720000;
  transition: all 0.4s ease-in;
  border-radius: 2.13rem;
}

.sliderDarkMode:hover {
  background-color: #AE0000;
}

.sliderDarkMode:before {
  position: absolute;
  content: "";
  height: 1.63rem;
  width: 1.63rem;
  left: 0.25rem;
  bottom: 0.25rem;
  background-color: #FFFFFF;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .sliderDarkmode {
  background-color: #720000;
}

input:focus + .sliderDarkMode {
  box-shadow: 0 0 2px #000000;
}

input:checked + .sliderDarkMode:before {
  transform: translateX(1.63rem);
}

.redbg {
  background-color: #720000;
  transition: all 0.4s ease-in;
}

/* Age calculator styling */

.submit {
  border: 2px solid #000000;
  background-color: #ffffff;
  border-radius: 9px;
  color: #000000;
  transition: all 0.5s ease-out;
  cursor: pointer;
}

.submit:hover {
  border: 2px solid #720000;
  background-color: #AE0000;
  color: #FFFFFF;
}

.reset {
  border: 2px solid #000000;
  background-color: #FFFFFF;
  border-radius: 9px;
  color: #000000;
  transition: all 0.5s ease-out;
  cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'  width='40' height='48' viewport='0 0 100 100' style='fill:black;font-size:24px;'><text y='50%'>❗</text></svg>") 16 0,auto; 
}

.reset:hover {
  background-color: #000000;
  transition: all 0.5s ease-out;
  color: #FFFFFF;
}

#age {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1.25rem;
}

footer {
  margin-top: 30rem;
  text-align: center;
  padding: 3px;
  background-color: #3B3B3B;
  color: #FFFFFF;
  font-family: verdana;
  font-size: 10px;
  opacity: 0.8;
  transition: all 1s ease-out;
}

footer:hover {
  opacity: 1.0;
}

/* Media queries */

@media (min-width: 280px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .inputbox {
    display: none;
  }

  .chocobo {
    display: none;
  }

  .inputbutton {
    display: none;
  }

  .register {
  width: 80%
  }

  .nasamap {
    width: 95%;
    height: 20rem;
  }
}

@media (min-width: 650px) {
  header {
    font-size: 16px;
  }

  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@keyframes runningchocobo {
  0% {left: -300px;}
  49% {left: 300px; transform: scalex(-1)}
  51% {transform:scalex(1)}
  98% {left: -300px; transform:scalex(1)}
  100% {left: -300px; transform: scalex(-1)}
}