@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    background-color: rgb(29, 29, 29);
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

h1 {
    font-size: 45px;
}

p {
    font-size: 25px;
}

#search {
    background-color: rgb(29, 29, 29);
    border-style: solid;
    outline: none;
    border-color: white;
    border-width: 2.5px;
    border-radius: 5px;
    padding: 12px;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 30%;
    text-align: center;
    transition: all ease-in-out 0.3s;
    font-size: 15px;
}

#search:placeholder-shown {
    font-style: italic;
}

#search:focus {
    border-color: white;
    box-shadow: 0 0 10px 3px rgba(255, 255, 255, 0.8);
}

button {
    background-color: rgb(29, 29, 29);
    border-style: solid;
    outline: none;
    border-color: white;
    border-width: 2.5px;
    border-radius: 5px;
    padding: 12px;
    color: white;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
    font-size: 15px;
}

button:hover {
    background-color: white;
    color: rgb(29, 29, 29);
}

.results {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    gap: 20px;
}

.movie {
    background-color: rgb(29, 29, 29);
    border: 2.5px solid white;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}

.movie:hover {
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
}

.movie img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.movie h2 {
    font-size: 18px;
    margin: 10px 0;
    color: white;
}

.watch-btn {
    background-color: rgb(29, 29, 29);
    border: 2.5px solid white;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 15px;
}

.watch-btn:hover {
    background-color: white;
    color: rgb(29, 29, 29);
}

nav {
    width: 97.7vw;
    background-color: rgb(19, 19, 19);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }

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

  nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease-in-out;
  }

  nav a:hover {
    color: #c4c4c4;
  }

  #player-container {
    background-color: rgb(19, 19, 19);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    width: 85%;
    max-width: 1400px;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 12.5%;
  }

  iframe {
    width: 100%;
    height: 100%;
    border: none;
    justify-self: center;
    left: 12.5%;
  }
  
  button#next-page {
    margin: 20px 0;
  }
  