body, html {
    height: 100%;
    margin:0;padding:0;
    background-color: black;
}

.bgimg-1, .bgimg-2, .bgimg-3 {
    background-size: cover;
    background-position: center;
    width: 500px;
    margin: 0 auto;
    position: relative;
    padding-top: 1rem;
}

.caption {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    color: #000;
}

.caption span.border {
    background-color: #111;
    color: #fff;
    padding: 18px;

    font-size: 25px;
    letter-spacing: 10px;
}

h3 {
    letter-spacing: 5px;
    text-transform: uppercase;
    font: 20px "Lato", sans-serif;
    color: #111;
}

.titulo {
        font-family: Open Sans;
        font-style: normal;
        font-weight: bold;
        font-size: 30px;
        line-height: 25px;
        text-align: center;

        color: #C3271B;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.subtitulo {
        font-family: Open Sans;
        font-style: normal;
        font-weight: bold;
        font-size: 25px;
        line-height: 25px;
        text-align: center;

        color: #C3271B;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
    
.cuadro {
    position: absolute;
    height: fit-content;
    padding: 25px;
    background: rgba(196, 196, 196, 0.4);
    border-radius: 20px 20px 0 0;
    border: 1px solid #fff;
    text-align:center;
    bottom: 1rem;
    margin: 0;
/*    -moz-box-shadow:    inset 0 0 20px #972dc2;
    -webkit-box-shadow: inset 0 0 20px #972dc2;
    box-shadow:         inset 0 0 20px #972dc2;*/
}

.logo {
    width: 180px !important;
    height: auto;
}

.condiciones {
    font-family: Open Sans;
    font-style: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    margin-top: 15px;

    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

a {
    color: white;
}

.boton {
    width: 300px;
    height: 61.23px;
    background: #C3271B;
    border-radius: 5px;
    border-color: #c3271B;
    color: #FFF;

    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 28px;
    line-height: 38px;

    color: #FFFFFF;

    text-decoration: none;
    padding: 10px;
}


.boton2 {
    background: #C3271B;
    border-radius: 4px;
    border-color: #c3271B;
    color: #FFF;

    font-family: Open Sans;
    font-style: normal;
    font-weight: bold;
    font-size: 12px;
    text-align: center;
    line-height: 40px;
    color: #FFFFFF;

    text-decoration: none;
}


#container {
    position: relative; 
    font-size: 0; 
    height: 205px;
}

.slide {
    /* max-width: 90%; */

    border: none; 
    opacity: 0; 
    position: absolute; 
    top: 0; 
    left: 0;
    -webkit-transition: opacity 2s linear;
    -moz-transition: opacity 2s linear;
    -o-transition: opacity 2s linear;
    transition: opacity 2s linear;
}
.showMe {opacity: 1;}


.center-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
  }


  /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .modal-content {
    background: #fff;
    border-radius: 8px;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    width: 80%; /* Could be more or less, depending on screen size */
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .main-img {
      width: 100%;
      margin: 1rem auto;
      height: auto;
  }

.glasses{
    width: 50%;
    margin: 1rem auto;
    height: auto;
}

.subscribirme{
    text-decoration: underline;
    position: relative;
    text-align: right;
    padding: 1rem 1rem 0 0;
    font-size: 10px;
    font-weight: 400;
}

input[type=checkbox]{
    margin-top: 20px;
}

@media only screen and (min-width: 320px){

    .cuadro {
        bottom: 0;
    }
    .bgimg-1{
        width: auto;
    }
}

@media only screen and (min-height: 560px){

    .titulo {
        font-size: 20px;
    }

    .subtitulo {
        font-size: 15px;
    }

    .boton {
        font-size: 20px;
    }

    .cuadro {
        padding: 10px;
    }

    input[type=checkbox]{
        margin-top: 0;
    }

}

/*
@media only screen and (min-width: 360px) and (min-height: 640px){
    .cuadro {
        bottom: 10px;
        border-radius: 0;
    }
}
*/

@media only screen and (min-height: 640px){
    .titulo {
        font-size: 20px;
    }

    .subtitulo {
        font-size: 15px;
    }

    .boton {
        font-size: 25px;
    }

    .cuadro {
        padding: 1.3rem;
    }

    input[type=checkbox]{
        margin-top: 15px;
    }
}

@media only screen and (min-height: 720px){
    .cuadro {
        bottom: 2rem;
        border-radius: 0;
    }

    .titulo {
        font-size: 25px;
    }

    .subtitulo {
        font-size: 20px;
    }

}

@media only screen and (min-height: 740px){
    .cuadro {
        bottom: 2.5rem;
    }
}

@media only screen and (min-height: 760px){
    .cuadro {
        bottom: 3rem;
    }
}

@media only screen and (min-height: 780px){
    .cuadro {
        bottom: 3.5rem;

    }
}

@media only screen and (min-height: 869px){
    .cuadro {
        bottom: 5.5rem;
    }
}

@media only screen and (min-height: 892px){
    .cuadro {
        bottom: 6.2rem;
    }
}

@media only screen and (min-height: 915px){
    .cuadro {
        bottom: 6.7rem;
    }
}

@media only screen and (min-width: 968px){
    .bgimg-1{
        width: 500px;
    }

    .cuadro {
        bottom: 7rem;
    }
}