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

/* ///////// */
html {
  font-size: 62.5%;
}

.navbar-wrapper {
  width: 100%;
  height: 100vh;
  /* background: #eccc68; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar {
  width: 20rem;
  height: 20rem;
  /* background-color: #fd7272; */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transform: scale(0) rotate(-180deg);
  transition: transfrom 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0) 0.23;
}

.change .navbar {
  transform: scale(1) rotate(0);
  transition: all 1s;
}

.navbar-link {
  position: absolute;
}

.change .navbar i {
  font-size: 2.5rem;
  color: #fff;
  transition: color 0.3s;
}

.navbar-link:hover i {
  color: #222;
}

.navbar-link:nth-child(1) {
  top: 2rem;
}

.navbar-link:nth-child(2) {
  top: 6rem;
  right: 2rem;
}


.navbar-link:nth-child(3) {
  bottom: 6rem;
  right: 2rem;
}


.navbar-link:nth-child(4) {
  bottom: 2rem;
}


.navbar-link:nth-child(5) {
  bottom: 6rem;
  left: 2rem;
}


.navbar-link:nth-child(6) {
  top: 6rem;
  left: 2rem;
}

.navbar-btn {
  position: absolute;
  width: 6rem;
  height: 6rem;
  background: #4a69bd;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); 
}

.navbar-btn i {
  font-size: 2rem;
  color: #fff;
  transition: transform 0.5s;
}

.change .navbar-btn i {
  transform: rotate(45deg);
}

/* ///////// */

.image-container {
  background: url(thumb-1920-597965.jpg);
  height: 100vh;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

img {
  position: absolute;
  bottom: 20px;
  right: 50px;
  width: 100px;
  cursor: pointer;
  animation-name: bounce;
  animation-duration: 1s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

@keyframes bounce {
  0% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
  50% {
    transform: translateY(-20px);
    animation-timing-function: ease-in;
  }
  100% {
    transform: translateY(0);
    animation-timing-function: ease-out;
  }
}

.trailer-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #000;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.7s;
}

.trailer-container video {
  position: relative;
  max-width: 900px;
  outline: none;
}

.close-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  color: #f26415;
  font-size: 40px;
  cursor: pointer;
  font-family: sans-serif;
  padding: 10px;
  border-radius: 100%;
}

@media (max-width: 991px) {
  .trailer-container video {
    max-width: 90%;
  }
}

/* JavaScript */
.active.trailer-container {
  visibility: hidden;
  opacity: 0;
}
