

@font-face {
    font-family: 'swiper-icons';
    src: url('swiper-icons.eot'); /* IE9 Compat Modes */
    src: url('swiper-icons.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('swiper-icons.woff') format('woff'), /* Modern Browsers */
         url('swiper-icons.ttf')  format('truetype'), /* Safari, Android, iOS */
         url('swiper-icons.svg#swiper-icons') format('svg'); /* Legacy iOS */
    font-weight: normal;
    font-style: normal;
}



/* Form Styles */
form {
    margin-left: 40px; /* Ajoutez la marge ici */
}


/* Styles for input fields */
.form-input,
input[type="text"],
input[type="password"],
textarea {
    width: 50%;
    padding: 8px;
    margin: 5px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

.form-input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    border-color: #caa255;
    outline: none;
}

/* Button Styles */
button#show-password-form,
button[name="change_name"],
button[name="confirm_cancel_subscription"],
button#cancel-subscription,
button.btn-primary {
    background-color: #caa255;
    color: white;
    padding: 10px 10px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

button#show-password-form:hover,
button[name="change_name"]:hover,
button[name="confirm_cancel_subscription"]:hover,
button#cancel-subscription:hover,
button.btn-primary:hover {
    background-color: #b08f46;
}

button.disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    pointer-events: none; /* Ensure that the button is non-clickable */
}

.contact-form-container {
    text-align: left;
}


/* Contact Form Styles */
.contact-form {
    max-width: 600px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}

.contact-form .form-group input.form-input,
.contact-form .form-group textarea.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: border-color 0.3s;
}

.contact-form .form-group input.form-input:focus,
.contact-form .form-group textarea.form-input:focus {
    border-color: #caa255;
    outline: none;
}

.contact-form button.btn-primary {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #caa255;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
    text-align: center;
}

.contact-form button.btn-primary:hover {
    background-color: #b08f46;
}

/* Profile Section Image */
.profile-section-image {
    text-align: center;
    margin-top: 20px;
}

/* Carousel Section */
.carousel-section {
    margin-top: -40px;
}

/* Word Container */
.word-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #003366;
    padding: 40px;
    margin-top: 60px;
}

.word {
    color: #fff;
    font-family: Verdana, sans-serif;
    margin: 10px;
    transform: rotate(var(--angle));
    font-size: var(--font-size);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.0);
}

.word:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

.word:nth-child(1) {
    --angle: -15deg;
    --font-size: 1.6rem;
    color: #ff6666;
}

.word:nth-child(2) {
    --angle: 10deg;
    --font-size: 1.6rem;
    color: #66ff66;
}

.word:nth-child(3) {
    --angle: -5deg;
    --font-size: 1.6rem;
    color: #6666ff;
}

.word:nth-child(4) {
    --angle: 18deg;
    --font-size: 1.6rem;
    color: #ffcc66;
}

.word:nth-child(5) {
    --angle: -10deg;
    --font-size: 1.6rem;
    color: #66ccff;
}

.word:nth-child(6) {
    --angle: 15deg;
    --font-size: 1.6rem;
    color: #ff99cc;
}

.word:nth-child(7) {
    --angle: -20deg;
    --font-size: 1.6rem;
    color: #ccff66;
}

/* Profile Link */
.profile-link {
    color: white;
}

/* Profile Button Overlay */
.profile-button-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
	   transform: translateX(-50%) scale(1);
    transition: transform 0.3s ease; /* Transition douce de 0.3 secondes */
	 white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.profile-button-overlay:hover {
    transform: translateX(-50%) scale(1.1); /* Agrandir de 10% */
 
}

/* Oracle Section */
.oracle.image-oracle {
    position: relative;
    width: 100%;
    height: 75vh; /* Ajustez cette valeur pour ajuster la hauteur */
    overflow: hidden;
}

.oracle.image-oracle img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Assure que l'image couvre toute la section sans être déformée */
    transform: translate(-50%, -50%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.5);  
    padding: 20px;
    border-radius: 10px;
}




/* Text Section */
.text-section {
    max-width: 1000px; /* Ajustez cette valeur si nécessaire */
    margin: 0px auto;
    padding: 10px;
    background-color: #003366;
    border-radius: 10px;
    text-align: left; /* Assure que tous les textes sont alignés à gauche */
}

.text-section h2,
.text-section h3,
.text-section p,
.text-section li {
    color: #FFFFFF; /* Tous les textes en blanc */
    margin-left: 40px;
    margin-right: 40px;
}

/* List Styles */
.text-section ul {
    list-style-type: none; /* Supprime le style par défaut des listes */
    padding-left: 20px; /* Ajoute un padding pour que les puces ne collent pas au bord */
}

.text-section ul li::before {
    content: '•'; /* Utilise un point pour chaque élément de la liste */
    color: #FFFFFF; /* Couleur du point */
    display: inline-block;
    width: 1em; /* Espacement entre le point et le texte */
    margin-left: -1em; /* Positionne le point en dehors du texte */
}

.text-section ul li {
    margin-bottom: 10px; /* Ajoute un espace entre les éléments de la liste */
}

/* Empty Section */
.empty-section {
    width: 100%;
    height: 0px; /* Ajustez cette valeur selon vos besoins */
    background-color: #003366;
}



/* Content Section */
.content-section {
    width: 100%;
    background-color: #003366;
    padding: 20px 0;
}

/* Button Container */
.button-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px; /* Espace entre les boutons */
    padding-top: 20px;
}

.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 15%; /* Ajustez cette valeur en fonction de vos besoins */
}

.custom-button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.custom-button:hover {
    transform: scale(1.05);
}

.button-bg {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid white; /* Bordure blanche autour de l'image */
}

.button-text {
    margin-top: 10px;
    font-size: 1.2em;
    text-align: center;
    color: white;
    max-width: 100%; /* S'assure que le texte ne dépasse pas la largeur du bouton */
}

/* Logout Container */
#logout-container {
    position: absolute;
    bottom: 0px; /* Ajustez cette valeur pour la marge supérieure */
    right: 5px; /* Ajustez cette valeur pour la marge droite */
}

.logout-link {
    color: var(--white);
    font-size: 14px; /* Taille de police plus petite */
    text-decoration: none;
    transition: color 0.3s ease;
}

.logout-link:hover {
    color: var(--semi-transparent-white);
}

/* Change Photo Container */
.change-photo-container {
    position: absolute;
    bottom: 40px;
    left: 20px;
    display: flex;
    align-items: center;
    z-index: 2; /* Assurez-vous que le bouton est au-dessus de la photo */
}

.change-photo-button {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f0f0f0, #cacaca);
    box-shadow: 1px 1px 8px #bebebe, -1px -1px 8px #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.change-photo-button::before {
    content: '';
    width: 8px;
    height: 14px;
    background-color: #001f3f; /* Couleur grise de la boule */
    border-radius: 50%;
    display: inline-block;
    opacity: 0%;
}

.change-photo-button:hover {
    transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 1024px) {
    .word:nth-child(1),
    .word:nth-child(2),
    .word:nth-child(3),
    .word:nth-child(4),
    .word:nth-child(5),
    .word:nth-child(6),
    .word:nth-child(7) {
        --font-size: calc(1.6rem * 0.8); /* Réduction de 20% */
    }

    .button-text {
        font-size: 16px;
    }

    .text-section {
        border-radius: 0px;
    }

    .oracle.image-oracle {
        height: 75vh; /* Ajustez cette valeur pour ajuster la hauteur */
    }
}

@media (max-width: 900px) {
    .button-wrapper {
        width: 45%; /* 2 buttons per row on small screens */
        margin-bottom: 20px;
    }

    .button-container {
        gap: 20px; /* Espace entre les boutons */
    }

    .oracle.image-oracle {
        height: 80vh; /* Ajustez cette valeur pour ajuster la hauteur */
    }
}

@media (max-width: 768px) {
    .word-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin-top: 40px;
    }

	 .contact-form {
 width: 85%;
margin-left: auto;
	 margin-right: auto;
}
	
    .word {
        margin: 5px;
        font-size: 1.6rem;
        transform: none; /* Retirer la rotation sur petits écrans pour une meilleure lisibilité */
    }

    .word:hover {
        transform: scale(1.1); /* Augmenter légèrement la taille au survol */
    }

    .profile-button-overlay {
        font-size: 16px; /* Taille réduite pour les petits écrans */
    }
}

@media (max-width: 480px) {
	
	form {
    margin-left: 10px; /* Ajoutez la marge ici */
}


 .contact-form {
 
margin-left: auto;
	 margin-right: auto;
}

    .profile-section-image {
        text-align: center;
        margin-top: 0px;
        margin-bottom: 20px;
    }

    .text-section h2,
    .text-section h3,
    .text-section p,
    .text-section li {
        color: #FFFFFF; /* Tous les textes en blanc */
        margin-left: 10px;
        margin-right: 10px;
    }
	
	.text-section {
 
    padding: 10px;

}


    .oracle.image-oracle {
        height: 70vh; /* Ajustez cette valeur pour ajuster la hauteur */
    }

    .button-wrapper {
        width: 100%; /* 1 button per row on very small screens */
        margin-bottom: 20px;
    }

	.button-container {
       border-bottom-width: 100%;
		
    }

	
    .button-text {
        font-size: 16px;
    }

    #logout-container {
        bottom: 0px; /* Ajustez cette valeur pour la marge supérieure */
        right: 0px; /* Ajustez cette valeur pour la marge droite */
    }

    .logout-link {
        font-size: 12px; /* Taille de police plus petite */
    }
	
	
	
}
