@import "./root.css";

::-webkit-scrollbar {
    width: 0.5em;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
}

body {
    overflow-x: hidden;
}

div.fs[order="1"] {
    padding-top: 10%;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-start;
}

div.fs[order="1"] h1 {
    margin-bottom: 1%;
    font-size: 3vmax;
    font-weight: 300;
}

div.fs[order="1"] h2 {
    margin-bottom: 1%;
    color: #858585;
    font-weight: 400;
}

div.terminal {
    width: 55vw;
    height: auto;
    position: relative;
    background-color: #1e1e1e;
    aspect-ratio: 16/9;
    border-radius: 20px;
}

div.terminal::after {
    margin-left: 2%;
    padding-bottom: 2%;
    width: 100%;
    height: 1em;
    left: 0;
    top: 100%;
    position: absolute;
    transform: translate(0, -100%);
    color: #858585;
    content: "This is simulated!"
}

div.fs[type="info"] {
    height: 50vh;
    display: flex;
}

div.fs[type="info"] {
    justify-content: flex-start;
    align-items: center;
}

div.fs[type="info"] p {
    width: 50%;
    height: auto;
}

div.fs[type="info"] img {
    margin-right: 2%;
    width: 45%;
    height: auto;
}

h1[cursor="true"] {
    margin: 0 2%;
    position: relative;
}

h1[cursor="true"]::after {
    width: 2%;
    height: 150%;
    left: 105%;
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.2);
    animation: blink 1s var(--easeOutQuint, cubic-bezier(0.22, 1, 0.36, 1)) infinite;
    content: "";
}

h1[cursor="true"]::after:nth-child(2n) {
    animation-delay: 500ms;
}

footer {
    width: 100vw;
    height: 10vh;
    background-color: #101010;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

footer img {
    margin-left: 2%;
    height: 90%;
    width: auto;
}

footer div {
    height: 100%;
    flex: 1;
}

footer div.footer__text {
    padding-left: 2%;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: center;
}

footer div.footer__text p:nth-child(n + 2) {
    color: #858585;
}

footer div.footer__text p span {
    color: #fdcb6e;
}

footer div.footer__icons {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-end;
    align-items: center;
}

footer div.footer__icons a {
    margin: 0 1%;
    width: 50px;
    height: 50px;
}

footer div.footer__icons a:last-child {
    margin-right: 5%;
}

footer div.footer__icons a img {
    width: 100%;
    aspect-ratio: 1;
}