* {
    box-sizing: border-box;
}


body {
    background-color: #1a1a2e;
    color: #e0e0e0;
    font-family: 'Poppins', sans-serif;
}

body.no-scroll {
    overflow-y: hidden;
}

hr {
    width: 100%;
}


.hero {
    border-image: fill 0 linear-gradient(rgba(0, 0, 0, 0.437), rgba(0, 0, 0, 0.877));
    background-blend-mode: overlay;
    background: url('img/img\ \(1\).jpg') no-repeat center center/cover;
    background-attachment: fixed;
    background-position: center -150px;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.btn-custom {
    background-color: #4c7faf;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    transition: 0.3s;
    margin: 0 10px;
}

.btn-custom:hover {
    background-color: #2a4e6f;
}

.bg-dark {
    background-color: black !important;
}

.btn-custom-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4c7faf;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
    opacity: 0;
}

.btn-custom-top:hover {
    background-color: #2a4e6f;
}

.btn-custom-top.show {
    opacity: 1;
}

#historia p {
    text-align: justify;
}

#historia h3 {
    /* color: #8a2be2; */
    text-decoration: underline;
}

.btn-custom-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background-color: white;
    color: black;
    border: none;
    padding: 10px;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}


.btn-custom-top.show {
    opacity: 1;
    background-color: white;
    color: black;
}

.btn-custom-top:hover.show {
    background-color: #8a2be2;
}

.zoomable {
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.zoomable.zoom {
    transform: scale(2);
    /* position: absolute; */
    cursor: zoom-out;
}


@media (max-width: 1100px) {
    .hero {
        height: 80vh;
        background-position: center center;
        background-size: cover;
        padding: 20px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .btn-custom {
        padding: 8px 16px;
    }
}

.imgage {
    height: 300px;
    overflow: hidden;
    display: flex;
    position: relative;
    align-items: flex-start;
    cursor: pointer;
}

.imgage img {
    transition: all .3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.imgage:hover img {
    transform: scale(1.2);
}

.imgage.nsfw::before {
    content: "NSFW";

    font-size: 40px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: #1a1a2e;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 1;
}

.imgage.nsfw img {
    z-index: 2;
    filter: opacity(.1) blur(3px);
}

#data {
    background-color: #000 !important;
}

.character {
    display: flex;
    position: relative;
}

.character::before {
    content: '';
    height: 100%;
    width: 100%;
    z-index: 5;
    position: absolute;
    box-shadow: inset 0 -90px 30px black;
    top: 0;
    left: 0;
}

.character img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: flex;
}


.datainfo {
    text-align: center;
    background-blend-mode: overlay;
    background-color: rgb(96, 96, 96);
    box-shadow: inset 3px 3px 15px black;
    border-radius: 15px;
    background-image: url("img/textura\ 2.jpg");
    background-size: cover;
    background-position: center;
    padding: 40px !important;
}

.datainfo h6 {
    margin: 0px;
}

progress {
    width: 70%;
    height: 10px;
    border-radius: 10px;
    background-color: #eee;
}

progress::-webkit-progress-bar {
    background-color: #ddd;
    border-radius: 10px;
}

progress::-webkit-progress-value {
    background-color: #4c7faf;
    border-radius: 10px;
}

progress::-moz-progress-bar {
    background-color: #4c7faf;
    border-radius: 10px;
}

.statcontent {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    position: relative;
}

.stat {
    border: solid #4c7faf 2px;
    border-radius: 50%;
    /* width: fit-content; */
    width: 60px;
    height: 60px;
    padding: 10px;
    background-color: #212121;
    box-shadow: inset 0px 0px 10px black;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.decor {
    content: "";
    position: absolute;
    top: calc(50% - 30px);
    left:  calc(50% - 30px);
    transform: rotate(45deg) scale(.9);
    z-index: 0;
    height: 60px;
    width: 60px;
    background-color: #4c7faf;
}
.decor2 {
    content: "";
    position: absolute;
    top: calc(50% - 30px);
    left:  calc(50% - 30px);
    transform: rotate(45deg) scale(.8);
    z-index: 0;
    height: 60px;
    width: 60px;
    background-color: #eaeaea;
}

.stat * {
    margin: 0px;
}

.stat h3 {
    font-weight: 400;
    font-size:30px !important;
    margin: 0px !important;
    margin-top: -15px !important;
}
.stat h6 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    background-color: #4c7faf;
}

.tabaxi {
    all: unset;
}

:popover-open {
    padding: 10px;
    border-radius: 10px;
    color: white;
    min-width: 60%;
    min-height: 80vh;
    max-width: 70%;
    max-height: 90vh;
    border: solid #4c7faf 2px;
    background-color: #212121da;
    box-shadow: inset 0px 0px 10px black;
    backdrop-filter: blur(10px);
    padding: 30px;
    overflow: auto;
    scrollbar-color: #4c7faf #212121;
}

::backdrop {
    background-color: rgba(0, 0, 0, 0.8);
    /* Fondo oscuro semitransparente */
}

:popover-open button.close{
    all: unset;
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    padding: 5px;
}

@keyframes mover {
  0% { transform: translateX(0); }
  50% { transform: translateX(10px); }
  100% { transform: translateX(0px); }
}
@keyframes mover2 {
  0% { transform: translateX(0); }
  50% { transform: translateX(-10px); }
  100% { transform: translateX(0px); }
}

.animatesingder {
    width: 25px;
    height: 25px;
    /* background-color: red; */
    transform: translate(0);
    animation: mover 2s infinite;
}
.animatesingizq {
    width: 25px;
    height: 25px;
    /* background-color: red; */
    transform: translate(0);
    animation: mover2 2s infinite;
}

.texto-boton {
 transition: all .3s;
}
.texto-boton:hover {
    color: orangered;
}
