

/* Global styles */
body {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    background-color: #F8F3ED; /* Couleur de fond */
    height: 100%;
}

/* Header et navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: transparent;
    padding: 2vh 5vw;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 1s ease-in-out;
    
}

@keyframes slideIn {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 2.5vh;
    font-weight: bold;
    margin-top: 3px;
    font-family: "DM Serif Display", serif;
}

.logo .ms {
    color: #19191D;
    margin-right: 0.5vw;
}

.logo .ebook {
    color: #7d7d84;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2vw;
    align-items: center;
    justify-content: flex-end;
}

.nav-link {
    text-decoration: none;
    color: #19191D;
    font-size: 1.65vh;
    cursor: pointer;
    padding: 1vh 2vw;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #898994;
}

/* Boutons réutilisables */
.btn-download, .main-download-btn, .resume-download-btn, .meriem-download-btn, .confirmation-btn, .email-btn, .buy-now-btn {
    padding: 1.5vh 2.5vw;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 0.5vh;
    font-size: 1.8vh;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 0.3vh;
    animation: fadeIn 1s ease-in-out;
    padding-right: 20px;
    padding-left: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-download:hover, .main-download-btn:hover, .resume-download-btn:hover, .meriem-download-btn:hover, .confirmation-btn:hover, .email-btn:hover, .buy-now-btn:hover {
    background-color: #444;
}

/* Conteneur général */
.email-form-container {
    
    flex-direction: column; /* Organisation verticale */
    align-items: center; /* Centrer horizontalement */
    gap: 8 px; /* Espacement vertical entre les éléments */
    height:150px ;
    width: 271px;
}

/* Champ pour le nom */
.name-button {
    width: 220px; /* Largeur du champ nom */
    padding: 1.5vh; 
    border: 1.5px solid #ddd; 
    border-radius: 0.5vh; 
    font-size: 1.6vh; 
    font-family: "Nunito Sans", sans-serif; 
    color: #333; 
    outline: none; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    margin-bottom: 10px;
    margin-top: 10px;
}

/* Champ pour l'email */
.email-button {
    width: 240px; /* Largeur différente pour le champ email */
    padding: 2vh; 
    border: 1.5px solid #ddd; 
    border-radius: 0.5vh; 
    font-size: 1.6vh; 
    font-family: "Nunito Sans", sans-serif; 
    color: #333; 
    outline: none; 
    transition: border-color 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
    margin-bottom: 10px;
    margin-bottom: 10px;
    width: 220px;
    height: 10px;
}

/* Bouton de confirmation email */
.email-butn {
    width: 180px; /* Largeur du bouton */
    padding: 1.5vh; 
    border: none; 
    border-radius: 0.5vh; 
    font-size: 1.6vh; 
    font-family: "Nunito Sans", sans-serif; 
    color: white; 
    background-color: #000000; 
    cursor: pointer; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

/* Effets au survol du bouton */
.email-butn:hover {
    background-color: #333; 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); 
}

/* Bouton de confirmation achat */
.purchase-butn {
    width: 180px; /* Largeur du bouton */
    padding: 1.5vh; 
    border: none; 
    border-radius: 0.5vh; 
    font-size: 1.6vh; 
    font-family: "Nunito Sans", sans-serif; 
    color: white; 
    background-color: #007BFF; /* Bleu pour différencier */
    cursor: pointer; 
    transition: background-color 0.3s ease, box-shadow 0.3s ease; 
}

/* Effets au survol du bouton d'achat */
.purchase-butn:hover {
    background-color: #0056b3; 
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15); 
}






/* Section principale */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 12vh;
}

.main-image {
    width: 250px;
    height: 420px;
    margin-top: 8vh;
}

.text-section p {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2vh;
    color: #19191D;
    margin: 0.5vh 0;
}

/* Section résumé */
.resume-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2vh;
    margin-top: 10vh;
}

.resume-image, .meriem-image, .email-image ,.confirmation-image {
    
    margin-top: 7vh;
    
    width: 250px;
    height: 420px;
}


.resume-text, .meriem-text, .email-text {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2.3vh;
    color: #19191D;
    line-height: 1.2;
    width: 60vw;
    padding: 0 1vw;
}

/* Section "Meriem Serbek" */
.meriem-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18vh 2vw;
    margin-top: 20vh;
    
}

.meriem-title {
    font-family: "DM Serif Display", serif;
    font-size: 3.2vh;
    font-weight: bold;
    color: #19191D;
    margin-bottom: 3vh;
}

/* Page de confirmation */
.confirmation-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
}

.confirmation-image {
    margin-bottom: 2vh;
    width: 250px;
    height: 420px;
    margin-top: 5vh;
}

.confirmation-text p {
    font-family: "Nunito Sans", sans-serif;
    font-size: 2vh;
    color: #19191D;
    margin: 1vh 0;
}

/* Section pour l'Email */
.email-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4vh 2vw;
    margin-top: 10vh;
    padding-bottom: 0px;
}

.email-image {
    margin-bottom: 2vh;
    
    width: 250px;
    height: 420px;
}

.email-text {
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.5vh;
    color: #19191D;
    line-height: 1;
    margin-bottom: 2vh;
    padding: 0 2vw;
    width: 60vw;
}

/* Pied de page */
footer {
    background-color: #19191D;
    color: white;
    text-align: center;
    padding: 2vh 0;
    position: relative;
    bottom: 0;
    width: 100%;
    font-size: 1.5vh;
}

footer a {
    color: #898994;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Media Queries */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5vw;
    }
    .logo {
        font-size: 1.8vh;
        margin-top: 2px;
    }
    .nav-link {
        font-size: 1.7vh;
    }
    .btn-download, .main-download-btn, .resume-download-btn, .meriem-download-btn, .confirmation-btn, .email-btn, .buy-now-btn {
        font-size: 1.7vh;
        padding-right: 30px;
    padding-left: 30px;
    }
    .resume-text, .meriem-text, .email-text {
        font-size: 1.7vh;
        width: 70vw;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1.5vh 3vw; /* Ajustement du padding pour les petits écrans */
    }
    .main-image, .resume-image, .email-image ,.confirmation-image{
       
        width: 200px;
        height: 400px;
    }
    .logo {
        font-size: 1.8vh;
        margin-top: 2px;
    }
    .nav-links {
        flex-direction: row; /* Assurez-vous que les liens restent en ligne */
        gap: 2vh;
    }
    .btn-download, .main-download-btn, .resume-download-btn, .meriem-download-btn, .confirmation-btn, .email-btn, .buy-now-btn {
        font-size: 1.7vh;
        padding-right: 30px;
    padding-left: 30px;
    }
    .resume-text, .meriem-text, .email-text {
        font-size: 1.8vh;
        width: 80vw;
    }
    .meriem-title {
        font-size: 2.5vh;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1vh 1.5vw; /* Ajustement du padding pour les très petits écrans */
    }
    .main-image, .resume-image, .email-image ,.confirmation-image{
        width: 180px;
    height: 360px;
    }
    .logo {
        font-size: 1.6vh;
        margin-top: 1.8px;
    }
    .nav-links {
        display: flex; /* Assurez-vous que les liens restent visibles */
        flex-direction: row; /* Gardez les liens en ligne */
        gap: 1vh;
        font-size: 1.3vh;
    }
    .btn-download, .main-download-btn, .resume-download-btn, .meriem-download-btn, .confirmation-btn {
        font-size: 1.3vh;
        padding-right: 10px;
        padding-left: 10px;
        
    }

    .email-btn, .buy-now-btn{
        font-size: 1.3vh;
        padding-right: 20px;
        padding-left: 20px;
    }
    .resume-text, .meriem-text, .email-text,.confirmation-text p {
        font-size: 1.7vh;
        width: 90vw;
    }
    .meriem-title {
        font-size: 2.3vh;
    }
}

/* Ajustements supplémentaires pour une meilleure accessibilité et UX */
:focus {
    
    outline-offset: 2px;}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* Classes utilitaires pour espacement */
.mt-1 {
    margin-top: 1vh;
}

.mt-2 {
    margin-top: 2vh;
}

.mb-1 {
    margin-bottom: 1vh;
}

.mb-2 {
    margin-bottom: 2vh;
}

/* Classes utilitaires pour centrage */
.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}






