* {
    image-rendering: optimizeSpeed;
    animation: fade 0.9s linear;
    font-family: "w95fa";
}

img {
    image-rendering: pixelated;
}

html {
    font-size: 1.2em;
    min-height: 100%;
    margin: 0;
    background-position: center center;
    text-align: center;
    justify-content: center;
    vertical-align: middle;
    font-family: "w95fa";

}

body {

    margin: 0;
    background-position: center center;
    text-align: center;
    justify-content: center;
    vertical-align: middle;
    padding: 10px;
    height: 100%;
    width: 90%;
    border-radius: 20px;

    margin: auto;
    height: 100%;
    min-height: 100%;

    overflow-x: clip;
    overflow-y: scroll;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "w95fa", cursive;
    margin: auto;
    width: fit-content;
}

header {
    height: fit-content;
    text-align: center;
    background-position: center center;
    justify-content: center;
    vertical-align: middle;
    margin: auto;

    border-radius: 10px;

    margin-bottom: 10px;
}

.nav {
    padding: 10px;
    text-decoration: none;

}

.container-main {
    display: flex;
    flex-direction: column;
    height: 450px;
    text-align: center;
    background-position: center center;
    justify-content: center;
    vertical-align: middle;
    margin: auto;
    padding: 10px;
    border-radius: 10px;
}

.item {
    background-color: none;
    border: 0;
    width: fit-content;
    height: fit-content;
    padding: 7px;
}

.my-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 5px;
    margin-bottom: 10px;
    margin-right: 10px;
}



iframe {
    border: 0;
    border-radius: 10px;

    flex-grow: 1;
    display: flex;
    width: 100%;
    min-width: 100%;
    height: 300px;

    background-size: cover;
    background-position: center center;
    object-fit: fill;
    text-align: center;
    justify-content: center;
    vertical-align: middle;
}


.application {
    background-position: center center;
    justify-content: center;
    vertical-align: middle;

    text-align: center;
    margin: auto;
    padding: 5px;
    position: fixed;
    top: 0;
    right: 0;

    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    z-index: 999;
    height: fit-content;
}

button {
    border: 0;
    border-radius: 10px;
}

summary {
    height: fit-content;
    font-weight: bold;
    height: fit-content;
}

img {
    filter: drop-shadow "2px 2px 4px #000000";
}

.shadow {
    filter: drop-shadow(8px 8px 10px black);
}

/* phone */
@media only screen and (max-width: 600px) {

    html {
        zoom: 80%;
    }

    button {
        width: fit-content;
        height: fit-content;
        text-align: center;
        background-position: center center;
        justify-content: center;
        vertical-align: middle;
        margin: auto;
        margin-top: 5px;
        padding: 5px;
    }

}


@media (prefers-color-scheme: light) {

*{
  cursor: url(https://cur.cursors-4u.net/nature/nat-11/nat1019.cur), auto ;
}


    html {
       background-image: -webkit-linear-gradient(top, #f00, #ff2b00, #f50, #ff8000, #fa0, #ffd500, #ff0, #d4ff00, #af0, #80ff00, #5f0, #2bff00, #0f0, #00ff2a, #0f5, #00ff80, #0fa, #00ffd5, #0ff, #00d5ff, #0af, #0080ff, #05f, #002aff, #00f, #2b00ff, #50f, #8000ff, #a0f, #d400ff, #f0f, #ff00d4, #f0a, #ff0080, #f05, #ff002b);
        color: yellow;
        
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        background-image: -webkit-linear-gradient(left, #f00, #ff2b00, #f50, #ff8000, #fa0, #ffd500, #ff0, #d4ff00, #af0, #80ff00, #5f0, #2bff00, #0f0, #00ff2a, #0f5, #00ff80, #0fa, #00ffd5, #0ff, #00d5ff, #0af, #0080ff, #05f, #002aff, #00f, #2b00ff, #50f, #8000ff, #a0f, #d400ff, #f0f, #ff00d4, #f0a, #ff0080, #f05, #ff002b);
        -webkit-background-clip: text;
        -webkit-text-fill-color: #0000;
        background-clip: text;

    }

    body {
        background: #000277;
        background-size: cover;
    }

    header {
        background-color: #00014a;
        background-size: cover;
    }

    .container-main {
        background-color: #00014a;
        background-size: cover;
    }

    .application {
        background-color: #00014a;
        background-size: cover;
    }

    iframe {
        background: #000277;
    }

    button {
        background: #000277;
    }

    a:link,
    a:visited {
        color: yellow;
        text-decoration: none;
        width: 100%;
    }

    a:hover {
        color: yellow;
        text-decoration: none;
        text-decoration: underline;
    }


}

/*dark mode*/
@media (prefers-color-scheme: dark) {

    html {
        background-image: -webkit-linear-gradient(top, #571a07, #b44a1d, #a67e27, #58511b, #37383c, #3a2238);
        color: #9ab074;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        background-image: -webkit-linear-gradient(left, #b44a1d, #a67e27, #58511b, #37383c, #3a2238);
        -webkit-background-clip: text;
        -webkit-text-fill-color: #0000;
        background-clip: text;

    }

    body {
        background: #1b1f15;
        background-size: cover;
    }

    header {
        background: #242a1d;
        background-size: cover;
    }

    .container-main {
        background: #242a1d;
        background-size: cover;
    }

    .application {
        background: #1b1f15;
        background-size: cover;
    }

    iframe {
        background-image: url(https://arcobaleno.neocities.org/IMG_20231217_000855.jpg);
        background-position: 100% 30%;
    }

    button {
        background: #1b1f15;
    }

    a:link,
    a:visited {
        color: #f1b265;
        text-decoration: none;
        width: 100%;
    }

    a:hover {
        color: #f1b265;
        text-decoration: underline;
    }

}

/*reduced-motion*/
@media (prefers-reduced-motion: reduce) {

    html {
        background: black;

    }


    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        background: black;
        -webkit-background-clip: text;
        -webkit-text-fill-color: #0000;
        background-clip: text;

    }

    iframe {
        background-image: none;
    }

    .muted-rainbow {
        background: #000000;
        -webkit-background-clip: text;
        -webkit-text-fill-color: #0000;
        background-clip: text;
    }

    a:link,
    a:visited {
        color: #000000;
        text-decoration: underline;
        width: 100%;
    }

    a:hover {
        color: #000000;
        text-decoration: underline;
    }

    @keyframes fade {
        0% {
            opacity: 1;
        }

        100% {
            opacity: 1;
        }
    }

}

/*reduced-data*/
@media (prefers-reduced-data: reduce) {

   iframe{
    background-image: none;
   }
}

/*webkit*/
@media only screen and (-webkit-min-device-pixel-ratio:0) {

    .body-flex {
        width: fit-content;
    }

}

@keyframes fade {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@font-face {
  font-family: "w95fa";
  src: url(/fonts/w95fa.otf);
}
