body {
    font-family: 'Arial', sans-serif;
    background-image: url('https://mobiteach.fr/wp-content/uploads/2020/06/MOBITEACH-Banner-1.jpg');
    background-size: cover;
    background-position: center;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    padding: 20px;
    text-align: center;
}

.logo-container img {
    width: 150px;
}

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap'); /* Import depuis Google Fonts */

.phrase-accroche {
    font-family: 'Comfortaa', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 1.4em;
    letter-spacing: 0.05em;
    --fontSize: 32px;
    --minFontSize: 22;
    line-height: 1.4;
    color: white;
    margin-top: 10px;
}

.content-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    margin: 0 auto;
    width: 70%;
    flex-wrap: wrap; /* Permet aux éléments de s'empiler sur les petits écrans */
}

.left-content {
    flex: 1;
    text-align: justify;
    margin-right: 20px;
    max-width: 100%; /* Limite la largeur pour éviter l'expansion */
    word-wrap: break-word; /* Permet de casser les mots longs */
    min-width: 250px; /* Ajoute une largeur minimale pour empêcher trop d'étroitesse */
    hyphens: auto; /* Ajoute automatiquement des césures pour mieux organiser le texte */
}

/* Ajustements pour petits écrans */
@media (max-width: 768px) {
    .left-content {
        margin-right: 0;
        text-align: left; /* Evite les espaces irréguliers sur petits écrans */
    }
}

.mobiteach-link {
    font-size: 24px;
    color: white;
    text-decoration: none;
    background-color: #37c1d4;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s, color 0.3s;
}

.mobiteach-link:hover {
    background-color: white;
    color: #37c1d4;
}

.video-container {
    flex: 2;
    display: flex;
    justify-content: flex-end;
    max-width: 100%;
}

video {
    width: 100%;
    max-width: 700px;
    height: auto; /* Permet de maintenir le ratio de la vidéo */
    border-radius: 15px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

/* Ajustement du positionnement pour les écrans de grandes et moyennes tailles */
@media (min-width: 768px) {
    .content-section {
        justify-content: flex-start;
    }
    .left-content {
        margin-right: 40px; /* Réduction de l'espace vide entre le lien et la vidéo */
    }
}

.links-section {
    text-align: center;
    padding: 40px 0;
    margin-top: 30px;
}

.links-section h2 {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 20px;
}

.links-section ul {
    list-style-type: none;
    padding: 0;
}

.links-section ul li {
    margin: 15px 0;
}

.links-section ul li a {
    color: white;
    font-size: 20px;
    padding: 10px 30px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}

.links-section ul li a:hover {
    background-color: white;
    color: #37c1d4;
    transform: scale(1.05);
}

footer {
    background-color: rgba(55, 193, 212, 0.85);
    color: white;
    padding: 20px;
    text-align: center;
}
