:root {
    --main-color: rgb(40, 112, 11);
    --second-color: #071402ff;
   --font: "EB Garamond", serif;
    --radius: 5px;
}

*,html {
    font-family: var(--font);
}
*::selection {
    background-color: #000;
    color: #fff;
}
h1, h2, h3, h4, h5, h6, span {
    /*line-height: 1.2;*/
    visibility: visible;
}

body {
    font-family: var(--font);
}

header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.863), rgba(3, 3, 3, 0.218)),
    url('../img/img\ \(2\).jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    border-radius: 0px;
    height: 950px;
}
header h1 {
    animation: fadeInUp 1s;
    font-family: Lustria;
}

section h4 {
    color: var(--main-color);
}

/* Ajoutez ceci à votre fichier CSS principal (e.g., style.css) */
.fade-out-bottom {
    position: relative;
    overflow: hidden; /* Nécessaire pour cacher le contenu */
}

.fade-out-bottom::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px; /* Ajustez la hauteur du dégradé selon votre besoin */
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
}

#services #card {
    animation: zoomIn 1s;
    background-size: cover;
    border-radius: 2px;
    height: 500px;
    transition: all 0.3s ease-in 0s;
}
#services #card:hover {
    transform: translateY(10px);
    opacity: 0.7;
}
#services #card:nth-child(1) {
    background-image: linear-gradient(to top, rgba(8, 8, 8, 0.541), rgba(8, 8, 8, 0.147)),
    url('../img/img\ \(1\).jpg');
    height: 50vh;
}
#services #card:nth-child(2) {
    background-image: linear-gradient(to top, rgba(8, 8, 8, 0.541), rgba(8, 8, 8, 0.147)),
    url('../img/img\ \(4\).jpg');
    height: 25vh;
}
#services #card:nth-child(3) {
    background-image: linear-gradient(to top, rgba(8, 8, 8, 0.541), rgba(8, 8, 8, 0.147)),
    url('../img/img\ \(2\).jpg');
    height: 25vh;
}

footer {
    background-color: #000;
    border-radius: 0px;
}