* {
    font-family: "Courier New", Courier, monospace;
}

body {
    margin: 0;
    padding: 0;
    background-color: #a793fe;
    background-image: url('res/bg.gif');
    background-repeat: repeat;
}

.LOGIN {
    text-align: center;
    display: grid;
    align-items: center;
    justify-content: center;
    height: 60vh;
    margin: 0;
}

.LOGIN_PEQUENO {
    display: flex;
    flex-direction: column;
    background-color: #ffc0cb;
    box-shadow: 8px 8px 0px #000;
    padding: 0 0 25px 0;
    border: 3px solid #000;
    width: 320px;
    margin: auto;
}

.window-header {
    background: #000080;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.window-title {
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
}

.window-controls span {
    color: white;
    margin-left: 5px;
    cursor: default;
    font-family: sans-serif;
}

.LOGIN_PEQUENO input,
.LOGIN_PEQUENO button {
    margin: 10px 20px;
    font-family: 'Courier New', monospace;
}

.LOGIN_PEQUENO button {
    background-color: #c0c0c0;
    color: black;
    border: 3px outset #ffffff;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    box-shadow: 4px 4px 0px #000;
}

.LOGIN_PEQUENO button:active {
    border: 3px inset #ffffff;
    transform: translate(2px, 2px);
    box-shadow: none;
}

.LOGIN_PEQUENO button:hover {
    background-color: gray;
    transform: scale(1.05);
}

.LOGIN_PEQUENO input {
    border: 2px inset #ffffff;
    padding: 12px;
    border-radius: 8px;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
}

.LOGIN_PEQUENO input:focus {
    outline: 2px solid #2c3e50;
    background-color: #ffffff;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    display: none;
    z-index: 1000;
}

h1,
h2 {
    font-size: 3rem;
    color: #00ff00;
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
}

p {
    font-size: 1.5rem;
    color: #00ff00;
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    font-weight: 500;
}

header {
    padding: 20px;
    text-align: center;
    font-family: "Courier New", Courier, monospace;
}

#btn-ajuda {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fffee0;
    border: 2px solid rgba(0, 0, 0, 0.5);
    cursor: pointer;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

#msg-erro {
    height: 20px;
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: bold;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.erro-animacao {
    animation: shake 0.2s ease-in-out 0s 2;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.janela-retro {
    background-color: #ffc0cb;
    border: 3px solid #000;
    box-shadow: 8px 8px 0px #000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-content {
    width: 320px;
    margin: 15% auto;
    background-color: #ffc0cb !important;
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.modal-body h3,
.modal-body p {
    color: #00ff00;
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
    margin: 10px 0;
}

.close {
    color: white;
}

@keyframes flutuar {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.gifs-lateral {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    z-index: 10;
}

.esquerda {
    left: 20px;
}

.direita {
    right: 20px;
}

.gifs-lateral img {
    width: 100px;
    animation: flutuar 3s ease-in-out infinite;
    image-rendering: pixelated;
}

.gifs-lateral img:nth-child(2) {
    animation-delay: 1s;
}

.gifs-lateral img:nth-child(3) {
    animation-delay: 2s;
}

.banner-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
}

.banner-container img {
    height: 80px;
    image-rendering: pixelated;
    transition: transform 0.1s;
}

.banner-container img:hover {
    transform: scale(1.1);
}

.texto-sucesso {
    font-size: 1.8rem !important;
    color: #00ff00;
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
    margin-top: 20px;
}

.banner-meio-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 20px;
    width: 90%;
    max-width: 700px;
    margin: 20px auto;
}

.banner-meio-container img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 3px solid #000;
    box-shadow: 6px 6px 0px #ff00ff;
    image-rendering: pixelated;
}

.banner-meio-container img:nth-child(odd) {
    transform: rotate(-2deg);
}

.banner-meio-container img:nth-child(even) {
    transform: rotate(2deg);
}

.banner-meio-container img:hover {
    transform: scale(1.1);
    z-index: 5;
}