.small_card { width: 300px; height: 340px; background: #27292F; color: white; display: block; transition: opacity 0.9s ease; background: linear-gradient(to top, #27292F 45%, transparent 100%); border-radius: 10px; z-index: 1; } .poster_container { position: relative; height: 50%; width: 100%; background-size: cover; background-position: center; border-radius: 10px 10px 0px 0px; } .small_card .card_header { margin: 5px; display: flex; justify-content: space-around; position: relative; z-index: 2; } .small_card .movie_info { margin-left: 12px; margin-right: 12px; position: relative; word-wrap: break-word; z-index: 2; } .add_btn{ margin-left: 2%; width: 25%; background-color: #35373E; align-items: center; height: 43px; color: #FCFCFD; font-family: "JetBrains Mono",monospace; font-size: 18px; line-height: 1; border-radius: 6px; border-width: 0; box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#35373E 0 -3px 0 inset; box-sizing: border-box; transition: box-shadow .15s,transform .15s; user-select: none; -webkit-user-select: none; touch-action: manipulation; white-space: nowrap; will-change: box-shadow,transform; } .add_btn:focus { box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset; } .add_btn:hover { box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #35373E 0 -3px 0 inset; transform: translateY(-2px); } .add_btn:active { box-shadow: #D6D6E7 0 3px 7px inset; transform: translateY(2px); } ul.below_watch_btn { padding-left: 0; list-style-type: none; } ul.below_watch_btn li { display: inline-block; margin-right: 5px; color: blanchedalmond; font-family: "Inter", sans-serif;; font-size: 14px; font-weight: bolder; } ul.below_watch_btn li:last-child { margin-right: 0; } ul.below_watch_btn li::after { content: "•"; margin-left: 5px; color: #D6D6E7; } ul.below_watch_btn li:last-child::after { content: ""; } .small_card .movie_info div.story { color: #D6D6E7; font-size: 13px; font-family: "Inter", sans-serif; white-space: normal; word-wrap: break-word; line-height: normal; } .small_card .volume_control{ position: absolute; color:white; bottom: 8px; right: 16px; } .main_container { position: relative; margin-left: 0.4%; margin-right: 0.4%; display: flex; flex-wrap: wrap; height: 100vh; gap: 1%; } .player_iframe { margin-left: 0.5%; margin-top: 1%; width: 55%; height: 98vh; border-radius: 10px; overflow: hidden; } .main_container .player_iframe .movie_info{ margin-top: 1%; width: 100%; border-radius: 10px; word-wrap: break-word; } .main_container .recommendation_section { margin-top: 0.95%; border-radius: 10px; width: 42%; height: 95vh; } .main_container .recommendation_section .recommended_movies{ margin-top: 1%; width: 100%; display: flex; flex-wrap: wrap; height: inherit; row-gap: 2%; justify-content: space-evenly; overflow-y: auto; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } .recommended_movies::-webkit-scrollbar { display: none; } .button-4 { appearance: none; background-color: #FAFBFC; border: 1px solid rgba(27, 31, 35, 0.15); border-radius: 6px; box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset; box-sizing: border-box; color: #24292E; cursor: pointer; display: inline-block; font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; font-size: 14px; font-weight: 500; line-height: 20px; list-style: none; padding: 6px 16px; position: relative; transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1); user-select: none; -webkit-user-select: none; touch-action: manipulation; vertical-align: middle; white-space: nowrap; word-wrap: break-word; } .button-4:hover { background-color: #F3F4F6; text-decoration: none; transition-duration: 0.1s; } .button-4:disabled { background-color: #FAFBFC; border-color: rgba(27, 31, 35, 0.15); color: #959DA5; cursor: default; } .button-4:active { background-color: #EDEFF2; box-shadow: rgba(225, 228, 232, 0.2) 0 1px 0 inset; transition: none 0s; } .button-4:focus { outline: 1px transparent; } .button-4:before { display: none; } .button-4:-webkit-details-marker { display: none; } .server{ margin-top: 1%; display: flex; gap: 2%; } #myIframe { background-size: cover; object-fit: cover; /* Added to ensure content inside the iframe is also covered */ width: 100%; height: 60vh; border-radius: 10px; } @media screen and (max-width:800px){ .scroll-wrapper{ display: none; } .button-30{ width: 90%; } .add_btn{ margin-top: 5px; margin-left: 0px; width: 80%; } .main_container { margin-left: 5px; margin-right: 7px; } .recommendation_section{ display: none; } .player_iframe{ width: 100%; } .server{ margin-top: 2%; } #myIframe{ height: 50vh; } }