* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Garamond, serif;
  background: #111;
  color: #fff;
  position: relative;
}

header {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 20px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.center-logo {
  text-align: center;
  position: relative;
  z-index: 1;
}

header h1 {
  margin: 0;
  color: #DB202C;
}

button {
  padding: 10px 20px;
  font-size: 18px;
  background-color: #DB202C;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.1s ease;
  position: relative;
  z-index: 1;
}

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

.browsebutton{
  text-align: center;
}

nav {
  background-color: rgba(51, 51, 51, 0.7);
  display: flex;
  justify-content: center;
  padding: 10px 0;
  position: relative;
  z-index: 1;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
  color: #DB202C;
}

.banner {
  align-items: center;
  text-align: center;
  font-weight: bold;
  font-size: 24px;
  padding: 100px;
  height: 166vh;
}

.movie-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.movie-card {
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden;
  width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.movie-card img {
  width: 100%;
  height: auto;
}

.movie-card h3 {
  margin: 10px;
}

footer {
  background-color: rgba(31, 31, 31, 0.7);
  color: #aaa;
  text-align: center;
  padding: 15px;
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 1;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.main-container {
  flex: 1;
}

h2{
  text-align: center;
}

h3{
  text-align: center;
  text-justify: inter-word;
}

/* MOBILE DISPLAY START*/
@media screen and (max-width: 768px) {
  /* Header adjustments */
  header {
    padding: 15px 10px;
  }
  
  header h1 {
    font-size: 1.5rem;
  }
}
