[data-color-mode=dark] {
    --background-color: #474746;
    --card-color: #3f3f3f;
    --text-background-color: rgb(46, 46, 46);
    --text-color: #757575;
    --border-color: #c5c5c5;
    --shadow-color: gray;
    --water1: #666666;
    --water2: #505050;
    --water3: #444444;
}

[data-color-mode=light] {
    --background-color: #bfdcae;
    --card-color: #f1f1e8;
    --text-background-color: white;
    --text-color: #206a5d;
    --border-color: #81b214;
    --shadow-color: gray;
    --water1: #81a210;
    --water2: #81b214;
    --water3: #81c210;
}
body {
    transition: color 0.3s;
    overflow: hidden;
    background: var(--background-color);
}

.main-container {
    max-width: 980px;
    height: 500px;
    margin: 0 auto;
    margin-top: 40px;
    background: var(--card-color);
    perspective-origin: center;
    perspective: 1000px;
    animation: enter 0.4s ease-out 0s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-container {
    width: 95%;
    height: 95%;
    background: var(--text-background-color);
    opacity: 0;
    transform: translateY(200px) translateZ(-50px);
    animation: content 0.6s linear 0.4s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.content-container::after {
    content: ' ';
    position: absolute;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 4px var(--shadow-color);
    /* animation: boxShadow 1.8s linear infinite; */
    z-index: -1;
}

.title {
    width: 60%;
    color: var(--border-color);
}


.text-style {
    /* text-decoration: none; */
    color: var(--text-color);
}

.main-container p {
    min-width: 60%;
}

p>a {
    color: var(--border-color)
}

p>span {
    display: inline-block;
    width: 80px;
    text-align: justify;
    text-align-last: justify;
}

footer {
    max-width: 980px;
    margin: 0 auto;
    font-size: 12px;
    padding: 20px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeIn 1s ease-out 1.3s forwards;
    opacity: 0;
}

footer>p {
    padding: 0 20px;
    width: 100%;
    margin: 5px;
    text-align: start;
}


.editorial {
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    pointer-events: none;
}

.parallax>use {
    animation: move-forever 12s linear infinite;
}

.parallax>use:nth-child(1) {
    fill: var(--water1);
    animation-delay: -2s;
}

.parallax>use:nth-child(2) {
    fill: var(--water2);
    animation-delay: -2s;
    animation-duration: 5s;
}

.parallax>use:nth-child(3) {
    fill: var(--water3);
    animation-delay: -4s;
    animation-duration: 3s;
}

.corner {
    position: fixed;
    right: 20px;
    top: 20px;
    color: var(--text-color);
    font-weight: bold;
    cursor: pointer;
}

@keyframes move-forever {
    0% {
        transform: translate(-90px, 0%);
    }

    100% {
        transform: translate(85px, 0%);
    }
}


@keyframes enter {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes content {
    70% {
        opacity: 0.7;
        transform: translateY(0px) translateZ(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) translateZ(-0px);
    }
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

@keyframes boxShadow {
    50% {
        box-shadow: 0px 0px 18px var(--shadow-color);
    }
}

@media (max-width: 768px) {
    .content-container {
        padding: 0 10px;
        text-align: center;
    }
}