@font-face {
    font-family: 'ViminalisBold';
    src: url('../fonts/Viminalis-Bold.woff2') format('woff2'),
        url('../fonts/Viminalis-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ViminalisRegular';
    src: url('../fonts/ViminalisRegular.woff2') format('woff2'),
        url('../fonts/ViminalisRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ViminalisItalic';
    src: url('../fonts/Viminalis-Italic.woff2') format('woff2'),
        url('../fonts/Viminalis-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

html,
body{
    width: 100%;
    float: left;
    color: #fff;
    overflow-x:hidden;
    font-display: swap;
}

a{
    -webkit-transition: color .2s ease, background .2s ease;
    -o-transition: color .2s ease, background .2s ease;
    transition: color .2s ease, background .2s ease;
    text-decoration: none!important; 
}

a:hover{
    -webkit-transition: color .2s ease, background .2s ease;
    -o-transition: color .2s ease, background .2s ease;
    transition: color .2s ease, background .2s ease; 
}

.landing{
    width: 100%;
    float: left;
    background: #daedf1 url(../img/circulitos.png);
    position: relative;
   overflow:hidden;
}

.logo {
    margin-top: -50px;
    margin-left: -30px;
}

.bg-ondas{
    background: #6daea2  url(../img/churritos-textura.png);
    width: 100%;
    position: relative;
}

.bg-ondas::after {
    display: block;
    content: "";
    width: 54px;
    float: left;
    background: url(../img/ondasafter.png);
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0%;
    height: 101%;
  }

.sin-padding{
    padding: 0!important;
}

.landing h2{
    font-family: 'ViminalisBold';
    font-size: 30px;
    margin-top: 3rem;
}

.landing h5,
.landing p{
    font-family: 'ViminalisBold';
    font-size: 16px;
    margin-bottom: .5rem;
}

.landing label,
.landing input{
    font-family: 'ViminalisRegular';
    font-size: 14px;
}

a.menu img{
  margin: 0 auto;
  display: block;
}

.redes{
    text-align: center;
    margin-top: 2rem;
}

.redes ul{
    list-style: none;
    right: 0;
    padding: 0;
}

.formulario{
    margin-left: 60px;
    width: 100%;
    float: left;
}

.pregunta1,
.pregunta2,
.pregunta3,
.pregunta4,
.pregunta5{
    margin-bottom: 1rem;
}

.landing a{
    color: #fff;
    font-size: 16px;
    font-family: 'ViminalisRegular';
    width: 100%;
    display: block;
    margin-bottom: .5rem;
}

.contactanos{
  background: #4c887d;
  width: 100%;
  padding: 20px 0 0 60px;
  position: relative;
}

.contactanos ul{
    list-style: none;
    display: inline-flex;
}

.contactanos ul li{
    width: 25%;
    margin-right: 3%;
}

.contactanos ul li a img{
    width: 100%;
}

@keyframes float {
  0% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
  }

  100% {
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }
}


.float {
    animation: float 2s infinite;
    margin-top: 5rem;
}

.lightbox{
    padding: 2rem 0;    
}

#cboxContent{
    padding-top: 2rem;
    height: 400px;
}

#cboxContent h4{
    font-family: 'ViminalisBold';
    color: #39b0a3;
    margin-bottom: 1rem;

}

#cboxContent h5{
    font-family: 'ViminalisBold';
    color: #39b0a3;
    margin-bottom: 1rem;

}

#cboxContent input{
    font-family: 'ViminalisRegular';
    width: 100%;
    border-top: 0;
    border-left: 0;
    font-size: 16px;
    border-right: 0;
    margin-bottom: 1rem;
}

#cboxContent label{
    width: 100%;
    font-size: 16px;
    color: #282929;
}

span.subfield.dayfield {
    width: 10%;
    display: block;
    float: left;
}

.datefield{
    width: 10%;
    display: block;
    float: left;
}

.formulariomc{
    width: 100%;
    height: 100%;
    display: block;
    float: left;
    height: 370px;
    color: #282929;
    font-size: 16px;
}

.guion{
    float: left;
}

.boton{
    width: 100%;
    float: left;
    margin-top: .5rem;
}

input.enviar{
    width: 90%;
    margin: 2rem 0;
    padding: .5rem;
    float: left;
    background: #daedf1;
    border-radius: 10px;
    border: 0;
}

input#mc-embedded-subscribe{
    width: 60%;
    float: right;
    font-family: 'ViminalisBold';
    font-size: 22px;
    color: #3ab0a3;
    border-color: #3ab0a3;
    background: #fff;
    border-radius: 10px;
}

.mc-field-group {
    width: 100%;
    float: left;
    margin-bottom: .5rem;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #282929;
}
::-moz-placeholder { /* Firefox 19+ */
  color: #282929;
}
:-ms-input-placeholder { /* IE 10+ */
  color: #282929;
}
:-moz-placeholder { /* Firefox 18- */
  color: #282929;
}

.menu{
    margin-top: 2rem;
}

.churro1{
    position: absolute;
    top: 0;
    left: 22%;
}

.churro2{
    position: absolute;
    top: 0;
    left: 50%;
    width: 13%;
}

.churro3{
  position: absolute;
  top: 74%;
  left: 44%;
}

.churro4{
    position: absolute;
    bottom: 0;
    left: -3%;
    width: 11%;
}

.churro5{
    position: absolute;
    top: 70%;
    right: 0;
}

@media screen (width: 1920px) and (height: 1080px){
  .float{
    margin-top: 5rem;
  }
}

@media(min-width: 1920px){

  .landing label,
  .landing input{
    font-size: 16px;
  }

  .landing h5,
  .landing p{
      margin-bottom: 1rem;
  }

    #cboxContent::after {
        position: absolute;
        top: -8%;
        content: "";
        display: block;
        height: 200px;
        width: 200px;
        background: url(../img/logobernardi.svg);
        background-size: 100%;
        right: -2%;
        transform: rotate( 345deg );
    }

    input.enviar {
        width: 90%;
    }

    .contactanos {
        padding-left: 100px;
    }

    .formulario {
        margin-left: 100px;
    }

    .logo{
      margin-top:-60px;
      margin-left:-40px;
    }

    .landing h2{
      margin-top: 1rem;
    }

    .float{
      margin-top: 5rem;
    }

    

    .churro5{
      top: 66%;
    }

    body{
      overflow: hidden;
    }
}




@media(width: 768px) and (width: 1366px){
  .float{
    margin-top: 5rem;
  }

  .pregunta1,
  .pregunta2,
  .pregunta3,
  .pregunta4,
  .pregunta5{
    margin-bottom: .5rem;
  }

  .enviar{
    width: 100%;
  }

}


@media(min-width: 768px) and (max-width: 1024px){

   html,
   body{
    text-align: center;
   }

   .logo img{
    float: left;
    width: 60%!important;
   }

   .float {
       margin-top: 1rem;
       margin-bottom: 1rem;
   }

   .formulario {
       padding: 0 2rem;
       width: 100%;
       margin: 0;
       float: left;
   }

   input.enviar {
       width: 40%;
       margin: 2rem auto;
       padding: .5rem;
       float: unset;
       background: #daedf1;
       border-radius: 10px;
       border: 0;
       display: block;
   }

   .contactanos ul {
       list-style: none;
       display: inline-flex;
       margin: 2rem 0;
   }  

   .churro1 {
       top: 7%;
       left: 41%;
   }  

   .churro2 {
       top: -2%;
       left: 87%;
   }

   .churro3 {
       top: 30%;
       left: 0%;
   }

   .churro4 {
       right: 0;
   }

   .churro5 {
       top: 83%;
       right: -6%;
   }

   #cboxContent::before {
       right: -89px;
   }

   #cboxContent label {
       text-align: left;
   }

   .contactanos {
       padding-left: 0;
   }
   
   .bg-ondas::after{
       display: none;
   }

}

@media(max-width: 767px){

    .bg-ondas::after{
        display: none;
    }

   html,
   body{
    text-align: center;
    overflow-x:hidden;
   }
   
   .landing{
    overflow: hidden;
   }

   .churro5 {
      top: 80%;
      right: 0;
      width: 10%;
    }

    .churro4 {
        position: absolute;
        left: -15px;
        width: 13%;
        bottom: 8px;
    }

   .logo img{
        width: 50%!important;
        float: left;
   }

   #cboxContent::after {
       top: -1%;
       height: 50px;
       width: 50px;
       right: -1%;
    }

    .contactanos {
        padding-left: 0;
    }

    .float {
        animation: float 2s infinite;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }

    .churro1 {
        position: absolute;
        top: 0;
        left: 37%;
        width: 14%;
    }

    .churro2 {
       display: none;
    }

    .formulario {
        margin-left: 0;
    }

    input.enviar {
        float: unset;
        width: 90%;
    }

    .churro3 {
      top: 3%;
      right: 5%;
      width: 18%;
      left: inherit;
    }

    #cboxContent::before{
        display: none;
    }

    #cboxContent label {
        text-align: left;
    }

    .logo {
        margin-top: -34px;
        margin-left: -15px;
    }

    .landing h2 {
        font-size: 25px;
        margin-top: 1rem;
    }

    .landing label, 
    .landing input {
        font-size: 14px;
    }

    .redes ul{
      display: inline-flex;
    }

    .redes ul li{
      margin-left: 15px;
    }


    
}