/* styles.css */
body {
    background-color: white;
    color: black;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Lato';
    font-weight: 400; /* Regular */
    overflow-x: hidden;
}

p{
    margin: 0%;
}

.hero{
    position: relative;
}

.minitext {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    transform: rotate(90deg) translate(-32px, -32px);
    transform-origin: bottom left;
    width: 100%;
    height: min-content;
    align-items: start;
    justify-content: start;
    gap: 12px;
}
    .carrenoir {
    width: 10px;
    height: 50px;
    background-color: black;

    }
    .creertexte{
    font-weight: bold;
    font-size: 12px;
    width: 25%;
    }

.alexisjuhel{
    position: absolute;
    display: flex;
    height: 25%;
    right: 5%;
    z-index: 2;
}
    /* Titre principal */
    .alexis {
        font-size: 128px;

    
    }

    .juheletoile{
        display: flex;
        align-items: center;
        align-self: flex-end;
    }

    .juhel {
        font-size: 36px;
    }

    .etoile{

        width: 63px;
        height: 63px;
    }


.images{
    display: flex;
    position: relative;
    align-items: center;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    margin-top: 5%;
}
    .photomoi{
        width: 60%;
        height: 80%;
        object-fit: cover;
    }
    .carreorange{
        position: absolute;
        right: 10%;
        bottom: 5%;
        background-color: #FA4918;
        width: 600px;
        height: 450px;
        opacity: 80%;
    }

/* Contenu central */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.milieu{
    position: relative;
}

.biologo{

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 5%;
    padding-bottom: 10%;
    gap: 140px;
}

.carrenoir2 {
    height: auto;
    width: 50px;
    background-color: black;

}

/* Section "À propos de moi" */
.bio {
   font-size: 16px;
   display: flex;
   justify-content: center;
   gap: 16px;
}

.hautbras{
    position: absolute;
    top: 52%;
    right: 20vw;
}

/* Bouton "Voir mes projets" */
.projets {
    text-align: center;
    margin: 3rem 0;
    padding-bottom: 10%;
}

.projets a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #FA4918;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: text-decoration-color 0.4s ease, text-underline-offset 0.4s ease;
}

.projets a:hover {
    text-decoration: underline;
  text-decoration-color: #FA4918;
  text-underline-offset: 2px;
}

.basmain{
    position: absolute;
    left: 0%;
    z-index: 0;
    height: 50vh;
}

.mask{
    position: absolute;
    right: 0%;
    height: 50vh;
}

/* .basmain::after{
    content: url('image/hautbras.svg');
    position: absolute;
  top: 0; /* Ajuste pour aligner */
  /* right: 100%; 
  width: 100px;
  height: 100px; 
} */ 

/* Section des réseaux sociaux */
.contact-section {
    text-align: center;
    background: #fff;
  }


h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: black;
  }
  .icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
  }
  .icons a {
    text-decoration: none;
    color: #FA4918 ;
    font-size: 30px;
    transition: transform 0.3s, color 0.3s;
  }
  .icons a:hover {
    transform: scale(1.2);
    color: #0077b5;
  }
  .icons a.mail:hover {
    color: #c71610;
  }

.mentions{
    padding-top: 5%;
    padding-bottom: 2%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    gap: 16px;
}

.mentionlegales{
   
    color: #7B7B7B;
    
}

@media (max-width: 500px) {
   .alexisjuhel{
    left: 5%;
    height: 20%;
   }
   .biologo {
    flex-direction: column;
  }
  .alexis {
    font-size: 100px;
  }
  .juhel {
    font-size: 25px;
  }
  .etoile {
    width: 40px;
    height: 40px;
}
.photomoi {
    width: 80vw;
    height: 50vh;
}
.carreorange {
    right: 5%;
    width: 60vw;
    height: 40vh;
}
.minitext{
    opacity: 0;
}
.basmain{
    opacity: 0;
    z-index: -40;
}

.mask{
    opacity: 0;
    z-index: -40;
}
  }
 