body{
    height: 100%;
    margin: 0px;
    font-family:'Segoe UI', sans-serif;
    min-height: 100vh;
    
}
.header{
   background-color: #ffffff;
   height: 100px;
   background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 300'><rect x='50' y='80' width='8' height='4' fill='%23ffeb3b' transform='rotate(-15 132 152)'/><circle cx='40' cy='30' r='3' fill='%23ffeb3b'/><circle cx='90' cy='80' r='2' fill='%23ffa500'/><circle cx='200' cy='40' r='4' fill='%231ac378'/><rect x='130' y='150' width='8' height='4' fill='%23a66edb' transform='rotate(15 132 152)'/><circle cx='250' cy='220' r='3' fill='%23a66edb'/></svg>");
   background-size: 200px 200px;
   background-repeat: repeat;
   text-align: center;
   position: sticky;
   top:0;
   z-index: 1;
   animation: animacion-header linear both;
   animation-timeline:scroll(root) ;
   animation-range: 0 200px;
}
nav{
   display: flex;
   align-items: center;
   justify-content: space-between;  
}

footer{
    background: linear-gradient(135deg, #a32bc7, #1ac378);
    height: 100px;
    width: 100%;
    display:flex;
    flex-direction: column;
    justify-content:center;
    align-items: center;
    color: white;
    padding: 10px;
}

footer p {
  margin: 2px 0;
  line-height: 1.3;
}

footer p:first-child {
  font-size: 15px;
  font-weight: 600;
}

footer #textFooter {
  font-size: 12px;
  opacity: 0.9;
  max-width: 600px; 
}

#textFooter{
    font-size: small;
    color: #000000;
}


@keyframes animacion-header{
    to{
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(10px);
    }
}

h1{
    color: rgb(255, 255, 255);
    text-align: center;
    font-size:xx-large;
}


h2{
    text-align: center;
    color: rgb(0, 0, 0);
}

h3, h4 ,h5{
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight:normal;
}


#listaPremio{
     font-size:medium;
}
a{
    outline: none;
    text-decoration: none;
    color: aliceblue;
}

.enlaces{
    margin-right: 30px;
    width: 180px;
    height: 35px;
    border-radius: 10px;
    background-color:rgb(166, 110, 219);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.enlaces:hover {
    background: #1ac378;
    box-shadow: 0 0 10px #1ac378;
}

p{ 
    text-align: center;
    font-size: larger;
}
.contenedor-flex{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
#home{
    background: linear-gradient(135deg, #a32bc7, #1ac378);
    margin-top: 20px;
    padding: 60px 20px;
    clip-path: polygon(
  0% 0%, 100% 0%, 100% 85%,
  75% 100%, 25% 90%, 0% 85%
);
}

#form-list{
   display: flex;
   flex-direction: column;
   justify-content: center;
}

label{
    margin: 0 6px 6px 0;
    margin-top: 6px;
    margin-bottom: 6px;
}

input{
    border: 2px solid #dadada;
    border-radius: 4px;
    width: 100%;
    height:20px ;
    margin-bottom: 10px;
}
input:focus{
    border: 2px solid #c19ccc;
    outline: none;
}

.botones{
    margin-top:10px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

button{
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: medium;
    text-align: center;
    cursor: pointer;
}
button:hover{
   scale:1.1;
}

#link-ruleta{
   background-color: chocolate;
}

.btn-procesar{
    background-color:  #5bc696;;
    color:rgb(255, 255, 255);
}
.btn-procesar:hover{
    background: #1ac378;
}

.btn-limpiar{
   background-color: #da7878;
   color:rgb(255, 255, 255);
}
.btn-limpiar:hover{
    background: #c04c4c;
}

.btn-guardar{
   background-color: #1ac378;
   color: #ffffff;
}

.cerrar{
    background: #c04c4c;
    color:rgb(255, 255, 255);
}

.cerrarSimple{
   color:crimson;
   justify-self: right;
   margin-bottom: 5px;
}

.cerrarSimple:hover{
   scale:1.5;
}

#volverSortear{
   background-color: #c19ccc;
   color: #ffffff;
}

#vistaSorteo{
        height: 100vh;
}

#headerLista{
  width: 25%;
  height: 5vh; 
  color: #ffffff;
  background: linear-gradient(135deg, #a32bc7, #1ac378);
     clip-path: polygon(
  0% 0%, 100% 0%, 100% 85%,
  75% 100%, 25% 90%, 0% 85%
);

}

#sorteo-lista{
    margin-top: 50px;
}

.contenedor-lista {
  background-color: white;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  max-height: 150px;  
  overflow-y: auto;
  margin-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #a32bc7 transparent;
  font-size: medium;
}

.contenedor-lista ul {
  padding-left: 1rem;
  margin: 0;
}

.contenedor-lista li {
  margin-bottom: 0.5rem;
  font-family: sans-serif;
  list-style: none;
}

#sorteoRuleta{
    min-height: calc(100vh - 100px);
    display: grid;
    grid-template-columns:  1fr 1fr;
    gap:10px;
    align-items: center;
    justify-items: center;
}

.instruccion-ruleta {
  font-size: 13px;
  color: #202020;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

@media (max-width: 768px) {
    #sorteoRuleta {
        grid-template-columns: 1fr;
    }
       .triangulo{
    left: 210%;   
    right: auto;             
}
h1{
    font-size:larger;
}
#form-ruleta{
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%) !important;
}
}

.blur {
  filter: blur(10px);
  transition: filter 0.3s ease;
}

#form-ruleta{
    background: linear-gradient(135deg, #a32bc7, #1ac378);
    width: 100%;
    padding: 20px;
    clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}

.rueda{
    display: flex;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.rueda canvas {
    max-width: 100%;
    height: auto; 
    display: block;
    margin: 0 auto;
}

.circle-ruleta{
     width: 100px;
     height: 100px;
     border-radius: 60px;
     background-image: url("./../images/icono_tu_sorteo.png" );
     background-size: 70px 70px;   /* Cambia tamaño */
     background-repeat: no-repeat;   /* No repetir */
     background-position: center; /* Centrado abajo */
     background-color: #392f31;
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.circle-ruleta:hover{
    box-shadow: 0 0 10px #a32bc7 ;
}
.triangulo{
    width: 0px;
    height: 0px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 30px solid rgb(255, 0, 0);
    position: absolute;
    top: 50px;
    right: -220px;
    transform: translateY(-50%);
}
.textAreaRuleta{
    display: flex;
    margin-top: 20px;
}

/* Estilado sorteo Lista*/
textarea {
  resize: vertical;
  height: 200px;
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid  #dadada;
  margin-top: 10px;
  text-align: left;
  }
textarea:focus{
    border: 2px solid #c19ccc;
    outline: none;
}

dialog{
  border: none;
  border-radius: 12px;
  padding: 30px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-align: center;
  z-index: 1;
}

#publicidad{
  display: block; 
  padding-top: 30px;
  padding-bottom: 30px;
  min-height: 30px;
}

