@font-face {
    font-family: "Hack";
    src: url("../Fonts/Hack.ttf") format("truetype");
}
@font-face {
    font-family: "Pixel";
    src: url("../Fonts/PixelOperator.ttf") format("truetype");
}

:root {
    --backcolor: #191c13; /* Definición de la variable global */
    --fosfogreen: #b4ff20;
    --shadowHeader: #b5ff20c4;
    --txtblackgreen: #c0ff00;
    --txtwhitegreen: #769d00;
    --txtwhiterose: #c9005d;
    --txtblackblue: #007bff;
}

header {
    background-color: var(--backcolor);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 8vmin;
    overflow: hidden;
    z-index: 100;
    display: grid;
    transition: 0.4s;
    grid-template-columns: 1fr 1fr;
}

header > div:nth-child(1) {
    display: flex;
    justify-content: start;
    align-items: center;
}
header > div:nth-child(1) img {
    height: 3vmin;
    padding-left: 4vmin;
    padding-right: 1vmin;
}
header > div:nth-child(1) > div:nth-child(1)> div {
    font-size: 2.5vmin;
    color: var(--fosfogreen);
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
}

header > div:nth-child(1) > div:nth-child(2) {
    font-size: 2vh;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    color: #fff;
    cursor: pointer;
    padding: 0vh 2vmin;
}
header nav {
    display: flex;
    justify-content: center;
    align-items: center;
}
header nav ul {
    display: flex;
    margin: 0px;
    justify-content: end;
    align-items: center;
}
header nav ul li {
    list-style-type: none;
    color: #fff;
    font-size: 2vmin;
    margin: 0vmin 1vmin;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Menu3Rows {
    display: flex;
    justify-content: end;
    align-items: center;
    padding-right: 6vmin;
    height: 100%;
}

.Bttn3Rows {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.Bttn3Rows > div {
    height: 0.5vmin;
    width: 6vmin;
    margin: 0.6vmin 0vmin;
    background-color: var(--fosfogreen);
    transition: 0.2s;
    transform-origin: center;
    border-radius: 4vmin;
}

aside {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100vh;
    width: 100vw;
    z-index: 99;
    background-color: #ffffff85;
    padding-top: 15vmin;
    backdrop-filter: blur(1vmin);
    transition: 0.4s;
    transform: translateX(100vw);
}

.asideopen {
    transform: translateX(0vw);
    background-color: #ffb7e385;
}

.shadowHeader {
    box-shadow: 0px 0px 10vmin 2vmin var(--shadowHeader);
    -webkit-box-shadow: 0px 0px 10vmin 2vmin var(--shadowHeader);
    -moz-box-shadow: 0px 0px 10vmin 2vmin var(--shadowHeader);
}

main {
    background-color: var(--backcolor);
    margin-top: 8vmin;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--backcolor);
    padding: 2vh 0vw;
    width: 100vw;
}

footer img {
    height: 3vmin;
    padding-left: 4vmin;
    padding-right: 1vmin;
}
footer > div {
    font-size: 2.5vmin;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
}
@media (orientation: portrait) {
    header nav {
        display: none;
    }
    header > div:nth-child(1) > div:nth-child(2){
        display: none;
    }

    #Content {
        margin-top: 16vw;
        width: 100vw;
        height: auto;
    }
    #Menu {
        background-color: #191c13;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 16vw;
        display: grid;
        grid-template-columns: 1fr 1fr;
        z-index: 100;
    }
    #Menu_Logo {
        color: #b4ff20;
        font-weight: bold;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    #Menu_Logo_IMG {
        height: 3vh;
        padding-left: 2vw;
        padding-right: 0.4vw;
    }
    #Menu_Right {
        display: none;
    }
    #Menu_Left {
        display: none;
    }
    .Menu3Rows {
        display: flex;
        justify-content: end;
        align-items: center;
        padding-right: 6vw;
        height: 100%;
    }
    #MenuDesp_back {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;
        background-color: #b4ff2029;
        backdrop-filter: blur(1vh);
        z-index: 90;
    }
    #MenuDesp_front {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;
        background-color: #fff;
        z-index: 95;
        transition: 0.8s;
        transform: translateX(100vw);
    }
}

@media (orientation: landscape) {
    .menuside {
        display: none;
    }
    aside {
        display: none;
    }
    .shadowHeader {
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
    }

    #Content {
        margin-top: 8vh;
        width: 100vw;
        height: auto;
    }
    #Menu {
        background-color: #191c13;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 8vh;
        display: grid;
        grid-template-columns: 1fr 1fr;
        z-index: 100;
    }
    #Menu_Logo {
        color: #b4ff20;
        font-weight: bold;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    #Menu_Logo_IMG {
        height: 3vh;
        padding-left: 2vw;
        padding-right: 0.4vw;
    }
    #Menu_Right {
        display: flex;
        align-items: center;
        justify-content: end;
        padding-right: 2vw;
    }
    #Menu_Left {
    }
    .Menu3Rows {
        display: none;
        justify-content: end;
        align-items: center;
        padding-right: 6vw;
        height: 100%;
    }
    #MenuDesp_back {
        display: none;
    }
    #MenuDesp_front {
        display: none;
    }
}
body {
    padding: 0px;
    margin: 0px;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: "Hack";
    user-select: none; /* Evita la selección de texto en la mayoría de los navegadores modernos */
    -moz-user-select: none; /* Para Firefox */
    -webkit-user-select: none; /* Para Safari y Chrome antiguos */
    -ms-user-select: none;
    background-color: #191c13;
}
body::selection {
    background: green;
    color: black;
    text-shadow: 1px 1px #fff;
}
body::-moz-selection {
    background: green;
    color: black;
    text-shadow: 1px 1px #fff;
}

#Footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: #191c13;
    padding: 2vh 0vw;
    width: 100vw;
}

#Footer_Logo {
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.Menu_opt {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    color: #fff;
    cursor: pointer;
    padding: 0vh 1vw;
}
.arrow_more {
    height: 1.2vh;
    transform-origin: center;
    transform: scaleY(1) translate(0vw, 0.4vh);
    transition: 0.5s;
    padding-left: 1vw;
    padding-left: 1vw;
}

.flexcenter {
    display: flex;
    justify-content: center;
    align-items: center;
}

.TagCard_overlay-content h1 {
    text-align: start;
    color: white;
    /* text-shadow: 0.5vmin 0.5vmin 0vh rgba(0,0,0,0.8); */
}
.TagCard_overlay-content p {
    line-height: 1.4;
    color: #0e390e;
    margin-bottom: 2vmin;
    /* text-shadow: 0.5vmin 0.5vmin 0vh rgba(0,0,0,0.8); */
}

.TagCard_wrap {
    cursor: pointer;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 80vmin;
    height: 50vmin;
    margin: 2rem auto;
    border: solid 1vmin #4e5733;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    border-radius: 6vmin;
}
.TagCard_overlay {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 1rem 0.75rem;
    background: #191c13;
    transition: 0.4s ease-in-out;
    z-index: 1;
}
.TagCard_overlay-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 15vmin;
    height: 100%;
    padding: 0.5rem 0 0 0.5rem;
    border-left: solid 1vmin #769d00;
    border-radius: 1vmin;
    transition: 0.3s ease-in-out 0.2s;
    z-index: 1;
}
.TagCard_image-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background-size: cover;
    transition: 0.3s ease-in-out;
}

.TagCard_inset {
    max-width: 50%;
    margin: 0.25em 1em 1em 0;
    border-radius: 1vh;
    border: solid 0.2vh #808080;
    float: left;
}

.TagCard_text {
    position: absolute;
    top: 0;
    right: 0;
    width: 60vmin;
    height: 100%;
    padding: 3vmin 4vmin;
    background: #fff;
    box-shadow: inset 1px 1px 15px 0 rgba(0 0 0 / 0.4);
    overflow-y: auto;
}

.TagCard_wrap:hover .TagCard_overlay {
    transform: translateX(-68vmin);
}
.TagCard_wrap:hover .TagCard_image-content {
    width: 30vmin;
}
.TagCard_wrap:hover .TagCard_overlay-content {
    border: none;
    transition-delay: 0.2s;
    transform: translateX(68vmin);
    background: rgb(25, 28, 19);
    background: linear-gradient(
        90deg,
        rgba(25, 28, 19, 0.8687850140056023) 28%,
        rgba(0, 0, 0, 0) 100%
    );
    width: 18vmin;
}

/* Animations and timing delays */
.TagCard_animate {
    animation-duration: 0.7s;
    animation-timing-function: cubic-bezier(0.26, 0.53, 0.74, 1.48);
    animation-fill-mode: backwards;
}

/* Pop In */
.TagCard_pop {
    animation-name: TagCard_pop;
}
@keyframes TagCard_pop {
    0% {
        opacity: 0;
        transform: scale(0.5, 0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1, 1);
    }
}

/* Slide In */
.TagCard_slide {
    animation-name: TagCard_slide;
}
@keyframes TagCard_slide {
    0% {
        opacity: 0;
        transform: translate(4em, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* Slide Left */
.TagCard_slide-left {
    animation-name: TagCard_slide-left;
}
@keyframes TagCard_slide-left {
    0% {
        opacity: 0;
        transform: translate(-40px, 0);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0);
    }
}
.TagCard_higlight {
    font-weight: bold;
    color: #769d00;
    white-space: nowrap;
}

.fade{
    transition: 0.6s;
    transform-origin: center;
}
.fadeOut{
    opacity: 0;
    transform: scale(0.5);
}

.fadeIn{
    opacity: 1;
    transform: scale(1);
}