@font-face {
  font-family: "Netflix Sans";
  font-style: normal;
  font-weight: normal;
  src: local("Netflix Sans"), url("NetflixSans.woff") format("woff");
}

:root {
  --red: #e50914;
  --black: #141414;
  --gray: #e0e0e0;
  --grayOnHover: #999;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--black);
  font-family: "Netflix Sans", "Arial", Times, serif; /* set better font*/
  color: whitesmoke;
}

/* header/menu */

header {
  display: flex;
  position: fixed;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.9);
  z-index: 2;
}

.logo {
  margin: 20px 40px 10px 50px;
  height: 30px;
}

header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
}

#nested-navbar {
  display: none;
}

header nav a {
  text-decoration: none;
  color: var(--gray);
  margin-right: 10px;
  font-size: 14px;
}

header nav a:hover {
  transition: 0.3s ease all;
  color: var(--grayOnHover);
}

#home-link,
#browse-link {
  color: #fff;
  font-weight: bold;
}

#nav-buttons {
  display: flex;
  align-items: center;
  margin-right: 40px;
}

#nav-buttons a {
  color: #fff;
  display: flex;
  align-items: center;
  margin-left: 15px;
}

#nav-buttons i {
  margin-left: 8px;
  font-size: 20px;
}

#profile-pic {
  height: 35px;
  border-radius: 5px;
  overflow: hidden;
}

.nav-arrow {
  margin-left: 5px;
}

/* profile arrow animations*/
@keyframes animation {
  from {
    transform: rotate(0deg) translate(0, 0);
  }
  to {
    transform: rotate(180deg) translate(0, -7px);
  }
}

@keyframes reverse-animation {
  from {
    transform: rotate(180deg) translate(0, -7px);
  }
  to {
    transform: rotate(0deg) translate(0, 0);
  }
}

#profile-arrow {
  animation: reverse-animation;
  animation-duration: 0.3s;
}

#profile:hover #profile-arrow {
  animation-name: animation;
  animation-duration: 0.3s;
  animation-fill-mode: forwards;
}

#spacing-div {
  /* .main-movie vertical offset hack */
  width: 100%;
  height: 64px;
}

/* main movie */

.main-movie {
  font-size: 16px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.25) 100%), url("../img/main_movie_banner.jpg");
  background-position: bottom;
  height: 45vw;
  /* min-height: ; */
  background-size: cover;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
}

.main-movie .description-container {
  width: 70%;
  margin-left: 3%;
  margin-bottom: 10%;
}

.main-movie .description {
  margin-top: 10px;
  margin-bottom: 20px;
  text-shadow: 1px 1px black;
  font-size: 1.4vw;
}

/*.main-movie .title {
  margin-top: 15%;
  font-size: 90px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}*/

.main-movie .button {
  border: none;
  border-radius: 4px;

  padding: 0.85vw 1.9vw;
  margin-right: 15px;
  font-size: 1.2vw;
  font-weight: 600;

  cursor: pointer;
  transition: 0.3s ease all;
}

.main-movie .button:nth-child(1) {
  background-color: white;
  color: black;
}

.main-movie .button:nth-child(1):hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.main-movie .button:nth-child(2) {
  background-color: #555;
  color: white;
}

.main-movie .button:nth-child(2):hover {
  background-color: rgba(85, 85, 85, 0.6);
}

.main-movie .button i {
  margin-right: 8px;
}

/* carousel title */

.carousel-title {
  display: block;
  margin-left: 4%;
  margin-bottom: 12px;
  text-decoration: none;
  color: #e9e9e9;
  text-shadow: 1px 1px black;
  font-size: 1.4vw;
  font-weight: bold;
}

.carousel-title:hover {
  color: white;
}

.arrow {
  display: none !important;
  color: rgb(84, 185, 197);
  font-size: 1.4vw;
  position: relative;
  top: 4px;
}

.movies-carousel:hover .arrow {
  display: inline-block !important;
}

/* carousel */

#container-carousel {
  margin-top: -5%;
}

.movies-carousel {
  cursor: pointer;
  margin-bottom: 10px;
}

.movie-box {
  /* seems unnecessary */
  height: 100%;
  width: 100%;
  display: block;
}
