@font-face {
    font-family: GEO ;
    src: url(_sources/_fonts/Geo-Regular.ttf);
}

@font-face {
    font-family: ANTA ;
    src: url(_sources/_fonts/Anta-Regular.ttf);
}



body {
    margin: 0;
    background-color: rgb(231, 230, 240);
    background-repeat: no-repeat;
    background-size: 100%;
    background-origin: border-box;     
}


.background {
    width: 100%;  
    height: 100vh;
    position: absolute;
    z-index: -2;    
}

.content {
    margin: 0 30em 0 30em;
    z-index: 2; 
}

.aboutme, .link_blocks {
    position: relative; /* Assure que ces sections sont également au-dessus de l'image */
    z-index: 1;
}

header {
    top: 0;
    position: sticky;
    background-color: rgba(222, 221, 240, 0.6);
    box-shadow: 1px 1px 5px rgba(76, 74, 217, 0.4);
    backdrop-filter: blur(3px);
    padding: 1% 0 1% 0;
    z-index: 3;
}

header nav .home {
    display: flex;
    color: rgba(76, 74, 217, 1)
}

header nav .navlist {
    display: flex;
    justify-content: flex-end; text-decoration: none;
    align-items: center;
    list-style-type: none;
    color: rgba(76, 74, 217, 1); text-decoration: none;   
}

header nav li {
    margin-left: 50px;
    color: rgba(76, 74, 217, 1); text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: ANTA, sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0 15% 0 15%;
}

header nav a:link {
    color: rgba(76, 74, 217, 1); text-decoration: none;
}

header nav a:visited {
    color: rgba(76, 74, 217, 1); text-decoration: none;
}



.maintxt {
    text-align: center;
    color: rgb(76, 74, 217);
    text-transform: uppercase;
    margin: 30% 0 25% 0;  
}

.maintxt h1 {
    display: flex;
    font-family: GEO, sans-serif;
    font-size: 52px;
    justify-content: center;
}

.maintxt h2 {
    display: flex;
    font-family: ANTA, sans-serif;
    font-weight: 900;
    font-size: 24px;
    justify-content: center;
    margin: 5% 10% 0 10%;    
}

.maintxt i {
    display: flex;
    justify-content: center;
    margin-top: 30%;
    font-size: 40px;
    color: rgba(76, 74, 217, 1);
    
}

.aboutme {
    margin: 0 0 10vh 0;
    text-align: center;
}

.aboutme h1 {
    margin-top: 7%;
    font-family: GEO;
    font-size: 50px;
    color: #4D4AD9;
}

.aboutme p {
    margin: 7% 20% 0 20%;
    font-family: ANTA, sans-serif;
    font-size: 14px;
    line-height: 25px;
    color: rgba(76, 74, 217, 1);
}

.aboutme .img_me {
    height: 30%;
    width: 30%;
    border-radius: 50%;
    
}

.aboutme .img {
    display: flex;
    justify-content: center;
    
}

.link_blocks {
    display: flex;
    justify-content: center;
    margin: 10% auto 5% auto;
    display:grid;
    grid-template-columns: 250px 250px;
    grid-template-rows: 250px 250px;
    grid-column-gap: 30px;
    grid-row-gap: 30px;
  }

.link_blocks div {
    background-color:rgba(76, 74, 217,0.5);
    border-radius:10px;
    display:flex;
    align-items: end;
    justify-content:start;
    font-size: 22px;
    font-family: ANTA, sans-serif;
    color: rgb(231, 230, 240);
    box-shadow: 0px 0px 15px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* box cv */

.link_blocks .box_cv {
    padding: 0;
    position: relative;

}

.link_blocks .box_cv a {
    z-index: 2;
    position: relative;
    width: 100%;
    height: 100%;
}

.box_cv img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 20%;
    position: absolute;
    border-radius: 10px;
    transition: 0.5s;
}

.link_blocks .box_cv .cv {
    position: absolute;
    padding: 20px;
    z-index: 2;
}



.link_blocks .box_cv img:hover {
    scale: 120%;
    opacity: 100%;
}

/* box mon stage */

.link_blocks .box_stage {
    padding: 0;
    position: relative;
}

.link_blocks .box_stage img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 20%;
    border-radius: 10px;
    transition: 0.5s;
}

.box_stage .stage {
    padding: 20px;
    z-index: 2;
}

.link_blocks .box_stage a {
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
}

.link_blocks .box_stage img:hover {
    scale: 120%;
    opacity: 100%;
}

/* box realisations */

.link_blocks .box_real {
    padding: 0;
    position: relative;
}

.link_blocks .box_real img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 20%;
    border-radius: 10px;
    transition: 0.5s;
}

.link_blocks .box_real a {
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
}

.link_blocks .box_real .real {
    padding: 20px;
    z-index: 2;
}

.link_blocks .box_real img:hover {
    scale: 120%;
    opacity: 100%;
}

/* box synthese */

.link_blocks .box_synt {
    padding: 0;
    position: relative;
}

.link_blocks .box_synt img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: 20%;
    border-radius: 10px;
    transition: 0.5s;
}

.link_blocks .box_synt a {
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
}

.link_blocks .box_synt .synt {
    padding: 20px;
    z-index: 2;
}

.link_blocks .box_synt img:hover {
    scale: 120%;
    opacity: 100%;
}

footer {
    background-color: rgba(222, 221, 240, 0.6);
    box-shadow: 1px 1px 5px rgba(76, 74, 217, 0.4);
    backdrop-filter: blur(3px);
    padding: 1% 0 1% 0;
    font-size: 18px;
}

footer .footer_content {
    margin: 0 15% 0 15%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: ANTA, sans-serif;
    color: rgba(76, 74, 217, 1); text-decoration: none;
}

footer .contact {
    display: flex;
    align-items: center; 
}

footer .contact .mail {
    display: flex;
    margin-left: 30px;

}

footer .copyright {
    display: flex;
    align-items: center;
}

footer .copyright .copymoi {
    margin-left: 30px;
}

