@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap"); * { margin: 0; padding: 0; box-sizing: border-box; } html { font-size: 95%; } body { font-family: "Roboto", sans-serif; background: rgb(248, 248, 248); position: relative; overflow-x: hidden; } .hidden { display: none !important; } .hover { cursor: pointer; } .top-bar { background: #e8e8e8; padding: 0.5em 1em; display: flex; justify-content: space-between; margin: 0 0 2em 0; } .main-content { padding: 0 1em; margin: 3em auto 0; max-width: 700px; } .main-content__video { position: relative; } .main-content__video-img { max-width: 100%; height: 400px; } .play-arrow { background: rgba(0, 0, 0, 0.575); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 1em 2em; } .main-content__video-title { margin: 0.6em 0 0.2em 0; font-weight: 500; } .main-content__video-views { color: #848484; } .main-content__video-info-bottom { display: flex; justify-content: space-between; margin: 1em 0 0 0; padding: 0 0 1em 0; border-bottom: 2px solid rgba(70, 70, 70, 0.493); } .main-content__channel { display: flex; align-items: center; color: #848484; font-weight: 500; } .main-content__channel-name { margin: 0 0 0 0.5em; } .main-content__thumbs { margin: 0 1.5em 0 0; } .thumbnails { padding: 2em 1em; margin: 0 auto; display: flex; justify-content: space-between; max-width: 700px; } .thumbnail { max-width: 250px; } .thumbnail:nth-child(even) { margin: 0 0 0 7em; } .thumbnail__img { max-width: 100%; } .thumbnail__title { margin: 0.3em 0 0 0; font-weight: 500; } .thumbnail__subtitle { color: #848484; } .main-content__video-loading { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); } .age-popup { position: absolute; top: 0; left: 0; background: rgba(0, 0, 0, 0.815); color: #fff; height: 100%; justify-content: center; align-items: center; padding: 2em; flex-direction: column; display: flex; } .age-popup__login-btn { margin: 4em 0 0 0; height: 40px; width: 270px; } .age-popup__content { display: flex; align-items: center; margin: 0 0 4em 0; } .age-popup__text { text-align: justify; } .age-popup__img { margin: 0 1em 0 0; } .age-popup__login-btn-wrapper { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -50%); } .age-popup__login-btn-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .overlay { background: rgba(0, 0, 0, 0.781); position: absolute; top: 0; width: 100%; height: 100%; } .login-popup { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -40%); background: #fff; padding: 1.5em; display: flex; flex-direction: column; justify-content: center; width: 95%; border-radius: 7px; max-width: 500px; } .user-avatar { display: flex; justify-content: center; align-items: center; } .user-avatarphoto { max-width: 30%; max-height: 30%; } .login-popup__inputs { display: flex; flex-direction: column; } .login-popup__input { padding: 1.2em 1em; border: 2px solid #dddfe2; margin: 0 0 1em 0; box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 10%); outline-color: #1877f2; border-radius: 6px; font-size: 1.1rem; } .login-popup__input--err { border: 2px solid red; } .login-popup__button { background: #1877f2; padding: 0.7em; border: none; border-radius: 6px; color: #fff; font-size: 1.3rem; font-weight: bold; margin: 1em 0 0 0; } .login-popup__info { color: red; font-weight: bold; margin: 0 0 0.8em 0; } .share-popup { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); display: flex; justify-content: center; align-items: center; background: rgba(0, 0, 0, 0.603); } .share-popup__wrapper { background: #fff; border-radius: 5px; width: 80%; font-size: 0.8rem; } .share-popup__header { background: #f0f2f5; padding: 1em; border-radius: 5px; } .share-popup__title { color: #65676b; } .share-popup__content { padding: 1em; display: flex; justify-content: center; flex-direction: column; align-items: center; } .share-popup__button { background: #1771e6; display: inline-block; padding: 0.6em 1.1em; color: #fff; text-decoration: none; border-radius: 5px; margin-top: 1.6em; font-size: 0.8rem; border: 0; } .yt-video { width: 100%; height: 400px; } @media (min-width: 600px) { .share-popup__wrapper { font-size: 1.1rem; } .share-popup__button { font-size: 1rem; } } .fb-login-btn { background: #1877f2; border: none; border-radius: 4px; width: 100%; max-width: 320px; padding: 10px 16px; color: white; font-family: Helvetica, Arial, sans-serif; font-size: 16px; font-weight: bold; display: flex; align-items: center; gap: 8px; white-space: nowrap; } .fb-login-icon { width: 25px; height: 25px; flex-shrink: 0; }