@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Assistant&family=Roboto&display=swap');
* {
    list-style: none;
    text-decoration: none;
}

body {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: 'Assistant', 'Roboto', sans-serif;
}


/****** Boutton ******/

.button {
    background-color: #1BB355;
    border-radius: 1em;
    border: none;
    color: white;
    padding: 15px 32px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition-duration: 0.4s;
}

.button:hover {
    box-shadow: 0 12px 16px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}


/****** Navbar ******/

nav {
    height: 80px;
    background-color: #13131C;
}

ul li {
    list-style: none;
    text-decoration: none;
}

nav img {
    width: 150px;
    position: absolute;
    top: 12px;
    left: 12%;
}

nav ul {
    float: right;
    margin-right: 25px;
}

nav ul li {
    display: inline-block;
    line-height: 40px;
    margin: 0 15px
}

nav ul li a {
    position: relative;
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    padding: 0 5px 5px;
}

nav ul li a::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: #1BB355;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .4s linear;
}

nav ul li a:hover:before {
    transform: scaleX(1);
    transform-origin: left;
}

ul li {
    list-style: none;
    text-decoration: none;
}

label #btn,
label #cancel {
    color: white;
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check {
    display: none;
}

@media (max-width: 1118px) {
    nav img {
        left: 8%;
    }
}

@media (max-width: 944px) {
    nav img {
        left: 6%;
        top: 15px;
        width: 130px;
    }
    nav ul li a {
        font-size: 17px;
    }
}

@media (max-width: 860px) {
    label #btn {
        display: block;
    }
    ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        background: #13131C;
        top: 60px;
        left: -1000%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li {
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a {
        font-size: 20px
    }
}

#check:checked~ul {
    left: 0;
}

#check:checked~label #cancel {
    display: block;
}


/****** page accueil partie top ******/

#top {
    height: 55vh;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-around;
    margin: 4em 0em 4em 0em;
}

.partiegauche {
    width: 60vw;
    vertical-align: top;
    background-color: #1B1A26;
    border-radius: 1em;
    color: white;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
    font-family: 'Roboto';
}

.carouseltitre {
    margin-top: 2vh !important;
}

.partiegauche h1 {
    text-align: center;
}

.partiedroite {
    display: flex;
    width: 30vw;
    float: left;
    vertical-align: top;
    align-items: center;
    justify-content: center;
    color: black;
    flex-direction: column;
}


/****** Effet paralax accueil ******/

#para {
    background-image: url("images/parahero.png");
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}


/****** partie bot accueil ******/

#bot {
    display: flex;
    width: 100%;
    height: 90vh;
    background-color: white;
    justify-content: center;
    flex-direction: column;
}

.galerybot {
    display: flex;
    text-align: center;
    margin: 1em;
    justify-content: center;
}

.titrebot {
    display: flex;
    color: #1BB355;
    justify-content: center;
    width: 100%;
    font-family: 'Roboto';
}

.titrebot img {
    position: absolute;
    width: 15%;
    height: auto;
    margin-top: -3em;
    margin-left: -38em;
}

.cardd {
    display: flex;
    background-color: #1B1A26;
    border-radius: 1em;
    width: 30vw;
    color: white;
    padding-left: 16px;
    padding-right: 16px;
    margin: 4em;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.insidecardd-left {
    display: flex;
    width: 12em;
    height: 15em;
    justify-content: center;
    align-items: center;
}

.insidecardd-right p {
    font-size: 0.9em;
}

.insidecardd-left img {
    display: flex;
    width: 10em;
    height: 90%;
    margin-right: 1em;
}

.insidecardd-right {
    display: flex;
    width: 28em;
    height: 15em;
    border-radius: 1em;
    color: white;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1120px) {
    .insidecardd-right p {
        font-size: 0.7em;
    }
}


/****** Formulaire + gallerie form ******/

.form-galerie input {
    gap: 200px !important;
    margin-bottom: 2vh;
}

textarea,
input,
label {
    font-family: 'roboto', sans-serif;
}

.page-form {
    display: flex;
    justify-content: center;
    background-color: #1B1A26;
    color: #1BB355;
    flex-direction: column;
    width: 100%;
    height: 90vh;
}

.page-form h1 {
    text-align: center;
    font-family: 'Roboto';
}

input[type=text] {
    width: 95%;
}

.en-tete-form {
    text-align: center;
    display: flex;
    flex-direction: row;
    margin-bottom: 2vh;
    width: 100%;
    justify-content: space-between;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1vh;
}

.main-form {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    display: flex;
    gap: 2vh;
    flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 20em;
    height: auto;
}

input[type=submit] {
    background-color: #1BB355;
    margin-top: 3vh;
    border-radius: 1em;
    border: solid 1px;
    color: white;
    padding: 15px 32px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition-duration: 0.4s;
}

input[type=submit]:hover {
    opacity: 0.5;
}

#messageImage {
    text-align: center;
}

#mesimages {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

#mesimages img {
    margin: 8px;
    width: 200px;
    height: 300px;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.galeriephotos {
    margin-bottom: 10vh;
}

.galerietitre {
    color: #1BB355;
    text-align: center;
}

#a-img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
    transition-duration: 500ms;
}

#a-img {
    filter: grayscale(65%);
}

.insidepartieg img {
    margin: 8px;
    width: auto;
    height: 300px;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 32%;
    transform: translate(-50%, -50%);
}


/****** Formulaire + gallerie form ******/

.backgroundonnees {
    margin-bottom: 10vh;
}

.donnees h1 {
    text-align: center;
}

.donnees {
    margin: 16px;
}


/****** Footer ******/

#footer {
    display: flex;
    background-color: #13131C;
    color: white;
    width: 100%;
    height: 2em;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 0;
}