:root {
    --bg-color: rgb(255, 255, 255);
    --title-color: #000000;
}

[data-theme="dark"] {
    --bg-color: #182931;
    --title-color: #e0e0e0;
}
a { 
    text-decoration: none;
}
body {
    font-family: Kanit, sans-serif;
    background-image: url('../assets/clovers-01.webp');
    background-attachment: fixed;
    background-position: top;
    background-size: 30vmin;
    background-color: var(--bg-color);
}

h1 {
    margin: 5px;
    color: var(--title-color);
}

h2 {
    text-align: center;
    margin: 10px auto;
}

.orgCnt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    width: 100vmin;
    max-width: 500px;
    position: relative;
}
.lottieCnt{
    width: 24%;
    position: absolute;
    bottom: 27px;
    right: 60px;
}

.orgLogo {
    border-radius: 500px;
    width: 50vmin;
    max-width: 300px;
}

.contacto {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.contactImg {
    width: 42px;
    filter: drop-shadow(-2px 4px 2px rgba(0, 0, 0, 0.397));
    margin: 0 10px;
}

.rifas-grid {
    margin: 20px auto 10px auto;
}

.rifa-card {
    display: flex;
    flex-direction: column;
    width: 95vmin;
    max-width: 500px;
    margin: 20px auto 30px auto;
    position: relative;
    padding: 10px;
    border-radius: 15px;
    background-color: ghostwhite;
    box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.425);
}


.ticketcnt {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: -12px;
    top: -3%;
    rotate: -23deg;
    color: black;
}

.ticket {
    width: 85px;
    height: auto;
    -webkit-filter: drop-shadow(0px 0px 3px #0000008c);
    filter: drop-shadow(0px 0px 3px #0000008c);
    scale: 0.9;
}

.precio {
    font-size: 18px;
    font-weight: 700;
    transform: translate(-50%, -50%);
    position: absolute;
    left: 42%;
    top: 50%;
}

.eventoImg {
    width: 100%;
    border-radius: 15px;
}

.no-rifas {
    text-align: center;
}

.premio {
    font-size: 35px;
}

.dataCnt {
    display: flex;
    flex-direction: row;
    border-radius: 5px 5px 24px 5px;
    background-color: white;
    padding: 5px 10px;
    justify-content: space-evenly;
    align-items: center;
    bottom: 3%;
    width: 95%;
    margin: auto;
}

.dataSngl {
    display: flex;
    flex-direction: column;
    width: 33%;
    align-items: center;
    font-size: 15px;
}
.dataSngl.precio1{
    font-size: 18px;
    background-color: #ffb9096c;
    border-radius: 15px;
}

.dataIcn {
    height: 25px;
}

.data {
    margin-top: 5px;
    font-weight: 600;
    text-align: center;
}
.data.precio1{
    font-size: 18px;
    background-color: #ffb9096c;
    border-radius: 15px;
    width: 100%;
}

.comprar {
    border-radius: 8px;
    padding: 5px 0;
    text-align: center;
    background-color: #ffb909;
    margin-top: 10px;
    color: black;
    font-size: 22px;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px;
    z-index: 1000;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 48px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    background-color: white;
    bottom: 4px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 16px;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: #66bb6a;
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider-icon {
    color: #f0c420;
    margin-right: 5px;
    font-size: 18px;
}