/* Texte */

/* Famille de polices */
h1, h4, h6, p {
    font-family: 'Bitter', serif;
}

h2, h3 {
    font-family: 'Raleway', sans-serif;

}

/* Poids et taille des polices */
h1, h2, h3 {
    font-weight: bold;
}

h1, h2 {
    font-size: calc(24px + (36 - 24) * ((100vw - 300px) / (1600 - 300)));
}

h4, h6, p, h3 {
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1600 - 300)));
}

h2 {
    text-align: center;
}

h6{
    font-weight:normal;
}





a:hover {
	color: #FF80E0;
	}

.parent-container {
    display: grid;
    place-items: center;
    height: 10vh; /* Cela prendra toute la hauteur de la fenêtre d'affichage */
    padding-bottoms:50px ; 
}



.about {
    font-family: 'Raleway', sans-serif;
    font-weight: normal;
    border: 2px solid;
    text-decoration: none;
   
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
font-size: calc(20px + (32 - 20) * ((100vw - 300px) / (1600 - 300)));
    

}





.descriptionindex {

      padding-bottom: 30px;

}





/* Conteneurs */

.conteneur {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    align-items: center;
    position: relative;
    margin-bottom: -10px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Si l'écran est de taille moyenne (exemple : tablette) */
@media screen and (min-width: 600px) and (max-width: 1023px) {
    .container {
        /* ajustements pour les tailles d'écran moyennes */
        gap: 30px;
    }
}

/* Si l'écran est grand (exemple : ordinateur de bureau) */
@media screen and (min-width: 1024px) {
    .container {
        flex-direction: row; /* peut-être que vous voulez un affichage en ligne sur de grands écrans */
        gap: 40px;
    }
}




.Conteneur10 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    position: relative;
}

.nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.main {
    background-size: cover;
    background-position: center;
    width: 90%; 
    margin: 20px auto 0;
    padding-bottom: 0;
}

.main2 {
    background-size: cover;
    background-position: center;
    width: 93%; 
    margin: 20px auto 0;
    padding-bottom: 0;
}

/* Banniere */

.banniere, .banniere15 {
    padding: 20px 0;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    z-index: 2;
}

.banniere {
    background-color: white;
}

.banniere15 {
    background-color: black;
}

/* Sommaire */

.motiondesign, .graphisme, .print, .about2 {
    text-align: center;
    margin: 10px 0;
    border: 3px solid;
    transition: all 0.7s;
    width: 90vw;
    background-image: url('images/texture.png');
    background-position: center;
    animation: moveBackground 7s infinite;
}

@keyframes moveBackground {
    0%, 100% { background-position: left; }
    50% { background-position: right; }
}


/* Animation */

a {
    text-decoration: none; /* supprime le soulignement par défaut des liens */
    color: inherit;        /* assure que la couleur du lien est la même que celle du texte */
    display: block;        /* transforme le lien en élément de bloc */
    height: 100%;
    width: 100%;}

.lien
.box a img {
    transition: transform 0.3s ease; /* Assure une transition fluide lors de la transformation */
    display: block; /* Pour éviter le soulignement de lien sous l'image */
}

.box a:hover img {
    transform: scale(1.3); /* Augmente la taille de l'image de 10% lorsqu'on passe la souris dessus */
}

/* Accessoire */

.sommaire2 {color: #FFFFFF;}

.box10{
color: #FFFFFF;
}

.box11
{color: #FFFFFF}

.fin{
	text-align: center;}

.box4 {
    display: grid;
    place-items: center; /* Centre dans les deux directions */
    position: relative;
    z-index: 1;
      top: 0px;
      padding-bottom: 10px;
}

/* Assurez-vous que l'image est responsive */
.box4 img {
    max-width: 100%;
    height: auto;
    display: block;
}




.about2{
    margin-top: 40px; }

.boxin{
    margin-top:-20px;
}


/* Transition 
#transition-slide {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background-color: #000000;
    z-index: -4000; 
    transition: left 0.6s;
}

#transition-slide.active {
    z-index: 2000; 
}

*/

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; 
    z-index: 3000; /* Assurez-vous que le z-index est plus élevé que les autres éléments de votre site */
    opacity: 1;
    transition: opacity 0.6s;
    pointer-events: none;
}





/* Vidéo */

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio pour une vidéo 16:9. Pour d'autres ratios, ajustez cette valeur. */
    overflow: hidden;}

.video {
    position: absolute;
    top: 25px;
    left: 0;
    width: 100%;
    height: 100%;}

.video-description {
    font-size: calc(16px + (24 - 16) * ((100vw - 300px) / (1600 - 300)));
    margin-top: 27px;
    color: #333;
font-family: 'Raleway', sans-serif;}




/* Page 3 */
.image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.image-item {
    width: 90%;
    margin: 0 auto; /* Fusion des margin-left et margin-right */
    box-sizing: border-box;
}

.image-item a, .image-item img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.3s;
}

.image-item a {
    transition: opacity 0.3s;
}

.image-item a:hover {
    opacity: 0.9;
}

.image-item a:hover img {
    transform: scale(1.01);
}

.soustitre {
    margin-top: -10px;
}


/* Page 4 */

.titreprojet, .soustitre2 {
    width: 90%;
    text-align: left;
    margin: 0 auto;
}

.titreprojet {
    font-family: 'Bitter', serif;
    font-weight: bold;
     margin-top: 15px;
}

.soustitre2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    margin-top: 0px;
    padding-bottom: 15px;
}

.spacer {
    height: 40px; 
}

.video-item {
    width: 100%;
    max-width: 100%; 
    position: relative;
}

/* Styles par défaut pour les grands écrans */
.boxAbout, .boxAbout2, .boxAbout3 {
    width: 100%; /* pour occuper toute la largeur */
    border: 2px solid;
    text-align: left;
    padding: 2% 30px;
    box-sizing: border-box; /* pour s'assurer que la largeur totale est de 100%, y compris les bordures et les paddings */


    
}

/* Styles pour les écrans de taille moyenne comme les tablettes */
@media (max-width: 768px) {
    .boxAbout, .boxAbout2, .boxAbout3 {
        padding: 1% 7px;
    }
}

/* Styles pour les petits écrans comme les mobiles */
@media (max-width: 480px) {
    .boxAbout, .boxAbout2, .boxAbout3 {
        padding: 1% 5px;
    }
}



.boxAbout3{

}


.boxAbout h2, .boxAbout h6 {
    margin: 0px 0;
}

.boxAbout2 {
    background-color: #FF80E0;
    overflow-wrap: break-word;
    word-wrap: break-word;     
    overflow: hidden;
}


.conteneur5 {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;}


.titreabout{
text-align: left;


}


#copyText {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    transition: transform 0.2s, color 0.2s;  /* Ajout d'une transition pour l'animation */
}

#copyText:hover {
    transform: scale(1.05);  /* Agrandir légèrement le texte lors du survol */
    color: darkblue;  /* Assombrir la couleur du texte lors du survol */
}

#copyText:active {
    transform: scale(0.95);  /* Réduire légèrement le texte lors du clic */
    color: lightblue;  /* Éclaircir la couleur du texte lors du clic */
}







.photoarthur {
    border: 2px solid;
    display: block;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 2% 30px;
    max-width: 25%; /* Par défaut, pour les écrans plus grands */
}

@media (max-width: 768px) {
    .photoarthur {
        max-width: 65%; /* Pour les écrans de téléphone */
    }
}


