*, *:before, *:after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-image: url(../img/bg.jpg); 
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  min-width: 100vw;
  min-height: 100vh;
  font-family: sans-serif;
  font-family: 'Maax';
  color: white;
}
body.nooverflow{
    overflow: hidden;
}
.maax{
  font-family: 'Maax';
}
h1,h2,h3,h4{
  font-family: 'Knockout';
  font-weight: 100;
  letter-spacing: 1px;
}
h2{
  font-size: min(3vw,30px);
}
.bsfp_prods h2 {
  font-size: min(8vw,30px);
}
h1{
  font-size: min(7vw,80px);
}
.bloque_sf{
    position: relative;
    display: none;
    width: 100vw;
    height: 100vh;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    /*justify-items: center;*/
}
.bloque_sf.active{
    display: flex;
}
.bloque_sf .item_sf{
    transition: all .5s ease-in-out, opacity .65s ease-in-out;
    transform: translateY(50%);
    opacity: 0;
}
.bloque_sf .item_sf:nth-child(even){
    transform: translateY(-50%);
}
.bloque_sf_conts{
  position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bloque_sf_conts.active .item_sf{
    transform: none;
    opacity: 1;
}
.bloque_sf_conts_titulo{
  transition: all .75s ease-in-out, opacity 1s ease-in-out;
    opacity: 0;
    transform: translateY(-50%);
}
.bloque_sf_conts.active .bloque_sf_conts_titulo{
    opacity: 1;
    transform: none;
}
.relative-center{
    position: relative;
    margin: 0 auto;
}
fieldset{
  border: 2px solid white;
  width: 90%;
  max-width: 750px;
  min-height: 300px;
  text-align: center;
  box-sizing: border-box;
  padding: 25px;
  padding-top: 50px;
  padding-bottom: 50px;
  transition: all 0.5s ease-in-out;
  opacity: 0;
  transform: scale(.8);
}
fieldset legend{
  text-align: center;
  color: white;
  text-transform: uppercase;
  font-size: 3vw;
  display: none;
}
input{
  position: relative;
    width: 90%;
    max-width: 400px;
    font-size: 25px;
    padding: 10px;
    text-align: center;
    height: 50px;
    color: grey;
    font-weight: 100;
    margin-top: 30px;
    border: 0;
    outline: 0;
}
button{
  position: relative;
    width: 100%;
    max-width: 300px;
    height: 60px;
    font-size: 40px;
    padding-top: 5px;
    padding-bottom: 5px;
    font-weight: lighter;
    font-family: 'Knockout';
        outline: none;
    border: none;
    cursor: pointer;
}
.boton{
  cursor: pointer;
  background-color: white;
}
button.over{
    background-color: black;
    color: white;
}
button.bsf-1-btn{
  top: -30px;
}
.p20{
  padding: 20px;
}
.p30{
  padding: 30px;
}
.items_sf{
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}
.item_sf{
  position: relative;
  width: 100%;
  height: 100%;
}
.item_sf .bg{
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  transition: all 0.25s ease-in-out;
  opacity: 0;
}
.item--genero{
    background-image: url(../img/mujer/mujer.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
.item--genero.hombre{
    background-image: url(../img/hombre/hombre.jpg);
}
.item--genero .titulo--genero-pre{
    position: absolute;
    display: flex;
    left: 0;
    width: 50vw;
    height: 100vh;
    background: rgba(0,0,0,.2);
    text-align: right;
}
.item--genero.mujer .titulo--genero-pre{
  justify-content: flex-end;
}
.item--genero .titulo--genero{
 position: relative;
 display: flex;

    /*background: green;*/
    transform: rotate(270deg);
    /* top: 50%; */
    /* right: 33vw; */
    /* width: 100vw; */
    height: 100vh;
}
.item--genero.hombre .titulo--genero{
  
}

.item--genero.mujer .titulo--genero{
  align-items: flex-end;
}


.item--genero h3{
  /*background-color: red;*/
  top: -20px;
  position: relative;
    font-size: 35vh;
    text-align: center;
    width: 100%;
    /* width: 100vh; */
    /* top: 50%; */
    /*position: absolute;*/
    transform-origin: center;
}
.item--genero.hombre h3{
  top: -30px;
}

.item--genero.mujer h3{
  /*left: 2vw;*/
}

.bloques_sf_prods{
    position: relative;
    display: flex;
    flex-flow: column;
    width: 100vw;
    min-height: 100vh;
}
.bloque_sf_prods{
    position: relative;
    display: flex;
    flex-flow: row;
    width: 100vw;
    height: 50vh;

    /*border: 1px solid white;*/

    position: relative;
    display: flex;
    flex-flow: row;
    width: 100vw;
    height: auto;
    padding-bottom: 20px;
    /* min-height: 40vh; */
    /*border: 1px solid white;*/
    background-image: url(../img/bg-blanco.jpg);
}
.bloque_sf_prods.bsfp_secundarios{
  background-image: url(../img/bg-azul.jpg); 
}
.bsfp_texto{
   position: relative;
    width: 260px;
    height: 100%;
    color: #021e3a;
    font-family: 'Knockout';
    font-size: 40px;
    padding: 20px;
    /*background: red;*/
}
.bsfp_secundarios .bsfp_texto{
  color: white;
}
.bsfp_prods{
    position: relative;
    width: 100%;
    height: 100%;
    /*background: blue;*/
    display: flex;
    flex-flow: row;
}
.bsfp_prod{
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    /*background: green;*/
    /*border: 1px solid white;*/
    text-align: center;
}
.bsfp_prod img{
    /*max-width: 100%;*/
    max-width: min(25vh,220px);;
    border-radius: .5rem;
    position: relative;
    margin: 20px auto;
    /*margin-top: 10px;*/
}
button.btn{
  font-family: 'Maax';
    font-size: 17px;
    border-radius: 50px;
    border: 2px solid white;
    background: transparent;
    color: white;
    height: 45px;
    width: min(100%,200px);
    position: relative;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

button.btn.over{
    background:rgba(255,255,255,.5);
}
.bsfp_principales button.btn.over{
    background:rgba(53,75,97,.5);
    color: white;
}
.bsfp_principales .bsfp_prods h2,.bsfp_principales .bsfp_prods p,.bsfp_principales button.btn{
  color: #354b61;
  border-color: #354b61;
}


































/* The container */
.bloque_sf label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.bloque_sf label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
}

/* On mouse-over, add a grey background color */
.bloque_sf label:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.bloque_sf label input:checked ~ .checkmark {
  background-color: #000;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.bloque_sf label input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.bloque_sf label .checkmark:after {
  left: 8px;
    top: 3px;
    width: 10px;
    height: 15px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.item_sf h3{
  position: relative;
}
.bloque_sf label a{
  color: white;
}
.item_sf.over .bg{
  opacity: 1;
}
.item_sf.over h3{
  /*transform: scale(.85);*/
}
.item--edad{
  display: flex;
    align-items: center;
    justify-content: center;
  background:#021e3a;
}
.item--edad:nth-child(2){
  background:#1b344d;
}
.item--edad:nth-child(3){
  background:#354b61;
}
.item--edad:nth-child(4){
  background:#4d6175;
}
.item--edad:nth-child(6){
  background:#677889;
}
.item--edad h3{
    font-size: 10vw;
}


@media (max-aspect-ratio: 1/1) {
    .items_sf{
       flex-flow: column;
    }
    .item--genero .titulo--genero-pre{
        width: 100vw;
        height: 50vh;
        align-items: flex-end;
    }
    .item--genero .titulo--genero-pre{
      justify-content: center !important;
    }
    .item--genero .titulo--genero{
      transform: none;
      height: 0;
      align-items: flex-end;
    }
    .item--genero h3{
      font-size: 35vw;
      top: 0px !important;
    }

    .bloque_sf .item_sf{
        transform: translateX(50%);
    }
    .bloque_sf .item_sf:nth-child(even){
        transform: translateX(-50%);
    }
    .bloque_sf_conts.active .item_sf{
      transform: none;
    }
    .bloque_sf_conts_titulo{
        transform: translateX(-50%);
    }
    .bloque_sf-edad .items_sf{
        height: 90%;
        top: 5%;
    }
    .bloque_sf-edad .bloque_sf_conts_titulo {
        top: 3% !important;
    }
    .bloque_sf-resultado{
        overflow-y: hidden;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .bloque_sf-resultado .bloque_sf_prods, .bloque_sf-resultado .bloques_sf_prods {
        width: auto !important;
    }

    .bloque_sf-resultado .bsfp_prod{
      margin-right: 10px;
    }
}

@media (min-height: 650px) {
  .bloque_sf_prods{
      /*min-height: 50vh;*/
  }
}

@media (max-width:  700px) {
  .backbtn {
    position: inherit!important;
    width: 100%!important;
  }
}

@media (max-width: 414px) {
  .bsfp_prods {
    display: grid;
  }
  .bloques_sf_prods {
      display: grid;
      overflow-y: scroll;
  }
  .bsfp_texto {
      width: 200px;
  }
  .bloque_sf_prods {
    display: grid;
  }
}

