 :root {
        --pestañabackg: url('https://thefragile.neocities.org/graphics/purplesky.gif');
        --fondobody: url('https://sadhost.neocities.org/images/tiles/stars.gif');

        --content: #43256E;
    }

    @font-face {
        font-family: Nunito;
        src: url('https://sadhost.neocities.org/fonts/Nunito-Regular.ttf');
    }

    @font-face {
        font-family: Nunito;
        src: url('https://sadhost.neocities.org/fonts/Nunito-Bold.ttf');
        font-weight: bold;
    }

    @font-face {
        font-family: Nunito;
        src: url('https://sadhost.neocities.org/fonts/Nunito-Italic.ttf');
        font-style: italic;
    }

    @font-face {
        font-family: Nunito;
        src: url('https://sadhost.neocities.org/fonts/Nunito-BoldItalic.ttf');
        font-style: italic;
        font-weight: bold;
    }

    @font-face {
        font-family: "Segoe UI";
        src: url("fonts/segoeui.woff2") format("woff2"),
            url("fonts/segoeui.woff") format("woff");
        font-weight: normal;
        font-style: normal;
    }

    body {
        position: relative;
        font-family: 'Nunito', sans-serif;
        margin: 0;
        width: 1920px;
        background-color: #07020f;
        background-size: 300px;
        color: #fceaff;
        background-image: var(--fondobody);
    }

    * {
        box-sizing: border-box;
    }

    #todo {

        width: 1720px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 300px minmax(1000px, 1fr) 300px;
        justify-content: center;
        align-items: flex-start;
        gap: 50px;
        padding: 0 40px;
        box-sizing: border-box;
    }

    .anunciosizq,
    .anunciosder {
        margin-left: 30px;
        display: inline-block;
        vertical-align: top;
        margin-top: 40px;
        max-width: 250px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        cursor: pointer;
    }

    .anunciosizq img,
    .anunciosder img {
        border: 1px solid;
    }

    #container {
        width: 100%;
        max-width: 1000px;
        margin: 0 auto;
        box-sizing: border-box;


    }


    #navbar {
        position: relative;
        margin: 0 auto;
        height: 40px;
        background-color: #2d0909d3;
        background: linear-gradient(0deg, rgba(44, 10, 58, 0.692) 40%, hsla(286, 79%, 78%, 0.342) 90%);
        width: 1200px;
        border-radius: 10px;
    }

    #navbar ul {
        display: flex;
        padding: 0;
        margin: 0;
        list-style-type: none;
        justify-content: space-evenly;
    }

    #navbar li {
        padding-top: 10px;
    }

    #navbar li a {
        color: #cb55d6;
        /* navbar text color */
        font-weight: 800;
        text-decoration: none;
        /* this removes the underline */
    }

    /* navigation link when a link is hovered over */
    #navbar li a:hover {
        color: #796996;
        text-decoration: underline;
    }

    #interno {
        position: relative;
        margin: 0 auto;
        margin-top: 40px;
        backdrop-filter: blur(1px);
        width: 1006px;
        height: 1067px;
        background-color: rgb(73, 119, 172);
        background: linear-gradient(150deg, rgba(255, 255, 255, 0.144) 0px, rgba(73, 119, 172, 0) 20%),
            linear-gradient(0deg, rgba(38, 124, 150, 0.349) 1%, rgba(52, 122, 201, 0.404) 60%);
        border: 2px solid black;
        box-shadow: 0 0 0 0.5px white inset;
        border-radius: 8px;

    }

    .botones {
        display: flex;
        justify-content: flex-end;
        width: 100%;
        position: relative;
        margin-top: -0.6px;
        right: 5px;
        padding: 1px;
    }

    .botones div {
        width: 30px;
        height: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: bold;
        cursor: pointer;
        user-select: none;
        background: linear-gradient(0deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.151) 50%);
        border-top: none;
        border-bottom: 2px solid #07020f;
        box-shadow: 0 0 0 0.5px white inset;
        font-family: Arial, sans-serif;
    }

    #equis {
        width: 50px;
        border-bottom-right-radius: 5px;
        border-right: 2px solid #07020f;

    }

    #equis p {
        font-size: 17px;
        color: white;
        -webkit-text-stroke: 1px black;
    }

    #medio {
        border-left: 2px solid #07020f;
        border-right: 2px solid #07020f;
    }

    #linea {
        border-bottom-left-radius: 5px;
        border-left: 2px solid #07020f;

    }

    #nombrepestaña {
        font-family: Tahoma;
        font-size: 14px;
        margin-left: 10px;
        margin-top: -13px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #nombrepestaña p {
        margin: 0;
    }

    #pestaña {
        position: relative;
        margin: 0 auto;
        margin-top: 5px;
        max-width: 985px;
        height: 1020px;
        background-color: #fceaff;
        border-radius: 3px;
        border: 1px solid #07020f;
        outline: 1px solid white;
        align-items: center;
        background-image: var(--pestañabackg);
        overflow: hidden;
    }

    #textointerno {
        position: relative;
        padding-top: 5px;
        margin: 0 auto;
        max-width: 900px;
        margin-top: 0px;
        background: linear-gradient(180deg, rgba(196, 104, 104, 0.753) 8%, rgba(82, 27, 27, 0.829) 60%);
        border: 1px solid #07020f;
        border-radius: 20px;
        box-shadow: 10px 10px 19px #07020f;
    }

    #textointerno p {
        margin-left: 30px;
        margin-right: 30px;
    }

    .buttons,
    .stamps {
        width: fit-content;
        margin: 0 auto;
        margin-top: 30px;
        margin-bottom: 0;
    }

    .buttons img {
        width: 88px;
    }

    .resonancias {
        position: relative;
        display: flex;
        gap: 600px;
        margin: 0 auto;
        width: fit-content;
        margin-top: -9%;
        margin-bottom: 20px;
    }

    .resonancias img {
        width: 90px;
        border-radius: 10px;
    }

    .cerebro {
        position: relative;
        width: 1200px;
        margin: 0 auto;
        filter: drop-shadow(1px 1px 7px rgb(207, 189, 162));
    }

    .cerebro:hover img {
        filter: blur(1.4px);
    }

    .cerebro img {
        position: absolute;
        max-width: 80%;
        transition: transform 0.2s ease, z-index 0s;
    }

    .seleccionable img:hover {
        transform: scale(1.1);
        z-index: 10;
        filter: blur(0);
        filter: drop-shadow(1px 1px 15px rgb(141, 255, 112));
        cursor: pointer;
    }

    .frontal {
        width: 300px;
        top: 90px;
        right: 682px;
    }

    .parietal {
        width: 270px;
        top: 94px;
        right: 496px;
    }

    .occipital {
        width: 130px;
        right: 455px;
        top: 210px;
    }

    .temporal {
        width: 320px;
        top: 230px;
        right: 534px;
    }

    .abajo {
        width: 220px;
        top: 310px;
        right: 490px;
    }

    .cerebro h1,
    .cerebro p {
        margin: 0;
        color: #07020f;
    }

    /* FRONTAL */
    #frontal_texto {
        position: absolute;
        left: 140px;
        top: -190px;
        width: 500px;
        height: fit-content;
        background-color: white;
        padding-top: 1px;
        border: 2px solid black;
        box-shadow: 10px 10px 20px #07020f;
        border-radius: 20px;
        padding: 20px;
    }

    #frontal_texto::after,
    #temporal_texto::after,
    #occipital_texto:after,
    #parietal_texto::after {
        content: "";
        position: absolute;
        bottom: -80px;
        /* lo coloca fuera del div */
        left: 38%;
        /* ajusta la posición horizontal */
        border-width: 60px 30px 30px 30px;
        border-style: solid;
        border-color: white transparent transparent transparent;
    }

    .titulos {
        position: relative;
        opacity: 0;
        visibility: hidden;
        transform: translateY(5px);
        transition: opacity 0.25s ease-out, transform 0.25s ease-out;
        z-index: 999;
    }

    .lob_frontal:hover .titulos {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* TEMPORAL */
    #temporal_texto {
        position: absolute;
        left: 290px;
        top: -50px;
        width: 500px;
        height: fit-content;
        background-color: white;
        padding-top: 1px;
        border: 2px solid black;
        box-shadow: 10px 10px 20px #07020f;
        border-radius: 20px;
        padding: 20px;
        z-index: 20;
    }

    .lob_temporal:hover .titulos {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* OCCIPITAL */
    #occipital_texto {
        position: absolute;
        left: 470px;
        top: -100px;
        width: 500px;
        height: fit-content;
        background-color: white;
        padding-top: 1px;
        border: 2px solid black;
        box-shadow: 10px 10px 20px #07020f;
        border-radius: 20px;
        padding: 20px;
        z-index: 20;
    }

    .lob_occipital:hover .titulos {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* PARIETAL */
    #parietal_texto {
        position: absolute;
        left: 350px;
        top: -150px;
        width: 500px;
        height: fit-content;
        background-color: white;
        padding-top: 1px;
        border: 2px solid black;
        box-shadow: 10px 10px 20px #07020f;
        border-radius: 20px;
        padding: 20px;
        z-index: 20;
    }

    .lob_parietal:hover .titulos {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }