/* default.css */

body {
    font-family: Playfair Display Flex, Playfair-Display-Fallback, serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: #fff186;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #fff186;
    color: #333;
}

.title {
    margin-right: auto;
}

nav {
    /* Styles for larger screens */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Horizontal menu */
}

nav li {
    margin-right: 1rem;
}

nav a {
    text-decoration: none;
    font-size: 1.2em;
    color: #333;
    padding: 0.5rem 1rem;
}

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

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1001;
    position: relative;
    transition: opacity 0.3s ease-in-out;
}

.selected {
    text-decoration: underline;
}

.presentation {
    display: flex;
    flex: 1;
    padding: 20px;
    gap: 20px;
    color: #333;
}

.presentation > * {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
}

.separator {
    display: block;
    height: 3px;
    width: 20%;
    border: 0;
    border-top: 3px solid gray;
    margin: 1em 0;
    padding: 0;
}

.button-presentation {
    display: grid;
    width: 45%;
    height: 4em;
    border: 1px solid gray;
    border-radius: 5px;
    place-items: center;
}

.button-presentation a {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.5em;
    text-decoration: none;
    color: black;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 4em;
}

h3 {
    font-size: 2em;
}

p {
    font-size: 2em;
    text-align: justify;
}

.logo-main {
    width: 100%;
}

#pamphlets {
    display: grid;
    place-items: center;
}

#pamphlets p {
    padding-left: 10px;
}

.pamphlet {
    display: block;
    width: 80%;
}

.pamphlet-img {
    max-width: 100%;
    height: auto;
}

form {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.form-group {
    width: 100%;
}

.form-group p {
    margin-top: 0;
    font-size: 1.2em;
}

label {
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    line-height: 2em;
    padding-top 5px;
    padding-bottom 5px;
    margin-bottom: 5px;
}

input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    line-height: 2em;
    padding-top 5px;
    padding-bottom 5px;
    margin-bottom: 10px;
}

.submit-button {
    width: 30%;
}

.alert {
    color: red;
    font-size: 1.5em;
    font-weight: bold;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -250px;
        height: 100%;
        width: 250px;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
    }

    nav li {
        margin: 0.5rem 0;
    }

    .menu-icon {
        display: block;
    }

    nav.active {
        transform: translateX(-250px);
    }

    .menu-icon.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .presentation {
        flex-direction: column;
        gap: 0;
    }

    .presentation > * {
        padding: 10px 0;
    }

    h1 {
        font-size: 1.5em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1em;
    }

    p {
        font-size: 1em;
    }

    .overlay.active {
        display: block;
    }
}

/* end of file */
