
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  width: 500px;
  height: auto;
}

.titles {
  text-align: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  color: white;
}

.titles h1 {
  font-size: 24px;
  margin: 0;
}





.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  background-color: inherit;
  padding: 0 20px;
  z-index: 1000;
}

i.fa-bars,
i.fa-envelope {
  color: #63ff69;
  font-size: 24px;
}

.hamburger {
  cursor: pointer;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 10% 0;
}

.overlay a {
  font-size: 36px;
  color: #f2f2f2;
  padding: 15px;
  transition: 0.3s;
  text-decoration: none;
}

.overlay a:hover,
.overlay a:focus {
  color: #ddd;
}

.closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
  color: #f2f2f2;
}

.closebtn:hover,
.closebtn:focus {
  color: #ddd;
  cursor: pointer;
}
button {
  margin-right: 8px;
  margin-left: 8px;
  margin-top: 1rem ;
  background-color: #333;
  color: white;
  font-size: 16px;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #555;
}

/* Style the select element */
select {
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  border: none;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}

/* Style the options */
option {
  font-size: 1rem;
  padding: 0.5rem;
  background-color: #fff;
  color: #000;
}

/* Style the selected option */
option:checked {
  font-weight: bold;
  background-color: #000;
  color: #fff;
}

/* Style the select element when focused */
select:focus {
  outline: none;
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
}

/* Set the width of the select element */
#feeling-choice {
  width: 100%;
  max-width: 20rem;
  margin: 1rem auto;
}

/* Set video background to fill the entire viewport */
#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Add overlay to improve text readability */
#overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;

}

/* Add centered text */
#content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px #000;
}

source{
  width: 100%;
  height: 100%;
}

#ayah-quote {
  height: 100px; /* Set the height of the container */
}


#content #feeling-text {
    font-size: 1.5rem;
}

.hidden {
  display: none;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-width: 320px) {
  #feeling-choice {
    display: none;
  }
  

}

@media only screen and (min-width: 320px) {
  select {
    font-size: 1rem;
    padding: 0.5rem;
    margin: 0.5rem 0;
  }
  #ayah-meaning {
    font-size: 15px;
  }

  #ayah-quote{
    font-size: 20px;
  }

}

@media only screen and (min-width: 400px) {
  select {
    font-size: 1.2rem;
    padding: 0.5rem;
    margin: 1rem 0;
  }
  #ayah-meaning {
    font-size: 15px;
  }

}

@media only screen and (min-width: 600px) {
  select {
    font-size: 1.5rem;
    padding: 0.7rem;
    margin: 2rem 0;
  }
  #ayah-meaning {
    font-size: 15px;
  }

}

@media only screen and (max-width: 767px) {
  img {
    max-width: 100%; /* take up the full width of the screen */
    margin-bottom: 1em; /* add some spacing below the image */
  }

  #content {
    font-size: 16px;
    line-height: 1.3;
  }
  #ayah-meaning {
    font-size: 15px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #content {
    font-size: 20px;
    line-height: 1.6;
  }
  
  #ayah-meaning {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  #content {
    font-size: 22px;
    line-height: 1.8;
  }
  
  #ayah-meaning {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {
  #video-background {
    max-width: 100%;
    height: 100%;
  }
  
#ayah-meaning {
  font-size: 15px;
}

  #content {
    font-size: 1.5rem;
  }

  img {
    min-width: 300px;
  }
}
