/* RESET ------------------------------------------------------------------------------------------------------ */
body, body *{
    margin: 0;
    padding: 0;
}
body, button{
    line-height: 1.5;
}
.second-title{
    line-height: 1.2
}
ul, ol, li{
    list-style: none;
}
button{
    background-color: transparent;
    border: none;
}
a, button{
    cursor: pointer;
}
.underline, .underline a{
    text-decoration: none;
    display: inline-block;
    color: #000;
}
html{
    scroll-behavior: smooth;
}

/* FONTS --------------------------------------------------------------------------------------------------- */
body{
    font-family: "Nunito", sans-serif;
}
.bold{
    font-weight: 700;
}
.italic{
    font-style: italic;
}
.card-title{
    line-height: 1.2;
    font-weight: 600;
}

/* COULEURS --------------------------------------------------------------------------------------------------- */
/* underline */
.underline::after{
    content: "";
    position: relative;
    width: 100%;
    height: 2px;
    bottom: -0px;
    left: 0;
    display: block;
}
header .underline::after, footer .underline::after{
    bottom: -4px;
}
[data-underline-color="orange"]::after{
   background-color: #FF8A35;
}
[data-underline-color="jaune"]::after{
    background-color: #FFD02B;
}
[data-underline-color="vert"]::after{
    background-color: #34A072;
}
[data-underline-color="brun"]::after{
    background-color: #A7865F;
}

/* text */
[data-text-color="orange"]{
    color: #FF8A35;
}
[data-text-color="jaune"]{
     color: #FFD02B;
}
[data-text-color="vert"]{
     color: #34A072;
}
[data-text-color="brun"]{
     color: #A7865F;
}

/* COPIED */
[data-border-color="orange"]{
    border-color: #FF8A35;
}
[data-border-color="jaune"]{
    border-color: #FFD02B;
}
[data-border-color="vert"]{
    border-color: #34A072;
}
[data-border-color="brun"]{
    border-color: #A7865F;
}
/* POSITION --------------------------------------------------------------------------------------------------- */
.flex{
    display: flex;
}
.flex--col{
    flex-direction: column;
}
.flex--right{
    justify-content: flex-end;
    margin: 30px 20px 100px 0;
}
footer .flex{
    gap: 20px;
}
.inline{
    display: inline;
}
.inline-block{
    display: inline-block;
}
.block{
    display: block
}
.hidden{
    display: none;
}
.no-opacity{
    opacity: 0;
    pointer-events: none;
}
@keyframes fading{
    0% { 
        opacity: 0; 
        transform: translateY(0);
    }
    40% { 
        opacity: 1; 
        transform: translateY(-100%);
    }
    80% { 
        opacity: 1; 
        transform: translateY(-100%);
    }
    99% { 
        opacity: 0; 
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}
#mail{
    height: min-content;
}
.copy-icon{
    pointer-events: none;
    position: relative;
    top: 4px;
}
.relative{
    position: relative;
}
.copied{
    position: absolute;
    text-align: center;
    z-index: 1000;
    border-style: solid;
    border-width: 2px;
    background-color: #fff;
    top: -5px;
    padding: 5px;
    width: calc(100% - 10px);
}
footer li{
    width: fit-content;
}
header{
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}
header .flex{
    gap: 16px;
}
.section-1.flex--col{
    align-items: center;
    margin-top: 30px;
}
.linkedin img, .facebook img{
    height: 34.4px;
}

/* PATTERNS --------------------------------------------------------------------------------------------------- */
.section-1, .section-3{
    position: relative;
    overflow: hidden;
}
.section-1::after, .section-3::after{
    content: "";
    position: absolute;
    display: block;
    background-repeat: no-repeat;
    z-index: -1;
}

.section-1::after{
    width: 150%;
    height: 150%;
    top: -35;
    left: -40px;
    background-image: url("../assets/images/pattern-1--mobile.png");
}

.section-3::after{
    width: 150%;
    height: 150%;
    bottom: -1190px;
    left: -90px;
    background-image: url("../assets/images/pattern-1--mobile.png");
}