@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    font-family: "Poppins", system-ui;
    scroll-behavior: smooth;
    transition: 0.3s all;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    margin-top: 16px;
    margin-bottom: 16px;
}

.about-text, .checkbox-wrapper, .buy, .stages-wrapper, .parcourir-wrapper, .home-text-wrapper, nav, footer {
    margin-left: 16px;
    margin-right: 16px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

nav ul {
    display: none;
}

nav ul li {
    margin-left: 24px;
}

nav ul li a {
    color: black;
    text-decoration: none;
}

nav * {
    margin: 0;
}

nav div {
    display: flex;
}

.green-thumbs-wrapper i {
    color: #3e6553;
    font-size: 18px;
    font-weight: 1000;
}

.green-thumbs-wrapper h1 {
    font-size: 20px;
}

.green-thumbs-wrapper {
    display: flex;
    align-items: center;
}

.moon-and-burger-menu-wrapper i {
    font-size: 18px;
}

.moon-and-burger-menu-wrapper i:first-child, .green-thumbs-wrapper i {
    margin-right: 10px;
}

.on-line {
    width: 170px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    margin-bottom: 38px;
}

.on-line img {
    width: 180px;
}

.follow-wrapper {
    transform: rotate(90deg);
    display: flex;
    align-items: center;
}

.line {
    background-color: #3e6553;
    height: 30px;
    width: 2px;
    transform: rotate(90deg);
    margin-right: 20px;
    margin-left: 20px;
    border-radius: 8px;
}

.follow-wrapper a {
    color: #3e6553;
    text-decoration: none;
    transform: rotate(-90deg);
    margin-right: 6px;
}

.follow-wrapper p:first-child {
    font-size: 12px;
    width: 70px;
}

.home-text-wrapper {
    margin-top: 28px;
}

.home-text h2 {
    width: 70%;
    margin-bottom: 0;
}

.home-text p {
    font-size: 12px;
    margin-bottom: 38px;
    line-height: 16px;

}

.home-text a {
    background-color: #3e6553;
    padding: 12px 24px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
}

.home-text a i {
    margin-left: 12px;
}

main {
    margin-top: 68px;
}

.about-img img {
    width: 250px;
}

.about-img {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.about-text h5 {
    font-size: 22px;
    margin-bottom: 0;
}

.about-text p {
    font-size: 12px;
    line-height: 16px;
}

.checkbox {
    display: flex;
    align-items: baseline;
}

.checkbox i {
    color: #3e6553;
    margin-right: 8px;
}

.checkbox p {
    font-size: 12px;
}

.checkbox:last-child {
    margin-bottom: 38px;
}

.buy {
    color: #3e6553;
    text-decoration: none;
    font-weight: 600;
}

.buy i {
    margin-left: 8px;
}

.stages-wrapper {
    background-color: #3e6553;
    padding: 18px;
    border-radius: 8px;
    color: white;
    margin-top: 18px;
}

.stages-wrapper h5 {
    font-size: 20px;
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 16px;
    line-height: 24px;
    font-weight: 500;
}

.stage {
    background-color: white;
    color: black;
    padding: 18px;
    border-radius: 8px;
}

.stage {
    margin-bottom: 14px;
}

.stage p:first-child {
    margin-top: 0;
    background-color: #3e6553;
    padding: 8px;
    border-radius: 4px;
    width: fit-content;
    color: white;
    font-size: 18px;
}

.stage p:nth-child(2) {
    font-weight: 600;
    margin-bottom: 4px;
}

.stage p:nth-child(3) {
    font-size: 12px;
    margin-top: 0;
}

.third-stage {
    margin: 0;
}

.stage p {
    margin-bottom: 0;
}

.parcourir-wrapper {
    margin-bottom: 48px;
}

.parcourir-wrapper h5 {
    font-size: 18px;
    width: 60%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
    margin-bottom: 0;
}

.parcourir-wrapper p {
    font-size: 14px;
    text-align: center;
    line-height: 18px;
    margin-bottom: 44px;
}

.questions-wrapper {
    background: #e6efeb;
    padding: 16px;
}

.questions-wrapper h5 {
    font-size: 18px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    line-height: 24px;
    margin-top: 6px;
}

.questions-wrapper button {
    background-color: white;
    border: none;
    font-size: 12px;
    padding: 12px;
    width: 100%;
    text-align: left;
    margin-bottom: 8px;
    border-radius: 4px;
    cursor: pointer;
}

.questions-wrapper i {
    margin-right: 4px;
    font-weight: 800;
}

.questions-wrapper button:last-child {
    margin: 0;
}

.produits-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.product {
    display: flex;
    width: 40%;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
}

.product img {
    width: 140px;
    margin-bottom: 14px;
}

.product-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.product-text p {
    margin: 0;
}

.product-text p:first-child  {
    margin-bottom: 4px;
}

.price-icon {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    width: 80%;
    justify-content: space-between;
}

.price-icon i {
    background-color: #3e6553;
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.price-icon p  {
    margin: 0;
}

.ball {
    background-color: #e6efeb;
    position: absolute;
    height: 100px;
    width: 100px;
    margin-top: 54px;
    border-radius: 50%;
    z-index: -999;
}

/* 
.contact {
    width: 60%;
    margin-bottom: 28px;
    line-height: 26px;
    margin-top: 46px;
} */

.conseiller *, .mail * {
    margin: 0;
    font-size: 14px;
}

.conseiller p:last-child, .mail p:last-child {
    font-weight: 600;
    margin-top: 6px;
    margin-bottom: 28px;
}

form {
    display: flex;
    flex-direction: column;
}

label {
    display: none;
}

form input, form textarea {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.165);
    padding: 16px;
    background: transparent;
}

input::placeholder, textarea::placeholder {
    opacity: 0.5;
}

.submit {
    background-color: #3e6553;
    border-radius: 6px;
    padding: 16px 30px;
    border: none;
    color: white;
    width: fit-content;
    cursor: pointer;
}

.first-button {
    margin-top: 24px;
    margin-bottom: 112px;
}

footer h2 {
    font-size: 18px;
    margin-bottom: 48px;
}

footer h2 i {
    margin-right: 8px;
    color: #3e6553;
}

.newsletter {
    width: 50%;
    line-height: 26px;
}

.input-mail input {
    padding: 24px;
    background-color: #e6efeb;
    border: none;
    border-radius: 8px;
    width: 300px;
    position: absolute;
}

.input-mail {
    display: flex;
    align-items: center;
    margin-bottom: 76px;
    width: 300px;
}

.adress-wrapper {
    margin-bottom: 46px;
}

.adress-wrapper h4, .contact-wrapper h4 {
    margin-bottom: 24px;
}

.contact-wrapper a {
    color: black;
    text-decoration: none;
    margin-right: 12px;
}

.contact-wrapper {
    margin-bottom: 46px;
}

.card img {
    height: 30px;
}

.copyright {
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
}

.copyright span {
    background-color: #3e6553;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    margin-left: 2px;
}

.top {
    background-color: #3e6553;
    color: white;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 6px;
}

.top-wrapper {
    position: fixed;
    bottom: 28px;
    right: 28px;
}

.input-mail .submit {
    position: relative;
    left: 145px;
}

.ri-moon-line:hover {
    color: #3e6553;
}

@media screen and (min-width: 760px) {
    nav ul {
        display: flex;
        align-items: center;
        list-style: none;
    }
    p {
        font-size: 16px !important;
    }
    .moon-and-burger-menu-wrapper {
        display: none;
    }
    .follow-wrapper p {
        font-size: 12px !important;
    }
    .home-text-wrapper {
        display: flex;
        flex-direction: row-reverse;
    }
    .about-text, .checkbox-wrapper, .buy, .stages-wrapper, .parcourir-wrapper, .home-text-wrapper, nav, footer, .about-wrapper, .buy-wrapper {
        margin-left: auto;
        margin-right: auto;
        width: 60%;
    }
    .home-text h2 {
        font-size: 48px;
        line-height: 74px;
        width: 331px;
    }
    .home-text p {
        line-height: 26px;
        width: 414px;
    }
    .on-line {
        margin-right: initial;
        width: 473px;
    }
    .on-line img {
        width: 380px;
    }
    .about-wrapper {
        display: flex;
        align-items: flex-start;
        margin-bottom: 50px;
        padding: 34px;
    }
    .buy-wrapper {
        margin-bottom: 124px;
    }
    .about-text h5 {
        margin-top: 0;
        font-size: 40px;
    }
    .about-text p {
        line-height: initial;
    }
    .about-img {
        width: initial;
        margin-left: initial;
        margin-right: initial;
    }
    .home-text-wrapper {
        margin-bottom: 170px;
    }
    .all-stages {
        display: flex;
        flex-direction: row;
    }
    .stages-wrapper {
        border-radius: 20px;
        margin-bottom: 144px;
    }
    .stage {
        margin: 0;
        padding: 26px;
        border-radius: 14px;
        /* width: 25%; */
    }
    .stage p {
        line-height: 22px;
    }
    .stage p:first-child {
        font-size: 22px !important;
    }
    .stage:nth-child(1), .stage:nth-child(2) {
        margin-right: 24px;
    }
    .stages-wrapper h5 {
        margin-top: 8px;
        font-size: 36px;
        font-weight: 700;
        width: 480px;
        line-height: inherit;
    }
    .parcourir-wrapper h5 {
        font-size: 36px;
        line-height: inherit;
    }
    .proviennent {
        margin-top: 28px;
        width: 50%;
        margin-left: auto;
        margin-right: auto;
        line-height: 26px !important;
    }
    .price-icon {
        width: 60%;
    }
    .product {
        width: 290px;
        margin-right: inherit;
    }
    .ball {
        margin-left: -24px;
    }
    .questions-wrapper h5 {
        font-size: 34px;
        margin-top: 48px;
        margin-bottom: 28px;
        text-align: left; 
    }
    .second-wrapper-of-questions {
        width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
    .first-section-of-questions, .second-section-of-questions, .third-section-of-questions {
        display: flex;
    }
    .first-section-of-questions, .second-section-of-questions {
        margin-bottom: 18px;
    }
    .questions-wrapper button {
        margin: 0;
        margin-right: 18px;
        font-size: 16px;
    }
    .questions-wrapper {
        padding-bottom: 38px;
    }
    .info-form-footer {
        display: flex;
        margin-top: 58px;
    }
    .contact-footer {
        margin-top: 16px;
        font-size: 38px;
        line-height: 48px;
        width: 90%;
    }
    .conseiller, .mail {
        width: fit-content;
    }
    .mail p:last-child {
        margin-bottom: 0;
    }
    .info-left {
        width: fit-content;
    } 
    form {
        width: 100%;
        justify-content: space-between;
    }
    .first-button {
        margin-bottom: 0;
    }
    .four-part-footer {
        display: flex;
        margin-top: 6%;
    }
    .input-mail input {
        width: 300px;
        position: absolute;
    }
    .input-mail {
        width: 300px;
    }
    .input-mail .submit {
        position: relative;
        left: 145px;
    }
    .newsletter {
        width: 70%;
    }
    .adress-wrapper, .contact-wrapper {
        margin-right: 44px;
    }
    .adress-wrapper h4, .contact-wrapper h4, .card h4, footer h2 {
        margin-top: 0;
    }
}

/* BURGER MENU */

nav ul.burger {
    display: flex;
    align-items: center;
    list-style: none;
    position: fixed;
    flex-direction: column;
    background-color: #00000065;
    backdrop-filter: blur(2px);
    padding: 0;
    width: 100%;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
    top: 0;
}

nav.burger {
    margin-left: 0 !important;
}

nav ul li a.burger {
    color: white !important;
    font-size: 18px;
}

nav ul li.burger {
    margin: 0;
}

nav li:last-child.burger {
    display: none;
}

nav ul li a:hover {
    color: #3e6553;
    display: flex;
    flex-direction: column;
}

nav ul li a:hover:after {
    content: "";
    animation: width 0.3s linear;
    border-top: 1px solid #3e6553;
}

@keyframes width {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

.ri-moon-line {
    cursor: pointer;
}

/* DARK SCREEN */

body.dark {
    background-color: #1C211F;
    color: white !important;
}

a.dark, .questions-wrapper button.dark {
    color: white !important;
}

.stages-wrapper.dark, .questions-wrapper.dark {
    background-color: #2E3733;
}

.ball.dark, .stage.dark, .questions-wrapper button.dark {
    background-color: #262C29 !important;
    color: white;
}

.stage p:first-child.dark {
    background-color: #3e6553;
}

input.dark, #message.dark {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.follow-wrapper p:first-child.dark {
    color: #3e6553;
}

.socials a.dark {
    color: white;
}

.footer {
    text-align: center;
    color: #A9AAAB;
    font-size: 0.875rem; 
    position: fixed;
    bottom: 1rem;
    left: 1rem;   
}

.footer-link {
    text-decoration: underline;
    color: #A9AAAB;
}

.footer-highlight {
    color: #f472b6; 
}

.notif {
    background-color: #1C211F;
    padding: 14px;
    color: white;
    width: fit-content;
    display: flex;
    align-items: center;
    border-radius: 12px;
    padding-right: 30px;
    position: fixed;
    top: 18px;
    right: -1000px;
}

.notif.show {
    right: 18px;
}

.notif i {
    font-size: 48px;
    margin-right: 18px;
    color: #3e6553;
}

.notif h3 {
    margin: 0;
    font-size: 28px;
}

.notif p {
    margin: 0;
}