@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');


html, body {
  height: 100%;
  margin: 0;
}

body{
  background-color: rgb(16, 16, 18);
  align-items: center;
  text-align: center;
  font-family: 'DM Sans', monospace, sans-serif;
  display: flex;
  flex-direction: column;
}


h1{
    color: white;
    font-size: 60px;
}
h2{
    color: white;
    font-size: 55px;
}
p{
    color: white;
    font-size: 40px;
}
h3{
    color: white;
    font-size: 20px;
    font-weight: 300;
}

bold{
  font-weight: 600;
}

a{
    text-decoration: none;
  }
  a:link {
    color: white;
  }
  /* visited link */
  a:visited {
    color: white;
  }
  /* mouse over link */
  a:hover {
    color: gray;
  }
  /* selected link */
  a:active {
    color: gray;
  }

  footer {
    margin-top: auto;
    display: flex;
    color: white;
    padding: 10px 20px;
    text-align: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  footer p {
    font-size: 16px;
  }

  .login {
    display: none;
}

.logincheck {
  display: none;
}

  .button-container {
    text-align: center;
  }
  
  .button {
    padding: 10px 20px;
    margin: 5px;
    font-size: 16px;
    background-color: rgb(57, 55, 55);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .button:hover {
    background-color: rgb(40, 40, 40)
  }

.test{
  display: none;
}

#button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.button-box {
  background-color: rgb(57, 55, 55);
  border: 1px solid rgba(44,44,44,255);
  border-radius: 5px;
  padding: 10px;
  width: 200px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  font-size: 12px;
  text-align: center;
  overflow: hidden;
  z-index: 10;
}

.button-box:hover {
  transform: scale(1.05);
  cursor: pointer;
}
#unavailable{
    cursor: not-allowed;
    background-color: rgba(0, 0, 0, 0.363);
    border: 1px solid rgba(0, 0, 0, 0.363);
}
#unavailable:hover{
    display: block;
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1);
  }



.button-box p {
  margin: 5px 0;
  font-size: 20px;
  word-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pagination-controls {
  text-align: center;
  margin-top: 20px;
}

.pagination-controls button {
  margin: 0 10px;
}

.center-box {
    background-color: rgb(16,16,18);
    padding: 20px;
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .info-box {
    background-color: rgb(16,16,18);
    color: white;
    padding: 10px;
    border: 1px solid rgb(16,16,18);
    border-radius: 5px;
    margin-bottom: 10px;
}

.message {
  margin-top: 20px;
  font-size: 14px;
}

.error {
  color: red;
}

.success {
  color: green;
}

.logbutton:hover{
  background-color: rgb(54, 0, 0)
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.modal-box {
  background-color: rgba(44,44,44,255);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  position: relative;
  width: 90%;
  max-width: 500px;
  max-height: 80%;
  overflow-y: auto;
  --animate__faster: 1000ms;
  z-index: 100;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  background-color: #ccc;
}

.modal-content {
  display:block;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.modal-title{
  font-size: 50px;
}

  img{
    max-width: 100%;
  }

  
.site-header {
  background-color: rgb(26, 26, 28); 
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-title {
  color: white;
  font-size: 36px;
  margin: 0;
  font-family: 'DM Sans', monospace, sans-serif;
  text-align: center;
}

.site-nav {
  margin-top: 10px;
  text-align: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: gray;
}

@media (min-width: 600px) {
  .site-header {
      padding: 20px 40px;
  }

  .site-title {
      font-size: 48px;
  }

  .nav-link {
      font-size: 20px;
  }
}

.movies-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.movie-card {
  padding: 10px 20px;
  margin: 5px;
  font-size: 16px;
  background-color: rgb(57, 55, 55);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'DM Sans', monospace, sans-serif;
  transition: 0.2s;
  width: 80%;
  max-width: 200px;
}

.movie-card:hover {
  transform: translateY(-5px);
}

.movie-title {
  font-size: 18px;
  margin: 10px 0;
}

.movie-quality {
  color: #888;
}
.movie-card p{
  font-size: 18px;
}