body {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

a {
    font-family: Lato, Arial, sans;
    color: #ffd700;
    text-decoration: none;
    font-weight: 400 !important;
}

h1 {
    font-family: Lato, Arial, sans;
    text-align: center;
}

#navigation {
    z-index: -1;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 10px;
    flex-direction: column;
}

#navigation-buttons {
    display: flex;
    gap: 10px;
}

.button {
    width: 130px;
    background-color: #d72525;
    text-align: center;
    font-family: sans-serif, serif;
    font-weight: 900;
    padding: 10px;
    border-radius: 2px;
    box-sizing: border-box;
}

.button:active {
    background-color: #ba0f0f;
    border: none;
}

.curtain {
    width: 50%;
    height: 90vh;
    float: left;
    animation-duration: 3s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    z-index: 1;
    position: relative;
}

.curtain-left {
    animation-name: go-left;

}

.curtain-right {
    animation-name: go-right;
}

@keyframes go-left {
    0% {
        transform: translate(0%, 0%);
    }
    100% {
        transform: translate(-70%, 0%);
    }
}

@keyframes go-right {
    0% {
        transform: translate(0%, 0%);
    }
    100% {
        transform: translate(70%, 0%);
    }
}

.curtain-element {
    width: 10%;
    height: 100%;
    float: left;
    border-bottom-right-radius: 67px;
    border-bottom-left-radius: 67px;
}

/* Alternating color of curtain pieces */

.curtain-element:nth-child(odd) {
    background-color: #ba0f0f;
}

.curtain-element:nth-child(even) {
    background-color: #d72525;
}
