body { font-family: Helvetica; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 20px; background-image: url("https://watermark.lovepik.com/photo/40186/1536.jpg_wh1200.jpg"); background-position: center; background-repeat: no-repeat; background-size: cover; height: 100%; } h1 { color: #018749; font-size: 25px; margin: 5px 0; text-align: center; position: absolute; top: 2px; } h2 { color: #FFFFFF; font-size: 15px; margin: 2px 0; text-align: center; position: relative; top: 20px; } #video-container { width: 640px; height: 480px; margin-top: 20px; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); top: 30px; } #video-player { width: 100%; height: 100%; border-radius: 12px; outline: none; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); } @media (max-width: 720px) and (orientation: portrait) { #video-container { width: 90%; height: calc(90vw * 9 / 16); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15); border: 1px solid #A4A4A4; } #video-player { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); } } #channel-selector { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 20px; width: 80%; max-width: 800px; } @media (orientation: portrait) { #channel-selector { grid-template-columns: repeat(4, 1fr); } } .tile { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; width: 100%; padding-top: 100%; cursor: pointer; border: 2px solid #A4A4A4; border-radius: 12px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); background-color: #808080; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; } .tile img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; height: 90%; object-fit: contain; } .tile:hover { box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); transform: scale(1.05); border-color: #018749; } .tile:hover .play-button { display: flex; } .tile.active { background-color: #000; border-color: #018749; } .tile span { position: absolute; bottom: 10px; width: 100%; font-size: 10px; font-weight: bold; color: #fff; text-align: center; opacity: 0; transition: opacity 0.3s ease; } .tile:hover span { opacity: 1; } .navigation-buttons { display: flex; margin-top: 20px; gap: 15px; } .navigation-button { background-color: #018749; color: white; padding: 10px 20px; border-radius: 30px; font-size: 14px; cursor: pointer; border: none; transition: background-color 0.3s ease; } .navigation-button:hover { background-color: #014c2d; }