@import url('https://fonts.googleapis.com/css2?family=Italiana&display=swap');

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

:root{
  --color-carts: #cd8600;
  --color-carts-hover: #d6a000;
  --color-back: #24195e;
}


/*Forma de venta*/

.container {
  width: 23%;
  position: fixed;
  top: 10%;
  margin: 10px;
  margin-left: 30px;

}

.container {
  flex: 1;
}

.contacto {
  margin-top: 120px;
  margin-bottom: 60px;
}


.flip-card {
  background-color: white;
  width: 300px;
  height: 300px;
  perspective: 1000px;
  color: black;
  border-radius: 20px;
}

.flip-card img{
  width: 300px;
  margin-top: 20px;

}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 10px;
  margin: 20px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-front {
  color: black;
  background-color:white;
}

.flip-card-back {
  transform: rotateY(180deg);
  color: white;
  background-color: var(--color-carts);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.flip-card-back h1{
  font-size: 25px;
  margin-top: 40px;
}

.flip-card-back p{
  font-size: 15px;
  margin: 0px 7px;
}

.flip-card-back a{
  font-size: 25px;
  margin-bottom: 40px;
  border: 1px solid white;
  padding: 5px 10px;
  border-radius: 5px;
}

.imgfin{
  width:55%;	
  margin-left:20%;
  cursor:none;
}

/*Productos*/

.texto {
  /*margin-left: 0px;
  margin-top: 30px;
  width: 80%;
  margin-left: auto;*/
 margin-left:18%;
}

.texto h2 {
  text-align: center;
  font-size: 25px;
  padding: 0px 20px;
}

.texto p {
  text-align: center;
  font-size: 20px;
  padding-bottom: 0px;
  margin: 0% 12%;

}

.texto .links-titulo h2{
  font-size: 50px;
  margin-top: 5%;
  margin-bottom: 30px;
  font-weight: 800;
  font-family: 'mulish',serif;

}

.texto h3 {
  margin-left: 00px;
}

.separador{
	clear:both;
}
/*Los flipflop-flipbox son las cajas que rotan*/
.flipflop2 {
  float:left;
  padding-left: 0%;
  padding-right: 0%;
  margin-bottom:20px;
  width: 30%;
  display: flex;
  justify-content:center;
}


.flip-box-inner2 {
  position: relative;
  width: 150%;
  height: 100%;
  text-align: center;
  color: white;

}

.flip-box-front2{
  position: absolute;
  width: 100%;
  height: 220px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 3%;
  box-shadow: #838383 1px 1px 5px;
  color: white;

}

.flip-box-front2 {
  background-color: var(--color-carts);
  color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.flip-box-front2 img{
  width: 30%;
    margin-top: 15px;
}

.flip-box2 {
  background-color: transparent;
  width: 180px;
  height: 200px;
  margin-left: 14%;
  margin-bottom: 20px;
}

.flip-box-front2:hover  {
 background-color: var(--color-carts-hover);
}

.flip-box-front2:active{
  box-shadow: 0px 0px 10px #575757 inset;
}

.flip-box-inner2 {
  position: relative;
  width: 150%;
  height: 100%;
  text-align: center;
  color: white;
}

.flip-box2 h2{
  padding-top: 0% !important;
  padding-bottom: 0px;
  margin: 0px !important;
  font-size: 1.5em !important;
  margin-bottom: 0px !important;

}


.flipflop2 a{
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;

}

.flip-box2 p{
  font-size: 12px;
  font-weight: 600; 
  margin: 3px 8% !important;
  text-align: center;

}


.flipflop {
  float:left;
  padding-left: 0%;
  padding-right: 0%;
  margin-top: 50px;
  width: 30%;
  display: flex;
  justify-content:center;
}

.flipflop img {
  width: 70px;
  padding-top: 40px;
}

.flip-box {
  background-color: transparent;
  /*width: 300px;
  height: 100px;*/
  border: 1px solid #f1f1f1;
  margin-left: 14%;
  margin-bottom: 20px;
  
  width: 180px;
  height: 280px;

}

.flip-box-inner {
  position: relative;
  width: 150%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  color: white;

}


.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 3%;
  box-shadow: #838383 1px 1px 5px;
  color: white;

}

.flip-box-front img {
  width: 70%;
  cursor: pointer;
}

.flip-box-back {
  background-color: var(--color-back);
  color: white;
}

.flip-box-back h2 {
  padding-top: 10px;
  padding-bottom: 0px;
}

.flip-box-back p {
  text-align: center;
  margin: 0px 20px 20px 20px;
  font-size: 17px;
}



.flip-box-inner {
  position: relative;
  width: 150%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  color: white;
}


.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  color: white;
}

.flip-box-front {
  background-color: #ffffff;
  color: rgb(3, 3, 3);
}

.flip-box-back {
  background-color: var(--color-back);
  color: rgb(255, 255, 255);
  transform: rotateY(180deg);
  border: 1px solid rgb(0, 0, 0);
  display: grid;
  align-content: space-around;
}

.flip-box-back button {
  padding: 5px 10px;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  outline: none;
  color: #fff;
  background-color: #5b55ac;
  border: none;
  margin-bottom: 10px;
  border-radius: 7px;
  box-shadow: 0 5px #999;
}

.flip-box-back button:hover {background-color: #9590d8}

.flip-box-back button:active {
  background-color: #494492;
  box-shadow: 0 2px #666;
  transform: translateY(5px);
}

.transparent{
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translate(0px, -75%);
  cursor: pointer;
}

input[type="submit"] {
  padding: 5px 10px;
  font-size: 13px;
  text-align: center;
  cursor: pointer;
  outline: none;
  color: #fff;
  background-color: #be8028;
  border: none;
  margin-bottom: 10px;
  border-radius: 7px;
  box-shadow: 0 5px #999;
}

input[type="submit"]:hover {background-color: #d2aa6d}

input[type="submit"]:active {
  background-color: #b28133;
  box-shadow: 0 2px #666;
  transform: translateY(5px);
}


.formaciones {
  background-color: #e4e2e2;
  margin-left: 560px;
  font-size: 20px;
  padding: 20px;
  margin-right: 560px;
  margin-top: 100px;
}

.formaciones a {
  padding: 10px;
  border-radius: 3px;
  color: white;
  margin-left: 0px;
}

footer {
  color: white !important; /* Adjust the text color as needed */
  padding: 20px !important;
}


 .productinfo{
    display: none;
    box-shadow: 0px 0px 10px #575757;
    background-color: #ffffff;
    color: rgb(3, 3, 3);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 900px;
    border-radius: 15px;
    min-height: 300px;

}


.productinfo .left{
  width: 30%;
  float: left;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 10px;
}


.productinfo .left img{
  width: 30%;
  position: absolute;
  top: 5%;
  left: 5%;}


.productinfo .right{
  width: 60%;
  float: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  margin: 10px;
}

input.fichas{
  background: transparent;
    width: 270px;
    height: 220px;
    box-shadow: none;
    position: absolute;
    color: transparent;
}

input.fichas:hover{
  background: transparent;
  box-shadow: none;
}

input.fichas:active{
  background: transparent;
  box-shadow: none;
}

.cap-section{
  font-size: 35px !important;
}

@media screen and (min-width: 1024px) and (max-width: 1366px) {

  .contacto {
    margin-bottom: 60px;
  }

  .texto {
    margin-left: 15%;
    /*margin-top: 30px;*/

  }

  .texto h2 {
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .texto p {
    font-size: 17px;

  }

  .flip-box {
    width: 150px;
    height: 220px;
  }

  .flip-box2{
    width: 150px;
    height: 140px;
  }
  .flip-box2 h2{
    font-size: 1.5em !important;
  }

  .flip-box2 p {
    font-size: 10px;
  }

  .flip-box-back p {
    font-size: 15px;
    margin:0px 7px;
  }

  .flipflop a{
    padding: 5px 7px;
    margin-top: 0px;
    margin-bottom: 10px;
  }

  .formaciones a {
    padding: 10px;
    border-radius: 3px;
    color: white;
    margin-left: 0px;
  }

  
input.fichas{
  width: 230px;
}

input.fichas:hover{
  background: transparent;
  box-shadow: none;
}

input.fichas:active{
  background: transparent;
  box-shadow: none;
}

.flip-card{
  width: 200px;
  height: 250px;
}

.flip-card-front img{
  width: 200px;
  margin-top: 20px;
}

.flip-card-front h2{
  font-size: 20px;
  margin-top: 10px;
}

.flip-card-back p{
  font-size: 13px;
  margin: 0px 7px;
}

.flip-card-back h1{
  font-size: 20px;
}

.flip-card-back a{
  font-size: 15px;
}

}

@media screen and (max-width: 1023px) {

  .container {
    width: 45%;
	max-height:350px;
	clear:both;
	top:35px;
	margin-left:1px;
  }
 #container2{
    margin-top:370px;
    margin-left: -250px;

 }

  .texto {
    width: 55%;
  }

  .texto h2 {
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
  }


  .texto p {
    font-size: 17px;
    margin: 0px 7%;
  }

  .flipflop {
    display: block;
	width:20%;
	position:relative;
	margin-left:35%;
	margin-top:25px;
  }
 .flip-card img{
	 widht:100%!important;
 }
  .flip-box {
    width: 200px;
    height: 200px;
    justify-content: center;
    display: flex;
    margin: auto;
    margin-bottom: 20px;
    float: none;
  }

  .flipflop2 {
    display: block;
    margin: 0px;
  }
  .flip-box2 {
    width: 200px;
    /* height: 100%; */
    justify-content: center;
    display: flex;
    margin: auto;
    margin-bottom: 30px;
    float: none;
}
  .flip-box2 h2{
    font-size: 25px !important;
  }

  .flip-box2 p {
    font-size: 10px;
  }

  .texto .links-titulo p{
    margin-bottom: 5%;
  }


  .flip-box-back p {
    font-size: 10px;
    margin-bottom: 0px;
  }

  .flipflop a {
    font-size: 10px;
    padding: 2px 5px;
  }

  .formaciones {
    margin-left: 0x;
  }

 .productinfo{
    width: 600px;
}

.productinfo .right{
  align-items: center;
  margin: 0px;
  float: right !important;
}

.productinfo .right h1{
  font-size: 25px;

}

.transparent{
  transform: translate(0px, -100%);
}

input.fichas{
  width: 220px;
}

}

@media screen and (max-width: 780px) {
 .container {
    width: 45%;
	max-height:350px;
	clear:both;
	top:35px;
	margin-left:1px;
  }
 #container2{
    margin-top:370px;
    margin-left: -250px;

 }

.flipflop2{
  float: left !important;
  width: 40%;
  position: relative;
  margin-left: 15%;
}
.fix{
	width:70%;
}
.separador{
   display:none;	
}

  .texto {
    margin-top: 0px;

  }

  .texto .links-titulo h2 {
    font-size: 35px;
    margin-top: 10%;
    margin-bottom: 15px;
  }


  .flip-box-back button {
      
      font-size: 12px;
      padding: 5px 7px;
  
    }

  input[type="submit"] {
    font-size: 12px;
    padding: 5px 7px;
  }
    
}

@media screen and (max-width: 700px) {

  .texto h2 {
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
  }
.separador{
   display:none;	
}

}

@media screen and (max-width: 665px) {

.separador{
   display:none;	
}
  .texto {
    margin-top: 0px;

  }

 .productinfo{
  width: 80%!important;
  margin-left:0px;
  left:42%;
}

.productinfo .left{  
  width: 90%;
}

.productinfo .left img{
  position: static;
  width: 80%;
}

.productinfo .right{
  align-items: center;
  width: 90%;
}

.productinfo .right h1{
  font-size: 15px;

}

.productinfo .right p{	
  font-size: 10px;
}

.productinfo .right li{	
  font-size: 10px;
}

.flip-card{
  width: 220px;
  height: 240px;
}

.flip-card-front img{
  width: 200px;
  margin-top: 20px;
}

.flip-card-back h1{
  font-size: 20px;

}

.flip-card-back p{
  font-size: 15px;
  margin: 0px 7px;

}

.flip-card-back a{
  font-size: 15px;
  margin-top: 30px;
}

}

@media screen and (max-width: 600px) {

  .container {
    top: 2%;
	width:90%!important;
	padding-left:12%!important;
	position:relative;
  }
  #container2{
	  margin-top:120px;
	  margin-left:-20%!important;
  }
 .flipflop{
	 width:40%;
	 margin-left:15%;
 }
 .flipflop2{
	 
 }
.separador{
    display:none;	
}
.flip-card{
	width:90%!important;
	margin-left:0%;
	max-height:200px;
}
.flip-card p{
	padding:5px;
}
.imgfin{
	width:60%;	
	margin-left:10%;
}
.imgfin img{
	width:200%;
}
}

@media screen and (max-width: 500px) {


.separador{
   display:none;	
}
  .texto h2 {
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
  }
  .texto .links-titulo h2 {
    font-size: 25px;
    margin-top: 10%;
    margin-bottom: 15px;
  }
  .texto .links-titulo p{
    font-size: 15px;
  }

  .flip-box{
  width: 180px;
  height: 200px;
}

.flip-box-back button[type="submit"] {

  font-size: 10px;
  padding: 5px 7px;

}

  input[type="submit"] {
    font-size: 10px;
    padding: 5px 7px;
  }

  .flip-box2{
   /*width: 180px;*/

  }

  .flip-box2 h2{
    font-size: 20px !important;
  }

  .flip-box2 p {
    font-size: 8px;
  }

  input.fichas{
    width: 200px;
  }

  .flip-card{
  /*  width: 180px;
    height: 220px;*/
  }

  .flip-card-front img{
    width: 180px;
    margin-top: 20px;
  }

  .flip-card-back h1{
    font-size: 20px;
  }

  .flip-card-back p{
    font-size: 15px;
    margin: 0px 7px;
  }

  .flip-card-back a{
    font-size: 15px;
  }

}

@media screen and (max-width: 450px) {
.separador{
   display:none;	
}

  .container {
    
  }
  .container{
    /*top: 25%;*/
    margin-left: 0px;
  }

  .flip-card{
   /* width: 140px;
    height: 200px;*/
  }

  .flip-card-front h2{
    font-size: 18px;
    margin-top: 10px;
  }

  .flip-card-front img{
    width: 140px;
    margin-top: 20px;
  }

  .flip-card-back h1{
    font-size: 18px;
    margin-top: 10px;
  }

  .flip-card-back p{
    font-size: 10px;
    margin: 0px 3px;
  }

  .flip-card-back a{
    font-size: 15px;
    margin-bottom: 40px;


}
  
  }

@media screen and (max-width: 440px) {

.separador{
   display:none;	
}
  .montcau-ers-top img {
    margin-top: 10%;
  }

  .container {
    /*top: 20%;*/
  }
  
}
@media screen and (min-width: 1650px){
  .flip-card{
    width: 370px;
    height: 390px;
  }

  .flip-card-front img{
    width: 370px;
    margin-top: 20px;
  }

  .flip-card-front h2{
    font-size: 30px;
    margin-top: 10px;
  }

  .flip-card-back h1{
    font-size: 30px;
    margin-top: 30px;
  }

  .flip-card-back p{
    font-size: 23px;
    margin: 0px 15px;
  }

  .flip-card-back a{
    font-size: 25px;
    margin-bottom: 40px;
  }


}