@font-face {
  font-family: 'Poppins';
  src: url('../fonts/PoppinsVariable.otf') format('opentype');
  font-display:swap;
}

@font-face {
  font-family: 'DM Serif Text';
  src: url('../fonts/DMSerifText.ttf') format('truetype');
  font-display:swap;
}

:root{
  --fondo:#fff8f4;
  --texto:#0c1519;
  --texto-btn:#59112e;
  --cta:#ff66a1;
  --rosa-extra-light:#ffe9ec;
  --rosa-light:#e1b3c3;
  --rosa-dark:#ad5b67;
}

/* Pantalla de carga */
 body.loading {
      overflow: hidden;
    }

    #loader {
       position: fixed;
       top: 0;
       left: 0;
       right: 0;
       bottom: 0;
       background-color: var(--fondo);
       display: flex;
       justify-content: center;
       align-items: center;
       z-index: 9999;
     }

body{
  position: relative;
  font-family:'Poppins';
  font-size: 18px;
  color: var(--texto);
}

p{
  text-align: justify;
  text-align-last: center;
}
/*Navbar*/
#inicio,
#servicios,
#contacto {
    scroll-margin-top: 80px;
}

.navbar{
  --bs-navbar-active-color:#ff66a1;
}
.navbar-floating {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  position: fixed;
  border-radius: 30px;
  background-color: white;
  width: 95dvw;
  z-index: 1000;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
  }

.navbar-brand img, footer img{
  max-width: 200px;
  height: auto;
  margin: auto;
}

.nav-link.active{
  color: var(--texto-btn);
}

.custom-container{
  width: 100%;
}

/*Alineacion horizontal*/
.row{
  display: flex;
    align-items: center;
    justify-content: center;
}

/*Main*/
main{
  background-image: url('bg/bg_main03.webp');
  background-size: contain;
  background-position: center;
  height:90dvh;
  padding-top: 150px;
}
h1,h2,h3, .navbar a{
  font-weight:800 ;
  text-transform: uppercase;
  text-align: center;
}
h1{
  font-size: 40px;
}

h2{
  font-size: 30px;
}

h3{
  font-size: 25px;
}
/*Palabras destacadas*/
span{
  font-family: 'DM Serif Text';
  font-style: italic;
}

.span.uno{
  color: var(--cta);
}

/*Divisor secciones*/
.divider{
  background-color:var(--texto);
  height: 20px;
}

.section01{
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background-color: var(--fondo);
}
.section01 img{
  max-width: 350px;
}

/*Boton*/
.boton{
  text-align: center;
  background-color: var(--cta);
   width: 250px;
   height: 40px;
   padding: 5px;
   margin: auto;
   border-radius: 15px;
}

.boton.contacto{
  width: 180px;
}

.boton:hover{
    transform: scale(1.05);
    transition: all .2s ease-in-out;
}

.boton a, .boton p{
  color: var(--texto-btn);
  text-transform: uppercase;
  font-weight: 800;
  font-family: 'DM Serif Text';
   text-decoration: none;
}

.boton a:hover{
   text-decoration: none;
}

/*Servicios*/
#servicios{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  background-image: url('bg/bg_main04.webp');
}

.descripcion li{
  text-align: left;
}
.flip-card {
  font-size: 15px;
  margin: auto;
  max-width: 350px;
  height: 450px;
  perspective: 1000px;
}

.flip-toggle {
    display: none;
}

.flip-card-inner {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;

    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flip-toggle:checked + .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
}

.flip-card-front, .flip-card-back {
  border: 1px solid var(--rosa-dark);
  background-color: white;
}

.flip-card-front{
  display: grid;
  align-items: center;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/*Seccion Contacto*/
#contacto{
  background-color: var(--fondo);
}


.foto img{
  border-radius: 30px 0px;
  max-width: 250px;
}


footer{
  box-shadow: 1px -8px 14px -13px rgba(0,0,0,0.65);
-webkit-box-shadow: 1px -8px 14px -13px rgba(0,0,0,0.65);
-moz-box-shadow: 1px -8px 14px -13px rgba(0,0,0,0.65);
  background-color: white;
}
.row.footer{
  max-width: 700px;
  margin: auto;
}
footer img{
  width: 200px;
}

.line{
  margin-top: 50px;
}

.desarrollo{
  font-size: 15px;
}

.desarrollo a{
  font-family: 'DM Serif Text';
  text-decoration: none;
  color: var(--cta);
}
@media screen and (min-width: 768px){
  .custom-container{
    width: 85%;
    margin: auto;
  }
  main{
    height: auto;
  }

  .line{
    margin-top: 0px;
  border-left: solid;
}
}

@media screen and (min-width: 1024px){

  .custom-container.main{
    width: 60%;
    margin: auto;
  }

}

@media screen and (min-width: 1440px){
  .navbar-floating{
    width: 75dvw;
  }
  .custom-container{
    width: 70%;
    margin: auto;
  }
}