@import url("https://fonts.googleapis.com/css2?family=Open+Sans&family=Pathway+Extreme:wght@400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Pathway Extreme", sans-serif;
  font-weight: 500;
}






/*about page*/
.box {
  width: 100px;
  height: 100px;
  background-color: red;
  position: relative;
  animation-name: example;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes example {
  0% {
    left: 0px;
    top: 0px;
  }
  50% {
    left: 200px;
    top: 0px;
  }
  100% {
    left: 0px;
    top: 0px;
  }
}

/*Footer details*/
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.fa {
  padding: 15px;
  font-size: 20px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}

.fa:hover {
  opacity: 0.5;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

/*Form Styles*/
form {
  font-family: 'Open Sans', sans-serif;
  max-width: 70vw;
  margin: 0 auto;
}

form h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
}

label {
  display: block;
  background-color: #f9f9f9; /* set the background color */
  padding: 10px; /* add some padding to create space around the label text */
  border-radius: 5px; /* add some rounded corners */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* add a box shadow for depth */
  font-family: "Open Sans", sans-serif;
}

input[type="radio"] {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

input[type="radio"]:checked + label {
  font-weight: bold;
  color: #0077cc;
  background-color: #0077cc;
  color: white; /* change the text color to white for contrast */
}

input:invalid {
  border: 2px solid red;
}

.card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease-in-out;
  padding: 20px;
  margin-bottom: 20px;
  width: 75vw;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.question {
  font-weight: bold;
  margin-bottom: 10px;
}

.answer {
  display: block;
  margin-left: 20px;
}

input[type="text"],
textarea,
input[type="email"] {
  border: none;
  background-color: #f2f2f2;
  padding: 10px 15px;
  font-size: 16px;
  color: #555;
  border-radius: 5px;
  box-shadow: none;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
  width: 100%;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus,
textarea:focus,
input[type="email"]:focus {
  outline: none;
  background-color: #ddd;
}

/* Desktops */
@media screen and (min-width: 1024px) {
  /* Your CSS for desktops goes here */
  /*Header----------------------------------------*/
#logo-img {
  height: 75px;
  width: 225px;
}

header {
  background-color: rgba(255, 255, 255, 0.4);
  margin-top: 10px;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  z-index: 2;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
}

nav li {
  margin: 10px;
}

nav a {
  text-decoration: none;
  color: #000000;
}

nav a:hover {
  background-color: #6e9bfc;
  padding: 5px;
  margin: 5px;
  color: whitesmoke;
  border-radius: 5px;
}

.hero-section {
  width: 100%;
  text-align: center;
  background-image: url(../images/hero2.jpg);
  background-size: cover;
  background-position: bottom;
  overflow: hidden;
  position: relative;
  z-index: 0;
  margin-top: 10px;
  height: 100vh;
  align-items: center;
}

.hero-info {
  background-color: rgba(250, 245, 245, 0.7);
  z-index: 9999;
  width: 100%;
  margin: 0 auto; /*this is auto center*/
  height: 100vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.hero-info h1,
.hero-info p {
  max-width: 80%;
  text-align: center;
}

.hero-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.hero-section a {
  display: inline-block;
  background-color: #333;
  color: #fff;
  font-size: 1.5rem;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

.hero-section a:hover {
  background-color: #fba70b;
}

section {
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

section:nth-of-type(even) {
  background-color: #e8e6e6bd;
  padding-bottom: 20px;
}

section h2 {
  font-size: 2.5rem;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

section p {
  font-size: 1.25rem;
  line-height: 1.75;
  margin-bottom: 5px;
  text-align: center;
}

section a,
input[type="submit"],
input[type="reset"] {
  display: inline-block;
  background-color: #333;
  color: #fff;
  font-size: 1rem;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  margin: 20px auto;
}

  /*superhero cards*/
.superpower-info {
  display: flex;
  flex-wrap: wrap;
}

.super-card:last-child {
  margin-right: 10px;
}

.super-card {
  max-width: 20%;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.super-card-header {
  padding: 20px;
  background-color: #0077cc;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 5em;
}

.super-card img {
  width: 138px;
  height: 138px;
}

.super-phrase {
  font-weight: 700;
  font-style: italic;
  font-size: small;
  margin: 0 auto;
}

.super-card-body {
  padding: 15px;
  font-size: 14px;
}

}

/* Tablets */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* Your CSS for tablets goes here */
  header {
    background-color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
  }
  
  nav {
    display: flex;
    align-items: center;
    justify-content:space-between;
    z-index: 2;
    flex-direction: row;
  }
  nav ul {
    display: flex;
    list-style: none;
    /* visibility: hidden; */
   
  }
  
  nav li {
    margin: 10px;
  }
  
  nav a {
    text-decoration: none;
    color: #000000;
    font-size:small;
    text-align: center;
  }

  .hero-section {
    width: 100%;
    text-align: center;
    background-image: url(../images/hero2.jpg);
    background-size: cover;
    background-position: bottom;
    overflow: hidden;
    position: relative;
    z-index: 0;
    margin-top: 10px;
    height: 80vh;
    align-items: center;
  }
  
  .hero-info {
    background-color: rgba(250, 245, 245, 0.7);
    z-index: 9999;
    width: 100%;
    margin: 0 auto; /*this is auto center*/
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-info h1,
  .hero-info p {
    max-width: 80%;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
    margin-bottom: 20px;
  }
  
  .hero-section p {
    font-size: 1.25rem;
    margin-bottom: 40px;
  }
  
  .hero-section a {
    display: inline-block;
    background-color: #333;
    color: #fff;
    font-size: 1.5rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
  }
  
  .hero-section a:hover {
    background-color: #fba70b;
  }

  section {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  section:nth-of-type(even) {
    background-color: #e8e6e6bd;
    padding-bottom: 20px;
  }
  
  section h2 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  section p {
    font-size: .9rem;
    line-height: 1.75;
    margin-bottom: 5px;
  }
  
  section a,
  input[type="submit"],
  input[type="reset"] {
    display: inline-block;
    background-color: #333;
    color: #fff;
    font-size: .9rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 20px auto;
  }

  #logo-img {
    margin-top: 10px;
    height: 70px;
    width: 180px;
  }

  /*superhero cards*/
.superpower-info {
  display: flex;
  flex-wrap: wrap;
}

.super-card {
  max-width: 40%;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.super-card-header {
  padding: 20px;
  background-color: #0077cc;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 5em;
}

.super-card img {
  width: 138px;
  height: 138px;
}

.super-phrase {
  font-weight: 700;
  font-style: italic;
  font-size: small;
  margin: 0 auto;
}

.super-card-body {
  padding: 15px;
  font-size: 14px;
}

/*footer details*/
.fa {
  padding: 15px;
  font-size: 20px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}
.fa:hover {
  opacity: 0.5;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}
}

/* Mobile devices--------------------------------------- */
@media screen and (max-width: 767px) {
  /* Your CSS for mobile devices goes here */
  header {
    background-color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
  }
  
  nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    z-index: 2;
    flex-direction: column;
  }
  nav ul {
    list-style: none;
    /* visibility: hidden; */
   
  }
  
  nav li {
    margin: 10px;
  }
  
  nav a {
    text-decoration: none;
    color: #000000;
  }

  .hero-section {
    width: 100%;
    text-align: center;
    background-image: url(../images/hero2.jpg);
    background-size: cover;
    background-position: bottom;
    overflow: hidden;
    position: relative;
    z-index: 0;
    margin-top: 10px;
    height: 80vh;
    align-items: center;
  }
  
  .hero-info {
    background-color: rgba(250, 245, 245, 0.7);
    z-index: 9999;
    width: 100%;
    margin: 0 auto; /*this is auto center*/
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-info h1,
  .hero-info p {
    max-width: 80%;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .hero-section p {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  
  .hero-section a {
    display: inline-block;
    background-color: #333;
    color: #fff;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
  }
  
  .hero-section a:hover {
    background-color: #fba70b;
  }

  section {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  section:nth-of-type(even) {
    background-color: #e8e6e6bd;
    padding-bottom: 20px;
  }
  
  section h2 {
    font-size: 1.5rem;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  section p {
    font-size: .9rem;
    line-height: 1.75;
    margin-bottom: 5px;
  }
  
  section a,
  input[type="submit"],
  input[type="reset"] {
    display: inline-block;
    background-color: #333;
    color: #fff;
    font-size: .9rem;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 20px auto;
  }

  #logo-img {
    margin-top: 10px;
    height: 70px;
    width: 180px;
  }

  /*superhero cards*/
.superpower-info {
  display: flex;
  flex-wrap: wrap;
}

.super-card {
  max-width: 70%;
  margin: 10px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.super-card-header {
  padding: 20px;
  background-color: #0077cc;
  color: #fff;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  height: 5em;
}

.super-card img {
  width: 138px;
  height: 138px;
}

.super-phrase {
  font-weight: 700;
  font-style: italic;
  font-size: small;
  margin: 0 auto;
}

.super-card-body {
  padding: 15px;
  font-size: 14px;
}

/*footer details*/
.fa {
  padding: 15px;
  font-size: 10px;
  width: 40px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  border-radius: 50%;
}
.fa:hover {
  opacity: 0.5;
}

.fa-facebook {
  background: #3b5998;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}
}
