*, ::after, ::before {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: 'DM Sans', sans-serif;
}

body {
    width: 100vw;
    background: #F1F1F1;
    min-height: 100vh;
    overflow-x: hidden;
}

#Home{
    display: block;
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
}

/* ------------------------------NAVBAR------------------------------ */
.nav-bar{
    width: 50vw;
    height: 130px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.item-nav{
    display: inline-block;
    margin-right: 30px;
    line-height: 130px;
}

.item-nav a{
    text-decoration: none;
    color: #4193A0;
    font-size: 25px;
    padding: 7px 30px;
    border: 1px solid #4193A0;
    border-radius: 9999px;
}
.item-nav a:hover{
    background: #4193A0;
    color: #F1F1F1;
    border: 1px solid #F1F1F1;
    transition: all 0.4s ease;
}

.item1{
    margin-left: 100px;
}
.navresp{
    position: fixed;
    top: 0;
    display: block;
    height: 70px;
    width: 100vw;
    background: #F1F1F1;
    display: none;
    z-index: 3;
}

.cont-lignes {
    width: 50px;
    height: 70%;
    /* background: teal; */
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 90%;
    transform: translate(-50%, -50%);
}

.lignes {
    width: 90%;
    height: 5px;
    border-radius: 5px;
    background: #4193A0;
    position: absolute;
    transition: all 0.3s ease-in-out;
    transform: translateY(-50%);
}

.lignes:nth-child(1) {
    top: 25%;
}
.lignes:nth-child(2) {
    top: 50%;
}
.lignes:nth-child(3) {
    top: 75%;
}

.btn1.active .lignes:nth-child(1){
    top: 45%;
    background: crimson;
    transform: rotate(135deg);
}
.btn1.active .lignes:nth-child(2){
    opacity: 0;
    transform: translateX(-20px);
}
.btn1.active .lignes:nth-child(3){
    top: 45%;
    background: crimson;
    transform: rotate(-135deg);
}

/* --------------------RESPONSIVE-------------------- */

@media screen and (max-width: 1800px) {
        .nav-bar{
            width: 60vw;
        }
    
        .item-nav{
            margin-right: 20px;
        }
        .item-nav a{
            font-size: 23px;
            padding: 7px 25px;
        }
}
@media screen and (max-width: 1400px) {
    .item-nav a{
        font-size: 20px;
        padding: 7px 20px;
    }
}
@media screen and (max-width: 1200px) {
    .nav-bar{
        width: 100vw;
        height: 10%;
    }
    .item-nav{
        line-height: 10%;
    }
   .item1{
    margin-left: 50px;
   }

}
@media screen and (max-width: 900px) {
    .item1{
        margin-left: 0;
    }
    .nav-bar{
        justify-content: center;
    }
}

@media screen and (max-width: 650px) {
    .navresp {
        display: block;
    }
    .nav-bar {
        position: fixed;
        padding-top: 70px;
        height: auto;
        justify-content: center;
        text-align: center;
        background: #F1F1F1;
        display: none;
        z-index: 2;
    }
    .nav-bar.disp {
        display: flex;
        flex-direction: column;
    }

    .item-nav{
        width: 100%;
        margin: auto auto 10px auto;
    }
    .item-nav:last-of-type{
        margin-bottom: 20px;
    }
    .item1{
        margin-left: auto;
    }
    .item-nav a{
        display: inline-block;
        margin: 15px auto;
        border: 0;
    }
    .item-nav::after {
        content: '';
        display: block;
        margin: 5px auto auto auto;
        width: 0%;
        height: 2px;
        background: #4193A0;
        transition: width 0.2s ease;
    }
    .item-nav:hover::after {
        width: 70%;
    }
    .item-nav a:hover {
        background: transparent;
        color: #4193A0;
        border: 0;
    }

}

/* ------------------------------Titre------------------------------ */

.main-title{
    height: 100%;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}
.main-title h1{

    font-family: 'Dela Gothic One', sans-serif;
    font-size: 140px;
    line-height: 125px;
    padding-left: 100px;
    color: #4193A0;
    text-shadow: 8px 8px 0 #D8AE98;
}
.main-title h3 {
    padding-left: 150px;
    font-size: 100px;
    font-weight: 100;
    color: #4193A0;
}

.title-line {
    margin : 50px 0px 20px 150px;
    width: 85vw;
    border: 1.5px solid #4193A0;
    z-index: -2;
}

/* --------------------RESPONSIVE-------------------- */

@media screen and (max-width: 1800px) {
    .main-title h1 {
        font-size: 120px;
        line-height: 110px;
        margin-bottom: 10px;
        text-shadow: 6px 6px 0 #D8AE98;
    }
    .main-title h3 {
        padding-left: 150px;
        font-size: 90px;
    }
    .title-line {
        margin : 30px 0px 30px 150px;
    }
}
@media screen and (max-width: 1200px) {
    .main-title h1 {
        padding-left: 50px;
        font-size: 100px;
        line-height: 90px;
        margin-bottom: 10px;
        text-shadow: 5px 5px 0 #D8AE98;
    }
    .main-title h3 {
        padding-left: 100px;
        font-size: 70px;
    }
    .title-line {
        margin : 30px 0px 30px 100px;
    }
}
@media screen and (max-width: 900px) {
    .main-title{
        justify-content: flex-start;
    }
    .main-title h1 {
        margin-top: 2%;
        font-size: 70px;
        line-height: 60px;
        margin-bottom: 15px;
    }
    .title-line {
        margin: 10px 0px 10px 60px;
    }
    .main-title h3 {
        padding-left: 60px;
        font-size: 50px;
        text-shadow: 1px 1px 0 #F1F1F1;
    }
}
@media screen and (max-width: 650px) {
    .main-title {
        flex-direction: row;
        justify-content: flex-start;
        height: auto;
        padding-top: 70px;
    }
    .main-title h1 {
        margin-top: 0;
        text-shadow: 4px 4px 0 #D8AE98;
        padding-left: 10%;
        font-size: 50px;
        line-height: 40px;
    }
    .main-title h3 {
        padding-left: 10%;
    }
    .title-line {
        width: 80%;
        border-radius: 9999px;
        margin: 0 auto;
    }
}
@media screen and (max-width: 450px) {
    .main-title h1 {
        text-shadow: 3px 3px 0 #D8AE98;
        font-size: 40px;
        line-height: 33px;
        margin-bottom: 10px;
    }
    .main-title h3{
        font-size: 45px;
    }
}

/* ------------------------------Main IMG------------------------------ */

.main-pic{
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    width: 60%;
    border-radius: 450px 0 0 450px;
    background: url(RSC/MAIN-BG.jpg);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
    /* border: 3px solid crimson; */
}

/* --------------------RESPONSIVE-------------------- */

@media screen and (max-width: 1400px) {
    .main-pic{
        width: 55%;
    }
}

@media screen and (max-width: 1200px) {
    .main-pic{
        top: 10%;
        height: 90%;
        bottom: 0;
        width: 60%;
    }
}
@media screen and (max-width: 900px) {
    .main-pic{
        width: 90%;
        border-radius: 100% 0% 0% 50% / 65% 0% 0% 35%;
    };
}
@media screen and (max-width: 650px) {
    .main-pic{
        top: 65%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%);
        border-radius: 50px;
        width: 80%;
        height: 65%;
    }
}

/* ------------------------------DIV ABOUT------------------------------ */

#about{
    height: 100vh;
}
.about-container{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #4193A0;
}
.about-container h2{
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 70px;
    margin: 15vh auto 10vh 100px;
    color: #F1F1F1;

}

.about-container p {
    padding-left: 100px;
    padding-right: 100px;
    margin-bottom: 20vh;
    color: #F1F1F1;
    font-size: 45px;
    
}

/* --------------------RESPONSIVE-------------------- */

@media screen and (max-width: 1800px) {
    .about-container h2 {
        font-size: 60px;
    }
    .about-container p {
        font-size: 40px;
    }
    
}
@media screen and (max-width: 1650px) {
    .about-container h2 {
        font-size: 55px;
    }
    .about-container p {
        font-size: 35px;
    }
    
}
@media screen and (max-width: 1400px) {
    .about-container h2 {
        font-size: 50px;
    }
    .about-container p {
        font-size: 30px;
    }
    
}
@media screen and (max-width: 1200px) {
    .about-container h2 {
        font-size: 45px;
    }
    .about-container p {
        font-size: 25px;
    }
    
}
@media screen and (max-width: 900px) {
    .about-container h2 {
        margin: 15vh auto 10vh auto;
        font-size: 30px;
    }
    .about-container p {
        text-align: center;
        font-size: 20px;
    }  
}
@media screen and (max-width: 650px) {
    .about-container p {
        padding-left: 50px;
        padding-right: 50px;
    }  
}
@media screen and (max-width: 550px) {
    .about-container h2 {
        font-size: 25px;
    }
    .about-container p {
        padding-left: 30px;
        padding-right: 30px;
    }  
}
@media screen and (max-width: 450px) {
    .about-container h2 {
        font-size: 20px;
        margin: 10vh auto 5vh auto;
    }
    .about-container p {
        padding-left: 20px;
        font-size: 18px;
        padding-right: 20px;
    }  
}
@media screen and (max-height: 500px) {
    .about-container h2{
        margin: 8vh auto 5vh auto;
        font-size: 20px;
    }
    .about-container p{
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 8vh;
        font-size: 18px;
    }
}
/* ------------------------------CREATIONS------------------------------ */

#creations {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #F1F1F1;
}
.crea-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.crea-data{
    color: #4193A0;
    margin-top: 3.5rem;
    width: 328px;
}

.crea-title{

    margin-bottom: 1.5rem;
    font-family:'Dela Gothic One', sans-serif;
    font-size: 20px;
}

.crea-desc{
    font-style: italic;
    font-size: 18px;
}

.card-container {
    height: auto;
    display: grid;
    grid-auto-rows: auto;
    align-items: center;
    justify-content: center;
    margin-inline: 1.5rem;
    padding-block: 5rem;
    row-gap: 3.5rem
}
.card{
    display: grid;

}

.card-article {
    position: relative;
    overflow: hidden;
}

.card-img {
    width: 328px;
    border-radius: 1.5rem;
}

.card-data {
    width: 280px;
    background-color:#F1F1F1;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
    position: absolute;
    bottom: -9rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    opacity: 0;
    transition: opacity 1s 1s;
}

.card-description {
    display: block;
    color: #4193A0;
    margin-bottom: 0.25rem;
}

.card-buttun {
    text-decoration: none;
    font-weight: 500;
    color: #D8AE98;
}

.card-buttun:hover {
    text-decoration: underline;

}

.card-article:hover .card-data{
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity 0.3s;

}

.card-article:hover {
    animation: remove-overflow 2s forwards;
}

.card-article:not(:hover) {
    animation: show-overflow 2s forwards;
}

.card-article:not(:hover) .card-data{
    animation: remove-data 1s forwards;
}

@keyframes show-data{
    50%{
        transform: translateY(-10rem);
    }
    100%{
        transform: translateY(-7rem);
    }
}

@keyframes remove-overflow {
    to{
        overflow: initial;
    }
    
}

@keyframes remove-data{
    0%{
        transform: translateY(-7rem);
    }
    50%{
        transform: translateY(-10rem);
    }
    100%{
        transform: translateY(0.5rem);
    }
}

@keyframes show-overflow {
    0%{
        overflow: initial;
        pointer-events: none;
    }
    50%{
        overflow: hidden;
    }

}

/* --------------------RESPONSIVE-------------------- */

@media screen and (max-width: 380px) {
    .card-container{
        margin-inline: 1rem;

    }
    .crea-data{
        width: 300px;
    }
    .card-img{
        width: 300px;
    }

    .card-data{
        width: 250px;
        padding: 1rem;
    }
}

@media screen and (min-width: 450px){
    .crea-title{
        font-size: 25px;
    }
    .crea-desc{
        font-size: 20px;
    }
}

@media screen and (min-width: 750px) {
    .crea-data{
        width: 600px;
    }
    .crea-title{
        font-size: 30px;
    }
    .card-container{
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }
}

@media screen and (min-width: 900px){
    .crea-title{
        font-size: 45px;
    }
    .crea-desc{
        font-size: 25px;
    }
}

@media screen and (min-width: 1150px) {
    .crea-title{
        font-size: 50px;
    }
    .crea-desc{
        font-size: 30px;
    }
    .crea-data{
        width: 900px;
    }
    .card-container{
        grid-template-columns: repeat(3, 1fr);
        column-gap: 2rem;
    }
}

@media screen and (min-width: 1300px) {
    .card-img{
        width: 400px;
    }
    .card-data{
        width: 350px;
        padding: 2rem;
    }
}

@media screen and (min-width: 1400px){
    .crea-title{
        font-size: 55px;
    }
    .crea-desc{
        font-size: 35px;
    }
}

@media screen and (min-width: 1650px) {
    .card-img{
        width: 500px;
    }
    .card-data{
        width: 450px;
        padding: 2rem;
    }
}

@media screen and (min-width: 1400px){
    .crea-title{
        font-size: 60px;
    }
}

@media screen and (min-width: 2300px) {
    .card-img{
        width: 600px;
    }
}
/* ------------------------------CONTACTS------------------------------ */

#contact{
    height: 30vh;
    display: block;
    background: #4193A0;
}

.contact-container{
    color: #F1F1F1;
    display: block;
    text-align: center;
}
.contact-container h3{
    text-transform: uppercase;
    font-size: 22px;
    padding-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Dela Gothic One', sans-serif;
}
.name{
    font-weight: 900;
    font-size: 20px;
}
.mail, .linkdin, .insta{
    color: #F1F1F1;
    text-decoration: none;
    display: block;
}

.contact-container hr{
    color: #F1F1F1;
    margin: 1rem auto 1rem auto;
}

.copyright{
    margin-bottom: 1.5rem;
    font-style: italic;
}
@media screen and (max-height: 700px){
    #contact{
        height: 40vh;
    }
}
@media screen and (max-height: 500px){
    #contact{
        height: 55vh;
    }
}
@media screen and (min-height: 1200px){
    #contact{
        height: 20vh;
    }
}