:root {
    --main-bg: #fff;
    --secondary-bg: #20ac7d;
    --third-bg: #094d4b;
    --main-txt: #333333;
    --secondary-txt: #20ac7d;
    --third-txt: #0a5351;
}

#container {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh);
}

#header {
    background-color: var(--main-bg);
    box-shadow: 1px 1px 10px rgb(0 0 0 / 20%);
    position: fixed;
    top: 0;
    z-index: 999;
    width: 100%;
}

#header .content {
    width: 1280px;
    position: relative;
    margin: auto;
}

.headerlogo a img {
    padding: 10px 0 10px 0;
}

#nav-menu {
    position: absolute;
    bottom: 0;
    right: 0;
}

#nav-menu ul,
#nav-menu li {
    display: inline-block;
    vertical-align: top;
    z-index: 2;
    position: relative;
    margin-left: 20px;
}

#nav-menu ul li a {
    display: block;
    padding: 0 5px 20px 5px;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    color: var(--main-txt);
    overflow: hidden;
}

#nav-menu ul li a::after {
    content: "";
    display: block;
    transform: translateY(4px);
    transition: all 0.4s ease;
    width: 100%;
    position: absolute;
    height: 10px;
    background: var(--secondary-bg);
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    z-index: -1;
    opacity: 0;
}

#nav-menu ul li a:hover:after {
    opacity: 1;
}

#nav-menu ul li.active::after {
    content: "";
    display: block;
    transform: translateY(4px);
    width: 100%;
    position: absolute;
    height: 10px;
    background: var(--secondary-bg);
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    z-index: -1;
}

.main-content {
    display: flex;
}

.main-content, .secondary-content, .third-content {
    margin-top: 90px;
}

.col_composteur-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.composteur-img:after {
    content: "";
    display: block;
    float: none;
    clear: both;
}

#composteur-img {
    width: 783px;
    height: 390px;
    background-image: url("../img/nobg-composteur.png");
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.composteur-temp {
    text-align: center;
    margin-top: 10%;
}

.boxm {
    width: 38%;
}

.box1 {
    width: 15%;
}

.box2 {
    width: 15%;
}

.box3 {
    width: 10%;
}

.bckgrndrond {
    position: relative;
    height: max-content;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
    text-align: center;
}

.bckgrndrond::after {
    content: "";
    position: absolute;
    top: 0;
    right: 15px;
    z-index: -1;
    height: 100%;
    width: calc(100% - 10px);
    background: url("../img/rond_chelou.svg") center center no-repeat;
    background-size: 60%;
    transform: rotate(64deg);
    transition: all 1s ease;
}

.col_marge.bckgrndrond {
    height: inherit;
    position: relative;
    top: 330px;
}

.col_marge {
    flex: calc(100vw / 2 - 1315px / 2);
    float: none;
    max-width: calc(100vw / 2 - 1315px / 2);
    margin: 0;
    z-index: -1;
}

.col_marge.bckgrndrond::after {
    background-size: 100%;
    z-index: 32;
    top: -30%;
    background-position: 0 50%;
    overflow: visible;
    left: -150%;
    transform: rotate(50deg) scale(3);
}

.col_texte {
    float: none;
    width: 500px;
    padding-right: 30px;
    padding-left: 23px;
    margin: 75px 0 auto 0;
}

.col_texte h2 {
    color: #333333;
    text-transform: inherit;
    font-weight: 900;
    line-height: 1.4;
    font-size: 18px;
    margin-bottom: 30px;
}

.col_texte p {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
    padding-bottom: 20px;
}

.secondary-content .content {
    width: 1280px;
    position: relative;
    margin: auto;
}

.third-content .content {
    width: 1280px;
    position: relative;
    margin: auto;
}

.box {
    background-color: var(--third-bg);
    border-radius: 20px;
    padding: 1px 10px 35px 10px;
}

.title-box {
    color: #333333;
    text-transform: inherit;
    font-weight: 600;
    line-height: 1.4;
    font-size: 18px;
    margin: 0 0 10px 0;
}

.box h2 {
    color: #fff;
    text-transform: inherit;
    font-weight: 600;
    line-height: 1.4;
    font-size: 18px;
    margin: 20px 0 20px 0;
    text-align: center;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: center;
}

.card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 145px;
    margin: 0 auto 0 auto;
    background-color: #ffffff;
    border-radius: 10%;

}

.card-data span {
    font-weight: 400;
    font-size: 54px;
}

.card-data span.exposant {
    font-size: 20px;
    transform: translateY(9px);
    position: absolute;
}

.card-content span {
    font-weight: 300;
    font-size: 25px;
    line-height: 1.4;
    padding-bottom: 20px;
}

.positif {
    color: green;
}

.negatif {
    color: red;
}

.positif-logo:before {
    content: "↗";
}

.negatif-logo:before {
    content: "↙";
}

.card-content .exposant {
    display: inline;
    font-size: 13px;
    vertical-align: top;
    line-height: 2;
}

.title-box h2 {
    color: rgb(51, 51, 51);
    text-transform: inherit;
    font-weight: 900;
    line-height: 1.4;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Caption text */
.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.container-dot {
    text-align: center;
    margin: 10px 0;
    /*padding-left: 23px;*/
}

.container-dot .active, .dot:hover {
    background-color: #717171;
}

.footer-container {
    background-color: var(--third-bg);
}

.footer-container .content {
    width: 1280px;
    margin: auto;
    display: flex;
    align-content: center;
    justify-content: center;
    padding-left: 23px;
}

.col_footer {
    margin: 5%;
    height: 250px;
    width: 220px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.col_footer img {
    margin-bottom: 20px;
}

.col_footer ul li,
.col_footer ul li a {
    color: #fff;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.4;
}


.top-footer-container {
    background-color: var(--secondary-bg);
}

.top-footer-container .content {
    width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 40px 0;

}

.btn {
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: all 0.5s;

}

.btn span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    color: var(--main-bg);
}

.btn span:after {
    content: '\00bb';
    position: absolute;
    opacity: 0;
    top: 0;
    right: -20px;
    transition: 0.5s;
}

.btn:hover span {
    padding-right: 15px;
}

.btn:hover span:after {
    opacity: 1;
    right: 0;
}

.back-to-top {
    background-color: transparent;
    color: var(--main-bg);
    border: 3px solid var(--main-bg);
    border-radius: 3px;
}

.top-footer-container .content h2 {
    color: var(--main-bg);
    text-transform: inherit;
    font-weight: 300;
    line-height: 1.4;
    font-size: 18px;
    margin-bottom: 30px;
    text-align: center;
}

.chart {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 20px auto;
}

.box-no-tilte {
    background-color: var(--third-bg);
    border-radius: 20px;
    padding: 25px;
    margin: 25px 10px;
}

.box-container {
    width: 1280px;
    position: relative;
    margin: 75px auto 25px auto;
}

.container-from {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.from-btn {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
    color: var(--main-bg);
    background-color: var(--third-bg);
    border: 3px solid;
    border-radius: 6px;
}

.from-btn:hover {
    background-color: hsl(178, 60%, 25%);
    padding: 15px 37px;
}

.container-canvas {
    margin-bottom: 40px;
    max-width: 1280px;
    max-height: 426px;
    text-align: center;
}

.container-from {
    margin: 10px 0;
}

.container-data, .container-time {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.container-data label, .container-time label {
    font-size: 16px;
    margin: auto;
}

select, .container-time input {
    border: none;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    transition: all 0.5s;
}


select:focus-visible, .container-time input:focus-visible {
    outline: 0;
}

select option {
    text-align: center;
}


.container-select {
    background-color: var(--third-bg);
    border-radius: 20px;
    padding: 25px;
}

.container-selectbis {
    border-radius: 20px;
    background-color: #ffffff;
    padding: 10px;
}

.home-pages {
    flex-direction: column;
}

.first-part {
    width: 40%;
    margin: 75px auto;
    text-align: center;
}

.title, .sepatateur {
    margin-bottom: 40px;
}

.title, .title span {
    color: var(--third-txt);
    font-size: 28px;
}

.sepatateur {
    display: inline-block;
    width: 200px;
    border-top: 3px solid var(--secondary-bg);

}

.strong {
    font-weight: bold;
}

.second-part {
    display: flex;
    justify-content: center;
    align-content: center;
    padding: 25px 75px 90px 75px;
}

.error-part {
    margin: 25px auto;
}

.data-base-title {
    font-size: 16px;
    margin: auto;
}

.card-sepatateur {
    margin: 25px 0;
    width: 35px;
    border-top: 3px solid var(--secondary-bg);

}

.card-title span {
    color: var(--third-txt);
    font-size: 28px;

}

.no-height .card-description p {
    margin: 15px 0;
    min-height: 70px;
    max-height: 70px;
}

.desctription, .card-description p {
    text-align: center;
    font-size: 16px;
}

.no-height {
    height: auto;
    width: 265px;
}

.container {
    margin: 0 auto;
}

/*@media only screen and (min-width: 773px) and (max-width: 994px){*/
/*    #header .content, .top-footer-container .content, .secondary-content .content, .third-content .content, .top-footer-container .content, .footer-container .content{*/
/*        margin: 0;*/
/*        width: 100%;*/
/*    }*/
/*}*/

@media only screen and (max-width: 1340px) {
    #header .content, .top-footer-container .content, .secondary-content .content, .third-content .content, .top-footer-container .content, .footer-container .content, .secondary-content .box-container {
        /*margin: 0;*/
        width: 97%
    }
}

@media only screen and (max-width: 1280px) {
    .main-content {
        flex-direction: column;
        align-items: center;
    }

    .main-content .col_texte {
        width: 650px;
    }

    .headerlogo img {
        width: 180px;
        height: 60px;
    }
}

.error-message {
    margin-top: 50px;
    color: red;
    font-size: 24px;
}