@font-face {
  font-family: "Lato";
  src: url(../assets/fonts/Lato/Lato-Regular.ttf);
}
@font-face {
  font-family: "Lato-Italic";
  src: url(../assets/fonts/Lato/Lato-Italic.ttf);
}
@font-face {
  font-family: "Montserrat-Bold";
  src: url(../assets/fonts/Montserrat/Montserrat-Bold.ttf);
}
@font-face {
  font-family: "04b_30";
  src: url(../assets/fonts/04b_30/04B_30__.TTF);
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow: hidden;
  font-family: "Lato";
}
@media screen and (max-width: 1025px) {
  body {
    overflow: auto;
  }
}
@media screen and (max-width: 1000px) {
  .hidable{
    display: none !important;
  }
}
/*
@media screen and (min-width: 320px) and (max-width: 767px) and (orientation: landscape) {
  html {
    transform: rotate(-90deg);
    transform-origin: left top;
    width: 100vh;
    overflow-x: hidden;
    position: absolute;
    top: 100%;
    left: 0;
  }
}*/



div, header, nav, article, span {
  box-sizing: border-box;
}


.by-button{
  box-shadow: 10px 11px 2px rgba(30, 30, 30, .3);
  cursor: pointer;
  display: flex;
  width: fit-content;
  font-size: .7em;
  text-transform: uppercase;
  transition: .3s all ease-in;
}
.by-button--dark-shadow{
  box-shadow: 10px 11px 2px #111622;
}
.by-button--dark-shadow:hover{
  box-shadow: 12px 14px 3px #111622 !important;
}
.by-button:hover{
  box-shadow: 12px 14px 3px rgba(30, 30, 30, .3);
  transition: .3s all ease-in;
}
.by-button__value{
  background-color: #eca637;
  border-top: .4em solid #f0b558;
  border-bottom: .4em solid #df861e;
  box-shadow: 0 .2em 0 #c27525;
  color: #955011;
  font-family: "04b_30";
  padding: .4em 1em;
}
.green .by-button__value{
  background-color: #5e9853;
  border-top: .4em solid #73ba62;
  border-bottom: .4em solid #487436;
  box-shadow: .2em .2em 0 #3f6836, .2em 0 0 #3f6836;
  color: #fff;
}
.by-button__icon{
  background-color: #e15f3e;
  border-top: .4em solid #e47653;
  border-bottom: .4em solid #d9573a;
  box-shadow: 0 .2em 0 #be2716, .3em .2em 0 #be2716, .3em 0 0 #be2716;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 .5em;
}
.by-button__icon img{
  width: 1.6em;
}
.by-button:hover .by-button__value{
  /*border-top: .4em solid #df861e;
  background-color: #eca637;
  border-bottom: .4em solid #f0b558;
  box-shadow: 0 .2em 0 #df861e;*/
}



.body-wrapper {
  height: 100vh;
}
.blue-segment-bg {
  background-color: #151b2a;
  background: #151b2a;
  background: -moz-linear-gradient(
    top,
    #151b2a 0%,
    #151b2a 58%,
    #103047 86%,
    #103047 100%
  );
  background: -webkit-gradient(
    left top,
    left bottom,
    color-stop(0%, #151b2a),
    color-stop(58%, #151b2a),
    color-stop(86%, #103047),
    color-stop(100%, #103047)
  );
  background: -webkit-linear-gradient(
    top,
    #151b2a 0%,
    #151b2a 58%,
    #103047 86%,
    #103047 100%
  );
  background: -o-linear-gradient(
    top,
    #151b2a 0%,
    #151b2a 58%,
    #103047 86%,
    #103047 100%
  );
  background: -ms-linear-gradient(
    top,
    #151b2a 0%,
    #151b2a 58%,
    #103047 86%,
    #103047 100%
  );
  background: linear-gradient(
    to bottom,
    #151b2a 0%,
    #151b2a 58%,
    #103047 86%,
    #103047 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#151b2a', endColorstr='#103047', GradientType=0 );
  height: 200vh;
}
.white-segment-bg {
  background-color: #fff;
  height: 200vh;
  position: relative;
  
  overflow: hidden;
}
.gray-segment-bg {
  background-color: #e3e3e3;
  height: 100vh;
}

.by-section{
  height: 100vh;
  position: relative;
  transition: .4s all ease;
  overflow: hidden;
}
.by-section-container, .by-header-container{
  height: 100%;
  width: 80%;
  margin: 0 auto;
  position: relative;
}

/**************BIINYU MAIN MANU************/
/*.menu{
  position: fixed;
  top: -100vh;
  z-index: 90;
  
  background-color: #f19800;
  width: 100vw;
  height: 100vh;
  transition: .7s all ease-out;
}
.menu--called{
  top: 0;
  transition: .7s all ease-in;
}
.menu--called + .biinyu-header{
  background-color: rgba(21,27,42,.2) !important;
  transition: 1s all ease-in;
}*/

.menu{
  position: fixed;
  top: -30px;
  z-index: 90;
  
  background-color: #f19800;
  width: 25px;
  height: 25px;
  right: 0;
  transition: .3s all ease-out;
  border-radius: 0 0 0 100%;
  overflow: hidden;
}
.menu--called{
  top: 0;
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  transition: .3s all ease-in;
}
.menu--called + .biinyu-header{
  background-color: transparent !important;
  transition: .2s all ease-in;
}

.menu__pendulo img{
  width: 45vh;
  position: absolute;
  top: -2vh;
  left: 55%;
  animation: pendule 3s linear infinite;
  transform-origin: top center;
}
@keyframes pendule{
  0%{
    transform: rotate(-35deg);
  }
  25%{
    transform: rotate(0deg);
  }
  50%{
    transform: rotate(35deg);
  }
  75%{
    transform: rotate(0deg);
  }
  100%{
    transform: rotate(-35deg);
  }
}

.menu__col-1{
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 10vh;
  width: 60%;
}
.menu__col-2{
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 10vh;
}
.menu__main-menu{ 
  margin: 0;
  padding: 0;
  list-style: none;
}
.menu__menu-item{
  display: block;
  font-family: "Lato";
  color: #fff;
  margin-bottom: 1.2em;
}
.menu__menu-link{
  color: #fff;
  display: block;
  font-family: "Lato";
  font-weight: bold;
  font-size: 5vh;
  padding-bottom: 7px;
  text-decoration: none;
}
.menu__menu-item small{
  display: block;
  line-height: 1.4em;
}
@media screen and (max-width: 1000px) {
  .menu-section{
    flex-wrap: wrap;
  }
  .menu--called .menu__pendulo img{
    position: fixed;
    width: 30vh;
  }
  .menu__pendulo img{
    position: absolute;
  }
  .menu__col-1{
    align-items: flex-start;
    height: auto;
    width: 100%;
    padding-top: 18vh;
    padding-bottom: 2vh;
  }
  .menu__col-2{
    align-items: flex-start;
    height: auto;
    width: 100%;
  }
  .menu__menu-link{
    font-size: 4vh;
  }
}
@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .menu-section{
    flex-wrap: nowrap;
  }
  .menu__pendulo img{
    position: absolute;
    width: 35vh;
    left: 32%;
  }
  .menu__col-1{
    align-items: flex-end;
    height: auto;
    width: 50%;
    padding-top: 0;
    padding-bottom: 2vh;
  }
  .menu__col-2{ 
    align-items: center;
    height: auto;
    width: 50%;
    padding-top: 15vh;
  }
  .menu__menu-link{
    font-size: 6vh;
  }
}

/**************HEADER************/
.by-header-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.biinyu-header{
  height: 20vh;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 100;
  transition: .5s all ease-out;
}
@media screen and (max-width: 1025px) {
  .biinyu-header{
    position: fixed;
  }

  .menu--on .biinyu-header{
    position: fixed !important;
  }
}

.biinyu-header__logo{
  width: 12em;

  opacity: 1;
  transition: .4s all ease;
}
.biinyu-header__actions{
}
.biinyu-header__menu-link{
  cursor: pointer;
  text-decoration: none;
}
.biinyu-header__menu-icon{
  width: 2em;

  opacity: 1;
  transition: .4s all ease;
}

.biinyu-header__menu-icon.rotating{
  -webkit-animation: rotating .4s linear infinite;
  -moz-animation: rotating .4s linear infinite;
  -ms-animation: rotating .4s linear infinite;
  -o-animation: rotating .4s linear infinite;
  animation: rotating .4s linear infinite;
  
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 1000px) {
  .biinyu-header--blue-highlight{
    background-color: rgba(21,27,42,.7);
    transition: 1s all ease;
  }
  .biinyu-header--white-highlight{
    background-color: rgba(255,255,255,.7);
    transition: 1s all ease;
  }
  .biinyu-header--gray-highlight{
    background-color: rgba(227,227,227,.7);
    transition: 1s all ease;
  }

  .biinyu-header{
    height: 12vh;
  }
  .biinyu-header__logo{
    width: 6em;
  }
  .biinyu-header__menu-icon{
    width: 1.6em;
  }
}

@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .biinyu-header{
    height: 20vh;
  }
}





/*///////////////////////////////////*/
/*--------------SECTION 1-----------*/
/*/////////////////////////////////*/
.init-section{

}
.init-section__left{
  padding-top: 2em;
  height: 100%;
  width: 55%;
  position: absolute;
  top: 0;
  left: 0;

  display: flex;
  align-items: center
}
.init-section__content{
  color: #fff;
  font-family: "Lato";
  font-size: 2.5vh;
}
.init-section__content-title{
  color: #f19800;
  font-family: "Montserrat-Bold";
  font-size: 6.8vh;
  text-transform: uppercase;
  margin-bottom: .2em;
}
.init-section__content-p{
  font-size: 2.5vh;
  margin-bottom: 2.5em;
  width: 65%;
}


.init-section__right{
  height: 100%;
  width: 60%;
  position: absolute;
  top: 0;
  right: 0;
}

@media screen and (max-width: 1000px) {
  .init-section__left{
    width: 100%;
  }
  .init-section__right{
    width: 0;
  }
}

/*////////////////CIRCLES///////////*/
.circle, .circle__outer, .circle_middle, .circle__inner{
  display: flex;
  justify-content: center;
  align-items: center;
}
.circle__outer, .circle_middle, .circle__inner{
  border-radius: 50%;
}
.circle{
  margin-left: 2em;
  height: 100%;
  width: 100%;
}
.circle__outer{
  position: absolute;
  background-color: #172033;
  height: 97vh;
  width: 97vh;
}
.circle_middle{
  background-color: #1d2f4a;

  height: 70%;
  width: 70%;
}
.circle__inner{
  background-color: #a8edfe;

  height: 70%;
  width: 70%;
}
@media screen and (max-width: 1000px) {
  .circle__outer{
    left: 100%;
    transform: translateX(-20%);
  }
}
@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .init-section__content{
    font-size: 4vh;
  }
  .init-section__content-title{
    font-size: 10vh;
  }
  .init-section__content-p{
    font-size: 4vh;
  }
  .circle__outer{
    left: 100%;
    transform: translateX(-30%);
    height: 200vh;
    width: 200vh;
  }
}

/*////////////////CHARACTERS///////////*/
.characters{ 
  display: flex;
  justify-content: center;
  align-items: center;

  position: absolute;
  top: 0;

  width: 100%;
  height: 100%;
  padding-bottom: 1em;
  padding-left: 1em;
}
.characters .ch-bg{ 
  width: 85%;
  padding-left: 8vh;
}
.characters .women{ 
  position: absolute;
  width: 35%;
  left: 19vh;
  margin-top: -1vh;
  transition: 1s all ease-in;
  animation-name: flying;
  animation-duration: 2s;
  animation-delay: 1.6s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.characters .waiting{ 
  animation: none !important;
  transform: translateY(-100vh) !important;
}
.characters .pochocho.waiting{ 
  animation: none !important;
  transform: translateY(100vh) !important;
}
.characters .kid{ 
  position: absolute;
  width: 22%;
  left: 23vh;
  
  margin-top: 8vh;
  transition: 1s all ease-in;
  animation-name: flying;
  animation-duration: 2s;
  animation-delay: 1.5s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.characters .man{ 
  position: absolute;
  width: 35%;
  
  right: 10vh;
  margin-top: 6vh;
  transition: 1s all ease-in;
  animation-name: flying;
  animation-duration: 2s;
  animation-delay: 1.9s;
  
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}
.characters .pochocho{ 
  position: absolute;
  width: 18%;
  right: 5vh;
  margin-top: -12vh;
  transition: .5s all ease-in;
  animation-name: flying;
  animation-duration: 2s;
  animation-delay: 1.2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

@keyframes flying{
  0%{
    transform: translateY(0vh);
  }
  50%{
    transform: translateY(-1.2vh);
  }
   100%{
    transform: translateY(0vh);
  }
}

@media screen and (max-width: 1000px) {
  .characters{
    display: none;
  }
}

/*////////////////SOCIAL NETWORKS///////////*/
.social-networks{
  position: absolute;
  bottom: 4em;
  right: 0;
}
.social-networks a{
  color: #fff;
  display: block;
  font-size: 1.5em;
  margin-bottom: 10px;
}
.social-networks a:hover{
  color: #f19800;
}

@media screen and (max-width: 1000px) {
  .social-networks{
    top: 7em;
  }
  .social-networks a{
    font-size: 2em;
    margin-bottom: 10px;
  }
}



/*///////////////////////////////////*/
/*--------------SECTION 2-----------*/
/*/////////////////////////////////*/
.by-project-slider{ 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding-top: 5em;
}
.by-project-slider__slider-container{ 
  background-color: rgba(25,25,25,.8);
  height: 55vh;
  width: 80%;

  display: flex;
  box-shadow: 0 20px 25px 10px rgba(1, 1, 26, 0.418);
  position: relative;
  z-index: 1;
}
.by-project-slider__bg{
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.by-project-slider__slider-left, .by-project-slider__slider-right{
  flex-basis: 50%;
  width: 50%;
}
.by-project-slider__slider-left{
  background-color: rgba(25,25,25,.8);
  background-position: top left;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}
.by-project-slider__slider-left.clear{
  background-color: rgba(25,25,25,0);
}
.by-project-slider__slider-left img{
  width: 25%;
  opacity: 1;
  transform: scale(1);
  transition: .8s all ease;
}
.by-project-slider__slider-right{
  background-color: #fff;
  background-image: url("../assets/img/slider-bg.png");
  background-position: bottom right;
  background-size: contain;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  padding-left: 2.5em;

  opacity: 1;
  transition: 500ms all ease;
}
.by-project-slider__content-wrapper{
  width: 75%;
}
.by-project-slider__title{
  color: #c83131;
  font-family: "Montserrat-Bold";
  text-transform: uppercase;
  margin: 0;
}
.by-project-slider__sub{
  color: #888;
  font-family: "Lato-Italic";
  font-size: 1.1em;
}
.by-project-slider__content{
  font-family: "Lato";
  margin-bottom: 2em;
}


.by-project-slider__navigation{ 
  height: 3em;
  margin-top: 2em;
  position: relative;
  width: 80%;
}
.by-project-slider__navigation-axis{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3em;
  width: 100%;
}
.by-project-slider__navigation-axis .line{
  color: #fff;
  border: 2px solid #fff;
  box-sizing: border-box;
  display: inline-block;
  width: 99%;
}
.by-project-slider__navigation-bubbles{
  position: absolute;
  top: 0;

  height: 3em;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;
}
.by-project-slider__navigation-bubble{
  background-color: #a1a1a1;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff;
  cursor: pointer;
  display: inline-block;
  height: 1em;
  width: 1em;
}
.by-project-slider__navigation-bubble:hover{
  background-color: #fda500;
}
.by-project-slider__navigation-bubble--active{
  background-color: #fda500;
}
.by-project-slider__navigation-bubble:first-child, .by-project-slider__navigation-bubble:last-child{
  background-color: #fff;
  box-shadow: none;
  cursor: auto;
}

.by-anim-fade-out-content{
  opacity: 0 !important;
  transition: 400ms all ease !important;
}
.by-anim-compress-block{
  flex-basis: 0;
  width: 0;
  padding: 0;
  margin: 0 !important;
  transition: 500ms all ease !important;
}
.beating{

  animation-name: beating;
  animation-duration: 1.5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes beating{
  0%{
    transform: scale(1);
  }
  50%{
    transform: scale(1.05);
  }
  100%{
    transform: scale(1);
  }
}

.minimize{
  animation-name: minimize;
  animation-duration: .7s;
  animation-iteration-count: 1;
  animation-timing-function: linear;
  transform: scale(0) !important;
}
@keyframes minimize{
  0%{
    transform: scale(1);
  }
  100%{
    transform: scale(0);
  }
}

@media screen and (max-width: 1000px) {
  .by-project-slider__slider-container{ 
    height: 70vh;
    width: 100%;
  
    display: flex;
    flex-direction: column;
  }
  .by-project-slider__slider-left, .by-project-slider__slider-right{
    width: 100%;
  }
  .by-project-slider__slider-left{
    flex-basis: 40;
    height: 40%;
    flex-grow: 0 !important;
    max-height: 40%;
  }
  .by-project-slider__slider-right{
    flex-basis: 60;
    height: 60%;
  }


  .by-project-slider__title{ 
    font-size: 2.5vh;
  }
  .by-project-slider__sub{ 
    font-size: 2.2vh;
  }
  .by-project-slider__content{ 
    margin-bottom: .8em;
    font-size: 2.2vh;
  }

  .by-project-slider__navigation{ 
    margin-top: .5em;
    position: relative;
    width: 100%;
  }
}

@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .by-project-slider__slider-container{ 
    height: 65vh;
    width: 100%;
  
   
    flex-direction: row;
  }
  .by-project-slider__slider-left, .by-project-slider__slider-right{
    flex-basis: 50%;
    width: 50%;
  }
  .by-project-slider__slider-left{
    height: 100%;
    flex-grow: 1 !important;
    max-height: 100%;
  }
  .by-project-slider__slider-right{
    height: 100%;
  }

  .by-project-slider__title{ 
    font-size: 3vh;
  }
  .by-project-slider__sub{ 
    font-size: 2.8vh;
  }
  .by-project-slider__content{ 
    margin-bottom: .8em;
    font-size: 2.5vh;
  }
}



/*///////////////////////////////////*/
/*--------------SECTION 3-----------*/
/*/////////////////////////////////*/
.by-ring-bg{
  height: 140vh;
  padding-top: 2.5em;
  position: absolute;
  top: 0;
  left: 60vw;
}
.by-ring-bg img{
  height: 100%;
}

.history-wrapper{
  display: flex;
  font-family: "Lato";
  align-items: center;
  height: 100%;
}
.by-history{
  width: 40%;
  font-size: 2.5vh
}
.history__title{
  color: #f19800;
  font-family: "Montserrat-Bold";
  font-size: 2.7em;
  margin: 0;
  margin-bottom: .4em;
  text-transform: uppercase;
  line-height: 1em;
}
.history__title small{
  font-family: "Lato";
  font-size: .4em;
  display: block;
  margin: 0;
  line-height: 1em;
  padding-left: 3px;
  text-transform: none;
}
.history__content{
  margin-bottom: 2em;
  font-size: 2.5vh;
}
.magazine-floater{
  margin-left: auto;
  max-width: 60%;
}
.magazine-character{
padding-right: 15vh;
position: relative;
}
.magazine-character__bg{
  margin-top: 15vh;
  height: 80vh;
  
}
.magazine-character__heart{
  transform: rotate(-15deg);
  position: absolute;
  top: 8vh;
  left: -5vh;
  width: 25vh;
  cursor: pointer;
}
.magazine-character__pacman{
  position: absolute;
  top: 25vh;
  left: 54vh;
  width: 20vh;
  cursor: pointer;
}
.magazine-character__ghost{
  position: absolute;
  top: 52vh;
  left: -3vh;
  width: 18vh;
  cursor: pointer;
}
.magazine-character__control{
  position: absolute;
  top: 62vh;
  left: 36vh;
  width: 40vh;
  cursor: pointer;
}

@media screen and (max-width: 1000px) {
  .by-ring-bg{ 
    height: 140vh;
    padding-top: 6vmin;
    right: auto;
    left: 50vmin;
  }
  .by-history{
    position: absolute;
    width: 100%;
    z-index: 60;
  }
  .magazine-character{ 
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    }
  .magazine-character__bg{
    display: none;    
  }
  .magazine-character__heart{
    top: 38vmin;
    left: auto;
    right: -5vmin;
    width: 15vh;
  }
  .magazine-character__ghost{
    top: 115vw;
    left: 45vw;
    width: 40vw;
  }
  .magazine-character__control{
    top: 135vw;
    left: auto;
    right: 17vw;
    width: 30vw;
    transform: rotate(25deg);
  }
  .magazine-character__pacman{
    display: none;
  }
}

@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .by-ring-bg{ 
    height: 170vh;
    padding-top: 10vh;
    right: auto;
    left: 60vmax;
  }
  .by-history{
    font-size: 4vh;
    width: 65%;
  }
  .history__content{
    font-size: 4vh;
  }
  .magazine-character__heart{
    top: 35vh;
    left: auto;
    right: -5vmin;
    width: 50vh;
  }
  .magazine-character__ghost{
    top: 65vh;
    left: auto;
    right: 30vw;
    width: 25vh;
  }
  .magazine-character__control{
    top: 72vh;
    left: auto;
    right: 38vw;
    width: 20vh;
  }
}



/*///////////////////////////////////*/
/*--------------SECTION 4-----------*/
/*/////////////////////////////////*/

.by-flexer{
  display: flex;
}
.by-team-container{ 
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 60%;
}
.by-team-container .team-bg{ 
  height: 80vh; 
  animation: rotando 1000s infinite;
  animation-timing-function: linear;
}
@keyframes rotando{
  0%{
    transform: rotateZ(0deg);
  }
  50%{
    transform: rotateZ(360deg);
  }
  100%{
    transform: rotateZ(0deg);
  }
}

.by-team-container .team{ 
  position: absolute;
  width: 76vh;
  margin-left: calc(50% - 38vh);
}
.by-team-desc-container{
  display: flex;
  align-items: center;
  font-family: "Lato";
  font-size: 2.5vh;
  padding-left: 3em;
  padding-right: 1em; 
  z-index: 60;
}
.by-team-desc p{ 
  padding-bottom: .5em;
}

@media screen and (max-width: 1000px) {
  .by-team .by-flexer{
    flex-direction: column;
  }
  .by-team-container{  
    height: 40%;
    width: 100%;
    max-width: 100%;
  }
  .by-team-container .team{ 
    position: absolute;
    width: 100%;
    margin-left: auto;
    align-self: flex-end;
  }
  .by-team-desc-container{
    padding-left: 0;
    padding-right: 0;
    z-index: 50;
    text-align: center;
    
  }
  .by-team .by-button{
    margin: 0 auto;
  }
  .by-team-container .team-bg{ 
    opacity: .3;
  }
}
@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .by-team .by-flexer{
    flex-direction: row;
  }
  .by-team-container{  
    height: 100%; 
    width: 50%;
  }
  .by-team-container .team{ 
    position: absolute;
    width: 100%;
    margin-left: 0;
    align-self: center;
  }
  .by-team-desc-container{
    font-size: 4vh;
  padding-left: 3em;
  padding-right: 1em;
  text-align: left
  }
  .by-team .by-button{
    margin: 0;
  }
}



/*///////////////////////////////////*/
/*--------------SECTION 5-----------*/
/*/////////////////////////////////*/
.by-contact-container{
  display: flex;
  align-items: center;
  font-family: "Lato";
  font-size: 2.5vh;
  padding-left: 3em;
  padding-right: 1em;
  width: 40%;
  z-index: 60;
}
.by-contact-title{
  color: #f19800;
  font-family: "Montserrat-Bold";
  font-size: 2.3em;
  margin: 0;
  margin-bottom: .4em;
  text-transform: uppercase;
  line-height: 1em;
}
.by-contact-media-container{ 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  max-width: 60%;
}
.by-contact-media-container img{ 
  height: 75vh;
}

@media screen and (max-width: 1000px) {
  .by-contact-section .by-flexer{
    flex-direction: column-reverse;
    justify-content: flex-end;
    padding-top: 13vh;
  }
  .by-contact-container{ 
    font-size: 2.4vh;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }
  .by-contact-media-container{  
    width: 100%;
    height: 30%;
    justify-content: flex-end;
    padding-bottom: 2vh;
    max-width: 100%;
  }
  .by-contact-media-container img{ 
    height: 100%;
  }
}

@media screen and (min-width: 320px) and (max-width: 1000px) and (orientation: landscape) {
  .by-contact-section .by-flexer{
    flex-direction: row;
    justify-content: center;
    padding-top: 5vh;
  }
  .by-contact-container{ 
    font-size: 3.6vh;
    padding-left: 0;
    padding-right: 0;
    width: 50%;
  } 
  .by-contact-media-container{ 
    width: 50%;
    height: 100%;
    justify-content: center;
    padding-bottom: 0;
  }
  .by-contact-media-container img{ 
    height: 80%;
  }
}


.modal{
  position: fixed; 
  width: 100%;
  height: 100%;

  background-color:  rgba(10,10,10,.8);
  top: 0;
  left: 0;

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

  z-index: 250; 
}



.modal.hide{
  display: none;
}
.modal-close-action{
  position: absolute;
  color: #fff;
  top: 2em;
  right: 2em;
  border: .2em solid #fff;
  border-radius: 50%;
  width: 2em;
  height: 2em;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}
.modal__wrapper{
  background-color: rgb(255,255,255);
  border-radius: 15px;
  box-sizing: border-box;
  width: 700px;
}

.contact-form{
  display: flex;
  justify-content: space-between;
}
.contact-form__block{ 
  box-sizing: border-box;
  width: 65%;
  padding: 1.5em;
  border-radius: 15px 0 0 15px;
}
.contact-form__block.short{ 
  background-color: #F19800;
  box-sizing: border-box;
  padding: 1.5em;
  width: 35%;
}
.contact-info{
  color: #fff;
  font-size: .9em;
}
.contact-info.small{
  font-size: .8em;
}
.contact-info a{
  color: #fff;
  text-decoration: none;
}

.contact-form__block h2{
  color: #F19800;
  margin: 0;
  margin-bottom: .5em;
  padding: 0;
  text-transform: uppercase;
}
.form-action{
  display: flex;
  justify-content: flex-end;
  padding-right: .4em;
}

.form-field{
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding-bottom: 1em;
}
.form-field label{
  color: #71396A;
  display: block;
  height: 1.2em;
}
.form-field input, .form-field textarea{
  box-sizing: border-box;
  width: 100%;
  border-radius: 6px;
  border: 2px solid #71396A;
  height: 2em;
  padding: 0 .3em;
}
.form-field textarea{
  height: 10.5em;
  width: 100%;
  padding: .5em;
}

@media screen and (max-width: 1000px) {
  .modal__wrapper{
    width: 95%;
  }
  .contact-form{
    flex-wrap: wrap;
    
  }
  .contact-form__block{ 
    box-sizing: border-box;
    width: 100% !important;
  }
  .contact-form__block.short{ 
    border-radius: 15px 15px 0 0; display: none
  }
  .contact-form__block br{ 
    display: none;
  }
  .contact-form__block p{
    display: none;
  } 
  .contact-form__block h2{
    font-size: 1.2em;
  }
  .form-field textarea{
    height: 8em;
  }
  
}



/*///////////////////////////////////*/
/*--------------OTHER GENERAL STYLES-----------*/
/*/////////////////////////////////*/
.section__1--active{
  transform:translateY(0vh);
  transition: 1s all ease;
}

.section__2--active{
  transform:translateY(-100vh);
  transition: 1s all ease;
}

.section__3--active{
  transform:translateY(-200vh);
  transition: 1s all ease;
}

.section__4--active{
  transform:translateY(-300vh);
  transition: 1s all ease;
}

.section__5--active{
  transform:translateY(-400vh);
  transition: 1s all ease;
}


.fade{
  opacity: 0;
  transition: .4s all ease;
}


.stretch-s1-effect .by-section{
  transform: scaleY(1.05) translateY(2vh);
  transition: .4s all ease;
}
.stretch-s5-effect .by-section{
  transform: scaleY(1.05) translateY(-2vh);
  transition: .4s all ease;
}


