* {
    box-sizing: border-box;
}

img {
    width: 100%;
}

body,
html {
    padding: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    background-size: cover;
    min-height: 100%;
}

body {
    background: url("background.jpg") no-repeat top center/cover;
    min-height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    display: block;
}

.overlay {
    background: rgba(0, 0, 0, 0.65);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 1400px;
    margin: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.overlay > * {
    flex: 1;
}

a {
    color: #df6e84;
}

.overlay h1 {
    font-size: 2rem;
    text-align: center;
    margin: 1rem 0;

    text-wrap: balance;
}

.overlay p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.overlay p.success {
    font-weight: bold;
    display: none;
}

.logo-container {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 150px;
}

.contest-prize {
    text-align: center;
}

.contest-prize img {
    border-radius: 30px;
    max-width: 500px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem;
}

input[type="text"],
input[type="email"] {
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    width: 100%;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

button {
    padding: 0.85rem;
    background: #df6e84;
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #c66176ff;
    transform: translateY(-5px);
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input {
    margin-right: 0.5rem;
}

.required {
    color: #ffcccb;
}

footer {
    color: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin: 0;
}

footer .footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

footer .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

footer .footer-links a:hover {
    color: #df6e84;
}

@media (min-width: 960px) {
    body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .overlay {
        flex-direction: row;
        align-items: start;
    }

    .overlay h1 {
        font-size: 2.5rem;
    }

    .overlay p {
        font-size: 1.2rem;
    }

    footer .footer-content {
        justify-content: space-between;
    }
}
