body {
    margin: 0;
    padding: 0;
    height: 100vh;
}
html {
    scroll-behavior: smooth;
}
/****** navbar ******/
.navbar {
    border-bottom: 1px solid black;
    position: relative;
}
.navbar a {
    font-size: 20px;
    padding: 10px;
    margin: 0 10px;
    transition: all 0.2s ease-in-out;
}
.navbar a:hover {
    background-color: rgb(180, 178, 178);
    color: blanchedalmond;
    border-radius: 5px;
    transition: all 0.2s ease-in-out;
}
/* responsive */
@media screen and (max-width: 990px) {
    .navbar a:hover {
        background-color: transparent;
    }
}
.imgProfileAcc {
    width: 150px;
}
.titreCompetence {
    margin: 120px 0 20px 0;
}

/* section Accueil */
.accueil {
    width: 100%;
    height: 80vh;
}
.txtAccueil {
    width: auto;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

/* section portfolio */
.card {
    margin-right: 10px;
    transition: all 0.2s ease-in-out;
}
.card:hover {
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

/**** Section About ****/
.about {
    width: 100%;
    height: 90vh;
}
.cont-about {
    width: 80%;
    height: 100%;
}
.cont-cols {
    width: 100%;
    height: 60%;
}
/* responsive about */
@media screen and (max-width: 1200px) {
    .about {
        height: auto;
    }
    .cont-about {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    .cont-cols {
        width: 80%;
    }
    .col-about {
        margin-bottom: 20px;
    }
}

/******* Section Services *******/
.services {
    width: 100%;
    height: 90vh;
}
.cont-services {
    width: 90%;
    height: 100%;
}
.service {
    box-shadow: 5px 5px 15px rgb(180, 178, 178);
    transition: all 0.3s ease-in-out;
    border-radius: 5px;
}
.service:hover {
    box-shadow: 10px 10px 10px rgb(180, 178, 178);
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}
/* responsive services */
@media screen and (max-width: 1200px) {
    .services {
        height: auto;
    }
    .cont-services {
        width: 100%;
        height: auto;
    }
}
@media screen and (max-width: 768px) {
    .service {
        margin-bottom: 20px;
    }
    .cont-services {
        width: 80%;
    }
}
@media screen and (max-width: 576px) {
    .cont-services {
        width: 90%;
    }
    .service {
        margin-bottom: 20px;
    }
}
/******* Contact *******/
.titreContact {
    padding: 40px 0 50px 0;
    /* fusion */
    margin-top: 100px;
}

/**** Scroll top ****/
.scrolltop {
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.3rem;
    color: black;
    background: #fff;
    border-radius: 0.4rem;
    z-index: 100;
    transition: 0.4s;
    visibility: hidden;
}

.scrolltop:hover {
    color: #fff;
    background-color: #000000b0;
    text-decoration: none;
}

.scrolltop__icon {
    font-size: 40px;
}

/* Show scrolltop */
.active {
    visibility: visible;
}

/* === section cookie === */
#cookieModal {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: flex-end;
}
#cookieModal.active {
    display: flex;
}
#cookieContent {
    width: 100%;
    height: auto;
    padding: 20px 20px;
    background-color: var(--main-yellow);
}
#cookieContent img {
    display: block;
    width: 100px;
    margin: 20px auto;
}
#cookieContent p {
    text-align: justify;
    color: #111;
    font-size: var(--text-lg);
    line-height: var(--space-28);
}
#cookieContent a {
    font-size: 18px;
    text-decoration: none;
}
.btns{
    width: 15%;
}
.hide {
    visibility: hidden;
    bottom: 0;
    right: 2em;
}
.show {
    visibility: visible;
    bottom: 2em;
    right: 2em;
}
/* show popup */
@media only screen and (max-width: 600px) {
    #cookiePopup {
        width: 100%;
    }
    .hide {
        bottom: 2em;
        right: 0;
    }
    .show {
        right: 0;
        bottom: 0;
    }
}