/* Styles définis dans le CSS externe */

.header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    color: white;
}

.logo {
    width: 105px;
    height: auto;
    margin: 0 auto;
}

.profile-pic {
    width: 150px; /* Redimensionne la photo de profil */
    height: 150px; /* Redimensionne la photo de profil */
    background-image: url(images/profil.png); /* Définit l'image de fond */
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin: 20px auto 0; /* Décale la photo de profil du bord supérieur du conteneur */
    transition: transform 0.5s ease-in-out; /* Ajoute une transition à la propriété transform */
}

.profile-pic.rotate {
    transform: rotate(360deg); /* Fait tourner l'image de 360 degrés */
}

@font-face {
    font-family: 'Bangers';
    src: url('polices/Bangers-Regular.ttf') format('truetype');
    /* Ajoutez ici d'autres variantes de la police si nécessaire (gras, italique, etc.) */
}

@font-face {
    font-family: 'OpenSansVariable';
    src: url('polices/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-stretch: 75% 125%;
}

h1 {
    font-family: 'Bangers', sans-serif;
    color: #1F2937;
    /* Ajoutez ici d'autres styles de titre h1 selon vos besoins */
}


.icon-badge {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1F2937;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
}

.icon-badge i {
    font-size: 20px;
    color: #ADD8E6;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons .link {
    margin: 0 10px;
}

.language-buttons {
    text-align: center;
    margin-bottom: 20px;
}

.language-buttons .btn {
    background-color: transparent;
    border: none;
    color: #333;
    font-size: 14px;
    padding: 6px 12px;
    transition: all 0.3s ease;
    background-size: contain;
    background-repeat: no-repeat;
}

.language-buttons .btn img {
    width: 20px;
}

.language-buttons .btn:hover {
    background-color: #f8f9fa;
    color: #555;
}

body {
    font-family: 'OpenSansVariable', sans-serif;
    background-image: url('https://source.unsplash.com/random');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 0;
    margin: 0;
}


.main-container {
	width: 50vw; /* Utilisation de 90% de la largeur de la fenêtre du navigateur */
    max-width: 600px; /* Ajout d'une largeur maximale pour que le conteneur ne devienne pas trop large sur les grands écrans */    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}


.link {
    background-color: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.link:hover {
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.2);
    background-color: #f0f0f0;
}

.link .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
}

.link span {
    color: #333333;
    font-weight: bold;
      margin-left: 30px;
}

/* Media query pour les petits écrans */
@media screen and (max-width: 600px){
  
  .main-container {
        width: 100vw; /* Utilisation de 90% de la largeur de la fenêtre du navigateur pour les appareils mobiles */
        max-width: none; /* Réinitialisation de la largeur maximale pour les appareils mobiles */
        margin-top: 20px; /* Ajout d'un espace en haut pour les appareils mobiles */
        margin-bottom: 20px; /* Ajout d'un espace en bas pour les appareils mobiles */
        padding: 10px; /* Réduction de l'espacement intérieur pour les appareils mobiles */
    }

  
    .link {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .link .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .link span {
        margin-left: 0;
    }
}

.footer {
    color: #001F3F;
    text-align: center;
    padding: 20px;
}

.footer-content {
    display: inline-block;
    vertical-align: middle;
}

.footer-logo {
    width: 85px;
    height: auto;
    margin-right: 10px;
}

.footer-text {
    font-size: 18px;
}

.bg-custom-footer {
  background-color: #1F2937;
}



.btn-custom {
  background-color: #ffffff; /* changer fff à #ffffff */
  color: #1F2937;
  border: 2px solid rgba(255, 255, 255, 1);
}

@media (min-width: 768px) {
  .custom-copyright {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

