:root {
    --x: 0;
    --y: 0;
    --xp: 0;
    --yp: 0;
    --bg: hsl(0, 0%, 22%);
    --size: 400px;
    --glow: radial-gradient(50% 50% at center,
    rgba(164, 164, 164, 0.53),
    transparent) calc((var(--x) * 1px) - (var(--size) * 0.5)) calc((var(--y) * 1px) - (var(--size) * 0.5)) / var(--size) var(--size) no-repeat fixed;
}
h4{
    margin: 0 0 0.2rem 0;
}
h3 {
    margin-bottom: 0;
}
h2 {
    color: rgb(255, 255, 255);
    margin-top: 10px;
    margin-bottom: 0.4rem;
}
h1 {
    margin: auto;
}
p {
    margin-top: 2px;
}
body { /*background: rgb(27, 29, 37);*/
    /*background-image: url("../img/BackGround.png");*/
    color: rgb(255, 255, 255);
    image-rendering: auto;
    background-image: url("../img/background-Home.webp");
    background-position: 0 -30rem;
    background-size: 100%;
    position: relative;
    font-size: 1rem;
    z-index: -2;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
@media (max-width: 1920px) {
    body{
        background-size: auto;
    }
}
@media (max-width: 75rem){
    body{
        font-size: 2rem;
    }
}

.inbox {
    padding: 1rem 2rem;
    margin: 0.5rem;
    border-radius: 1rem;
    min-width: 13rem;
    border: 0.25rem solid transparent;
    background:
            linear-gradient(var(--bg), var(--bg)) padding-box,
            var(--glow),
            linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)) border-box;
}

/*
.inbox::before {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: 0 1px hsl(0, 100%, 50%) inset;
    background: var(--bg);
    z-index: -1;
    border-radius: 1rem;
}

.inbox::after {
    content: "";
    position: absolute;
    inset: -2px;
    filter: blur(10px);
    border: 1px solid transparent;
    z-index: -1;
    background: var(--glow);
    border-radius: 0;
}*/
.main-content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 75rem){
    .main-content{
        display: flex;
        flex-flow: column;
    }
}

ul{
    padding-left: 20px;
    margin-top: 7px;
    margin-bottom: 7px;
}
li{
    margin-bottom: 7px;
}
small{
    font-size: smaller;
    color: #a2a1a7;
}
.content{
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 10px;
    min-height: 100vh;
    border: 0;
    width: 75rem;
    border-radius: 1.5rem;
    display: block;
    backdrop-filter: blur(6px);
    background-image: linear-gradient( rgba(0, 0, 0, 0.61), rgba(0, 0, 0, 0.76));
}
@media (max-width: 75rem){
    .content{
        width: auto;
    }
}
header{
    display: flex;
}
.discord{
    height: 100%;
    width: 100%;
    min-height: 400px;
}

.headBox{
    margin: 0;
    background-image: url("../img/end.png");
    padding: 6px 13px;
    border-radius: inherit;
    background-attachment: fixed;
    background-size: 30vmax;
    text-shadow:
            2px 2px 0 black,
            -2px 2px 0 black,
            2px -2px 0 black,
            -2px -2px 0 black;
    text-decoration: none;
    font-family: 'Ink Free', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

code{
    font-family: 'JetBrains Mono', Consolas, Monospaced, sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue';
    color: #ffffff;
}
a{
    color: #6168ef;
}
.subBox{
    background-color: rgb(86, 86, 86);
    border-radius: 0.7vh;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 1px;
    transition: background-color 0.3s ease;
}
.subBox:hover{
    background-color: rgb(148, 148, 148);
    color: #ffffff;
}
.imageInBox {
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    transition: scale 500ms;
}
.imageInBox:hover {
    scale: 1.1;
    position: relative;
}
.refImg{
    overflow: hidden;
    padding: 0;
}
.navButton{
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.4rem;
    margin: 0.2rem;
    color: rgb(218, 218, 218);
}
nav{
    margin: 0.4rem auto 0.4rem auto;
    display: flex;
    flex-direction: row;
}
#header{
    padding: 0;
}
button{
    background:
            linear-gradient(var(--bg), var(--bg)) padding-box,
            var(--glow),
            linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)) border-box;
    border: transparent solid 0.2rem;
    border-radius: 0.6rem;
    padding: 0.2rem;
    margin: 4px;
    align-content: center;
    cursor: pointer;
    transition: background-color 400ms;
}
button:hover{
    background-color: rgb(129, 129, 129);
}
button:active{
    transition-duration: 80ms;
    background-color: #ffffff;
}
@media (max-width: 75rem){
    .imageInBox {
        height: auto;
    }
    .navButton{
        margin-bottom: auto;
        margin-top: auto;
    }
}


#inputSuper{
    position: relative;
    width: min-content;
}
#noFoundBox {
    position: absolute;
    transition-duration: 600ms;
    width: 240px;
    height: 30px;
    background-color: rgba(255, 0, 0, 0.8);
    top: -40px; /* Posición encima del objeto */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
    display: inline;
    opacity: 0;
    text-align: center;
    line-height: 30px;
    color: white;
}
@media (max-width: 75rem) {
    #noFoundBox{
        width: 500px;
        height: 40px;
    }
}
input{
    color: white;
    border-radius: 1vh;
    margin-top: 12px;
    margin-bottom: 12px;
    width: min-content;
    border: #000000 solid;
    font-size: inherit;
    padding: 2px 0 2px 4px;
    background-color: #111111;
}
input:focus{
    outline: none;
}
table {
    width: 100%;
    font-size: inherit;
    border-collapse: collapse;
}
th, td {
    border: 2px solid #000000;
    padding: 6px;
    text-align: left;
    text-overflow: ellipsis;
    background-color: #181818;
}
td {
    background-color: #262626;
}
.refImg{
}
@media (max-width: 75rem) {
    .inbox:has(table) {
        padding: 0;
    }
    input{
        margin: 10px;
    }
    .refImg{
        max-width: 75rem;
    }
}
#headTable{
    display: flex;
    align-content: center;
}