:root {
    --background: #12181e;
    --opaque: #0a081181;
    --blue: #0038ff;
    --purple: #4549ff;
    --pink: #c400ff;
    --textPrimary: #b1a3ff;

    --fontPrimary: 'Roboto', sans-serif;
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background);
    background-image: url('assets/background.gif');
}

h1 {
    font-size: 3.2vh;
    background: -webkit-linear-gradient(180deg, #4549FF, #C400FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2vh;
    color: var(--purple);
    margin-bottom: 10px;
}

p {
    font-size: 1.5vh;
    color: var(--textPrimary);
}

hr {
    border: 0;
    border-top: 2px dotted var(--blue);
    height: 1px;
    width: 100%;
}

.topNavigation {
    width: 90%;
    margin-top: 8px;
    padding: 1vw;
    border: 1px solid var(--blue);
    background: var(--opaque);
}

.topNavigation ul {
    display: flex;
    justify-content: center;
    font-size: 1vw;
    font-weight: bold;
    gap: 2vw;
    list-style: none;
}

.topNavigation ul li a {
    padding-left: 2vw; padding-right: 2vw;
    text-decoration: none;
    background: -webkit-linear-gradient(180deg, #4549FF, #C400FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.topNavigation ul li p {
    font-weight: 100;
    font-style: italic;
    color: var(--textPrimary);
}

.topNavigation ul li a:hover {
    text-decoration: underline;
}

.header {
    color: var(--textPrimary);
    font-size: 10vh;
    grid-area: header;
    margin-top: 5vh;
}

.content {
    display: grid;
    justify-content: center;
    justify-items: center;
    align-content: start;
    width: 80vw;
    grid-template:
        "header header header" auto
        "asideLeft main asideRight" auto 
        / 14vw auto 14vw;
}

.mainButtons {
    display: flex;
    justify-content: center;
    height: 3vh;
    gap: 1vw;
}

.mainButtons button img {
    height: 3vh;
}

.mainButtons button, .blinkies img, .stamps img, .buttonsAsd img, .otherNeocities iframe {
    transition: transform 0.2s ease; 
}

.mainButtons button:hover, .blinkies img:hover, .stamps img:hover, .buttonsAsd img:hover, .otherNeocities iframe:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.asideLeft, .asideRight {
    width: 15vw;
    margin: 2vw;
    background: var(--opaque);
    border: 1px solid var(--blue);
}

.asideLeft {
    grid-area: asideLeft;
}
.asideRight {
    grid-area: asideRight;
}

.sideBox1, .sideBox2 {
    display: flex;
    flex-direction: column;
    padding: 1vw;
    margin-bottom: 1vh;
    background: var(--opaque);
    gap: 4vh;
}

.changelog {
    display: block;
    overflow-y: scroll;
    width: 100%;
    height: 20vh;
    padding: 0.5vw;
    scrollbar-width: thin;
    scrollbar-color: var(--pink) transparent;
    border: 1px solid var(--blue);
    background: var(--opaque);
}
.changelogScrollbar {
    display: flex;
    flex-direction: column;
    list-style: none;
    color: var(--pink);
}
.log a{
    text-decoration: none;
    color: var(--textPrimary);
}

.otherNeocities {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 0.5vw;
}
.otherNeocities iframe {
    width: 6vw;
    height: 4vh;
    border: none;
}


.mediumIframe {
    display: flex;
    justify-content: center;
}
.mediumIframe iframe {
    width: 12vw;
    height: 20vh;
    border: none;
}

.mediumIframe {
    display: flex;
    justify-content: center;
}
.mediumIframe iframe {
    width: 12vw;
    height: 20vh;
    border: none;
}
.bigIframe {
    display: flex;
    justify-content: center;
}
.bigIframe iframe {
    width: 12vw;
    height: 30vh;
    border: none;
}

.stamps {
    display: grid;
    justify-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 0.5vw;
}
.stamps img {
    width: 6vw;
}

.blinkies {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 20px; margin-right: 20px;
    grid-area: main;
    gap: 10px;
}

.mainBox1, .mainBox2 {
    display: flex;
    flex-direction: column;
    padding: 1em;
    border: 1px solid var(--blue);
    background: var(--opaque);
    gap: 30px;
}

.descWelcome {
    margin-top: 1vh;
    margin-bottom: 5vh;
}

.ops {
    margin-top: 5vh;
}
.ops img {
    height: 20vw;
}

.duck {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 5vh;
}
.duck a {
    color: var(--textPrimary);
    text-decoration: none;
    transition: transform 0.2s ease;
}
.duck a:hover {
    transform: rotate(360deg)
}


footer {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 1vw;
    background: var(--blue);
}
footer p {
    font-size: 1vw;
    color: var(--textPrimary);
}
footer a {
    font-size: 1vw;
    color: var(--textPrimary);
}
footer a:hover {
    font-style: italic;
}


@media (max-width: 600px) {
    .topNavigation {
        width: 100%;
        margin-top: 1px;
    }
    .topNavigation ul {
        font-size: 2vw;
    }

    .topNavigation ul li p {
        font-size: 2vw;   
    }

    .topNavigation ul li a {
        padding-left: 1vw; padding-right: 1vw;
    }

    .header {
        font-size: 8vw;
        margin-top: 1vh;
    }

    .content {
        width: 100%;
        grid-template: "header" auto"asideLeft" auto"asideRight" auto"main" auto"footer" / 1fr;
    }

    .asideLeft, .asideRight {
        display: none;
    }

    .main {
        width: 100%;
    }
}

