:root {
    --sombras: #e8ece5e1;
}

::-webkit-scrollbar {
    width: 8px;
  }
  
::-webkit-scrollbar-thumb {
    background-color: rgba(206, 206, 192, 0.623);
    border-radius: 20px;
    box-shadow: 0px 0px 15px white;
}  

::-webkit-scrollbar-track {
    border-radius: 20px;
    background-color: rgba(15, 2, 2, 0.226);
}


html *{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: monospace;
}

body{
    background: radial-gradient(#d69b9b,#a10e0e); 
    height: 100vh;
    width: 100vw;
    background-size: cover !important;
    overflow: hidden!important;
    background-size: auto;
    transition: background 2s;
    animation: fadeIn 2s linear;
}

.mundo {
    position: absolute;
    width: 80%;
    bottom: 0;
    right: 0;
    animation: rotacion 5s linear infinite;
    filter: brightness(.76);
    border-radius:50%;

}
@media screen and (max-width: 600px) {
    .mundo {
      bottom:  20px;
    }
    .count-container{
        display: none!important;
    }
  }

@keyframes rotacion {
0%{transform: scale(1);

}
50%{transform: scale(1.02)rotateX(10deg)}
100%{transform: scale(1);

}
}


header {
    display: flex;
    overflow-y: auto;
    flex-direction: column-reverse;
    outline: 2px solid whitesmoke;
    background-color: rgba(0, 0, 0, 0.685);
    padding: 14px;
    border-radius: 0px 0px 20px 20px;
    position: fixed;
    box-shadow: 0px 0px 15px var(--sombras);
    min-height: min-content;
    max-height: 80px;
    width: 100vw;
    z-index: 9999;
}
button {
    position: absolute;
    bottom: 100px;
    right: 10px;
    height: 60px;
    border-radius: 50%;
    padding: 10px;
}



.consola-container{    
    display:inline;
}

.consola {
    font-size: 1.2rem;
    font-family: monospace;
    color: wheat; 
    border-radius: 20px;
    display: inline;
}

.blink {
    border: solid white 1px;
    animation: blink .5s infinite step-end alternate;
    display: inline;
}

.control-container {
    background-color: #a7a1a1a2;
    display: flex;
    flex-direction: column;
    position: absolute;
    gap:10px;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 20px;
    border: solid 2px black;
    box-shadow: 0 0 15px var(--sombras);
    top: 50%;
    left: 10px;
    cursor: move;
    z-index: 999;
}

.spin {
        position: absolute;
        width: 100%;
        background: linear-gradient(rgba(47, 89, 126, 0.87), #072168);
        height: 100%;
        z-index: 9991;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 1.5s;      
}

.spin span {
    z-index: 9992;
    animation: girar 1.5s infinite;
}

span > img {
    width: 30px;
}

@keyframes girar {
    from {transform: scale(8) rotate(0deg);}
    to {transform: scale(8) rotate(360deg); }
}

input {
    position: fixed;
    top: 50%;
    transform: rotate(-90deg);
    right: -20px;
    position: absolute;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100px;
    height: 5px;
    background-color: #dddddd93;
    border-radius: 5px;
    box-shadow: 0px 0px 15px black;
  }
  
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    background-color: #b3c7b3cc;
    border-radius: 50%;
    box-shadow: 0px 0px 15px rgb(158, 253, 171);
    border:solid 2px rgba(0, 0, 0, 0.356);
  }

.control-btn {
    border-radius: 50%;   
    margin: 0px;
    border:2px solid;
    box-shadow: 0 0 15px var(--sombras);
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.control-btn:hover i {
    color: var(--sombras);
    transition: .3s;
}


.whatsapp {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: green;
    color: white;
    border: 2px solid;
    box-shadow: 0 0 15px var(--sombras);
    border-radius: 20px 20px 5px 20px;
    height: 60px;
    width: 60px;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    transition: .3s;
}

.whatsapp i {
    transform: scale(2);
}

.count-container {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.767);
    color: rgba(255, 0, 0, 0.795);
    font-weight: 900;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    gap: 10px;
    border: 2px solid;
    box-shadow: 0px 0px 15px rgba(255, 0, 0, 0.863);
}

.avatar-container {
    position: absolute;
    top: 100px;
    right: 10px;
    cursor: grab;
    
}

.avatar-container:hover::after{
    content: '😊';
    transform: scale(3);
    position: fixed;
    display: flex;
    left: 38%;
    top: 5%;
}

.avatar-container:active{
    cursor: grabbing;
}

.avatar-container:active::after { 
    content: '😲';
    position: absolute;
    cursor: grabbing; 
    top: -20px;   
    transition: .5s;
}

.avatar-container img {
    border-radius: 20px 5px 20px 20px;
    box-shadow: 0px 0px 10px var(--sombras);
    width: 70px;
    height: 70px;
    border: 2px solid white;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    width: 100%;
    height: 100%;
    margin: auto;
}

.display-container {
    background-color: rgba(189, 169, 169, 0.527);
    border-radius: 20px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 20px;
    box-shadow: 0px 0px 15px var(--sombras); 
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    overflow-y: auto;
    animation: fadeIn .5s linear;
    max-height: 75%;
    max-width: 75%;
    align-items: center;
    justify-content: center;
    width: fit-content;
    width: -moz-fit-content;
    z-index: 99;
  
}

@keyframes scroll {
    from {
        opacity: 0;
        transform:scale(25%);
        
    }
    to {
       opacity: 1;
       transform:scale(100%);
    
    }
}   

.none {
    display: none;
}

.display-item {
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.795);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    cursor: pointer;
    min-height: 150px;
    overflow: hidden;
    view-timeline-name: --image;
    view-timeline-axis: block;
    animation-timeline: --image;
    animation-name: scroll;
    animation-range: entry 20% cover 40%;
    animation-fill-mode: both;
}

.display-item i {
    transform: scale(5);
    transition: all .3s;
    opacity: .4;
}

.display-item:hover i {
    opacity: 1;
}

.display-item > img, .display-item > a > img {
    height: 100px;
    filter: grayscale() blur(2px);
    opacity: .5;
}

.display-item:hover > img, .display-item:hover > a > img{
    filter:none;
    opacity:1;
    transition: all .5s;
    filter: blur(0px);
}

.libro:hover > img, .libro:hover > a > img {
    transform: scale(1.5) rotate(10deg);
}

.display-item:hover:has(.fa-joint){
    color: green;
    filter: blur(7px);
    transition: 1s;
}

.full:hover{
    background-color: rgba(8, 240, 8, 0.767)!important;
}

.medio:hover{
    background-color: rgba(255, 255, 0, 0.685)!important;
}

#foto-perfil {
    width: 500px;
    height: 400px;
    overflow: hidden;
}

.json {
    flex-direction: column;
    padding: 20px;
    overflow: auto;
    align-items: flex-start;
    min-width:200px;
    background: radial-gradient(#333333ea,#111111dc);
}

.json span {
    padding: 5px;
    font-size: 1.2rem;
    font-weight: 900;
    color: rgba(228, 235, 230, 0.76);
}

.json span strong {
    color: rgb(17, 133, 179);
}

.json span em {
    color: rgb(185, 24, 118);
}

.amarillo:hover {
    color: rgba(255, 255, 0, 0.808);
}

.azul:hover {
    color: rgba(31, 49, 209, 0.842);
}

.rojo:hover {
    color: rgba(255, 0, 0, 0.877);
}

.verde:hover {
    color:green;
}

.display-item:hover {
    background-color: rgba(24, 172, 122, 0.5);
    opacity: 1;
}

.cursando:hover::after {
    content: 'CURSANDO';
    padding: 10px;
    color: white;
    background-color: rgba(0, 255, 34, 0.918);
    position: absolute;
    width: 120%;
    text-align: center;
    transform: rotate(-25deg);
    animation: fadeIn 3s;
    bottom:20px;
    left: 5px;
}

.proximamente:hover::after {
    content: 'PRÓXIMAMENTE';
    padding: 10px;
    color: white;
    background-color: red;
    position: absolute;
    width: 120%;
    text-align: center;
    transform: rotate(-25deg);
    animation: fadeIn 3s;
    bottom:20px;
    left: 5px;
}

@keyframes blink {
    50%{
        border-color: transparent;
    }
}

@keyframes fadeIn {
    0%{
    opacity: 0;
    }
    50%{
    opacity: 1;
    }
}

.sol {
    width: 80px;
    height: 75px;
    background-color: yellow;
    box-shadow: 0px 0px 50px yellow;
    filter: drop-shadow(0 0 15px rgb(255, 123, 0));
    position: absolute;
    border-radius: 50%;
    top: 100px;
    left: 25px;
    animation: radiacion 5s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 900;
}

.sol::after {
    content: '<';
    opacity: .3;
}

@keyframes radiacion {
    0% {
        box-shadow: 0px 0px 50px yellow;
    }

    50% {
        box-shadow: 0px 0px 10px rgb(255, 166, 0);
        background-color: rgb(255, 187, 0);
        transform: rotate(90deg);
    }
}

.luna {
    width: 80px;
    height: 80px;
    background-color: rgba(240, 232, 232, 0.938);
    position: fixed;
    border-radius: 50%;
    top: 100px;
    left: 25px;
    box-shadow: 0px 0px 30px rgb(240, 240, 219);
    transition: 1s;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    font-weight: 900;
}

.luna::after {
    content: '/>';
    opacity: .1;
    animation: fadeIn 5s linear infinite;
}

/* .luna::after{
    content: '🌚s';
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(6);
    top: 25px;
    opacity: .3;

} */

.eclipse {
    box-shadow: 2px 0px 50px rgb(252, 2, 2);
    transition: 1s;
    background-color: rgba(0, 0, 0, 0.897);
    filter: drop-shadow(0 0 15px rgb(255, 0, 0));

}

.btn {
    transition: all .5s!important;
}

.btn:hover {
    transform: scale(1.05)!important;
    opacity: 1!important;    
}

.btn:active {
    transform: scale(.95)!important;
}
