/* TO FUTURE DEVELOPERS OF THIS WEBSITE: */
/* The following css is divided by the different sections of the page */
/* That means that each section has the mobile css and then media queries for tables/desktops */
/* The reason is giving the code better structure and makes debugging easier */


/* ALL THE GLOBAL CSS */
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: 'Avenir Next', sans-serif;
  letter-spacing: 5px;
  overflow-x: hidden;
  overflow-y: auto;
}

a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}

.site-container {
  min-width: 100vw;
  min-height: 100%;
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
}

.site-header {
  height: 100vh;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
}

/* VIDEO TRAILER CSS */
.trailer-background-wrapper {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.trailer-background-wrapper video {
    position: fixed;
    min-width: 100%;
    min-height: 100%;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(-1px) scale(1.2);
    transform: translateX(-50%) translateY(-50%) translateZ(-1px) scale(1.2);
    z-index: -99
  }
/* NAVIGATION CSS MOBILE TABLETS*/
.nav-wrapper {
  position: fixed;
  min-width: 100%;
  min-height: 80px;
  top: 0;
  left: 0;
  z-index: 2;
  background-color: rgba(8, 8, 8, 0.1);
  color: rgba(41, 89, 67, 1);
  text-transform: uppercase;
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

@supports (transition: 0.5s) {
    .header-scrolling {
    background-color: #080808;
    opacity: 1;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
  }
}

@supports not (transition: 0.5s) {
    .header-scrolling {
    background-color: #080808;
    opacity: 1;
  }
}

.header-nav {
  letter-spacing: 4px;
  top: 100%;
  position: absolute;
  width: 100%;
  text-align: center;
  height: 0px;
  overflow-y: hidden;
  opacity: 0.9;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  background-color: rgba(8,8,8,0.1);
}

.header-nav-active {
  height: 180px;
  width: 100%;
}

@supports (transition: 0.5s) {
    .mobile-scrolling {
    background-color: #080808;
    opacity: 1;
    -webkit-transition: all ease-in-out 0.3s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
  }
}

@supports not (transition: 0.5s) {
    .mobile-scrolling {
    background-color: #080808;
    opacity: 1;
  }
}

.header-nav li {
  padding: 10px 20px 10px 20px;
}

.logo-container  {
  padding-left: 2rem;
  color: #f4f4f4;
  width: 50%;
}

.logo-container img {
  display: inline-block;
  max-width:150px;

  width: auto;
  height: auto;
}

.logo-container p {
  display: inline-block;
  font-size: 0.8rem;
  width: 600px;
}

/* Hamburger menu for mobile/tablets */
.mobile-nav {
  cursor: pointer;
  position: absolute;
  top: 46%;
  right: 3rem;
}

.hamburger-menu,
.hamburger-menu::before,
.hamburger-menu::after {
  background: white;
  content: "";
  display: block;
  height: 3px;
  width: 2rem;
  border-radius: 2px;
  -webkit-transition: all ease-in-out 0.3s;
  -o-transition: all ease-in-out 0.3s;
  transition: all ease-in-out 0.3s;
}

.hamburger-menu::before {
  -webkit-transform: translateY(-7px);
  -ms-transform: translateY(-7px);
  transform: translateY(-7px);
}

.hamburger-menu::after {
  -webkit-transform: translateY(4px);
  -ms-transform: translateY(4px);
  transform: translateY(4px);
}

.active .hamburger-menu {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.active .hamburger-menu::before {
  opacity: 0;
}

.active .hamburger-menu::after {
  -webkit-transform: translateY(-2px) rotate(-90deg);
  -ms-transform: translateY(-2px) rotate(-90deg);
  transform: translateY(-2px) rotate(-90deg);
}


/* HEADER MENU FOR DESKTOPS  */
@media only screen and (min-width: 1280px) {
  .mobile-nav {
    display: none;
  }

  .header-nav {
    position: relative;
    right: 3rem;
    height: auto;
    background-color: transparent;
    text-align: right;
  }
  .header-nav li {
    padding: 0px 20px 0px 20px;
    display: inline-block;
  }

 .header-nav a:hover {
   animation: colorchange 2s;
   -webkit-animation: colorchange 2s;
 }
}

 @keyframes colorchange {
      0%   {color: #26dee8;}
      25%  {color: #19aa35;}
      50%  {color: #febd2d;}
      75%  {color: #fb4f1f;}
      100% {color: #bc30e7;}
 }

 @-webkit-keyframes colorchange {
      0%   {color: #26dee8;}
      25%  {color: #19aa35;}
      50%  {color: #febd2d;}
      75%  {color: #fb4f1f;}
      100% {color: #bc30e7;}
 }

 .logo-container img {
   max-width:200px;
   max-height:55px;
 }

/*  Trailer background   */
.trailer-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0, 0.3);
}

.trailer {
  display: none;
}

.mobile-background {
  display: block;
  width: 1200px;
  height: 900px;

}

/* PRESENTATION TEXT AND SHOWREEL FOR TABLETS/MOBILES */

.presentation-wrapper {
  width: 100%;
  color: #fff;
  margin: auto;
  text-align: center;
  display: block;
  z-index: 1;
}

.presentation-wrapper-button {
  margin-top: 50px;
  background-color: rgba(25, 170, 53, 0.7);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  padding: 11px 16px 11px 16px;
  border-radius: 5px;
  border: none;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  clear: both;
}

.presentation-wrapper-button:hover {
  background-color: rgba(25, 170, 53, 1);
}

#presentation-text h1 {
  font-size: 20px;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

@media only screen and (min-width: 1280px) {
  .hamburger-mobile-nav, .close-btn {
    display: none;
  }

  .trailer {
    display: block;
  }

  .mobile-background {
    display: none;
  }

  .presentation-wrapper {
    width: 960px;
  }

  #presentation-text h1 {
    font-size: 40px;
    padding-bottom: 20px;
  }
}

/* Modal box for the trailers and videos */
.modal-box {
 display:none;
 width: 100%;
 height: 100%;
 background-color: rgba(0, 0, 0, 0.8);
 position: fixed;
 top: 0;
 left: 0;
 overflow: auto;
 z-index: 9999;
 -webkit-animation-name: modalOpen;
         animation-name: modalOpen;
 -webkit-animation-duration: 0.5s;
         animation-duration: 0.5s;
 overflow-y: hidden;
}

.active-modal {
  display: block;
}

.modal-content {
  width: 80%;
  position: relative;
  margin: 40% auto;
  color: #ccc;
  -webkit-animation-name: modalOpen;
          animation-name: modalOpen;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
  font-size: 0;
  overflow: hidden;
}

.modal-content video {
  width: 100%;
}

.modal-content video:-webkit-full-screen {
  width: 100%;
  height: 100%;
}

.video-title {
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding: 1em;
  position: absolute;
  left: -80%;
  top: 0.5em;
  width: 100%;
  -webkit-transition: left 0.3s;
  -o-transition: left 0.3s;
  transition: left 0.3s;
  font-size: 0.6rem;
  color: #f4f4f4;
  font-weight: 500;
}

.modal-content:hover .video-title {
  left: 0;
}

.close-btn {
  display:block;
  padding: 1em;
  position: absolute;
  top: 0;
  right: 0;
  color: #f4f4f4;
  cursor: pointer;
  z-index: 2147483649;
  font-size: 2rem;
  text-align: center;
}

/* VIDEO CSS */
.video-wrapper {
  position: relative;
  width: 100%;
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  overflow: hidden;
}

.song-title {
  position: absolute;
  width: 100%;
  bottom: 0;
  margin: auto 0;
  padding: 1.7em 0 1.7em 0;
}

.song-title p {
  color: #f4f4f4;
  font-size: 0.9em;
  text-align: center;
}

.production-type p {
  width: 100%;
  bottom: 0;
  margin: auto 0;
  padding-top: 20px;
  color: #f4f4f4;
  font-size: 0.7em;
}

.video-thumbnail img {
  width: 100%;
}

.video-overlay {
  width:60px;
  height:60px;
  border-style: solid;
  border-width: 30px 0px 30px 60px;
  border-color: transparent transparent transparent rgba(244, 244,244, 0.9);
  position:absolute;
  left:0%;
  right:0%;
  top:30%;
  bottom:0%;
  margin: 0 auto;
  background-color: transparent;
  z-index: 1;
  cursor: pointer;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.video-wrapper:hover .video-overlay {
  border-color: transparent transparent transparent rgba(244, 244,244, 0.9);
}

.video-overlay:focus {
  outline:0;
}
/* ABOUT FROGTOWN AND GET CREATIVE */
.about, .creative {
  position: relative;
  width: 100%;
  padding: 2em;
  height: auto;
  color: #f4f4f4;
  background-color:#080808;
  -webkit-transform-style: inherit;
          transform-style: inherit;
}

.about p {
  letter-spacing: 2px;
  line-height: 1.6;
}
.about p:first-child {
  margin-bottom: 1em;
}

.about h2 {
  text-transform: uppercase;
  margin-bottom: 0.4em;
  letter-spacing: 2px;
}

.about ul {
  padding-left: 2em;
}

.about li {
  letter-spacing: 2px;
  line-height: 1.6;
  list-style-type: circle;
}


.creative {
  text-align: center;
}

.creative p {
  letter-spacing: 2px;
  display: block;
  font-size: 1em;
  margin-bottom: 20px;
}

.creative span {
  font-size: 1.2em;
  font-weight: 400;
  display: block;
  margin-bottom: 10px;
}

.text-column {
  margin: 0 auto;
  width: 100%;
  font-size: 1.2em;
  letter-spacing: 4px;
  text-align: center;
  vertical-align: text-top;
}

.about h5 {
  font-size: 1.8rem;
  font-weight: 500;
  text-transform: uppercase;
  padding-top: 2em;
  padding-bottom: 2em;
  text-align: center;
}

.image-box {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
  width: 100%;
  padding-top: 2em;
  padding-bottom: 2em;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.image-box img {
  padding-bottom: 1em;
}

.image-wrapper {
  position: relative;
}

.image-description {
  position: absolute;
  bottom: 0;
  font-size: 1.2em;
  text-transform: uppercase;
  margin-bottom: 25px;
  margin-left: 10px;
  color: #f4f4f4;
}

.portfolio {
  width: 100vw;
  height: auto;
  color: #f4f4f4;
  background-color: #080808;
  line-height: 0;
  padding-top: 5em;
  padding-bottom: 2em;
}

.image-boxes {
  position: absolute;
  left:0%;
  right:0%;
  top:20%;
  bottom:0%;
  font-size: 1.2em;
  color: #f4f4f4;
  text-align: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.image-boxes h3 {
  display: block;
}

.boxes {
  display: inline-block;
  height: 250px;
  width: 300px;
  font-size: 0.9rem;
  vertical-align: middle;
  text-align: center;
  line-height: 200px;
}

.contact {
  position: relative;
  width: 100vw;
  height: auto;
  color: #f4f4f4;
  background-color: #080808;
  padding: 2em;
  letter-spacing: 3px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-transform-style: inherit;
          transform-style: inherit;
}

.contact .information {
  width: 100%;
  height: auto;
  vertical-align: text-top;
  text-align: center;
  margin-bottom: 30px;
  -ms-flex-line-pack: center;
      align-content: center;
}

form p {
  text-align: left;
  margin-left: 10%;
}
.contact input {
  border-radius: 5px;
  border: none;
  padding: 0.5em;
  width: 80%;
  outline: none;
  border-bottom: 2px solid #f4f4f4;
  border-left: 2px solid #f4f4f4;
  margin-bottom: 10px;
}

.contact textarea {
  width: 80%;
  height: 30px;
  display: block;
  margin: 0 auto;
  padding: 0.5em;
  resize: none;
  -webkit-transition: 0.4s ease-in-out;
  -o-transition: 0.4s ease-in-out;
  transition: 0.4s ease-in-out;
  overflow: hidden;
  border-radius: 5px;
  -ms-touch-action: none;
      touch-action: none;
  margin-bottom: 10px;
}

.contact button {
  font-family: 'Avenir Next', sans-serif;
  background-color: #19aa35;
  color: #f4f4f4;
  border: 0;
  padding: 8px 14px 8px 14px;
  margin-top: 4px;
  border-radius: 2px;
  cursor: pointer;
}

.error {
  border-color: red;
}

.error-message {
  color: red;
  font-size: 0.8em;
}

.information p {
  font-size: 0.8rem;
  padding-bottom: 5px;
}

.information h4 {
  font-size: 1rem;
  padding-bottom: 20px;
  text-transform: uppercase;
}

.information img {
  width: 80px;
  height: 80px;
  display: block;
  margin: 0 auto;
  margin-bottom: 20px;
}

.social-media {
  margin-top: 50px;
}

.address {
  font-size: 1rem;
}

.address h3 {
  font-size: 1rem;
  padding-bottom: 10px;
}

.contact textarea:focus {
  outline-color: #ccc;
  height: 200px;
}

footer {
  position: relative;
  text-align: center;
  font-size: 0.6em;
  color: #f4f4f4;
  background-color: #080808;
}

@-webkit-keyframes modalOpen {
  0% {opacity: 0; }
  100% {opacity: 1; }
}

@keyframes modalOpen {
  0% {opacity: 0; }
  100% {opacity: 1; }
}


@media only screen and (orientation: landscape) {
    .modal-content {
      margin: 7% auto;
    }
}
#secure_form div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
}
@media only screen and (min-width: 960px) {

  .modal-content {
    width: 1480px;
    position: relative;
    margin: 4% auto;
    color: #ccc;
    -webkit-animation-name: modalOpen;
            animation-name: modalOpen;
    -webkit-animation-duration: 1s;
            animation-duration: 1s;
  }

  .video-overlay {
    width:74px;
    height:74px;
    border-width: 37px 0px 37px 74px;
    border-color: transparent transparent transparent rgba(244, 244,244, 0.9);
    top:40%;
  }

  .video-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    padding: 2em;
    position: absolute;
    left: -50%;
    width: 100%;
    -webkit-transition: left 0.3s;
    -o-transition: left 0.3s;
    transition: left 0.3s;
    font-size: 1.1rem;
    color: #f4f4f4;
    font-weight: 500;
  }

  .about p {
    display: inline-block;
  }

  .about, .creative {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .creative p {
    letter-spacing: 2px;
    display: block;
    font-size: 1.1em;
  }

  .creative span {
    font-size: 1.2em;
    font-weight: 400;
    display: block;
    margin-bottom: 5px;
  }

  .text-column {
    width: 50%;
    margin: 0 auto;
    padding: 2em;
    vertical-align: text-top;
  }

  form p {
    text-align: left;
    margin-left: 20%;
  }

  .contact textarea {
    width: 60%;
  }

  .contact input {
    width: 60%;
  }
  .contact input.checkbox {
      width: 100%;
  }

  .error-message {
    color: red;
  }

  .information {
    display: inline-block;
    width: 33%;
    margin-bottom: 0;
  }

  .information img {
    display: inline-block;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 30px;
  }

  .information ul {
      margin-top: 22px;
  }

  .video-wrapper {
    width: 50%;
    display: inline-block;
  }
}

@media only screen and (min-width: 1200px) {
  .videos > .video-wrapper {
  width: 25%;
  }

  .about, .creative {
    padding-top: 6em;
    padding-bottom: 6em;
  }

  .contact .information {
  width: 33%;
  }

  .video-overlay {
    border-color: transparent transparent transparent rgba(244, 244,244, 0.6);
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
  }

  .song-title {
    background-color: #080808;
    opacity: 0.4;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
  }

  .video-wrapper:hover .video-overlay {
    border-color: transparent transparent transparent rgba(244, 244,244, 0.9);
    }

  .video-wrapper:hover .song-title {
    opacity: 0.8;
  }

  .social-media {
    margin-top: 0;
  }
}

/* Video Controller */
.player__button {
  background:none;
  border:0;
  line-height:1;
  color:white;
  text-align: center;
  outline:0;
  padding: 0;
  cursor:pointer;
  max-width:50px;
}
.player__button img {
    width: 14px;
    height: 14px;
}

.player__button:focus {
  border-color: #ffc600;
}

.player__slider {
  width:10px;
  height:30px;
}

.video-controller {
  display: -webkit-box;
  display: flex;
  display: -ms-flexbox;
  display: -webkit-flex;
	position:absolute;
  bottom: 0;
  width: 100%;
  -webkit-transform: translateY(100%) translateY(-5px);
      -ms-transform: translateY(100%) translateY(-5px);
          transform: translateY(100%) translateY(-5px);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  background-color: #080808;
}

.modal-content:hover .video-controller {
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.modal-content:hover .progress-bar {
  height: 15px;
}

.video-controller > * {
  -webkit-box-flex:1;
      -ms-flex:1;
          flex:1;
}

.progress-bar {
  position: relative;
  display:-webkit-box;
  display:flex;
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-box-flex: 10;
      -ms-flex: 10;
          flex: 10;
  -ms-flex-preferred-size:100%;
      flex-basis:100%;
  height:5px;
  -webkit-transition:height 0.3s;
  -o-transition:height 0.3s;
  transition:height 0.3s;
  background:rgba(0,0,0,0.5);
  cursor:ew-resize;
}

.progress-filled {
  background-color: rgba(41, 89, 67, 1);
  -webkit-box-flex: 0;
      -ms-flex: 0;
          flex: 0;
  -ms-flex-preferred-size: 50%;
      flex-basis: 50%;
}

input[type=range] {
  -webkit-appearance: none;
  background:transparent;
  width: 100%;
  margin: 0 5px;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
          box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
  background: rgba(255,255,255,0.8);
  border-radius: 1.3px;
  border: 0.2px solid rgba(1, 1, 1, 0);
}
input[type=range]::-webkit-slider-thumb {
  height: 15px;
  width: 15px;
  border-radius: 50px;
  background: rgba(41, 89, 67, 1);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -3.5px;
  -webkit-box-shadow:0 0 2px rgba(0,0,0,0.2);
          box-shadow:0 0 2px rgba(0,0,0,0.2);
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
  background: #ffffff;
  border-radius: 1.3px;
  border: 0.2px solid rgba(1, 1, 1, 0);
}
input[type=range]::-moz-range-thumb {
  border: none;
  height: 16px;
  width: 16px;
  border-radius: 50px;
  background: rgba(41, 89, 67, 1);
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0), 0 0 1px rgba(13, 13, 13, 0);
  background: #ffffff;
  border-radius: 1.3px;
  border: 0.2px solid rgba(1, 1, 1, 0);
}

input[type=range]::-ms-thumb {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(13, 13, 13, 0);
  margin-top: 0;
  height: 15px;
  width: 15px;
  border-radius: 50px;
  background: rgba(41, 89, 67, 1);
  cursor: pointer;
}

/* Checker */
.disabled {
  opacity: 0.6;
}
#tick_box {
  font-size: 0.8em;
}
