body {
    background-color: #222;
}
main {
    background-color: #333;
}

nav.top-nav .top-nav-title {
    width: 150px;
    text-align: left;
}
nav.top-nav .top-nav-links a:hover img {
  animation: tilt-shaking 0.25s infinite;
}
@keyframes tilt-shaking {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0eg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}
nav.top-nav #usuario {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 10px;

    width: 150px;
}
nav.top-nav #usuario a {
    width: 50px;
    height: 50px;
    border-radius: 100%;
}
nav.top-nav #usuario a div.imagenPerfil {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50px 50px;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: 2px solid #FFF;
}
nav.top-nav #sin_usuario {
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 10px;

    width: 150px;
}
nav.top-nav #sin_usuario a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    background-color: #222;
    width: 40px;
    height: 40px;
    color: #999;
    border-radius: 5px;
    border: 2px solid #999;

    opacity: 0.5;
}
nav.top-nav #sin_usuario a.entrar {
    background-color: #FF4867;
    color: #FFF;
    border-color: #FFF;
}
nav.top-nav #sin_usuario a:hover {
    opacity: 1;
}
.index {
    background-color: #444;
}
.index > h3 {
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    color: #999;
}
.gacha_options {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 25px;
}
.gacha_options > button.gacha_option {
    background-color: #222;
    margin: 0px 3px;
    padding: 2px 0px;
    width: 35px;
    height: 30px;
    border: none;
    border-radius: 10px 10px 0px 10px;
}
.gacha_options > button.gacha_option:hover,
.gacha_options > button.gacha_option.active {
    background-color: #FF4867;
}
.index > section.items {
    background-image: url('../img/bg_gachamemo.webp');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: auto auto;
}
section#donationbox {
    z-index: 90;
    position: fixed;
    top: 150px;
    right: 50px;

    background-color: #222;
    padding: 10px;
    width: 300px;
    height: 600px;

    border: 2px solid #FF4867;
    border-radius: 30px 0px 0px 30px;
    box-sizing: border-box;
    overflow: hidden;

    transition: all 0.3s ease;
}
section#donationbox > button.close_open {
    position: absolute;
    top: 0px;
    right: 0px;

    display: none;
    background-color: #FF4867;
    margin: 0px;
    padding: 2px;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 0px;
    box-sizing: border-box;
}
section#donationbox > #kofi_counter {
    margin-bottom: 10px;
}
section#donationbox > #kofi_counter > span {
    padding-left: 10px;
    color: #FF4867;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 24px;
    font-weight: lighter;
}
section#donationbox article {
    cursor: pointer;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;

    background-color: #444;
    margin-bottom: 5px;
    width: 100%;
    border-radius: 30px 0px 0px 30px;
}
section#donationbox article img {
    margin: 5px;
    width: 30px;
    height: 30px;
}
section#donationbox article p.name {
    margin: 0px;
    color: #AAA;
    font-size: 12px;
    font-weight: bold;
    line-height: 40px;
    word-break: keep-all;
    word-wrap: normal;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}
section#donationbox article p.amount {
    background-color: #FF4867;
    margin: 0px 0px 0px auto;
    min-width: 60px;
    color: #EEE;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
}
section#donationbox article pre {
    display: none;
}
section#donationbox article.first_subscription {
    background-color: #E9CC87;
}
section#donationbox article.first_subscription p.name {
    color: #FFF;
}


.swal_accept_cookies {
    border: 2px solid #FF4867;
}
.swal_accept_cookies .swal2-icon {
    color: #FF4867;
    border-color: #FF4867;
}
.swal_accept_cookies button.swal2-confirm {
    background-color: #FF4867;
    padding: 10px 15px;
    height: auto;
    line-height: 10px;
}


.swal_donator_info .swal2-title {
    padding-top: 0px;
    padding-right: 1em;
    padding-bottom: 0px;
    padding-left: 1em;
}
.swal_donator_info .swal2-html-container p.linea {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0px;
}
.swal_donator_info .swal2-html-container p.linea::before,
.swal_donator_info .swal2-html-container p.linea::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #444;
}
.swal_donator_info .swal2-html-container p.linea::before {
    margin-right: 10px;
}
.swal_donator_info .swal2-html-container p.linea::after {
    margin-left: 10px;
}

.swal_donator_info .swal2-actions button.swal2-cancel,
.swal_donator_info .swal2-actions button.swal2-confirm {
    background-color: #444;
}
.swal_donator_info .swal2-actions button.swal2-cancel:hover,
.swal_donator_info .swal2-actions button.swal2-cancel:focus {
    background-color: #FF4867;
}



footer {
    position: fixed;
    bottom: 0px;
    right: 0px;

    /* display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%; */
    padding: 5px;
}
footer > a {
    /* position: relative; */
    color: #AAA;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-size: 12px;
    text-decoration: none;
}
footer > a:hover {
    color: #FF4867;
}

.loading {
    background: linear-gradient(90deg, #444, #555, #444);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

span.version,
span.ultima_version {
    background-color: #FF4867;
    margin-left: 10px;
    padding: 5px 10px;
    color: #EEE;
    border-radius: 5px;
}
a.cerrar_sesion {
    display: block;
    background-color: #FF4867;
    margin: 20px auto;
    padding: 5px 10px;
    width: 200px;
    color: #EEE;
    font-size: 18px;
    /* font-weight: bold; */
    text-align: center;
    border-radius: 5px;
}



@media (max-width: 1850px) {
    section#donationbox {
        right: 10px;

        width: 250px;
    }
    section#donationbox article p.name {
        font-size: 10px;
    }
    section#donationbox article p.amount {
        min-width: 50px;
        font-size: 12px;
    }
}

@media (max-width: 1650px) {
    section#donationbox {
        width: 32px;
        height: 32px;
        border-radius: 3px;
    }
    section#donationbox article p.name {
        font-size: 12px;
    }
    section#donationbox article p.amount {
        min-width: 60px;
        font-size: 14px;
    }
    section#donationbox.opened {
        width: 300px;
        height: 600px;
        border-radius: 30px 0px 0px 30px;
    }
    section#donationbox > button.close_open {
        display: block;
    }
}

@media (max-width: 828px) {
    section#donationbox {
        top: 100px;
        right: 0px;
    }
    section#donationbox.opened {
        width: 100%;
        height: 900px;
        border-radius: 0px;
    }
}

@media (max-width: 583px) {

}