body {
    background-color: #4f3b63;
    background-image: url("assets/BG.png");

    font-size: 18px;
    font-family: Octarine;
    color: rgb(255, 161, 232);

    overflow-x: hidden;
}

@font-face {
    font-family: 'Octarine';
    src: url('OctarineFree/Octarine-Light.eot');
    src: url('OctarineFree/Octarine-Light.eot?#iefix') format('embedded-opentype'),
        url('OctarineFree/Octarine-Light.woff2') format('woff2'),
        url('OctarineFree/Octarine-Light.woff') format('woff'),
        url('OctarineFree/Octarine-Light.ttf') format('truetype'),
        url('OctarineFree/Octarine-Light.svg#Octarine-Light') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Octarine';
    src: url('OctarineFree/Octarine-Bold.eot');
    src: url('OctarineFree/Octarine-Bold.eot?#iefix') format('embedded-opentype'),
        url('OctarineFree/Octarine-Bold.woff2') format('woff2'),
        url('OctarineFree/Octarine-Bold.woff') format('woff'),
        url('OctarineFree/Octarine-Bold.ttf') format('truetype'),
        url('OctarineFree/Octarine-Bold.svg#Octarine-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

.Title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;

    margin-bottom: 10px;
    padding: 4px;

    background-color: #4c47ad;
    border-radius: 12px;
    border-style: outset;
}

.grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 4fr;
    grid-template-rows: 0.3fr 0.1fr 0.06fr 0.12fr;
    grid-template-areas: 'Index Menu' 'Index Menu' 'Update Menu' 'Update Stamps';
    gap: 12px;

    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

.Main-container,
.Index,
.Update,
.Stamps {
    border: 2px;
    border-style: solid;
    border-radius: 6px;
    border-color: #7FFF63;

    padding: 12px;
    background-color: rgb(155, 83, 197);
    background-image: url(assets/textures.png);
}

.Index {
    grid-row: 1/3;
    grid-column: 1;
    grid-area: Index;

    overflow-y: auto;
    overflow-x: none;

    text-align: center;
}

.Index a {
    text-decoration: none;
    color: rgb(255, 161, 232);
    font-weight: bold;
    font-size: 25px;

    padding: 10px;
    border-radius: 6px;
}

.Index a:hover {
    color: rgb(255, 255, 255);
    background-color: #4c47ad;
    font-size: 30px;

    transition: color 0.1s ease;
    transition: font-size 0.2s ease;
}

a {
    color: #7FFF63;
    font-weight: bold;
    text-decoration: none;
}

.Links {
    text-align: center;
}

.Index-buddy {
    width: 100px;
    padding-top: 80px;
    animation: shake 2s ease infinite;
}

@keyframes shake {

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateY(-10px);
    }

    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        transform: translateY(10px);
    }
}

.Main-container {
    grid-row: 1/4;
    grid-column: 2;
    overflow-y: auto;
    grid-area: Menu;

    font-size: 20px;
}

.Main-container-img {
    width: 50%;
    min-width: 224px;

    margin-right: 15px;
    margin-bottom: 10px;

    float: left;

    border: 2px;
    border-style: solid;
    border-radius: 6px;
    border-color: #7FFF63;
}

.Update {
    grid-row: 3/5;
    grid-column: 1;
    grid-area: Update;

    overflow-wrap: break-word;
    overflow-y: auto;
    scrollbar-width: thin;

    min-width: 165px;
    max-height: 1500px;
}

.Stamps {
    grid-row: 4;
    grid-column: 2;
    grid-area: Stamps;

    /* overflow: hidden; */
    overflow-y: auto;
    text-align: center;
}

@media only screen and (max-width: 550px) {
    .grid-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: 0.15fr 0.6fr 0.2fr 0.13fr;
        grid-template-areas:
            'Index'
            'Menu'
            'Update'
            'Stamps';
        max-height: 1200px;
    }

    .Main-container-img {
        width: 280px;
        height: auto;

        margin-bottom: 15px;
    }

    .Index {
        padding: 12px;

        margin: auto;
        overflow-y: none;
        overflow-x: none;
    }

    .Links {
        display: inline;
    }

    .Index a {
        font-size: 25px;
        margin: 2px;
        padding: 5px;
    }

    .Index-buddy {
        display: none;
    }

    .Title {
        font-size: 20px;
    }
}