:root {
  --main-color: #0011ff;
  --secondary-color: #006eff;
  --background-color: #201357;
  --text-color: #ffffff;
}

* {
    cursor: url('Imgs/Scur/Sonic_PA_normal_1.png'), auto;
}

.chango-regular {
  font-family: "Chango", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.press-start-2p-regular {
  font-family: "Press Start 2P", system-ui;
  font-weight: 400;
  font-style: normal;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "Press Start 2P", system-ui;
    margin: 0;
    padding: 0;

    cursor: url('Imgs/Scur/Sonic_PA_normal_1.png'), auto;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: 
        linear-gradient(to bottom, rgba(32,19,87,0) 70%, rgba(32,19,87,1) 100%),
        url('Imgs/EcoastBack.jpg') center center / cover no-repeat;
    pointer-events: none;

    cursor: url('Imgs/Scur/Sonic_PA_normal_1.png'), auto;
}


.title {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 50px;
}

.BackPanel {
    background-color: var(--main-color);
    border: 5px solid var(--secondary-color);
    width: 1200px;
    height: auto;

    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;

    z-index: 10;
}

.GameButton {
    width: 200px;
    height: 59px;

    display: inline-block;

    cursor: url('Imgs/Scur/Sonic_PA_normal_1.png'), auto;
}

.GameButton:hover {
    cursor: url('Imgs/Scur/Sonic_PA_help.png'), auto;
    transform: scale(1.1);
    opacity: 0.8;
}

.GameButton:active {
    transform: scale(0.9);
    opacity: 1;
}
main a{
    text-decoration: none;
}

header {
    background-color: var(--main-color);
    padding: 20px;

    border: 5px solid var(--secondary-color);
    width: 1200px;
    height: 100px;

    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.SonicGIF {
    width: 200px;
    height: auto;
    position: absolute;
    top: 120px;
    right: 20vw;
    z-index: 0;
}


@media (max-width: 900px) {
    .SonicGIF {
        top: 200px;
        right: 5vw;
        width: 120px;
    }
}

main {
    margin-top: 20px;
    z-index: 10;
    position: relative;
    padding-left: 100px;
    padding-right: 100px;
}

footer {
    position: fixed;
    bottom: 5%;
    left: 50%;
    text-align: center;
    transform: translateX(-50%);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--main-color);
}