/*Pantalla de carga*/
    body.loading {
      overflow: hidden;
    }

    /* Pantalla de carga */
    #loader {
       position: fixed;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background-color: #f9f5ed;
       display: flex;
       justify-content: center;
       align-items: center;
       z-index: 9999;
     }

/*Boton Whatsapp*/
.whatsapp{
	position:fixed;
    right:0;
    bottom:0;
    margin-right: 2px;
    margin-bottom: 2px;
    border-radius: 50%;
    border-style: none;
    background-color: rgba(25, 25, 25, 0.8);
    padding: 10px;
}

html{
	scroll-behavior: smooth;
}

@font-face {
  font-family: 'Oswald';
  src: url('font/Oswald.ttf') format('truetype');
}

body{
	overflow-x: hidden;
	font-family: 'Oswald';
	font-weight: normal;
	font-size: 18px;
	text-align: justify;
	text-align-last: center;
	color: #212121;
	background: #f9f5ed;
	}

	/*Principal*/

/*Logo top*/
	header{
		background-color: #212121;
	}

	header img{
		width: 30%;
		margin: auto;
	}

/*Portada*/
.main {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
}

.main img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.main .contenido {
	text-align: center;
  position: relative;
  z-index: 1;
  color: white;
  padding: 2rem;
}

.textoportada{
	color: #faf3e1;
	padding-top: 150px;
}

.textoportada h1{
	font-size: 85px;
}

.textoportada h2{
	font-size: 37px;
}

/*Navbar*/
.navbar{
	position:sticky;
    top:0;
    left:0;
    right:0;
    z-index:200;
	width: 100%;
 	background-color:#212121;
 	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.navbar a{
	color:#faf3e1;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 20px;
	text-align: center;
	font-weight: 500;
	padding: 15px;
}

.navbar a:hover{
	text-decoration: underline;
}

.navbar-content{
	 margin: 0 auto;
}

#inicio, #modelos, #precio, #faq{
	margin-top: 50px;
	margin-bottom: 20px;
}

/*Inicio*/
#inicio, #modelos, #precio, #faq, #iniciom, #cumpleanos, #bodas{
	padding-top: 60px;
}

.texto{
	color: #785664;
	text-transform: uppercase;
	text-align: right;
	text-align-last: right;
	border-right: 1px solid;
	padding-right: 15px;
}

.textoinicio{
	text-align: left;
	text-align-last: left;
}

.instrucciones{
	margin-top: 50px;
	background-color: #212121;
	color: #f9f5ed;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
	padding: 50px;
	border-top: solid;
	border-bottom: solid;
	border-width: 10px;
	border-color: #d9bbaf;
}

.numero{
	width: 50px;
	height: 50px;
	margin: auto;
	border-radius: 50%;
	border:2px solid #f9f5ed;
	background-color: #d9bbaf;
	color: #283c3a;
	padding: 10px;
	margin-bottom: 15px;
	font-weight: 500;
	box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 8px;
}


/*Boton*/

.boton{
   width: 170px;
   height: 45px;
   margin: auto;
   background-color: #d9bbaf;
   border-radius: 20px;
   box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 8px;
   font-weight: 500;
   padding: 7px;
}
.boton:hover{
    transform: scale(1.05);
    transition: all .2s ease-in-out;
}

.boton a{
   text-decoration: none;
   color: #212121;
}

.boton a:hover{
   text-decoration: none;
}

/*Modelos*/

.elementos{
	padding: 50px;
}

.item{
	height: 130px;
	padding: 20px;
	text-align: left;
	text-align-last: left;
	border-bottom: solid;
	border-width: 1px;
}


/*Precio*/

#precio{
	background-color: #d9bbaf;
	border-top: solid;
	border-bottom: solid;
	border-width: 10px;
	border-color: #212121;
	padding-bottom: 60px;
}

.card.precio{
	background-color: #f9f5ed;
	color: #212121;
	border-radius: 30px;
	border:2px solid #283c3a;
	height: 550px;
	padding-top: 40px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}

.card.precio img{
	background-color: #fffeec;
	border-radius: 50%;
	border-style: solid;
	border-color: #212121;
	border-width: 1px;
	padding: 8px;
	box-shadow: rgba(0, 0, 0, 0.3) 2px 2px 2.6px;
}

.card-body.precio{
	width: 80%;
	margin: auto;
}

.card.precio img{
	width: 95px;
	height: 95px;
	margin: auto;
}


#iconpago img{
	width: 65px;
	height: 65px;
	margin: auto;
}

/*FAQ*/

.accordion{
	--bs-accordion-bg: rgba(0,0,0,0);
	--bs-accordion-active-bg: none;
	--bs-accordion-active-color: #212121;
	--bs-accordion-border-color:rgba(0,0,0,0);
	--bs-accordion-btn-focus-box-shadow:none;
}
.accordion-item{
	margin-top: 10px;
}

.accordion-header{
	background-color: rgba(0, 0, 0, 0);
	text-transform: uppercase;
	border-bottom: solid;
	border-width: 1px;
}

.accordion-button{
	text-transform: uppercase;
}

/*Página modelos*/

#iniciom{
	border-bottom: 1px solid;
}

.titulo h2{
	color: #785664;
	text-transform: uppercase;
}

.display{
	display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.producto{
	flex: 1 1 calc(25% - 16px);
  box-sizing: border-box;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: aparecer 0.6s forwards;
}

.producto p{
	padding: 5px 0px 25px 0px;
}

.producto img{
	width: 100%;
  max-width: 195px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.producto:hover {
  transform: translateY(-8px);
}

.producto:hover img {
  transform: scale(1.03);
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*Footer*/
footer{
	color: #fffeec;
	background-color: #212121;
	border-top: solid;
	border-color: #fffeec;
	margin-top: 100px;
	padding: 30px 5px 30px 5px;
	font-family: fisterra-fora, sans-serif;
	font-style: normal;
	font-weight: 700;
}

.redes{
	width: 50%;
	margin: auto;
}


@media screen and (min-width: 1024px){
    .large{
        width: 75%;
        margin: auto;
    }
}

@media screen and (min-width: 1440px){
	#modelos, #faq{
		width: 60%;
		margin: auto;
	}

	.item{
	height: 150px;
}

}

@media screen and (max-width: 1024px){

	header img{
		width: 50%;
	}

	.main .contenido{
		padding: 0;
	}

	.textoportada{
		width: 100%;
		padding: 150px 15px 150px 15px;
	}
	
	.navbar a{
		padding: 5px;
	}

	.elementos{
	padding: 20px;
}

.item{
	height: 150px;
}

}

@media screen and (max-width: 430px){
	header img{
		width: 85%;
	}

	.textoportada h1{
	font-size: 55px;
  }

  .textoportada h2{
	font-size: 20px;
  }

	.top img{
		width: 90%;
	}

	.textoinicio{
		text-align: justify;
		text-align-last: center;
	}

	#middle{
		margin: 15px 0px 15px 0px;
		padding: 15px 0px 15px 0px;
		border-top: 1px solid;
		border-bottom: 1px solid;
		border-color: #d9bbaf;
	}

	.card.precio{
		margin-bottom: 25px;
	}

	.producto {
    flex: 1 1 calc(50% - 16px); /* 2 columnas */
  }

}

@media screen and (max-width: 360px){
	.item{
	height: 170px;
	padding: 10px;
}

.textoportada h2{
	font-size: 13px;
  }

}
