.abel-regular {
  font-family: "Abel", sans-serif;
  font-weight: 400;
  font-style: normal;
}
h1{
  font-family: "Abel", sans-serif;
}
h2{
  font-family: "Abel", sans-serif;
}
h3{
  margin-top: 100px;
  font-family: "Abel", sans-serif;
}
p{
  padding-left: 25px;
}
.dark-mode {
  background-color: #03192F;
  color: white;
}

.goofy-text{
  margin-left: 200px;
  margin-right: 200px;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .goofy-text {
      margin-left: 0;  
      margin-right: 0; 
      margin-bottom: 50px; 
  }
}

@media (max-width: 480px) {
  .goofy-text {
      margin-bottom: 30px; 
  }
}

body {
  font-family: "Quicksand", sans-serif;
  margin: 0;
  transition: background-color 0.3s, color 0.3s;
  background-color: #EFF3F3; 
  color: black;
  font-size: 25px;
  text-align: center;
}

.navbar {
  width: 100%;
  background-color: #3E6B92;
  overflow: auto;
  position: fixed; 
  top: 0; 
  z-index: 1000; 
  display: flex; 
  justify-content: center;  
}

.nav-links {
  display: flex; 
  flex-direction: row; 
}

.navbar a {
  display: inline-block; 
  padding: 20px 20px; 
  color: rgb(0, 0, 0);
  text-decoration: none;
  text-align: left;
  font-size: 17px;
}
.navbar a:hover {
  background-color: #ffffff;
}

@media screen and (max-width: 768px) { 
  .navbar {
    flex-direction: column; 
  }
  .nav-links {
    flex-direction: column; 
    display: none; 
  }
  .nav-links.show {
    display: flex; 
  }
  .toggle-button {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
}

@media screen and (min-width: 769px) { /* show the navbar and hide the toggle button */
  .nav-links {
    display: flex; 
  }
  #toggleButton {
    display: none; /* Hide toggle button on larger screens */
  }
}

.Textimg {
  display: grid;                 
  grid-template-columns: 1fr 1fr;
  gap: 20px;                   
  margin: 20px;               
  padding: 0 50px;               
  box-sizing: border-box;   
  margin-right: 100px;            
}

.Textimg img {
  max-width: 100%;              
  width: auto;                 
  height: auto;                 
  margin: 0;                      
  display: block;     
}

img.rsp {
  max-width: 100%;               
  height: auto;                 
}

@media (max-width: 800px) {
  .Textimg {
      grid-template-columns: 1fr; 
  }
  .text-content {
      margin-top: 10px;         
  }
}
@media (min-width: 1000px) { /*Small screens */
  .Textimg {
      grid-template-columns: 1fr 1fr; 
  }
  .Textimg img {
      max-width: 70%;          
  }
}

body {
  padding-top: 50px; /* Navbar height */
}

.card {
    background-color: #032541;
    
}
#movies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 25px;
}

#tvShows {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 25px;
}

.movie_item {
  margin: 1rem;
  text-align: center;
  font-size: 15px;
  overflow: hidden;
  border: 2px solid #333; 
  border-radius: 10px; 
  padding: 10px; 
}

.dark-mode .movie_item {
  border: 2px solid #fff; 
  background-color: #000000; 
}

.tv_item {
  margin: 1rem;
  text-align: center;
  font-size: 15px;
  overflow: hidden;
  border: 2px solid #333; 
  border-radius: 10px; 
  padding: 10px; 
}

.dark-mode .tv_item {
  border: 2px solid #fff; 
  background-color: #000000; 
}

.movie_item:hover {
  transform: scale(1.05); /* increases the hover size */
  box-shadow: rgba(0, 0, 0, 0.2); 
  opacity: 0.9;
  cursor: pointer;
}

.tv_item:hover {
  transform: scale(1.05);
  box-shadow: rgba(0, 0, 0, 0.2); 
  opacity: 0.9;
  cursor: pointer; 
}

.Desc{
  text-align: center;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s; 
}

button:focus {
  outline: none;
}

.rotate {
  transform: rotate(-180deg); 
}

.hero {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  position: relative;
  height: 60vh; 
  overflow: hidden;
}

.hero-image {
  grid-column: 1 / -1; 
  width: 100vw; 
  height: 100vh; 
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(45%);
  z-index: 1; 
 }
  
.hero-text {
  grid-column: 1 / -1; 
  position: relative;
  font-style: bold;
  z-index: 2; 
  color: white; 
  text-align: center;
  padding: 20px; 
  padding-top: 120px;
}

.footer {
  position: relative; 
  left: 0;
  width: 100%;
  height: 150px; 
  background-color: #1F4069;
  color: white;
  text-align: center;
  line-height: 50px; 
}

.footer img {
  max-width: 50px;               
  position: relative;
  margin-right: 10px;   
  margin-top: 10px;         
}