/*Fuentes*/
@font-face{
  font-family:'Parisienne';
  src:url('Parisienne.ttf') format('truetype');
}

@font-face{
  font-family:'Poppins';
  src:url('Poppins.ttf') format('truetype');
}

/* Pantalla de carga */
 body.loading {
      overflow: hidden;
    }

    #loader {
       position: fixed;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background-color: #f7f2ee;
       display: flex;
       justify-content: center;
       align-items: center;
       z-index: 9999;
     }

html{
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

body{
    background-color: #f7f2ee;
    color: #252525;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-align: justify;
    text-align-last: center;
}

.navbar-brand img{
    width:300px;
    margin: auto;
}

.navbar, #frase, #modelos, #reviews, footer{
    background-color: #603742;
    color: #f7f2ee;
}

.inicio span,#frase, .modelos span, .price-title h3 {
    font-family: 'Parisienne';
}

.nav-link{
    color: #fff9f5;
    font-weight: 700;
    text-transform: uppercase;
}

.navbar-toggler {
  border-color: #513a45;
  background-color: #fff9f5;
}

main, #instrucciones, #modelos, #precio,#reviews, #faq, footer{
    padding-bottom: 60px;
    padding-top: 60px;
}
.inicio, .disclaimer{
    margin: auto;
    background-color: #fff9f5;
    border-radius: 30px;
    padding: 20px 10px 20px 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.inicio{
    width: 90%;
}

.inicio span {
    color: #F2CDC7;
    font-size: 50px;
    font-weight: 400;
}

.inicio h1{
    font-weight: 700;
    line-height: 0.7;
}

.main-animation{
    width: 300px;
    height:450px;
}

#frase{
    padding: 25px 0px 25px 0px;
}

.frase{
    font-size: 35px;
    line-height: 0.8;
    position: relative;
}

.s1, .s2{
    position: absolute;
    height: 50px;
    width: 50px;
}

.s1{
    top: -50px;
    left: 10px;
}

.s2{
    bottom: -50px;
    right: 10px;
}

.box, .boton, .circle{
    border-image-repeat: stretch;
  border-image-slice: 20 20 20 20 fill;
  border-image-width: 5px;
}
.box{
  height: 230px;
  padding: 40px;
  border-image-source: url('cardbg_01.webp');
}

.diamond{
    width: 40px;
    height: 40px;
    background-color: #f2cdc7;
    transform: rotate(45deg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}


.diamond::before{
    content: "";
}


.diamond span{
    transform: rotate(-45deg);
    color: #513a45;
    font-weight: bold;
}

/*Boton*/
.boton{
    width: 250px;
    height: 40px;
    margin: auto;
    padding: 5px;
    background-color: #F2CDC7;
    border-radius: 10px;
  animation: pulse 2s infinite;
}

.boton a {
    text-decoration: none;
    color: #513a45;
    text-transform: uppercase;
    font-weight: 800;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(58,11,25,.5);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(58,11,2,0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(58,11,2,0);
  }
}

/*Seccion modelos*/

.divider img{
    width: 90%;
    margin: auto;
}

#texto-modelo{
    padding: 20px;
}
.modelos span{
    font-size: 35px;
    color:#eab4c1;
}

.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}

.circle{
    color: #513a45;
    width: 130px;
    height: 130px;
    margin: auto;
    padding: 25px;
    border-image-source: url('circlebg_01.webp');

    flex-shrink:0;
    display:flex;
    align-items:center;
    justify-content:center;
    text-transform: uppercase;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
}


.slider{
  width:100%;
  overflow:hidden;
  padding:40px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.slide-track{
  display:flex;
  gap:30px;
  width:max-content;

  animation: scroll 20s linear infinite;
}


@keyframes scroll {

  from{
    transform:translateX(0);
  }

  to{
    transform:translateX(calc(-290px * 5));
  }

}

/*Precio*/
.price{
    background-color: #f2cdc7;
    border-radius:30px;
    height: 400px;
    width:320px;
    padding: 15px;
    margin: auto;
    display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.star img{
    width: 18px;
    height: 21px;
    margin: auto;
}

.price-title{
    border-bottom: solid;
    border-width: 2px;
}

.price-title h3{
    font-size: 30px;
    color: #513a45;
}

.price-body, .price-bottom, .price-title{
    display:flex;
  flex-direction:column;
  align-items:center;
  gap:5px;
}

.price-number{
    font-weight: 800;
    font-size: 35px;
}

.price-bottom{
    border-top:solid ;
    border-width: 2px;
}

/*FAQ*/
.accordion{
  --bs-accordion-bg: rgba(0,0,0,0);
  --bs-accordion-active-bg: none;
  --bs-accordion-active-color: #513a45;
  --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;
}

.redes a{
    color: #fff9f5;
}

/*Página modelos*/
.disclaimer{
    width: 320px;
    text-align: center;
}

.producto-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.producto{
  flex: 1 1 calc(50% - 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);
  }
}

@media screen and (max-width: 320px){
    .navbar-brand img{
        width: 180px;
    }

    main img{
    height: 50vh;
    margin: auto;
}

    .price{
    height: 350px;
    width:270px;
    padding: 10px;
    }

    .price-title h3{
    font-size: 20px;
}
}

@media screen and (max-width: 375px){
    .navbar-brand img{
        width: 250px;
    }

}

@media screen and (min-width: 768px){
    .inicio{
        width: 60%;
        margin: auto;
    }
    main{
        background-image: url('mainbg_01.webp');
        background-size:cover;
        background-position: center;
    }
    .navbar-brand img{
        width: 250px;
    }

    .box{
        text-align: center;
     height: 200px;
     padding: 15px;
    }
    .grid {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
  }

  .grid-item.one {
    grid-column: 1;
    grid-row: 1;
    transform: translateY(50px);
  }

  .grid-item.three {
    transform: translateY(-20px);
    padding: 15px;
    grid-column: 1;
    grid-row: 2;
  }

  .grid-item.two {
     transform: rotate(5deg);
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-left: -100px;  
    z-index: 3;
  }


  .producto{
    flex: 1 1 calc(25% - 16px);
  }
}

@media screen and (min-width: 1024px){
    main img{
    height: 50vh;
    margin: auto;
}
 .inicio{
        width: 40%;
        margin: auto;
    }

    .frase, .instrucciones, .modelos, .precio, .reviews, .redes, .divider img{
        width: 80%;
        margin: auto;
    }

    .faq{
        width: 40%;
        margin: auto;
    }
}

@media screen and (min-width: 1440px){
    .inicio{
        width: 35%;
        margin: auto;
    }
    .frase, .instrucciones, .modelos, .precio, .reviews, .redes , .divider img{
        width: 60%;
        margin: auto;
    }
    .faq{
        width: 25%;
        margin: auto;
    }
}

@media screen and (min-width: 2560px){
    .inicio{
        width: 25%;
        margin: auto;
    }
    .frase, .instrucciones, .modelos, .precio, .reviews, .redes , .divider img{
        width: 40%;
        margin: auto;
    }
    .faq{
        width: 25%;
        margin: auto;
    }
}

