/* Basic reset */
body,
h1,
p,
div,
img {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General page styling */
body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #55BDE5;
    color: #ffffff;
    text-align: center;
    padding: 0;
    margin: 0;
}

/* Navbar styling */
header {
    background-color: #ffffff;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-links {
    list-style: none;
    display: flex;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #55BDE5;
    font-size: 1em;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    align-items: center;
}

.social-icons a {
    margin-left: 10px;
}

.social-icons img {
    width: 24px;
    height: auto;
}

/* Main container */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: calc(80vh - 60px);
    background-color: #55BDE5;
    padding: 0 20px;
    margin-top: 60px;
}

/* Logo */
.logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 50px;
}

/* Page content */
.content {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    background-color: #ffffff;
    color: #55BDE5;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Adiciona espaçamento superior */
    box-sizing: border-box;
}

/* Title */
h1 {
    font-size: 2.5em;
    color: #55BDE5;
    margin-bottom: 10px;
}

/* Paragraph */
p {
    font-size: 1.2em;
    color: #55BDE5;
    margin-bottom: 20px;
}

/* Form container */
.contact-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #55BDE5;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form button {
    background-color: #55BDE5;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #45a3c5;
}

.message {
    display: none;
    padding: 10px;
    border-radius: 4px;
    margin-top: 20px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Countdown container */
#countdown-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

/* Countdown section */
#countdown h2 {
    font-size: 1.5em;
    color: #55BDE5;
    margin-bottom: 15px;
    font-weight: 600;
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.time {
    font-size: 2em;
    font-weight: bold;
    color: #55BDE5;
    background-color: #ffffff;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time span:first-child {
    display: block;
    font-size: 50px;
    color: #55BDE5;
    margin-bottom: 5px;
}

.time span:last-child {
    font-size: 0.75em;
    color: #55BDE5;
}

/* Responsive design */
/* Ajuste para telas menores */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }

    .navbar {
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 5px 0;
    }

    .social-icons {
        margin-top: 10px;
    }

    .logo {
        max-width: 250px;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 2em;
        margin-bottom: 8px;
    }

    p {
        font-size: 1em;
        margin-bottom: 15px;
    }

    #countdown h2 {
        font-size: 1.3em;
    }

    .time {
        font-size: 1.5em;
        padding: 8px 12px;
    }

    .time span:first-child {
        font-size: 40px;
    }

    .time span:last-child {
        font-size: 0.8em;
    }
}

/* Para telas muito pequenas (celulares) */
@media (max-width: 480px) {
    header {
        padding: 10px 5px;
    }

    .navbar {
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
    }

    .nav-links li {
        margin: 5px 0;
    }

    .social-icons {
        margin-top: 10px;
    }

    .logo {
        max-width: 180px;
        margin-bottom: 15px;
    }

    h1 {
        font-size: 1.8em;
    }

    p {
        font-size: 1em;
        margin-bottom: 10px;
    }

    .content {
        padding: 10px;
    }

    #countdown-container {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    #countdown {
        gap: 8px;
    }

    .time {
        font-size: 1.5em;
        padding: 6px 10px;
    }

    .time span:first-child {
        font-size: 35px;
    }

    .time span:last-child {
        font-size: 0.7em;
    }
}
