@charset "utf-8";

.nova-wrapper {
    font-size: 16px;
    line-height: 1.6;
    --space: 40px;
    background: url(../img/bg.jpg?zezz) center / 100%, #4a4a4ab8;
    color: white;
    padding-bottom: 40px;
    overflow: hidden;
    background-blend-mode: difference;
}

.nova-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    vertical-align: bottom;
}

.nova-movie {
    border: 1px solid #a7a7a7;
    margin: 20px;
    aspect-ratio: 16/9;
}

.nova-movie iframe {
    width: 100%;
    height: 100%;
    vertical-align: bottom;
}

.nova-wrapper > section {
    margin: calc(var(--space)*2) var(--space) var(--space);
}

.nova-wrapper h2 {
    font-size: 30px;
    text-align: center;
    font-weight: bold;
    border-bottom: 4px solid #8e7bc2;
    margin: auto;
}

.nova-wrapper h2 + p {
    font-size: 25px;
    text-align: center;
    font-weight: bold;
}

.nova-wrapper h3 {
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    border-bottom: 1px solid #ffffff;
    max-width: 570px;
    margin: auto;
}

.nova-lineup > section {
    margin-top: 40px;
}

.nova-wrapper h2, .nova-wrapper h3 {
    margin-bottom: 16px;
}

.nova-wrapper h3 + ul {
    display: grid;
    gap: 50px 30px;
    grid-template-columns: repeat(3, 1fr);
    margin: 40px 0;
}

.nova-lineup h3 + ul > li {
    justify-items: center;
    overflow: hidden;
}

.nova-lineup h3 + ul > li > a:first-child {
    overflow: hidden;
    aspect-ratio: 2/1;
    display: block;
    margin-bottom: 1em;
    padding: 5px;
    background: white;
    width: 100%;
}

.nova-lineup h3 + ul > li > a:first-child img {
    transition: .2s;
}

.nova-lineup h3 + ul > li > a:first-child:hover img {
    scale: 1.05;
}

.nova-lineup li p {
    margin: 4px 0;
}

.nova-lineup li p a {
    font-size: 20px;
    color: white;
    font-weight: bold;
}

.tube {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.tube:after {
    content: "";
    display: block;
    background: url(../img/tube.png) center / 100% no-repeat;
    aspect-ratio: 150/57;
    filter: invert(1);
    width: 70px;
    position: relative;
    bottom: 2px;
}

.nova-lineup li ul {
    margin-top: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

.nova-lineup li ul li {
    background: #000000;
    padding: 5px;
    box-sizing: border-box;
    text-align: center;
    font-size: 13px;
    word-break: auto-phrase;
    line-height: 1.3;
    display: grid;
    justify-items: center;
    align-items: center;
    padding: 8px 2px;
}

.nova-flexbox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    margin: 40px 0;
}

.nova-flexbox li {
    flex: 1;
}

.nova-flexbox li a {
    background: black;
    display: block;
    margin-bottom: 1em;
}

@media (max-width: 801px){

  .nova-wrapper {
      font-size: 14px;
      --space:15px;
  }

  .nova-movie {
      margin:15px;
  }

  .nova-wrapper h3 + ul {
      grid-template-columns: repeat(1, 1fr);
  }

    .nova-lineup li p a {
        font-size: 18px;
    }

    .nova-wrapper h2 {
      font-size: 24px;
  }

  .nova-wrapper h2 + p {
      font-size: 20px;
  }

  .nova-wrapper h3 {
      font-size: 20px;
  }

  .nova-flexbox {
      gap: 25px;
      flex-direction: column;
      margin-bottom: 0;
  }

}