@font-face {
    font-family: "Cabinet Grotesk";
    src: url(../font/CabinetGrotesk-Regular.otf);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    margin: 0 auto;
    position: relative;
    background: rgb(240, 253, 244);
    background: linear-gradient(90deg, rgba(240, 253, 244, 1) 0%, rgba(240, 253, 244, 1) 80%, rgba(255, 255, 255, 1) 100%);
    width: 95%;
    max-width: 1920px;
    min-height: 300px;
}

header {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    background-color: white;
    box-shadow: 0px 10px 15px -3px #161619;
    align-items: center;
}

header>h2>img {
    height: 67px;
    width: 70%;
    object-fit: contain;
}

header>button {
    padding: 10px 15px;
    border-radius: 30px;
    color: #166534;
    background-color: white;
    border-color: rgba(0, 0, 0, .3);
    /* border-width: 0; */
    /* box-shadow: 0px 10px 15px -3px #161619; */

}

.feuille {
    position: absolute;
    top: 180px;
    left: 15%;
    background-image: url(../imgs/feuille.png);
    width: 128px;
    height: 128px;
    background-size: contain;
    background-repeat: no-repeat;
}

.soleil {
    position: absolute;
    top: 230px;
    right: 15%;
    background-image: url(../imgs/soleil.png);
    background-repeat: no-repeat;
    width: 128px;
    height: 128px;
    background-size: contain;

}

.hero {
    padding-top: 70px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.hero>h1 {
    font-family: "Cabinet Grotesk", serif;
    font-size: 3rem;
    font-weight: 700;
    color: #166534;
    max-width: 539px;
    text-align: center;

}

.hero>h2 {
    font-size: 2rem;
    font-family: "Cabinet Grotesk", serif;
    font-weight: normal;
    max-width: 1020px;
    text-align: center;
}

.btn-valid {
    padding: 20px 50px;
    background-color: #070B38;
    color: #FFFFFF;
    border-radius: 5px;
    transition: all ease .8s;
}

.btn-valid:hover,
.btn-valid:active {
    cursor: pointer;
    background-color: #222A7C;
}

.card-wrapper {
    padding: 0px 20px;
    padding-top: 50px;
    margin-bottom: 150px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.card-wrapper>article {
    box-shadow: 0px 10px 15px -3px #161619;
    background: rgb(121, 196, 222);
    background: radial-gradient(circle, rgba(147, 197, 214, 0.6) 0%, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 1) 100%);
    border-radius: 10px;
    min-width: 300px;
    width: 30%;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 20px 10px;
}

.card-wrapper>article>img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.card-wrapper>article>h3 {
    font-weight: 500;
    font-size: 1.5rem;
    font-family: "Cabinet Grotesk", serif;
}

.card-wrapper>article>p {
    font-weight: normal;
    padding-top: 40px;
    font-size: 1.2rem;
    font-family: "Cabinet Grotesk", serif;
}

footer {
    padding: 10px;
    margin-top: 50px;
    background-color: rgba(39, 206, 91, .1);
    display: flex;
    align-items: center;
    flex-direction: column;
}

footer>nav {
    width: 100%;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: white;
    padding: 30px 10px;
    margin-bottom: 10px;
}

footer>nav>a,
footer>nav>a:visited {
    color: black;
    text-decoration: none;
}

footer>nav>a:hover,
footer>nav>a:active {
    cursor: pointer;
    text-decoration: underline;
}

@media screen and (max-width:760px) {
    footer>nav {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }

}