* {
    margin: 0;
    box-sizing: border-box;
}

p, li {
    text-align: justify;
}

ol {
    margin-top: 1em;
}
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    margin: 0;
}

header {
    background: linear-gradient(135deg, #00a86b, #006400);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

header h1 {
    font-size: 2.5rem;
}

header p {
    margin-top: 10px;
    font-size: 1.2rem;
    opacity: 0.9;
}

nav {
    display: flex;
    justify-content: center;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav a {
    color: #00a86b;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #006400;
}

section {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

section h2 {
    font-size: 1.8rem;
    color: #00a86b;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

section p {
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}

footer {
    background: #006400;
    color: white;
    text-align: center;
    padding: 20px 10px;
    margin-top: 30px;
    font-size: 0.9rem;
}

footer a {
    color: #ffef96;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
        margin-top: 1em;
    }

    nav{
        display: flex;
        flex-wrap: wrap;
    }

    nav a {
        margin: 0 10px;
        font-size: 0.9rem;
    }

    section {
        padding: 15px;
    }
}

.slideshow-container {
    max-width: 900px;
    margin: 40px auto;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.slide {
    display: none;
    padding: 20px;
    text-align: justify;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide h2 {
    color: #00a86b;
    margin-bottom: 20px;
}

.navigation-container {
    display: flex;
    justify-content: space-between;
    background: #006400;
    color: white;
    padding: 10px 20px;
}

.navigation {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.navigation:hover {
    background: #004d33;
}

form {
    display: block;
    margin: auto;
    max-width: 30em;
}

form input, form button {
    width: 100%;
    font-size: 1.2em;
    padding: .3em .5em;
}

button {
    background: #309430;
    color: white;
    border: none;
}

button:hover {
    background: #236d23;
    transition: background 0.6s ease;
}

button:active {
    box-shadow: none;
}

form .help-text {
    font-size: .8em;
}

form > div > div {
    margin-top: 1em;
}

form ul {
    list-style-type: none;
    padding: 0;
}

form ul li {
    color: #ff3030;
}

form div.hp {
    display: none;
}


#signature_submit{
    cursor: pointer;
}

.signatures-section {
    margin-top: 2em;
}

.signature-count-box {
    background-color: #e7ffe9;
    padding: 1em;
    border-radius: 8px;
    font-size: 1.2em;
    margin-bottom: 1.5em;
    text-align: center;
    border: 1px solid #67bd4b;
    font-weight: bold;
    color: #13832b;
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1em;
}

.signature-card {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.75em 1em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.signature-name {
    font-size: 1em;
    font-weight: bold;
    color: #1a202c;
}

.signature-affiliation {
    font-size: 0.9em;
    color: #555;
    margin-top: 0.3em;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 0.5em;
    top: 10px;
    right: 10px;
    position: absolute;
}

.language-switch a {
    text-decoration: none;
    padding: 0.3em 0.6em;
    border-radius: 4px;
    color: #fff;
    background: rgba(255,255,255,0.15);
    transition: background 0.3s;
    font-weight: bold;
}

.language-switch a.active {
    background: #fff;
    color: #00703c;
}

.language-switch .divider {
    color: rgba(255,255,255,0.4);
    font-weight: bold;
}
