body {
    margin: 0;
    border: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.333);
}

.hide {
    display: none;
}

.flex {
    display: flex;
}

.flex-center {
    justify-content: center;
}

.flex-s-heav {
    justify-content: space-evenly;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.first_paint {
    height: 40vw;
}

.second_paint {
    height: 25vw;
}

.p_ind {
    font-size: larger;
    text-align: center;
    width: 600px;
    margin: 6px;
}

.bold {
    font-weight: bold;
}

.underline {
    text-decoration: underline 1px;
}

h1 {
    margin-top: 4%;
    margin-bottom: 0;
    text-align: center;
}

h2 {
    text-align: center;
}

.title2 {
    margin-top: 0;
}

a {
    color: white;
    text-decoration: none;
}

ul {
    list-style-type: none;
}

/* page Exposition */

figure {
    text-align: center;
}

.tableau {
    width: 20vw;
}

.photo_expo {
    display: flex;
    justify-content: center;
    height: 35vw;
}

.photo_laureat {
    width: 25vw;
}

.p_expo {
    width: 90vw;
    font-size: 130%;
}

hr {
    border: none;
}

.expo {
    height: 25vw;
    padding: 10px;
}

.contact-flex {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
}

.contact-title {
    text-align: center;
    text-decoration: underline;
}

.p_contact {
    font-size: larger;
}

.contact-div {
    border-bottom: none;
}

.contact-li {
    font-size: larger;
    text-align: center;
}

.plan {
    position: relative;
    width: 60vw;
    left: calc(50vw - 288px);
}

.embed-map {
    position: relative;
    padding-top: 1vw;
    left: calc(50vw - 300px);
}

.atelier-img {
    width: 50vw;
    padding: 10px;
}

.atelier-albert {
    width: 30%;
}

.overflowx {
    overflow-x: hidden;
}

.atelier {
    align-items: center;
}

.atelier-p {
    font-size: xx-large;
}

/* Style the Image Used to Trigger the Modal */
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 1vw; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 50%;
    max-width: 100%;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }
    to {
        transform: scale(1)
    }
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.mquerry {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}


/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

nav {
    display: block;
    position: fixed;
    top: 1px;
    width: 100%;
    z-index: 1000;
}

nav ul:first-child {

}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}

nav ul:hover {
    overflow: visible;
}

nav li {

    position: relative;
    float: left;
}

nav a {
    display: block;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
}

nav ul ul ul {
    max-height: 0;
    transition: max-height 1s;
    background-color: rgba(0, 0, 0, 0.45);
}

.dropdown:hover .dropdown-content {
    max-height: 999px;
}

nav ul li {
    float: none;
}


.menubar {
    display: block;
    position: fixed;
    top: 1px;
    width: 100%;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1000;
}

.nav-mobile {
    display: none;
}

.mquerry {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.menu-a {
    font-size: x-large;
}

footer {
    padding: 15px 0;
    border-top: solid white 1px;
}

footer p {
    margin: 0;
}

footer div {
    position: relative;
    bottom: 1%;
}

.sign {
    text-align: center;
}

.event-mobile {
    display: none;
}

@media (max-width: 1024px) {

    .event-desktop {
        display: none;
    }

    .event-mobile {
        display: block;
    }

    .contact-title {
        margin-top: 5%;
    }
}

@media (max-width: 740px) {

    .event-desktop {
        display: none;
    }

    .event-mobile {
        display: block;
    }

    .menu-a {
        font-size: larger;
    }

    .contact-title {
        margin-top: 7%;
    }
}

/*Media querry*/
@media (max-width: 625px) {
    /*burger menu*/
    nav {
        display: none;
    }

    .menubar {
        display: none;
    }

    .nav-mobile {
        display: flex;

    }

    .event-desktop {
        display: none;
    }

    .event-mobile {
        display: block;
    }

    /* Menu déroulant */
    .menu {
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 20px;
        left: 10px;
        width: 95%;

        transform: translateY(-500%);
        transition: transform 0.5s;
        list-style: none;
        z-index: 100;
        background-color: rgba(0, 0, 0, 0.5);
    }

    /* Effet d'apparition du menu */
    .showMenu {
        transform: translateY(0);
    }

    .menu-li {
        width: 90vw;
        border-bottom: 2px inset;
    }

    /* Lien dans le menu */
    .menu-a {
        list-style-type: none;
        padding: 10px 0;
        text-align: left;
        font-size: 50px;
        text-decoration: none;

    }

    .menu-a:last-child {
        border-bottom: none;
    }

    /* Triple barre */
    .container {
        margin: 0;
        position: fixed;
        cursor: pointer;
        top: 1px;
        right: 1%;
    }

    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: white;
        margin: 6px 0;
        transition: 0.4s;
    }

    /* Animation barre */
    #change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-8px, 7px);
        transform: rotate(-45deg) translate(-8px, 7px);
    }

    #change .bar2 {
        opacity: 0;
    }

    #change .bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
    }

    a {
        font-size: 100%;
        text-decoration: none;
        color: white;
    }

    .mquerry {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .atelier-img {
        display: flex;
        flex-wrap: wrap;
        width: 85%;
        padding: 10px;
    }

    .atelier-albert {
        width: 50%;
    }

    .contact-flex {
        flex-direction: column;
    }

    .p_contact {
        font-size: medium;
    }

    .contact-div {
        position: relative;
        left: 25%;
        width: 50%;
        border-bottom: solid 1px;
    }

    .contact-ul {
        padding: 0;
    }

    .contact-li {
        font-size: medium;
    }

    .plan {
        width: 90vw;
        left: 5vw;
    }

    .embed-map {
        left: 5vw;
        width: 90vw;
        height: 40vw;
        padding-bottom: 1%;
    }

}

.encadre {
    border: solid 1px;
    padding: 1%;
}

.separator {
    border-top: dashed 1px;
}

.event-desktop {
    position: absolute;
    top: 10%;
    left: 1.5%;
    width: 23%;
}

