@import url('https://fonts.googleapis.com/css2?family=Hind+Mysuru:wght@300;400;500;600;700&display=swap'); ::-webkit-scrollbar { display: none; } body { font-family: "Hind Mysuru", sans-serif; background-color: #003049; color: #dad7cd; } h1{ color: #118ab2;font-weight: bold;text-transform: uppercase;font-size: 4rem;} #search-bar { width: 320px; padding: .7rem; font-size: 1.2rem; height: fit-content; } .movie { background-color: #e58691; width: 320px; margin-bottom: 1rem; line-height: 0; color: black; position: relative; } .movie-poster { width: 130px; object-fit: contain; } .movie-title { font-size: 1.3rem; padding: 1.5rem 1rem 0; line-height: 1; text-transform: uppercase; font-weight: bold; } .movie-year{ position: absolute; top: 60px; right: 0; padding: .7rem; background-color: #adc178; } .movie-casting { position: absolute; top: 110px; right: 0; padding: .7rem; width: 50%; background-color: #ffffff99; line-height: 1.3; } .movie-synopsis { font-size: 1.07rem; line-height: 1.2; font-weight: 400; padding: 0 1rem 1rem; text-align: justify; hyphens: auto; } .open-button{ padding: 1rem; text-transform: uppercase; background-color: #fcbf49; font-weight: 600; position: absolute; top: 0; right: 0; display: grid; } .close-button { background-color: red;width: max-content;font-size: 2.5rem;margin-top: 1rem;padding: 1rem; padding-bottom: 0;} .open-button:hover, .close-button:hover, .close-movie:hover { background-color: #CCC;color: black; } .trailer-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); justify-content: center; align-items: center; z-index: 1000; } .trailer-content { position: relative; background: black; padding: 2em; display: flex;flex-direction: column-reverse; color: black; } .movie-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); justify-content: center; align-items: center; z-index: 1000; } .close-movie { position: absolute; top: 0; right: 0; background: none; border: none; color: white; font-size: 1rem; cursor: pointer; padding: 1rem; background-color: black; } iframe { aspect-ratio: 16/9; width: 880px; } @media (max-width: 1199px) { html{ background-color: black; } body { display: none; } }