/* Front*/
html{
  scroll-behavior: smooth;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    background: rgb(180,5,5);
    background: linear-gradient(90deg, rgba(180,5,5,1) 0%, rgba(57,0,0,1) 50%, rgba(0,0,0,1) 100%);
    color: white;
    line-height: 1.6;
  }
  
  h1, h2 {
    font-family: "Doctor Glitch";
    font-weight: 700;
  }
  
  a {
    text-decoration: none;
    color: white;
    font-family: 'Open Sans', sans-serif;
  }
  
  button {
    padding: 15px 30px;
    font-size: 16px;
    background-color: #e50914;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
  }
  
  button:hover {
    background-color: #f40612;
  }
  
  /* Navigation Bar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #000;
  }
  
  .logo img {
    width: 50px;
    height: auto;
  }
  
  .logo-container {
    display: inline-block; /* Allows the div to wrap around the image */
    background-color: white; /* Sets the background color to white */
    padding: 5px; /* Optional: Adds some padding around the image */
    border-radius: 8px; /* Optional: Adds rounded corners */
}

.logo-container img {
    display: block; /* Ensures no extra space is added around the image */
    width: 50px; /* Adjust as needed */
    height: auto; /* Maintains aspect ratio */
}

  .nav-links a {
    margin-left: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    color: white;
    transition: color 0.3s;
    font-family: 'Montserrat', sans-serif;
  }
  
  .navbar .nav-links a:hover {
    color: #e50914;
  }
  
  .navbar .nav-links a.active {
    color: #e50914;
  }
  
 /* Hero Section */
.hero {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 60px;
  color: #EEE;
  margin-bottom: 20px;
  font-family: 'Doctor Glitch';
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
}

.cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e50914;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #ff6f61;
  color: #e50914;
}

.grid h2{
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #EEE;
  font-family: 'Roboto', sans-serif;
}
.video-item a {
    text-decoration: none;
    color: inherit;
    display: block;
    font-family: 'Open Sans', sans-serif;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
}

.video-thumbnail img {
    display: block;
    border-radius: 8px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-left: 40px solid rgba(255, 255, 255, 0.8);
    border-bottom: 20px solid transparent;
    border-radius: 5px;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-title {
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
    font-family: 'Roboto', sans-serif;
}

.head{
  font-family: 'Doctor Glitch';
  text-align: center;
  font-size: 30px;
}


/* General section styling */
.section {
  padding: 30px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

  
  /* Shared Grid Layout for both Movie Grid and Gallery Section */
  .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    margin: 0;
  }
  

  /* Pixel Items */ 
  .pixel{
    font-size: 30px;
    text-align: center;
    font-weight: 700;
    font-family: 'Lobster', sans-serif;
    margin-bottom: 20px;
    color: #EEE;
}

  h2{
    text-align: center;
    font-family: 'Doctor Glitch';
    
  }

  .pixel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    padding: 20px;
}


.pixel-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.pixel-item img {
    width: 100%;
    height: auto;
    display: block;
}

.pixel-item:hover {
    transform: scale(1.05);
}

.pixel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pixel-item:hover::after {
    opacity: 1;
}

  /* Authors Section */
  
  .authors-section {
    padding: 30px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
  }
  
  .authors-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Doctor Glitch';

  }
  
  .authors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    gap: 30px;
    padding: 20px;
  }
  
  .author-card {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    font-family: 'Open Sans', sans-serif;
  }
  
  .author-card img {
    width: 50%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.3s ease-in-out;
  }

  .author-card:hover img {
    transform: scale(1.1);
  }
/* Author 1 */
  .author-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    font-style: 'Episode-1';
  }
  
  .author-card p {
    font-size: 16px;
    color: #bbb;
  }
/*naglagay text color*/
  .author-details {
    color: #F2F3F4;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
  }

  .author-image-left, .author-image-right {
    flex: 1;
    text-align: center;
  }

  .author-image-left img, .author-image-right img {
    width: 150px;
    height: auto;
    border-radius: 50%;
  }

  .author-info-left, .author-info-right {
    flex: 2;
    padding: 10px 20px;
  }

  .author-info-left {
    text-align: right;
  }

  .author-info-right {
    text-align: left;
  }

  /* Contact Section */

.form-group {
  margin-bottom: 15px;
  text-align: left;
  background: linear-gradient(90deg, rgba(0,0,0,1)  0%, rgba(57,0,0,1) 50%, rgba(180,5,5,1) 100%);
}

.form-group label {
  color: #ccc;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
}

.form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  background-color: #333;
  color: #fff;
  resize: none;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  background-color: #333;
  color: #fff;
}

.label {
  color: #ccc;
  font-weight: bold;
}

.contact-section {
  width: 500px;
  padding: 30px;
  text-align: center;
  background: rgb(0,0,0); 
  background: linear-gradient(90deg, rgba(0,0,0,1) 0%, rgba(57,0,0,1) 50%, rgba(180,5,5,1) 100%);
  background-color: #1a1a1a;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  margin-top: 30px;
  margin-bottom: 30px;
}

.contact-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #fff;
  font-family: 'Montserrat', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);

}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label { 
  color: #ccc; 
  font-weight: bold; 
  font-family: 'Montserrat', sans-serif; 
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  border: none;
  background-color: #333;
  color: #fff;
  resize: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 8px rgba(229, 9, 20, 0.8);
}

label {
  color: #ccc;
  font-weight: bold;
}

  /* Footer */
  .footer {
    background-color: #333; 
    color: white; 
    text-align: center; 
    padding: 10px 0; 
    position: relative; 
    width: 100%; 
    bottom: 0; 
    flex-shrink: 0;
  }

  .footer p {
    margin: 0;
    font-size: 14px;
  }

  .animated-wavy-gradient { 
    background: rgb(180,5,5);
    background: linear-gradient(90deg, rgba(180,5,5,1) 0%, rgba(57,0,0,1) 50%, rgba(0,0,0,1) 100%);
    background-size: 200% 200%; 
    animation: wavy-gradient-animation 10s ease infinite; 
  } 
  
  @keyframes wavy-gradient-animation { 
    0% { 
      background-position: 0% 50%; 
    } 
    50% { 
      background-position: 100% 50%; 
    } 
    100% { 
      background-position: 0% 50%; 
    } 
  }