html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

/*New*/
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
}

.carousel {
    display: flex;
    animation: scroll 20s linear infinite;
}

.carousel img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin-right: 1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.top-download {
    background-color: #fff4c2;
    text-align: center;
    padding: 1.5rem;
}

.top-download p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.top-download .download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.top-download .download-buttons a img {
    height: 40px;
    margin: 0.5rem;
}

/* Sourligne le nom de la page en cours dans le header */
.active-page .nav-link {
    color: orange;
    font-weight: bold;
    border-bottom: 2px solid orange;
}

.dropdown-item.active-dropdown {
    background-color: orange !important;
    color: white !important;
    font-weight: bold;
}



/* Tablettes */
@media (max-width: 991.98px) {
    .responsive-text {
        font-size: 10px !important;
        /*font-size: 1.2rem !important;*/
    }
}

/* Mobiles */
@media (max-width: 575.98px) {
    .responsive-text {
        font-size: 10px !important;
        /*font-size: 1rem !important;*/
    }
}

/* ===============================
   MOBILE – Mise en avant forte
   =============================== */
@media (max-width: 575.98px) 
{

    .top-download {
        position: sticky;
        top: 0;
        z-index: 9999;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .top-download p {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
    }

    .top-download .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .top-download .download-buttons a {
        width: 100%;
        max-width: 260px;
    }

    .top-download .download-buttons a img {
        width: 100%;
        height: auto;
    }
}


