body {
  overflow-x: hidden;
  background-color: #e6e6e6;
}

.hamburger {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 30px;
  right: 0;
}

.hamburger_line {
  width: 100%;
  height: 5px;
  background-color: white;
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  border-radius: 2px;

  transition: all;
  transition-duration: 0.25s;
  transition-delay: 0s;
  transition-timing-function: linear;
}

.hamburger_line::before, .hamburger_line::after {
  content: '';
  width: 100%;
  height: 5px;
  background-color: white;
  display: block;
  position: absolute;
  left: 0;
  border-radius: 2px;

  transition: all;
  transition-duration: 0.25s;
  transition-delay: 0s;
  transition-timing-function: linear;
}

.hamburger_line::before {
  bottom: 10px;
}

.hamburger_line::after {
  top: 10px;
}


.hamburger_icon:hover .hamburger_line::before {
  animation: move_hamburger_forward;
  animation-delay: 0s;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.hamburger_icon:hover .hamburger_line::after {
  animation: move_hamburger_reverse;
  animation-delay: 0s;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

.hamburger_open_line {
  background-color: rgba(0, 0, 0, 0);
}

.hamburger_open_line::before {
  animation: open_hamburger_top_line;
  animation-delay: 0s;
  animation-duration: 0.5s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}

.hamburger_open_line::after {
  animation: open_hamburger_bottom_line;
  animation-delay: 0s;
  animation-duration: 0.5s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}


@keyframes move_hamburger_forward {
  0%{left: 0;}
  25%{left: 8px;}
  50%{left: 0px;}
  75%{left: -8px;}
  100%{left: 0px;}
}

@keyframes move_hamburger_reverse {
  0%{left: 0;}
  25%{left: -8px;}
  50%{left: 0px;}
  75%{left: 8px;}
  100%{left: 0px;}
}

@keyframes open_hamburger_top_line {
  0%{bottom: 10px; transform: rotate(0deg);}
  25%{bottom: 0; top: 0;  transform: rotate(0deg);}
  100%{bottom: 0; top: 0; transform: rotate(45deg);}
}

@keyframes open_hamburger_bottom_line {
  0%{top: 10px; transform: rotate(0deg);}
  25%{bottom: 0; top: 0;  transform: rotate(0deg);}
  100%{top: 0; bottom: 0; transform: rotate(-45deg);}
}


section {
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.background_container {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.background {
  height: 100%;
  width: 100%;

  background-image: url('../images/back.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;


    position: absolute;
    top: 0;
    left: 0;

  animation-name: zoomeffect;
  animation-duration: 25s;
  animation-timing-function: cubic-bezier(.35,.85,.68,.1);
  animation-iteration-count: infinite;

}


.quest_poster {
  height: 100%;
  width: 100%;

  background-image: url('../images/quest2k18.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;


    position: absolute;
    top: 0;
    left: 0;
}

@keyframes zoomeffect {
  0%{transform: scale(1);}
  50%{transform: scale(1.2);}
  100%{transform: scale(1);}
}

.trailer_container {
  width: 100%;
  height: 100%;
  padding: 20px 37px 20px 20px;
  position: absolute;
  box-sizing: border-box;


  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;

  display: flex;
  justify-content: center;
  align-items: center;
}

.trailer {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;

  transition: all;
  transition-duration: 0.35s;
  transition-delay: 0s;
  transition-timing-function: linear;
  /* TODO */
  /* border: solid 8px #3E2723; */
}

.trailer_close_wrapper {
  height: 30px;
  width: 30px;
  position: absolute;
  right: 10px;
  top: 10px;

  display: none;

  transition: all;
  transition-duration: 0.5s;
  transition-delay: 0s;
  transition-timing-function: linear;

  z-index: 6;
}

.button_trailer_close {
  position: relative;
  height: 100%;
  width: 100%;
  display: block;
}

.button_trailer_close::before, .button_trailer_close::after {
  content: '';
  height: 5px;
  width: 100%;
  position: absolute;
  top: 12px;
  right: 0px;
  background-color: white;
  border-radius: 4px;

  transition: all;
  transition-duration: 0.25s;
  transition-delay: 0s;
  transition-timing-function: linear;

}



.button_trailer_close::before {
  transform: rotate(-45deg);
}

.button_trailer_close::after {
  transform: rotate(45deg);
}


.trailer_close_wrapper:hover .button_trailer_close::before {
  transform: rotate(-35deg);
}

.trailer_close_wrapper:hover .button_trailer_close::after {
  transform: rotate(35deg);
}


.video_trailer {
  display: none;
  z-index: 5;
  height: 100%;
  width: 100%;
}

/* .play */
.trailer_play i {
  height: 100%;
  width: 100%;
  font-size: 70px;
  color: white;
  text-align: center;
  /* padding-top: 13px; */
  /* padding-left: 10px; */
  margin-left: 2px;
  margin-top: 2px;
  border-radius: 100%;
  box-sizing: border-box;

  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;

  z-index: 10;
}


.trailer_play::before, .trailer_play::after {
  content: '';
  height: 72px;
  width: 72px;
  border: 2px solid white;
  border-radius: 100%;
  position: absolute;
  z-index: -1;
  top: 0;
}

.trailer_play::before {
  animation-name: pulsate-1;
  animation-duration: 1.5s;
  animation-delay: 0s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

.trailer_play::after {
  animation-name: pulsate-2;
  animation-duration: 1.5s;
  animation-delay: 0s;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}

.play:hover {
  cursor: pointer;
  color: #263238;
  background-color: white;
}

@keyframes pulsate-1 {
  0% {transform: scale(1);border-color: rgba(255, 255, 255, 0.0);}
  50% {border-color: rgba(255, 255, 255, 1);}
  80% {transform: scale(1.1);border-color: rgba(255, 255, 255, 0.3);}
  100% {transform: scale(1.0);border-color: rgba(255, 255, 255, 0.0);}
}

@keyframes pulsate-2 {
  0% {transform: scale(1);border-color: rgba(255, 255, 255, 0.0);}
  50% {border-color: rgba(255, 255, 255, 1);}
  80% {transform: scale(1.3);border-color: rgba(255, 255, 255, 0.3);}
  100% {transform: scale(1.1);border-color: rgba(255, 255, 255, 0.0);}
}


.trailer_mask, .trailer_play {
  height: 72px;
  width: 72px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;

  /* TODO */
  /* display: none; */

}
/*
.trailer_mask {
display: none;
} */

.trailer_play {
  z-index: 1;
}


.open_trailer {
  /* TODO */
  background-color:black;
  border-radius: 100%;
  z-index: 3;
  /* TODO */
  display: block;
  animation-name: open_trailer;
  animation-duration: 2s;
  animation-delay: 0s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes open_trailer {
  0% {transform: scale(1);}
  100% {transform: scale(100);}
}

/*
.close_trailer {
height: 100%;
width: 100%;
color: white;
text-align: right;
box-sizing: border-box;
padding: 20px;
}

.close_trailer:hover {
cursor: pointer;
color: black;
} */

.close_trailer {
  background-color: rgba(0, 0, 0, 1);
  border-radius: 100%;
  z-index: 3;
  display: block;

  animation-name: close_trailer;
  animation-duration: 0.4s;
  animation-delay: 0s;
  animation-timing-function: ease-in;
  animation-fill-mode: forwards;
}

@keyframes close_trailer {
  0% {transform: scale(50);}
  95% {transform: scale(1); background-color: rgba(0, 0, 0, 1); z-index: 3;}
  100% {background-color: rgba(0, 0, 0, 0); z-index: -1;}
}

.about {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  /* position: absolute;
  top: 0;
  left: 0; */
  z-index: 1;
}

.quest, .jntu {
  width: 50vw;
  position: relative;
  padding-top: 90px;
  overflow: hidden;
}

.quest:hover > .indicator, .jntu:hover > .indicator {
  height: 80px;
  border-radius: 5px;
  transform: translateY(-190%);
}

.quest:hover > p, .jntu:hover > p {
  top: 35%;
}

.quest .indicator, .jntu .indicator {
  height: 150px;
  width: 150px;
  border: solid 10px black;
  border-radius: 200px;
  box-sizing: border-box;


  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;


  font-family: 'Source Sans Pro', helvetica;
  text-align: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all;
  transition-duration: 0.5s;
  transition-timing-function: ease-out;
  transition-delay: 0s;
}

.quest h3, .jntu h3 {
  vertical-align: middle;
}

.about p {
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 2.1em;

  padding: 40px 67px 10px 67px;
  position: absolute;
  top: 1000px;

  font-size: 20px;

  transition: all;
  transition-duration: 0.5s;
  transition-delay: 0s;
  transition-timing-function: ease-out;
}

.hover:hover {
  cursor: pointer;
}

.appear_from_bottom {
  animation: appear_from_bottom;
  animation-delay: 0s;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}


.appear_from_top {
  animation: appear_from_top;
  animation-delay: 0s;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes appear_from_bottom {
  0%{transform: translateY(200%);z-index: 5;}
  100%{transition: translateY(0%);z-index: 5;}
}

@keyframes appear_from_top {
  0%{transform: translateY(-200%);z-index: 5;}
  100%{transition: translateY(0%);z-index: 5;}
}

.google_maps {
  margin: 20px auto 0 auto;
  width: 100%;
  height: 80vh;
  border-radius: 4px;
}

.featured_sponsors .images, .previous_sponsors .images {
  text-align: center;
}

.featured_sponsors {
  background-color: #f2f2f2;
  padding: 20px 0;
}

.previous_sponsors {
  background-color: #d9d9d9;
  padding: 20px 0;
}

.featured_sponsors h3, .previous_sponsors h3 {
  margin-bottom: 10px;
  text-align: center;
  font-family: 'Source Sans Pro', sans-serif;
}

.featured_sponsors .images img, .previous_sponsors .images img {
  margin: 20px;
  width: 120px;
  display: inline-block;
  vertical-align: middle;

  transition: all;
  transition-delay: 0s;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}

.featured_sponsors .images img:hover, .previous_sponsors .images img:hover {
  transform: scale(1.1);

}

.copyrights, .developer_credits {
  background-color: #006064;
  padding: 20px 10px 0 10px;
}

.copyrights h4 {
  text-align: center;
  font-family: 'Source Sans Pro', helvetica;
}


.developer_credits {
  background-color: #006064;
  padding: 10px 10px 15px 10px;
}

.developer_credits a {
  text-decoration: none;
}

.developer_credits h4 {
  font-size: 19px;
  text-decoration: none;
  text-align: center;
  font-family: 'Source Sans Pro', helvetica;
  color: black;
  transition: all;
  transition-duration: 0.5s;
  transition-delay: 0s;
  transition-timing-function: linear;
}

.developer_credits h4:hover {
  color: #ECEFF1;
}

.modal_container {
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: hidden;

  display: none;


    -webkit-backface-visibility: hidden;
}

.modal {
  width: 50%;
  min-width: 300px;
  margin: 6vh auto;
  background-color: white;
  height: 88vh;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.5);

  border-radius: 5px;

  overflow-y: auto;

  transform: translateY(-1000px);

  display: none;

  transition: all;
  transition-delay: 0s;
  transition-duration: 0.5s;
  transition-timing-function: ease-in-out;

    -webkit-backface-visibility: hidden;

        backface-visibility: hidden;
        -moz-backface-visibility: hidden;
        -o-backface-visibility: hidden;
}


.modal .image {
  width: 100%;
  height: 50%;
  background-size: cover;
  background-position: 50% 50%;
  position: relative;
}

.modal.about_jntu .image {
  background-image: url('../images/jntu.jpg');
}

.modal.about_quest .image {
  background-image: url('../images/cse.jpg');
}

.modal.about_jntu .image > div::before {
    content: 'About JNTU';
}

.modal.about_quest .image > div::before {
    content: 'About Quest';
}

.modal .image > div::before {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2;
  width: 100%;
  height: 40px;

  color: white;
  font-size: 18px;
  font-family: 'Source Sans Pro', helvetica;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
}

.modal p {
  font-family: 'Source Sans Pro', helvetica;
  font-size: 18px;
  line-height: 1.6em;
  color: #263238;

  padding: 20px 20px 10px 20px;

}


@media (max-width:768px) {

  .about p {
    line-height: 1.5em;
    text-align: left;
    padding: 0 35px;
    top: 1000px;
  }
}

@media (max-width:600px) {


  .quest:hover > .indicator, .jntu:hover > .indicator {
    height: 80px;
    border-radius: 5px;
    transform: translateY(-80%);
  }


  .quest_poster {
    background-size: 200%;
  }


  .quest:hover > p, .jntu:hover > p {
    top: 55%;
  }

  .trailer_play {
    transform: scale(0.8);
  }

  .about {
    height: 100vh;
    width: 100%;
    flex-direction: column;
  }

  .quest, .jntu {
    height: 50vh;
    width: 100vw;
    padding-top: 90px;
  }

  .about p {
    line-height: 1.5em;
    padding: 0 28px;
    top: 1000px;

    font-size: 15px;
  }


    .modal p {
      font-size: 16px;
      line-height: 1.6em;
    }

  .quest .indicator, .jntu .indicator {
    height: 120px;
    width: 120px;
    border: solid 5px black;
    border-radius: 120px;
  }
}

@media (max-width:400px) {
  .trailer_play {
    transform: scale(0.6);
  }
}

@media (max-height:600px) {
  .quest:hover > .indicator, .jntu:hover > .indicator {
    height: 80px;
    border-radius: 5px;
    transform: translateY(-75%);
  }
  .quest:hover > p, .jntu:hover > p {
    top: 50%;
  }

  .about p {
    line-height: 1.4em;

    padding: 0px 25px 0px 25px;
    font-size: 14px;
  }

  .modal p {
    font-size: 16px;
    line-height: 1.6em;
  }

  .quest .indicator, .jntu .indicator {
    height: 100px;
    width: 100px;
    border: solid 5px black;
    border-radius: 120px;
  }

  .quest .indicator h3, .jntu .indicator h3 {
    font-size: 15px;
  }


}
