@import url("slider.css");
@import url("a.css");
@import url("lightdark.css");
@import url("showobelisks.css");
@import url("../fonts/hidayatullah/hidayatullah-demo.css");
@import url("../fonts/heal-the-web-a/heal-the-web-a.css");
@import url("../fonts/heal-the-web-b/heal-the-web-b.css");

:root {
    color-scheme: light dark;
    --bg-repeats: repeat-x, repeat, no-repeat;
    --font-main: Heal The Web A;
    interpolate-size: allow-keywords;

    --windowcolor: light-dark(#ffffff66, #00000066);
}

:root:has(input[type="checkbox"]:checked) {
    --windowcolor: light-dark(#00000066, #ffffff66);
}

h1,
h2 {
    font-family: Heal The Web B;
}

.home-text-container {
    --fs: 1.3em;
    font-size: var(--fs);
    position: absolute;
    color: var(--textcolor);
    z-index: -2;
    top: 10vh;
    left: 10vw;
    height: 80vh;
    width: 80vw;
    text-align: center;
    align-content: center;

    background-color: var(--windowcolor);
}

.home-text-container:has[type="checkbox"]:checked {
    background-color: light-dark(#00000066, #ffffff66);
}

.home-text-title {
    font-size: 300%;
    font-family: Hidayatullah DEMO;
}
.home-text {
    font-size: 100%;
    font-family: Heal The Web A;
    margin: 0px 5vw;
}

.language-select {
    margin-top: 5vh;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.language-select > div {
    flex: 1 1 0px;
    align-self: stretch;
    align-content: center;
}

.enlang {
    border-right: 0.5px solid var(--textcolor);
    padding-right: 2vw;
}

.itlang {
    border-left: 0.5px solid var(--textcolor);
    padding-left: 2vw;
}

::selection {
    background: var(--selcolor);
    color: white;
}

html {
    cursor: var(--defcur), auto;
}

body {
    color: var(--textcolor);
    background-image: var(--desertbg), var(--space), var(--bg);
    background-repeat: var(--bg-repeats);
    background-position:
        right bottom,
        right bottom,
        right bottom;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    line-height: 175%;
}

.content-dist {
    padding-left: calc(2.2% + 200px);
}

header {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

#desert {
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    height: 32px;
    background-image: var(--sand);
    z-index: 10;
}

html {
    visibility: visible;
    opacity: 1;
}

html {
    visibility: visible;
    opacity: 1;
}

@keyframes glitch {
    from {
        mask-position-y: 0px;
    }
    to {
        mask-position-y: 1075px;
    }
}
