@font-face{font-family: 'KeplerStd-Capt'; src: url(fonts/KeplerStd-Capt.otf);font-display: swap} /* IE9 Compat Modes */
@font-face{font-family: 'KeplerStd-Capt'; src: url(fonts/KeplerStd-Capt.ttf);font-display: swap} /* Safari, Android, iOS */

@font-face{font-family: 'KeplerStd-LightDisp'; src: url(fonts/KeplerStd-LightDisp.otf);font-display: swap} /* IE9 Compat Modes */
@font-face{font-family: 'KeplerStd-LightDisp'; src: url(fonts/KeplerStd-LightDisp.ttf);font-display: swap} /* Safari, Android, iOS */

@font-face{font-family: 'KeplerStd-MediumDisp'; src: url(fonts/KeplerStd-MediumDisp.otf);font-display: swap} /* IE9 Compat Modes */
@font-face{font-family: 'KeplerStd-MediumDisp'; src: url(fonts/KeplerStd-MediumDisp.ttf);font-display: swap} /* Safari, Android, iOS */

@font-face{font-family: 'MyriadPro-Regular'; src: url(fonts/MinionPro-Regular.otf);font-display: swap} /* IE9 Compat Modes */
@font-face{font-family: 'MyriadPro-Regular'; src: url(fonts/MyriadPro-Regular.ttf);font-display: swap} /* Safari, Android, iOS */


@font-face{font-family: 'Sackers-Gothic-Medium-AT'; src: url(fonts/Sackers-Gothic-Medium-AT.otf);font-display: swap} /* IE9 Compat Modes */
@font-face{font-family: 'Sackers-Gothic-Medium-AT'; src: url(fonts/Sackers-Gothic-Medium-AT.ttf);font-display: swap} /* Safari, Android, iOS */

@font-face{font-family: 'Sackers-Gothic-Heavy-AT'; src: url(fonts/Sackers-Gothic-Heavy-AT.otf);font-display: swap} /* IE9 Compat Modes */
@font-face{font-family: 'Sackers-Gothic-Heavy-AT'; src: url(fonts/Sackers-Gothic-Heavy-AT.ttf);font-display: swap} /* Safari, Android, iOS */



html, body{
    background-color: #f9f9f9;
    scroll-behavior: smooth;
}

/*grafica boton para volver arriba*/
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 2vw;
    border: none;
    outline: none;
    background-color: rgb(0, 0, 0);
    
    color: white;
    cursor: pointer;
    padding: 0.6vw 1.4vw 0.6vw 1.3vw;
  }
  
#myBtn:hover {
    background-color: #555;
  }

@media (max-width:700px){
    #myBtn{
        font-size: 5vw;
        padding: 0.9vw 1.7vw 0.9vw 1.7vw;
    }
    #myBtn:hover {
        background-color: rgb(59, 59, 59);
      }
}

header{
    background-image: url('img/header/header-MA.jpg') ;
    height: 100vh;
    background-size: 100% 100%;
}

a{
    text-decoration: none !important;
}
.language{
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 2vw 0 0 85vw;
    color: #ffffff;
    font-family: 'KeplerStd-Capt';
    font-size: 1.5vw;
}
.language > div > a{
    text-decoration: none;
    color: white;
}

.logo{
    display: block;
    margin: 12vh auto 0 auto;
    width: 12%;
}

.drc-vino{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    margin-top: 150px;
    z-index:-1 !important;
    position: relative;;
}


.title{
    font-family: 'KeplerStd-Capt';
    padding-top: 2vw;
}

.title > p{
    color: white;
    text-align: center;
    font-size: 2vw;
    line-height: 3vh;
}

hr{
   background-color: white;
   color: white;
}

.nuestros-vinos{
    text-align: center;
    color: white;
    font-family: 'KeplerStd-Capt';
}

.center-menu{
    display: block !important;
    margin-right: auto !important;
    margin-left: auto !important;
}
.menu-desktop{
    font-family: 'Sackers-Gothic-Heavy-AT';
    font-size: 0.85vw;
    margin:auto;
    /*margin-left: 1.8vw;
    
    margin-top: 5vh;*/
    color: white;
    display: flex;
    flex-direction: row;
    text-align: center;
}

.menu-desktop > a{
    text-decoration: none;
    flex:14%;
   
}

.menu-desktop > a > div{
    display: block;
    height: 8vh; 
    /*padding: 1vw 0.5vw 1vw 0.5vw;*/
    color: black;
    background-color: #ffffffbe;
    margin:1vw;
    border: 2px solid black;
    
}
.menu-desktop > a > div > p{
    position: relative;
    top:40%;
}

.menu-desktop > a > div:hover{
    color: white;
    background-color: black;
    
}


.sticky {
    position: fixed;
    top: 0;
    width: 100%;
  }

  .menu-mobile{
      display: none;
  }

  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);

    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 26px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
  }
  .hamburger{
    font-size:40px;
    cursor:pointer;
    color: white; 
    position: fixed;
    margin-left: 20px;
  }
  .bodegasMA{
    margin: -3vh 0 0 7vw;
    color:#63666b;
  }
  
  @media (max-width:1024px){
      .menu-desktop{
          display: none;
      }
      .menu-mobile{
          display: block;
      }
      header{
          height: 50vh;
      }
      .hamburger{
          font-size: 10vw;
          padding: 0 3vw;
          margin-top:1vh;
      }
      .logo{
        margin: 5vh auto 0 auto;
        width: 20%;
    }
    
    .language{
        font-size: 3vw;
        padding: 4vw 0 0 75vw;
    }
    .title > p{
        margin-top: 4vh;
        font-size: 3.5vw;
        line-height: 0.5vh;
    }
    hr{
        display: none;
    }
    .nuestros-vinos{
        display: none;
    }
    #myBtn{
        font-size: 4vw;
        padding: 0.6vw 1.8vw 0.6vw 1.8vw;
    }
    
  }
  .ficha-vino-movil-verdejo{
    display: none;
}
.pos-verdejo{
    padding-top: 40vh;
}
  @media (max-width:450px){
    .pos-verdejo{
        padding-top: 0vh;
    }
    .img-verdejo{
        margin-bottom:350px;
    }
    .logo{
        margin: 5vh auto 0 auto;
        width: 25%;
    }
    .language{
        font-size: 4vw;
        padding: 4vw 0 0 65vw;
    }
    .title > p{
        margin-top: 4vh;
        font-size: 3.5vw;
        
    }
    .margin-movil{
        margin-top: 10px !important;
    }
    .bodegasMA{
        margin: -2vh 0 0 1vw;
        color:#63666b;
      }
      
      .ficha-vino-movil-verdejo {
          display: block;
          text-align: center;
          margin:-300px 0 150px 0;    
      }
      .ficha-vino-movil-verdejo > a{
          color: black;
      }
      .ficha-vino-movil-verdejo > a > div{
        border:1px solid black;
        width: 150px;
        display: block;
        margin: 0 auto;
        padding: 5px 10px;
        font-size: 4vw;
      }
      .ficha-vino-movil-verdejo > a > div:hover{
        color:white;
        background-color: black;
      }

      .drc-vino{
        width:100%;
        margin-top: 150px;
        margin-bottom:300px;

    }

  }

  .dx-wine{
      display: grid;
      grid-template-columns: 50% 50%;
      width:60%;
      background: url('img/vinos/el-coche.png') no-repeat center;
     /* height: 100vh;*/
      background-size: 70% 100%;
      margin: 30vh auto 15vh auto;
      
  }

  .verdejo{
    background: url('img/vinos/la-mision-bodega-ma-verdejo.png') no-repeat center;
    width: 60%;
    height: 100vh;
      background-size: 70% 100%;
  }
  .elcredito{
    background: url('img/vinos/el-credito.png') no-repeat center;
    width: 60%;
    height: 100vh;
      background-size: 85% 100%;
  }
  .lasuegra{
    background: url('img/vinos/la-suegra.png') no-repeat center;
    width: 60%;
    height: 100vh;
      background-size: 85% 100%;
  }
 #lasuegra{
     margin-bottom:200px;
 }

  .title-wine{
      padding: 25vh 0 0 5vw;
      
  }
  .elcredito > .title-wine{
    padding: 25vh 0 0 2.5vw;
  }
  .lasuegra > .title-wine{
    padding: 25vh 0 0 2.5vw;
}


  h2{
    font-size: 5vw !important;
    font-family: 'KeplerStd-MediumDisp';
    color: #bb9a39;
  }

  .ficha-tecnica{
      padding: 12vw 0 0 4vw;
      margin-top:-300px;
      margin-left: 20%;

  }
  .ficha-tecnica > a > p{
      border: 1px solid black;
      width: 23%;
      text-align: center;
      padding: 1vh 1vw 0 1vw;
      font-family: 'Sackers-Gothic-Heavy-AT';
      line-height: 2.5vh;
      z-index: 99;
     
  }
  .ficha-tecnica > a{
      color: black;

  }
  .ficha-tecnica > a > p:hover{
      background-color: rgb(0, 0, 0);
      color: rgb(255, 255, 255);
      cursor: pointer;
  }
.ficha-vino-movil{
    display: none;
}


@media (max-width:1024px){
    .dx-wine{
      /*  width:80%;
        height: 60vh;*/
        background-size: 80% 100%;
        margin: 20vh auto 15vh auto;
        
    }
    .title-wine{
        padding: 5vh 0 0 5vw; 
    }
    .title-wine > h2{
        font-size: 10vw !important;
    }
    .ficha-tecnica{
        padding: 12vw 0 0 0vw;
        margin-top:-250px;
        width: 30%;
        margin-left: 15%;
  
    }
    .ficha-tecnica > a > p{
        width: 80%;
        padding: 1vh 1vw 0 1vw;
        font-size: 2vw;
    }
    .elcredito, .lasuegra{
        width: 80%;
        height: 60vh;
        background-size: 90% 100%;
      }
    .elcredito > .title-wine, .lasuegra > .title-wine{
        padding: 5vh 0 0 2.5vw;
      }
    
    
}

@media (max-width:450px){
    #lasuegra{
        margin-bottom:0px;
    }
    .dx-wine{
        width:90%;
        height: 400px;
        background-size: 100% 100%;
        margin: 20vh auto 15vh auto;
        
    }
    .elcredito, .lasuegra{
        width: 100%;
        height: 400px;
        background-size: 100% 100%;
      }
      .lasuegra > .title-wine > h2{
          padding-right: 1vw;
      }

      .ficha-vino-movil{
        display: grid;
        grid-template-columns: 50% 50%;
        margin: -5vh 10vw 10vh;
        text-align: center;
      }
      .ficha-vino-movil > a {
          color: black;
          border: 1px solid black;
          margin:1vw;
          padding:0.5vw;
          line-height: 2.5vh;
      }
      .ficha-vino-movil > a:hover{
          color: white;
          background-color: black;
      }
      .ficha-tecnica > a  {
          display: none;
      }

      
}


  .sx-wine{
    display: grid;
    grid-template-columns: 50% 50%;
    width:70%;
    background: url('img/vinos/la-mision-bodega-ma.png') no-repeat center;
    /*height: 100vh;*/
    background-size: 60% 100%;
    margin: 30vh auto 15vh auto;
    
}
.rcmo{
    width:70%;
    background: url('img/vinos/rcmo.png') no-repeat center;
    height: 100vh;
    background-size: 60% 100%;
}
.marso{
    width:70%;
    background: url('img/vinos/marso.png') no-repeat center;
    height: 100vh;
    background-size: 60% 100%;
}
.marso > .title-wine-sx{
    padding: 20vh 0 0 7vw;
    font-family: 'KeplerStd-MediumDisp';
}
.rcmo > .title-wine-sx{
    padding: 10vh 0 0 3vw;
    font-family: 'KeplerStd-MediumDisp';
}

.title-wine-sx{
    padding: 20vh 0 0 3vw;
    font-family: 'KeplerStd-MediumDisp';
    
}
.title-wine-sx > H2{
    color: #63666b;
}

.ficha-tecnica-dx{
    padding: 12vw 0 0 4vw;
      margin-top:-300px;
      margin-left: 60%;

}
.ficha-tecnica-dx > a > p{
    border: 1px solid black;
    width: 50%;
    text-align: center;
    padding: 1vh 1vw 0 1vw;
    font-family: 'Sackers-Gothic-Heavy-AT';
    line-height: 2.5vh;
}
.ficha-tecnica-dx > a{
    color: black;
}
.ficha-tecnica-dx > a > p:hover{
    background-color: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
}
.corona{
    margin: 30vh 0 0 15vw;
}

@media (max-width:1024px){
    .sx-wine{
       /* width:80%;
        height: 60vh;*/
        background-size: 80% 100%;
        margin: 10vh auto 15vh auto;
    }
    .title-wine-sx{
        padding: 5vh 0 0 3vw; 
    }
    .title-wine-sx > h2{
        font-size: 10vw !important;
    }
    .rcmo > .title-wine-sx{
        padding: 0vh 0 0 1vw;
    }
    .marso > .title-wine-sx{
        padding: 10vh 0 0 1vw;
    }
    .ficha-tecnica-dx{
        padding: 10vw 0 0 6vw;
    
    }
    .ficha-tecnica-dx > a > p{
        width: 70%;
        padding: 1vh 1vw 0 1vw;
        font-size: 2vw;
    }
   .vino-marso{
       padding-top: 22vw !important;
   }
    .corona{
        margin: 15vh 0 0 20vw;
        width: 50%;
    }
}

@media(max-width:450px){
    .sx-wine{
        width:90%;
        height: 400px;
        background-size: 100% 100%;
        margin: 10vh auto 15vh auto;
    }
    .ficha-tecnica-dx > a{
        display: none;
    }
}



  footer{
      background-color: #63666b;
      padding: 2vh 20vw;
      text-align: center;
      color: white;
      font-family: 'KeplerStd-Capt';
  }
  footer > div > p > a{
      text-decoration: none;
      color: white;
  }
  footer > div > p > a:hover{
      color: rgb(199, 199, 199);
  }
.contacto{
    font-size: 2vw;
}
.info{
    font-size: 1.3vw;
}
.marco{
    font-size: 1vw;
}
  @media (max-width:1024px){
      footer{
        padding: 2vh 0vw;
      }
      .contacto{
          font-size: 4vw;
      }
      .info{
          font-size: 2.5vw;
      }
      .marco{
          font-size: 2vw;
      }
  }

  @media(max-width:768px){
    .drc-vino{
        width:100%;
    }
    #misionverdejo > .ficha-tecnica{
        margin-top: 0px;
    }
  }

  @media (max-width:450px){
      .info{
          font-size:3.5vw;
      }
      .marco{
        font-size: 2.5vw;
    }
  }