body {
    font-family: 'Comic Sans MS', 'Comic Sans', cursive, sans-serif;
    background: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff0000);
    background-size: 400% 400%;
    animation: gradientBG 5s ease infinite;
    color: #00ff00;
    font-size: 1.2rem;
}

p {
    font-size: 2rem;
}

li {
    font-size: 2rem;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.navbar {
    background: #ff69b4;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 5px dashed #00f;
    height: 100px;
    width: 100%;
}

.navbar a {
    color: #0000ff;
    font-weight: bold;
    margin: 0 1rem;
    text-decoration: underline wavy #ff0;
    font-size: 1.3rem;
}

.navbar .lang {
    position: absolute;
    right: 2rem;
}

.corner-img {
    position: fixed;
    width: 100px;
    z-index: 9999;
    animation: flash 0.5s alternate infinite, spin 4s linear infinite;
}

.corner-tl {
    top: 0;
    left: 0;
}

.corner-tr {
    top: 0;
    right: 0;
    transform-origin: bottom left;
}

.corner-bl {
    bottom: 0;
    left: 0;
}

.corner-br {
    bottom: 0;
    right: 0;
}

@keyframes flash {
    from {
        filter: brightness(0.5) hue-rotate(0deg);
    }

    to {
        filter: brightness(2) hue-rotate(180deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.content {
    margin: 2rem;
    background: #ff0;
    border: 5px dotted #f0f;
    padding: 2rem;
    border-radius: 2rem 0 2rem 0;
    box-shadow: 0 0 20px #0ff, 0 0 10px #f0f inset;
}

footer {
    text-align: center;
    padding: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-family: 'Arial', sans-serif;
    color: black;
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 0.5rem 0;
        position: relative;
    }

    .navbar .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .navbar .nav-links a {
        margin: 0.5rem 0;
        font-size: 1.1rem;
    }

    .navbar .lang {
        position: static;
        margin-top: 0.5rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .corner-img {
        width: 50px;
    }

    .content {
        margin: 0.5rem;
        padding: 0.5rem;
        font-size: 1rem;
    }

    footer {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
}

@media (max-width: 400px) {
    .navbar .nav-links a {
        font-size: 0.9rem;
    }

    .corner-img {
        width: 30px;
    }

    .content {
        font-size: 0.8rem;
    }
}
