@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
    --base-width : 960px;
    --main-font: "VT323";
    --title-size: 32px;
    --sub-title-size: 24px;
    --p-size: 22px;
    

    --title-color: rgb(190, 42, 111);
    --main-color: white;
    --link-color-hover: rgb(255, 0, 140);
    --link-color: rgb(255, 255, 255);

    --space-color: rgba(0, 0, 0, 0.582);

    --base-margin: 8px;
}

.text-box {
    margin: var(--base-margin);
    padding: 16px;

    width: var(--base-width);
    background-color: var(--space-color);
    
    box-shadow: 8px 8px black;
}

body {
    display: grid;
    place-items: center;
    text-align: center;
    font-family: var(--main-font);
    color: var(--main-color)
}

h1 {
    font-size: var(--title-size);
    color: var(--title-color);
}
h2 {
    color: var(--title-color);
}

h2, a, li{
    font-size: var(--sub-title-size)
}

a {
    display: inline-block;
    transition: transform ease-in-out 0.1s;
    color: var(--link-color);

    text-decoration-style: dotted;

}

a:hover {
    transform: scaleX(.89);
    transform: scaleY(2.50);
    color: var(--link-color-hover);
    text-decoration-style: dashed;
}

p, marquee {
    font-size: var(--p-size)
}

.background {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url(../assets/bg2.png);

    animation: scroll-anim 12s infinite linear;
    z-index: -1;
    
}

@keyframes scroll-anim {
    from {
        background-position-x: 0px;
        background-position-y: 0px;
    }
    to {
        background-position-x: 320px;
        background-position-y: 200px;
    }
}