/*----------------------------------------
Variables
----------------------------------------*/

@media only screen and (max-width: 349px) {
    :root {
        --logo-size: 125px;
        --footer-height: 25px;
        --x-speed: 2.5;
        --y-speed: 2.5;
        --margin: 10px;
        --button-margin: 5px;
    }
}

@media only screen and (min-width: 350px) {
    :root {
        --logo-size: 175px;
        --footer-height: 30px;
        --x-speed: 3;
        --y-speed: 3;
        --margin: 10px;
        --button-margin: 5px;
    }
}

@media only screen and (min-width: 500px) {
    :root {
        --logo-size: 200px;
        --footer-height: 35px;
        --x-speed: 3;
        --y-speed: 3;
        --margin: 15px;
        --button-margin: 10px;
    }
}

@media only screen and (min-width: 800px) {
    :root {
        --logo-size: 250px;
        --footer-height: 40px;
        --x-speed: 4;
        --y-speed: 4;
        --margin: 20px;
        --button-margin: 15px;
    }
}

@media only screen and (min-width: 1200px) {
    :root {
        --logo-size: 275px;
        --footer-height: 45px;
        --x-speed: 4;
        --y-speed: 4;
        --margin: 20px;
        --button-margin: 15px;
    }
}

/*----------------------------------------
Main
----------------------------------------*/

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@-ms-viewport {
    width: device-width;
}

html body {
    position: absolute;
    width: 100vw;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/*----------------------------------------
Content
----------------------------------------*/
main {
    position: absolute;
    width: 100%;
    height: 100%;
}

#container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #c1bf76;
    overflow: hidden;
}

#logo {
    position: absolute;
    width: var(--logo-size);
    height: var(--logo-size);
    fill: #000000;
    animation: rotation 3s infinite linear;
}

footer {
    position: fixed;
    bottom: 0;
    padding: var(--margin);
}

footer > a {
    display: inline-block;
    cursor: pointer;
    height: var(--footer-height);
    width: max-content;
    margin-right: var(--button-margin);
}

.link {
    max-width: 100%;
    max-height: 100%;
    will-change: transform;
}

@keyframes rotation {
    from {
        transform: rotate(359deg);
    }
    to {
        transform: rotate(0deg);
    }
}