* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #2d2d2d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body::-webkit-scrollbar {
  width: 0.3rem;
}

body::-webkit-scrollbar-thumb {
  background-color: rgb(169, 169, 169);
  border-radius: 0.5rem;
}

/* ####################### Advertisement ###################### */

.advertisement {
  position: fixed;
  width: 100vw;
  height: 6.25rem;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #262629;
  z-index: 10;
  user-select: none;
}
.hide {
  opacity: 0;
  bottom: -100%;
  transition: all 2s;
}
.show {
  opacity: 1;
  bottom: 0;
  transition: all 1s;
}

.adv-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 2rem;
}

.adv-details a {
  color: #0a84ff;
  text-decoration: none;
}

.adv-heading {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.4rem 0;
}

.adv-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0;
}

.cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 2rem;
}

.cta-btn {
  cursor: pointer;
  font-size: 0.82rem;
  width: 8rem;
  border-radius: 0.3rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.88);
  padding: 0.5rem 1rem;
  background: white;
  box-shadow: rgb(0 0 0 / 6%) 0 0 20px;
  margin: 1rem 0 0.1rem 0;
}

.cta-desc {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ####################### NavBar ###################### */

.main-nav {
  width: 100%;
  height: 3.25rem;
  background: black;
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
}

.nav-content {
  width: 95%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3.25rem;
}

#main-logo {
  height: 20px;
  width: 53px;
  background-image: url(https://tv.apple.com/assets/brands/Apple_TV_plus_logo_white-2721485772b7d06c4e33379ce990870e.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
}

.sign-in_btn {
  background: #0a84ff;
  color: white;
  cursor: pointer;
  border: none;
  border-radius: 0.4rem;
  font-size: 0.8rem;
}

#signin-btn_text {
  margin: 0.2rem;
  padding: 0.2rem 0.3rem;
}

#sign-out_btn {
  color: #0a84ff;
  background-color: white;
  font-weight: 600;
  border: 3px solid#0a84ff;
  outline: none;
  border-radius: 0.4rem;
  font-size: 0.8rem;
}

/* ####################### Modal ###################### */
.backdrop {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.modal {
  position: fixed;
  z-index: 200;
  display: none;
  top: 12%;
  left: 25%;
  background: #333333;
  border-radius: 1rem;
  height: 80vh;
  width: 50vw;
  margin: auto;
  overflow: hidden;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
}

.closeBtn {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.closeBtn button {
  cursor: pointer;
  height: 18px;
  width: 18px;
  border: none;
  filter: invert(100%) contrast(50%);
  background: url("https://tv.apple.com/static-commerce/img/close.d279866e.svg");
}

.modal-pages {
  height: 100%;
}

.modal-pages iframe {
  border: none;
}

/* ####################### Jumbotron ###################### */

.jumbotron {
  height: 850px;
  position: relative;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(255, 255, 255, 0) 60%
  );
}

.jumbotron-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  color: white;
}

.jumbotron-img {
  width: 100%;
  height: inherit;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  filter: brightness(110%);
  -webkit-filter: brightness(110%);
}

.jumbotron-main_heading {
  font-size: 5rem;
  margin-bottom: 0;
  font-weight: 700;
  user-select: none;
}

.jumbotron-sub_heading {
  font-size: 2rem;
  margin-top: 0.6rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  user-select: none;
}

.jumbotron-btn {
  color: #000;
  background: white;
  font-size: 1rem;
  font-weight: 550;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.jumbotron-info {
  color: #6e6e73;
  font-weight: 500;
  margin: 0.3rem 0;
  user-select: none;
}

.jumbotron a {
  text-decoration: none;
  color: #409cff;
}

#jumbotron-arrow {
  color: white;
  padding: 1rem 0;
}

/* ####################### Video Div ###################### */
.playback {
  height: 600px;
  margin: 2rem 0;
  position: relative;
  background: radial-gradient(
    ellipse farthest-corner at top right,
    transparent 50%,
    #000
  );
}

.playback video {
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

.playback-content {
  width: 98%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0.2rem;
}

.playback-content_text {
  width: 35%;
  padding: 3rem 1.5rem;
  text-align: left;
  user-select: none;
}

.playback-heading {
  color: white;
  font-size: 1.8rem;
  margin: 0.5rem 0;
  font-weight: 700;
  word-wrap: break-word;
  user-select: none;
}

.playback-category,
.playback-info {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0;
  font-size: 1rem;
  font-weight: 500;
  user-select: none;
}

.playback-category {
  font-size: 0.9rem;
  user-select: none;
}

.mainDiv p {
  margin: 0.2rem 0;
  color: #f4f4ff;
  font-weight: 500;
}

#videoDiv .glider-next,
#videoDiv .glider-prev {
  top: 20%;
}

/* ####################### Device Info Container ###################### */
#devices-info_container {
  width: 100%;
  margin-top: 4rem;
  background: black;
  display: flex;
  justify-content: center;
}

.devices-info {
  width: 50%;
  margin-top: 4rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  word-break: break-word;
}

.tv-logo {
  width: 65px;
  height: 65px;
}

.tv-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.devices-heading {
  font-size: 2.7rem;
  font-weight: 700;
  margin: 1.3rem 0 0 0;
  user-select: none;
}

.devices-subheading {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 1.3rem 0;
  padding: 0;
  user-select: none;
}

.devices {
  margin: 0.8rem 0;
  display: grid;
  grid-template: 6.75rem / repeat(5, 1fr);
  column-gap: 0.5rem;
}

.device img {
  width: 70%;
  object-fit: cover;
}

.dev-cat {
  margin: 0.2rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  user-select: none;
}

.devices-info a {
  text-decoration: none;
  color: #409cff;
}

.dev-info {
  font-size: 1.5rem;
  font-weight: 600;
  user-select: none;
}

.dev-info,
.dev-setup,
.dev-compt {
  margin: 0.2rem 0;
}

.compt-devices {
  margin: 1rem 0;
  display: grid;
  grid-template: auto / repeat(3, 1fr);
  column-gap: 4rem;
}

.compt-devices img {
  width: 80%;
  object-fit: cover;
}

.dev-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 600;
}

.avail {
  font-size: 0.7rem;
  user-select: none;
}
/* ####################### Footer Area ###################### */
#footer {
  width: 100%;
}

.main-footer {
  width: 95%;
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.7rem;
}

.main-footer .copy {
  color: rgba(255, 255, 255, 0.6);
  user-select: none;
}

.main-footer_info-nav {
  display: flex;
  align-items: center;
}

.footer-info_items {
  margin: 0.8rem 0.5rem 0.8rem 0;
  padding: 0 0.5rem 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

#footer-support_info {
  border-right: none;
}
