*{
    outline: none;
}
body{
    margin-top: 56px;
}
p{
    font-size: 1.15rem;

}
.rojo{
        background:linear-gradient(#000,transparent);
}
.banner{
    position: relative;
    top: 0;
    width: 100%;
    height: 100vh;
    background:url(../img/portada.webp);
    background-size: cover;
    margin-bottom:0 ;
}
.banner::before,
.sec2::before,
.contact::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background:linear-gradient(#000,transparent);
    pointer-events: none;
}
.banner::after,
.sec2::after,
.contacto::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background:linear-gradient(360deg,#000,transparent);
    pointer-events: none;

}
.height100p{
    height: 100vh;
}
.h100{
  height: 100%;  
}
.contentBox{
    
    z-index: 10;}
.contentBox h1{
 ;

}
.contentBox p{
   
    color: #fff;
    font-size: 1.3rem;
   
}
.sec1{
    padding: 100px 0;
    background: #000;
}


.headerText{
    color: #fff;
}
.headerText h2{
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}
.placeBox{
position: relative;
max-width: 300px;
height: 400px;
margin: 0 auto;
background: #000;
margin-top: 30px;
}
.placeBox .imgBx{
    width: 100%;
    height: 100%;
}
.placeBox .imgBx img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.placeBox .content{
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: baseline;
    align-items: flex-end;
}
.placeBox .content h3{
    position: relative;
    margin: 0%;
    padding: 10px;
    background: rgba(0,0,0,.95);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    text-align: center;
}
.placeBox .content h3 span{
    font-size: 16px;
    font-weight: 500;
    
}
.sec2{
   position: relative;
   background: url(../img/portada2.webp); 
   background-size: cover;
   height: 100vh;
}
.sec2 h2, sec3 h2{
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    font-size: 4.5rem;
}
.sec3{
    position: relative;
    background: url(../img/portada4.png); 
    background-size: cover;
    height: 100vh;
}
.sec4{
    position: relative;
    background: url(../img/elefantefondo1.png); 
    background-size: cover;
    height: 100vh;
}
.sec6{
    position: relative;
    background: url(../img/portada5.png); 
    background-size: cover;
    min-height: 100vh 
}
/* Difuminado superior e inferior */
.sec3::before,
.sec3::after,
.sec4::before,
.sec4::after,
.sec6::before,
.sec6::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 400px;
    pointer-events: none;
}

/* Difuminado superior */
.sec3::before,
.sec4::before,
.sec6::before{
    top: 0;
    left: 0;
    background: linear-gradient(#000, transparent);
}

/* Difuminado inferior */
.sec3::after,.sec4::after, .sec6::after {
 
    bottom: 0;
    left: 0;
    background: linear-gradient(360deg, #000, transparent);
}


.btnD1{
   border: 2px solid #fff;
   color: #000;
   background: #fff;
   border-radius: 50px;
   padding: 15px 50px;
  font-size: 1.15rem;
  outline: none;
  font-weight: 500;
  margin-top: 20px;
}
.blog, .Blog{
    position: relative;
    padding: 100px 0;
    background: #000;
}
.blogpost{
    position: relative;
    width: 100%;
    margin-top: 30px;
    background: #fff;

}
.blogpost .imgBx{
    height: 400px;
}
.blogpost .imgBx img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.blogpost .content{
padding: 15px;

}
.blogpost .content h1{
    margin: 0;
padding: 0 0 10px;
font-weight: 600;
font-size: 1.5rem;

}
.btnD2,
.btnD2:hover{
    background: #262626;
    color: #fff;
    border-radius: 30px;
    padding: 10px 20px;
    float: right;
}
.contacto{
    position: relative;
    padding: 100px 0;
    background:url(../img/portada3.webp) ;
    background-size: cover;
    min-height: 100vh;
}
.contacto form{
    position: relative;
    z-index: 1000;
}
.contacto .form-control{
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255,255,255,.2);
    height: 50px;
    border-radius: 0;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 1.25rem;
}
.contacto .form-control:focus,
.contacto .form-control:hover{
border: none;
    border-bottom: 2px solid rgba(255,255,255,1);
    box-shadow: none;
}
.contacto textarea{
    min-height: 100px;

}
.contacto label{
color: #fff;
font-size: 1.25rem;
}
footer{
    
    background: #000;
    padding:  50px 0 0;
}
.sc1{
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sc1 li{
    list-style: none;
    margin: 0.20px;

}
.sc1 li a{
color:#777 ;
font-size: 2em;
transition: 0.5s;

}
.sc1 li a:hover{
color:#fff ;
}
.cpryt{
    margin-top:20px ;
    text-align: center;
    color: #777;
}
/* modales */
.cartas-container {
  display: flex;
  justify-content: center;
  gap: 10px; /* espacio entre cartas */
  margin-top: 1rem;
}
.cartas-contenedor {
  display: flex;
  justify-content: center;
  gap: 10px; /* espacio entre cartas */
  margin-top: 1rem;
}

.cimgBx img {
  max-width: 150px; /* o el tamaño que prefieras */
  height: auto;
}
.cimgBx img:hover {
  max-width: 200px; /* o el tamaño que prefieras */
  height: auto;
}
.tabla-carrito {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.tabla-carrito thead {
  background: linear-gradient(90deg, #000, #262626);
}

.tabla-carrito th,
.tabla-carrito td {
  padding: 15px;
  text-align: center;
  font-size: 1.1rem;
}

.tabla-carrito th {
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.tabla-carrito tbody tr {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease;
}

.tabla-carrito tbody tr:hover {
  background: rgba(255,255,255,0.05);
}

/*aqui va la pagina de cartanatal*/
.natal {
    background-color: #000;
   
}

.contenedora .carta{
   
    position: relative;
    max-width: 300px;
    height: 420px;
    background:#fff;
    margin: 30px 30px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: 0.5s ease-in-out;
    
}
.contenedora .carta:hover{
    height: 820px;
    
}
.contenedora .carta .imgBoxe{
position: relative;
width: 250px;
height: 165px;
top: -60px;
left: 20px;
z-index: 1;
box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.contenedora .carta .imgBoxe img{
max-width: 100%;
border-radius: 4px;
}
.contenedora .carta .contenidos{
position: relative;
margin-top:140px;
padding: 10px 15px;
text-align: center;
color: #111;
visibility: hidden;
opacity: 0;
transition: 0.3s ease-in-out;
z-index: 2;
}

.contenedora .carta:hover .contenidos{
  visibility: visible;
opacity: 1;

transition-delay: 0.3s;

}



.fondo{
    background:url(../img/fondo.webp);
 background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color:white;
  font-size: 32px;
}
.sec5{
  background:url(../img/elefantefondo.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color:white;
  font-size: 32px;  
}
.amor{
    background:url(../img/amor.webp);
 background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
/***********************************************aqui va el estilo de lo que hice*/

.horoscopo{
    background: black;
    height: 500px;
}
/* El párrafo empieza oculto */
.No-esta {
    display: none;
    color: white;
    margin-top: -30px;
    position :absolute;
    margin-left: 10px
  }
.No-estaB {
    display:none;
    color: white;
    margin-top: -90px;
    position :absolute;
    margin-left: 10px
  }
.hor,.horB{
    z-index: 2;
}
.hor:hover  {
   transform: translateY(-50px); 

}
.horB:hover{
   transform: translateY(50px); 
}

/********************************************************             aqui va las barajas   ******/
  
        .mesa {
            display: flex;
            justify-content: center;
            gap: 20px;
            padding: 30px;
            background: linear-gradient(to bottom, #1e3c72, #2a5298);
            border-radius: 15px;
            margin-bottom: 30px;
            min-height: 200px;
            box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
        }

        .slot {
            width: 110px;
            height: 160px;
            border: 3px dashed rgba(255, 255, 255, 0.4);
            border-radius: 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(255, 255, 255, 0.1);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .slot-number {
            position: absolute;
            top: -25px;
            background: #e94560;
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
        }

        .slot.highlight {
            background-color: rgba(255, 215, 0, 0.2);
            border-color: #ffd700;
            transform: scale(1.05);
        }
        
        .slot img {
            max-width: 100%;
            max-height: 100%;
            border-radius: 10px;
        }

        .cartas-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 30px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 15px;
        }
        
        .carta-item {
            cursor: grab;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .carta-item img {
            width: 90px;
            height: 140px;
            border-radius: 10px;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
            transition: all 0.3s ease;
            border: 2px solid #e94560;
        }
        
        .carta-item.dragging {
            opacity: 0.6;
            transform: scale(0.95);
        }
        
        .carta-item.volteada img {
            transform: rotateY(180deg);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
            border-color: #4cc9f0;
        }
        
        .btn-consultar {
            background: linear-gradient(135deg, #e94560, #c2255a);
            border: none;
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: bold;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            display: block;
            margin: 30px auto;
            box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
        }
        
        .btn-consultar:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(233, 69, 96, 0.6);
        }
        
        .btn-consultar:disabled {
            background: #6c757d;
            transform: none;
            box-shadow: none;
            cursor: not-allowed;
        }
        
        #descripcion {
            min-height: 150px;
            padding: 20px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 15px;
            margin-top: 30px;
            border-left: 4px solid #e94560;
        }
        
        .instrucciones {
            color: white;
            text-align: center;
            margin-bottom: 25px;
            font-size: 1.2rem;
            font-weight: 500;
        }
        
        .slot-con-carta {
            border: 3px solid #4cc9f0;
        }
        
        .carta-info {
            position: absolute;
            bottom: -25px;
            left: 0;
            right: 0;
            text-align: center;
            font-size: 0.8rem;
            color: #4cc9f0;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .carta-item:hover .carta-info {
            opacity: 1;
        }
        
        .reset-btn {
            background: #4361ee;
            border: none;
            color: white;
            padding: 10px 20px;
            border-radius: 50px;
            margin-left: 15px;
        }
        
        .action-buttons {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .leyenda {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .leyenda-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
        }
        
        .leyenda-color {
            width: 20px;
            height: 20px;
            border-radius: 4px;
        }
        
        .leyenda-azul {
            background: #4cc9f0;
        }
        
        .leyenda-rojo {
            background: #e94560;
        }
        
        .leyenda-dorado {
            background: #ffd700;
        }
/***************************************************************
        medias
********************************************************** /* Pantallas móviles <576px */
@media (max-width: 575.98px) {
    
  p {
    text-align: center;
    font-size: 0.9rem; /* ~14px */
  }

  li a {
    font-size: 1.2rem; /* ~19px, tamaño legible en móvil */
  }

  .oraculo {
    font-size: 1rem; /* encabezado adaptado */
  }
  /*
  .margen{
      margin-bottom: 200px;
  }*/
  .Blog .btnD2 {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  .Blog .row {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .Blog .primera,
  .Blog .segunda {
    display: flex;
    max-width: 100%;
    margin: 0 0 1rem 0;
  }

  .Block .imgBx {
    height: 250px; /* más pequeño para móvil */
  }

  .Blog .imgBx img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /*******************************************************************
  media para natal
  *********************************************************************************/
  .natal {
    min-height: 100vh; /* mejor usar min-height */
    height: auto;      /* deja que se adapte al contenido */
    padding: 20px 0;
  }
  
   .contenedora .carta {
    max-width: 90%;       /* ocupa casi todo el ancho */
    height: auto;         /* altura automática */
    margin: 15px auto;    /* centrado horizontal */
    padding: 15px 10px;
  }

  .contenedora .carta:hover {
    height: auto;         /* quitar altura fija para hover */
  }

  .contenedora .carta .imgBoxe {
    width: 100%;          /* imagen ocupa todo el ancho de la carta */
    height: auto;
    top: 0;
    left: 0;
  }

  .contenedora .carta .contenidos {
    margin-top: 10px;     /* menos margen para no romper layout */
  }
  /********************************************************
  barajas
  ***********************************************************/
  .mesa {
    flex-wrap: wrap;
    padding: 15px;
    gap: 10px;
    min-height: auto;
  }

  .slot {
    width: 60px;
    height: 90px;
  }

  .slot-number {
    top: -15px;
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  .cartas-container {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 10px;
  }

  .carta-item img {
    width: 60px;
    height: 90px;
  }

  h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .instrucciones {
    font-size: 1rem;
  }

  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .leyenda {
    flex-direction: column;
    gap: 10px;
  }
  .carta-item.seleccionada {
  outline: 3px solid #4cc9f0;
  transform: scale(1.03);
  transition: transform .15s;
}

/* evitar comportamientos extraños en touch */
.carta-item {
  touch-action: manipulation;
  -webkit-user-drag: none;
}
/********************************************************input*/
input[type=image]{
    width:100px;
    height: 200px;
}

}
