

* {
  font-family: "Montserrat";
}

a {
  text-decoration: none;
  color: inherit;
}

#video-portfolio {
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 6000;
}

.modal-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  max-width: 400px;
  background: #101010;
  padding: 20px;
  color: #f2f2f2;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  text-align: center;
  border: 3px solid #dbdbdb;
}

.page-offset {
  height: 100px;
}

html, body {
  background: #101010;
  color: #f2f2f2;
  font-size: 16px;
}

/* width */
::-webkit-scrollbar {
  display: none;
}

#video-preview-window {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 6000;
  background: black;
}

#video-preview-window .content {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: 100px auto;
}

.animate-up {
  transform: translateY(100px);
  transition: all 1.2s cubic-bezier(.33,0,.01,1);
}

.animate-up.animate {
  transform: translateY(0);
}


.zoom-on-hover {
  transform: scale(1);
  transition: all 0.2s cubic-bezier(.33,0,.01,1);
}
.zoom-on-hover:hover {
  transform: scale(1.1);
}

#video-preview-window .video-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

.video-wrapper::after {
  content: '';
  display: block;
  padding-bottom: 56%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


h2.colored {
  color: rgb(160,95,95);
}




#video-preview-window .close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
}


header {
  height: 80px;
  z-index: 5000;
  transition: background 0.2s ease-in-out;
}

header.bg {
  background: #050505;
}

#featured {
  position: relative;
}

#featured::before {
  position: absolute;
  content: "▾ Featured videos ▾";
  display: block;
  top: -55px;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 4997;
  color: white;
  padding: 10px;
  white-space: nowrap;
  animation-name: example;
  animation-duration: 2s;
  animation-iteration-count: 3;
  animation-timing-function: ease-in-out;
}

@keyframes example {
  0% { top: -55px; }
  75% { top: -55px; }
  85% { top: -65px; }
  100% { top: -55px; }
}


#hero {
  width: 100%;
  height: 100%;
  background: black;
}

#hero h2 {
  font-size: 4rem;
  line-height: 4rem;
}

#menu {
  position: fixed;
  top: 0;
  left: -100%;
  background: #050505;
  width: 100vw;
  height: 100vh;
  z-index: 4999;
  transition: all 0.6s cubic-bezier(.75,.01,.47,.99);
}

#menu.visible {
  left: 0;
}

#menu .menu-content {
  padding: 100px 20px;
  padding-right: 60px;
  max-width: 1200px;
  overflow-y: auto;
  max-height: 100vh;
}

#menu ul{
  list-style: none;
  padding: 0;
  font-size: 38px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  cursor: pointer;
}

#menu ul li {
  transition: all 0.2s ease-in-out;
  border-left: 3px solid transparent;
}

#menu ul li:hover {
  border-left: 3px solid rgb(220,80,80);
  cursor: pointer;
  padding-left: 10px;
  font-weight: 600;
}

input, textarea {
  background: none;
  border: 1px solid #f2f2f2 !important;
  color: #f2f2f2;
  font-size: 16px;
  outline: none;
  border-radius: 2px;
}

textarea {
  width: 100%;
  height: 270px;
  padding: 12px 20px;
}

button.btn-mc {
  background: rgb(220,80,80) !important;
  color: white !important;
  border-radius: 2px;
  border: 2px solid rgb(220,80,80) !important;
  font-size: 16px;
}

button.btn-mc:hover {
  background: rgb(200,60,60) !important;
}

button.btn-mc-light {
  background: transparent !important;
  color: white !important;
  border-radius: 2px;
  border: 2px solid rgb(220,80,80) !important;
  font-size: 16px;
}

button.btn-mc-light:hover {
  background: rgb(200,60,60) !important;
}

#social-sidebar {
  position: fixed;
  top: 55%;
  transform: translateY(-50%);
  right: 0;
  padding: 20px;
  z-index: 5000;
  color: #f2f2f2;
  text-shadow: 2px 2px 5px #ff0000;
  transition: all 0.3s cubic-bezier(.75,.01,.47,.99);
}

.badge {
  display: inline-block;
  padding: 8px 15px;
  line-height: 20px;
  border-radius: 20px;
  background: #202020;
  margin-bottom: 10px;
  font-size: 14px;
  border: 2px solid #202020;
}

.badge-light {
  background: none;
  border: 2px solid #202020;
}


.hidden-socials #social-sidebar {
  transform: translate(100%, -50%);
  opacity: 0;
}

#social-sidebar.hidden {
  transform: translate(100%, -50%);
  opacity: 0;
}
#social-sidebar.menu-visible {
  transform: translate(0, -50%);
  opacity: 1;
}

#social-sidebar::before{
  position: absolute;
  content: 'Socials ―';
  display: block;
  top: -30px;
  left: 50%;
  transform-origin: center;
  transform: translate(-50%, -50%) rotate(90deg);
  font-size: 1.2rem;
  word-spacing: 15px;
  white-space: nowrap;
}

#social-sidebar a {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
  font-size: 32px;
  line-height: 1.6em;
  transition: all 0.2s ease-in-out;
}

.bg-black {
  background: black;
}

.thumbnail-container:hover .video-thumbnail {
  opacity: 0.6;
  filter: grayscale(0.5);
}

.video-thumbnail:hover {
  opacity: 1 !important;
  filter: grayscale(0) !important;
  cursor: pointer;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: auto;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.video-thumbnail::after {
  content: '';
  display: block;
  padding-bottom: 56%;
}

.video-thumbnail::before {
  position: absolute;
  display: block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f144";
  line-height: 100%;
  top: 10px;
  right: 10px;
  font-size: 30px;
  color: #f2f2f2;
  transform-origin: center;
  transition: all 0.2s ease-in-out;
  opacity: 0.6;
}

.thumbnail-title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  width: 100%;
  height: 100%;
  font-weight: 600;
  overflow: hidden;
  transform: translate(0, 100%);
  transition: all 0.4s cubic-bezier(.33,0,.01,1);
  /*pointer-events: none;*/
}

.video-thumbnail:hover .thumbnail-title {
  transform: translate(0, 0);
}

.video-thumbnail:hover::before{
  opacity: 1;
}

  #hero .hero-content{
    padding-right: 50px;
  }

  .social-icons a {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 2rem;
  }




@media only screen and ( max-width: 300px ) {
  #social-sidebar {
    top: auto;
    bottom: 20px;
  }

  #logo {
    height: 43px !important;
  }

  #hero h2 {
    font-size: 1.9rem !important;
    line-height: 1.9rem !important;
  }
  #hero p {
    font-size: 1.2rem !important;
    line-height: 1.2rem !important;
  }

  #hero button {
    font-size: 12px;
    padding: 5px;
  }
}


@media only screen and ( max-width: 500px ) {
  #social-sidebar a {
    font-size: 24px;
  }

  #logo {
    height: 50px;
  }

  #hero .hero-content {
    left: 20px !important;
    transform: translate(0, -50%);
  }

  #hero h2 {
    font-size: 3rem;
    line-height: 3rem;
  }
  #hero p {
    font-size: 2rem;
    line-height: 2rem;
  }
}

#social-sidebar a:hover {
  transform-origin: center center;
  transform: scale(1.2);
  color: white;
}
