@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --header_height: 100px;
    --seeds_blue: #233468;
}

body {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-image: url("images/Landscape\ Paper\ Bg.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    /* overflow-y: hidden; */
    width: 100vw;
    height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    width: 100%;
    min-height: 100px;
    background-color: var(--seeds_blue);
    /* background-color: #333; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    /* position: absolute; */
    z-index: 3;
}

header .logo {
    height: 100%;
    display: flex;
    align-items: center;
}

header .logo img {
    width: auto;
    height: 65%;
    margin-inline: 50px;
}

/* Mobile toggle button */
.menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    margin-right: 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    margin-inline: 20px;
    text-align: center;
    font-weight: inherit;
    transition: 0.5s;

}

header nav ul {
    list-style-type: none;
    margin-inline: 10px;
    display: flex;
    display: flex;
    flex-wrap: nowrap;
    padding-left: 0;
}

header nav {
    display: flex;
}

#pg1 {
    background-color: #e8255b;
    padding: 10px;
    border-radius: 10px;
    transition: 0.5s;
}

#pg1:hover {
    color: #e8255b;
    background-color: #fff;
}

#pg2 {
    background-color: var(--seeds_blue);
    padding: 10px;
    border-radius: 10px;
}

#pg2:hover {
    color: #4966be;
    background-color: #fff;
}

.dropdown {
    overflow: hidden;

}

.dropdown .dropbtn {
    font-size: 1rem;
    border: none;
    outline: none;
    color: white;
    background-color: inherit;
    font-family: inherit;
    font-weight: inherit;
    margin: 0;
    text-align: center;
    margin-inline: 10px;
    transition: 0.5s;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: #4966be;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 15px;
    margin-left: 10px;
    margin-top: 5px;
}

.dropdown-content a {
    color: #233468;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
    margin-right: 5%;
    background-color: #e72b60;
    line-height: 2rem;
    padding: 5px;
    border-radius: 5px;
    transition: 0.3s;
}

.menu-toggle:hover {
    background-color: white;
    color: #e72b60;
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}




.warning_date {
    font-size: 2rem;
    font-weight: bold;
    color: var(--seeds_blue);
    margin-top: 3vh;
}


.date h2 {
    font-size: 2rem;
    color: #fff;
    background-color: #e72b60;
    padding: 20px 30px;
    border-radius: 20px;
    margin: 0;
}

.appel h2 {
    font-size: 2rem;
    color: #fff;
    background-color: #fdd800;
    padding: 20px 30px;
    border-radius: 20px;
    margin: 0;
}



.all_forms form {
    display: flex;
    flex-wrap: nowrap;
    /* Don't wrap unless screen is small */
    width: 90vw;
    margin-top: 10vh;
    gap: 40px;
    /* Space between the two halves */
}

.form-section,
.form-section2 {
    flex: 1;
    /* Equal flexible width */
    min-width: 0;
    /* Prevent overflow in flexbox */
    padding: 50px;
    border-radius: 30px;
    color: white;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.form-section {
    background-color: #e82a5f;
}

.form-section2 {
    background-color: #00b2dc;
}

.form-section h2,
.form-section2 h2 {
    margin-top: 0;
}

.form-section {
    height: 50%;
}

label {
    margin-top: 15px;
    font-weight: bold;
    color: white;
}

input,
textarea,
select {
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 22px;
    background-color: white;
    color: #00b2dc;
    font-size: 1em;
}

textarea:focus,
input:focus {
    outline: none;
}

#general-form input {
    color: #e82a5f;
    ;
}

.form-section2 label input,
.form-section2 textarea {
    color: #00b2dc;
}

textarea {
    resize: vertical;
}

.form-section2 input[value="Soumettre"] {
    margin-top: 25px;
    background-color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
    transition: 0.3s;
    color: #8bc861;
}

.form-section input[type="submit"]:hover {
    background-color: #ddd;
}

small {
    color: #ffffffaa;
    font-size: 0.9em;
}

#general-form ::placeholder {
    color: #ffccdc;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#brn,
#brn option {
    color: #e8255b;
}

.form-section2 ::placeholder {
    color: #83edff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

form label {
    margin-top: 40px;
}

#type-projet,
#type-projet option,
#date-debut,
#date-debut input,
#date-fin,
date-fin input {
    color: #00b2dc;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#general-form {
    max-height: 200px;
}


footer {
    background-color: var(--seeds_blue);
    min-height: 50vh;
    width: 100vw;
    margin-top: 70px;
    z-index: 3;

}

.footer_color {
    height: 2vh;
    display: flex;
}

.footer_color .blue {
    width: 25vw;
    height: 100%;
    background-color: #00b2dc;
}

.footer_color .red {
    width: 25vw;
    height: 100%;
    background-color: #e72b60;
}

.footer_color .green {
    width: 25vw;
    height: 100%;
    background-color: #8bc861;
}

.footer_color .yellow {
    width: 25vw;
    height: 100%;
    background-color: #fdd800;
}

.footer_contents {
    display: flex;
    margin-top: 30px;
    width: 80vw;
    justify-content: space-between;
    justify-self: center;
    position: relative;
}

.footer_contacts a,
.footer_links a {
    color: white;
    text-decoration: none;

}

.footer_contacts .phone,
.footer_contacts .email,
.footer_contacts .facebook {
    display: flex;
    align-items: center;
}

.footer_contacts .facebook svg {
    fill: white;
    width: 1.5rem;
    margin-right: 1rem;
}

.footer_contacts .email i,
.footer_contacts .phone i {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    justify-self: center;
}

.footer_links {
    display: flex;
    flex-direction: column;
    align-items: end;

}

.footer_links a {
    margin-bottom: 12px;
}

/* .woman_point {
    width: 40vw;
    position: absolute;
    bottom: 0%;
    z-index: 1;
} */



@media (max-width: 768px) {
    .all_forms form {
        flex-direction: column;
    }
}



/* Optional: tablet breakpoint for medium screens */
@media (max-width: 1024px) {
    header nav ul a {
        margin-inline: 10px;
    }
}


@media (max-width: 768px) {

    body {
        background-image: url("images/Landscape\ Paper\ Bg.png");
    }

    header {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .pages {
        max-height: 0;
        overflow: hidden;
        width: 100%;
        background-color: rgba(35, 52, 104, 0.8);
        /* var(--seeds_blue) 50% transparent */
        position: fixed;
        top: 100px;
        /* below header which is 100px tall */
        left: 0;
        right: 0;
        bottom: 0;
        transition: max-height 0.4s ease;
        z-index: 999;
        /* above everything */
    }

    .pages nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        height: 100%;
        margin-top: 100px;
        margin-bottom: 100px;
        padding: 0;
        height: 60vh;
        width: 100vw;
    }

    .pages {
        display: none;
    }

    /* When active, show menu */
    .pages.active {
        display: block;
        max-height: calc(100vh - 100px);
        display: flex;
        justify-content: center;
        width: 100vw;
    }

    .pages nav ul a,
    .dropdown .dropbtn {
        display: block;
        width: 100%;
        padding: 20px;
        text-align: center;
        border-radius: 0;
        color: white;
        font-weight: 600;
        transition: background-color 0.3s, color 0.3s;
        font-size: 1.5rem;
    }

    #pg2 {
        background-color: transparent;
        padding: 10px;
        border-radius: 0px;
        width: 100vw;
    }


    .dropdown-content {
        position: static;
        background-color: rgba(35, 52, 104, 1);
        /* semi-transparent by default */
        box-shadow: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        transition: background-color 0.3s, color 0.3s;
        position: absolute;
        width: 100vw;
        justify-content: center;
        justify-self: center;
        border-radius: 30px;
    }

    .dropdown-content a {
        background-color: transparent;
        color: white;
        padding: 15px 20px;
        text-align: left;
        transition: background-color 0.3s, color 0.3s;
    }

    .dropdown-content a:hover {
        background-color: white;
        color: var(--seeds_blue);
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }


    .warning_date p {
        font-size: 1rem;

    }

    .appel h2,
    .date h2 {
        font-size: 1rem;
    }

    footer {
  background-color: var(--seeds_blue);
  min-height: 50vh;
  width: 100vw;
  margin-top: 70px;
}

.footer_contents {
  display: flex;
  margin-top: 30px;
  width: 80vw;
  justify-content: space-between;
  justify-self: center;
}

.footer_contacts a,
.footer_links a {
  color: white;
  text-decoration: none;

}

.footer_contacts .phone,
.footer_contacts .email,
.footer_contacts .facebook {
  display: flex;
  align-items: center;
}

.footer_contacts .phone p,
.footer_contacts .email p,
.footer_contacts .facebook a {
  font-size: .7rem;
}

.footer_contacts .facebook svg {
  fill: white;
  width: 1.5rem;
  margin-right: 1rem;
}

.footer_contacts .email i,
.footer_contacts .phone i {
  color: white;
  font-size: 1.5rem;
  margin-right: 1rem;
  justify-self: center;
}

.footer_links {
  display: flex;
  flex-direction: column;
  align-items: end;

}

.footer_links a {
  margin-bottom: 12px;
  font-size: 0.7rem;
}


.footer_links a {
  text-align: right;
}

.footer_links #pg1{
  width: 40%;
  text-align: center;
}


}


