/* Général - body */
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: rgb(36,101,78);
}

body {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
}

h1, h2 {
    color: rgb(36,101,78);
}

h2 {
    font-size: 35px;
}

fieldset {
    border: none;
}

.hide  {
    display: none;
}

/* Liens d'évitements */
.skip-links a {
    color: rgb(36,101,78);
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-links a:focus{
    position: static;
    width: auto;
    height: auto;
}

/* Header */

.home {
    width: 100%;
    height: 500px;
    background: linear-gradient(to bottom, rgba(36,101,78,0) 70%,  rgba(164,174,163) 100%), url(images/trees.jpeg);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    overflow: hidden;
    border-bottom-right-radius: 800px 50px;
}

.home h1 {
    line-height: 100px;
    margin: 0;
    margin-top: 5%;
    font-family: 'Square Peg', cursive;
    font-size: 100px;
    font-weight: bold;
    color: white;
}

.linkForm {
    padding: 10px;
    background-color: rgb(36,101,78);
    color: white;
    /* font-size: 16px; */
    /* letter-spacing: 1px; */
    border: none;
    margin: 0;
    cursor: pointer;
    border-radius: 10px;
    box-sizing: border-box;
    box-shadow: 0px 5px 15px black; 
}

.home-column {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-left: 30px;
    justify-content: space-evenly;
}

.search-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.search-bar {
    margin-top: 80px;
    margin-right: 40px;
   
    /* border-radius: 10px; */
}

.search-container input[type=text] {
    border: none;
    text-align: left;
    min-height: 30px;
    margin: 0;
    border: 3px solid rgba(36,101,78,0.8);
    border-radius: 10px;
}

.search-results ul {
    margin: 0;
    padding: 0;
    background-color: white;
    opacity: 0.7;
}

.search-results ul li {
    padding-top: 5%;
    
}

.search-results a {
    color: black;
    font-weight: normal;
    
}
.search-results button {
    color: black;
    font-weight: normal;
    padding: 0;
    margin: 0;
    border: none;
    background-color: transparent;
    font-size: 15px;
}

/* Services */
#services {
    max-width: 100%;
    /* min-height: 600px; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding-top: 50px;
}

#services h2, #services a {
    text-align: center;
}

#services .p-intro {
    text-align: center;
    line-height: 30px;
    padding: 20px;
    font-size:large;
}

#services span {
    color: rgb(36,101,78);
    font-weight: bold;
}

.cards-container {
    padding-top: 5%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    /* min-height: 420px; */
}

.card-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.card-img2 {
    border-radius: 10%;
    width: 200px;
    height: 180px;
    box-shadow: 1px 1px 5px 5px rgb(164,174,163);
    margin-bottom: 10px;
}

.card-texts {
    border: 1.5px solid rgb(36,101,78);
    height: 470px;
    width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 5%;
    box-shadow: 10px 10px 2px 1px rgb(36,101,78);
}

.card-texts p {
    text-align: justify;
     padding: 5%;
     margin: 0;
}
.card-texts a {
    font-weight: normal;
    padding-left: 5px;
    font-size: 15px;
}

.card-title {
    text-align: center;
    color: rgb(36,101,78);
}

#services ul {
    margin: 0;
    padding-right: 40px;
}

#services ul li {
    text-align: justify;
    padding-bottom: 15px;
   
}

.card-btn {
    background-color: rgb(36,101,78);
    color: white;
    border: none;
    border-radius: 5%;
    height: 30px;
    width: 120px;
    margin-bottom: 15%;
}
#btnClose1 {
    display: none;
}

/* Contact */
#contact-container {
    padding-top: 50px;
}
#contact {
    width: 100%;
    height: 100px;
    background-color: rgb(36,101,78);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

#contact button, #contact h2 {
    background-color: rgb(36,101,78);
    border: none;
    color: white;
}

#contact button img {
    width: 30px;
    height: 37px;
}

.form-container {
	max-width: 600px;
	padding: 10px 20px;
	background: #f4f7f8;
	margin: 10px auto;
	padding: 20px;
	border-radius: 8px;
}

.form-container fieldset {
	border: none;
}
.form-container legend {
	font-size: 1.2em;
	margin-bottom: 10px;
    color: rgb(36,101,78);
    font-weight: bolder;
}
.form-container label {
	display: block;
	margin-bottom: 8px;
    margin-left: 20px;
    margin-right: 8px;
}
.form-container label span {
    font-style: italic;
    font-size: small;
}
.form-perso-info {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
}
.form-div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.form-input-Label {
    display: flex;
    flex-wrap: nowrap;
 
}
.form-container input[type="text"],
.form-container input[type="tel"],
.form-container input[type="date"],
.form-container input[type="datetime"],
.form-container input[type="email"],
.form-container input[type="number"],
.form-container input[type="search"],
.form-container input[type="time"],
.form-container input[type="url"],
.form-container textarea,
.form-container select {
	background: rgba(255,255,255,.1);
	border: none;
	border-radius: 4px;
	font-size: 15px;
	margin: 0;
	outline: 0;
	padding: 10px;
	box-sizing: border-box; 
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	background-color: #e8eeef;
	/* color:#8a97a0; */
	-webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
	box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
	margin-bottom: 30px;
}
.form-container textarea {
    width: 100%;
}
.form-container input[type="text"]:focus,
.form-container input[type="tel"]:focus,
.form-container input[type="date"]:focus,
.form-container input[type="datetime"]:focus,
.form-container input[type="email"]:focus,
.form-container input[type="number"]:focus,
.form-container input[type="search"]:focus,
.form-container input[type="time"]:focus,
.form-container input[type="url"]:focus,
.form-container input[type="checkbox"]:focus,
.form-container textarea:focus,
.form-container select:focus{
	background: #d2d9dd;
    border: none;
}
.form-container select {
	-webkit-appearance: menulist-button;
	height:35px;
}
.form-container .checkbox-label {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}
.form-container input[type="checkbox"] {
    /* 1- hidding native checkbox */
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--form-background);
    margin: 0;
    outline: none;

    /* 2- style checkbox */
    cursor: pointer;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    vertical-align: middle;
    margin-left: 8px;
    background: rgba(255,255,255,.1);
    background-color: #e8eeef;
    color:#8a97a0;
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
    border: none;
    transform: translateY(-0.075em);

    display: grid;
    place-content: center;
}
  
.form-container input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transform-origin: bottom left;
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color);
    background-color: rgb(36,101,78);
}
  
.form-container input[type="checkbox"]:checked::before {
    transform: scale(1);
}
.form-container .number {
    background-color: rgb(36,101,78);
	color: #fff;
	height: 30px;
	width: 30px;
	display: inline-block;
	font-size: 0.7em;
	margin-right: 4px;
	line-height: 30px;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255,255,255,0.2);
	border-radius: 15px 15px 15px 0px;
}
.form-container p {
    font-style: italic;
    font-size: small;
    margin-top: 0;
    /* margin: 0;
    margin-bottom: 8px; */
}
.form-container input[type="submit"],
.form-container input[type="button"],
.form-container button
{
	position: relative;
	display: block;
    padding: 10px 10px;
	color: #FFF;
	margin: 0 auto;
    background-color: rgb(36,101,78);
	text-align: center;
	font-style: normal;
    width: 100px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid rgb(36,101,78);
	border-width: 1px 1px 3px;
	margin-bottom: 10px;
}
.form-container input[type="submit"]:hover,
.form-container input[type="button"]:hover,
.form-container button:hover
{
	background: #109177;
}


/* Nos valeurs */
#nos-valeurs {
    padding-top: 30px;
}

#nos-valeurs h2 {
    text-align: center;
}

.about-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    /* margin-left: 30px; */
    align-items: center;
    margin-bottom: 30px;
}

#nos-valeurs img {
    height: 80px;
    width: 291px;
    margin-left: 30px;
}

#nos-valeurs .logoEco {
    height: 150px;
    width: 150px;
}

#nos-valeurs p {
    text-align: justify;
    max-width: 50%;
    margin-left: 30px;
    line-height: 1.8;
    /* text-indent: 20px; */
}

.firstLetterP {
    color: rgb(36,101,78);
    font-weight: bold;
    font-size: large;
}

#nos-valeurs span, a {
    color: rgb(36,101,78);
    font-weight: bold;
}

/* Footer */


footer {
   display: flex;
   flex-direction: column;
   flex-wrap: wrap;
   background-color: rgb(36,101,78);
   align-items: center;
   justify-content: space-around;
}

.socialNormesContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-self: stretch;
}

#social-media h2 {
    /* margin-left: 20px; */
    color: white;
    font-size: 1.7em;
}

#social-media {
    display: none;
}

#social-media ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 100px;
}

#social-media a {
    color: white;
}

#normes {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    max-width: max-content;
    align-items: center;
}

#normes h2 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.7em;
}

#normes a {
    color: white;
    font-weight: normal;
}


#normes ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 50px;
    list-style: disc;
    color: white;
}
.copyrightFooter {
    margin: 15px;
    padding-top: 10px;
}
.copyrightFooter a {
    color: white;
    font-weight: normal;
}
.copyrightFooter i {
    color: #FD1015;
}


/* Media queries */
@media (max-width: 950px) {
    .card-container {
        padding-right: 30px;
        padding-bottom: 40px;
    }
}
@media (max-width: 650px) {
    .search-container  {
        padding-left: 20px;
    }
}
@media (max-width: 500px) {
    .home h1 {
        font-size: 70px;
    }
    h2 {
        font-size: 25px;
    }
    .card-container {
        padding-bottom: 40px;
    }
    .card-texts {
        width: 340px;
        height: 500px;
    }
    .card-texts p {
        font-size: smaller;
    }
    .card-texts ul li {
        font-size: smaller;
    }
    .card-texts a {
        font-size: small;
    }
    .card-img2 {
        width: 150px;
        height: 90px;
    }
    #contact, #contact button  {
        height: 70px;
    }

    #contact button img {
        width: 20px;
        height: 25px;
    }
    .about-container {
        flex-direction: column;
        justify-content: space-around;
    }
    #nos-valeurs img {
        margin-left: 0;
        height: 60px;
        width: 218px;
        /* margin-top: 5%; */
    }
    #nos-valeurs .logoEco {
        height: 100px;
        width: 100px;
    }
    #nos-valeurs p {
        max-width: 70%;
    }

    footer {
        flex-direction: column;
        /* align-items: center; */
    }
    #social-media h2 {
        padding-left: 15px;
    }
    #social-media h2, #normes h2 {
        font-size: 1.4em;
        margin-left: 0;
    }
}