body {
    background-color: #111;
    color: white;
    font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
    margin: 0px;
    overflow-y: hidden;
}

h2 {
    padding-top: 60px;
    font-size: 24px;
}

img {
    width: 100px;
}

video {
    width: 100%;
    height: 100%;
}

.hidden {
    display: none !important;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;

  padding: 20px 20px 0 20px;
  position: absolute;
  top: 0;
  display: grid;
  grid-gap:5px;
  grid-template-columns: 1fr 4fr 1fr;
  grid-template-areas: "nt mn mn sb . . . ";
  width: 100%;
  margin-bottom: 0px;
  z-index: 100;
  box-sizing: border-box;
}

footer {
  padding-top: 20px;
  text-align: center;
  color: var(--dark);
  margin: 10px;
}

/*
.logo > img {
    height: 150px%;
}
*/

.main-nav {
  grid-area: mn;
  padding: 0 30px 0 20px;
}

.main-nav a {
  color: var(--light);
  text-decoration: none;
  margin: 5px;  
}

.main-nav a:hover {
  //color: var(--dark);
  color: #ff0000;
  padding: 0px;
}

.sub-nav {
  grid-area: sb;
}

.sub-nav a {
  color: var(--light);
  text-decoration: none;
  margin: 5px;
}

.sub-nav a:hover {
  //color: var(--dark);
  color: #ff0000;
}

.movies__section {
    padding-top: 20px;
    padding-bottom: 20px;
    overflow-y: scroll;
    height: 300px;
}

.movies__section::-webkit-scrollbar {
    display: none;
}

.movies__header h2 {
    padding: 20px 0px 0px 20px;
}

.movies__outer_container {
   position: relative;
   width: 100%;
   height: 200px;
}

.movies__container {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
}

.movies__container::-webkit-scrollbar {
    display: none;
}

.movies__container img:hover {
    transform: scale(1.1);
}

.movies__prev, .movies__next {
    position: absolute;
    top: 0;
    z-index: 1;
    cursor: pointer;
    margin-top: 120px;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    border-radius: 50%;
    background-size: 1.5rem 1.5rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

.movies__prev:hover, .movies__next:hover {
    background-color: rgba(0,0,0,0.5);
}

.movies__prev {
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 50,0 L 60,10 L 20,50 L 60,90 L 50,100 L 0,50 Z' transform='translate(15,0)' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
}

.movies__next {
    right: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M 50,0 L 60,10 L 20,50 L 60,90 L 50,100 L 0,50 Z' transform='translate(85,100) rotate(180)' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
}

.movie-card {
    position: relative;
}

.movie-card .overlay {
    position: absolute;
    z-index: 10;
    opacity: 0.9;
    width: 100%;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.5);
}

.movie-card .overlay span {
    top: 25px;
    padding: 25px;
}

.movie-card img {
    padding: 20px;
    width: auto;
    height: 200px;
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.featured { 
    cursor: default;
    height: 500px;
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 0 0 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease-in-out;
}

.featured::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 7.4rem;
    background-image: linear-gradient(180deg,transparent,rgba(37,37,37,.61),#111);
}

.featured h2 {
    font-size: 50px;
    margin: 0;
    z-index: 10;
}

.featured .featured__buttons {
    z-index: 10;
}

.featured .featured__buttons button {
    font-size: 16px;
    color: white;
    background-color: rgba(109,109,110,0.7);;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
}

.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.3);
}

.featured .featured__buttons .button__play {
    background-color: white; 
    color: black;
    pointer: auto;
    cursor: pointer;
}

.featured .featured__buttons .button__copylink {
    background-color: white; 
    color: black;
    pointer: auto;
    cursor: pointer;
}

.button__play i {
    margin-right: 6px;
}

.featured .featured__description,
.featured .featured__details,
.featured .featured__tagline {
    padding: 20px 0px;
    max-width: 50%;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,.45);
    z-index: 10;
    line-height: 1.5;
}

.featured .featured__info {
    padding-bottom: 20px;
    max-width: 50%;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0,0,0,.45);
    z-index: 10;
}

.featured__link:hover > .hidden {
    display: inline !important;
}

.loading-box {
    position: fixed;
    overflow-x: hidden;
    overflow-y: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    color: #fff;
    background-color: #000;
    background-image: url('loader.svg');
    background-repeat: no-repeat;
    background-size: 500px 100px;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: none;
}

#notification {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    animation: fade-in 1s;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#notification .content {
    margin-top: 40px;
    display: flex; 
    justify-content: center;
    align-items: center;
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
    height: 70px;
    border-radius: 5px;
    background-color: #9c9;
}
