@font-face {
    font-family: "Hack";
    src: url("Hack-Regular.ttf");
}

h1,h2,p,span {
    color: #aaa;
}

body {
    font-family: "Hack", Arial, sans-serif;
    background-color: #0a0314;
    margin: 0;
    padding: 20px;
}

.container {
    text-align: center;
    background-color: #2a2334;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.option {
    padding: 0.8rem 1.5rem;
    background-color: #663399;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.option:hover {
    background-color: #8a2be2;
}
.gallery {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 65%;
    margin: 0 auto;
    justify-content: center;
}

.sidebar {
    width: 20%; /* Takes remaining 20% */
    background-color: rgba(20, 20, 30, 0.8);
    color: white;
    padding: 20px;
    height: 100%; /* Full height */
    overflow-y: auto; /* Scroll if content overflows */
    position: sticky; /* Stays fixed while scrolling */
    top: 0; /* Align to top */
    right: 0; /* Align to right */
}

.movie-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(230, 230, 250, 0.7); /* Light purple shadow */
    transition: transform 0.3s;
    display: block;
    text-align: center;
    width: 180px;
}

.movie-card:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(230, 230, 250, 0.9); /* Slightly stronger shadow on hover */
}
.movie-card:hover {
    transform: scale(1.03);
}

.movie-poster {
    width: 100%;
    height: auto;
    display: block;
}

.movie-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-family: "Hack";
    font-size: clamp(16px, 2vw, 24px);
    font-weight: bold;
}

.series-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.series-image {
    flex: 0 0 200px; /* Fixed width for the image */
}

.series-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.series-info {
    flex: 1; /* Take remaining space */
    display: flex;
    flex-direction: column;
}

.series-info h1 {
    margin: 0;
    color: #d1d1d1;
}

.series-description {
    background-color: #a9a9a9;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.series-description p {
    color: #d1d1d1;
}
.search-container {
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
}

#search-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

#search-input:focus {
    outline: none;
    border-color: #663399;
}

.play img {
    width: 50px;
    height: 50px;
}

.centerer {
    align-items: center;
}

.login-container {
    background-color: #2a2334;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    align-self: center;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    color: #aaa;
}
input[type="password"] {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    width: 100%;
    padding: 0.75rem;
    background-color: #663399;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
button:hover {
    background-color: #8a2be2;
}
.error {
    color: red;
    margin-bottom: 1rem;
}

.slider-container {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #0a0314;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

#slider-label {
    font-size: 16px;
    font-weight: bold;
}
