/* en tête pour étudiant */
.navbar {
    background-color: #2e5090;
}

.logo {
    /* pour bien aligner le logo et le texte */
    transform: translateY(-1px);
}

/* Pour menu */
.nav-link {
    position: relative;
    color: white;
}

/* Pour Connexion et inscription */
/* Inscription */
.BtnInsc,
.BtnCon {
    /* bouton */
    color: #2e5090;
    font-weight: bold;
    transition: 0.3s color;
}

.BtnInsc:hover,
.BtnCon:hover {
    color: black;
}

/* pour la présentation d'acceuil */
body {
    padding-top: 3rem;
    padding-bottom: 3rem;

}

/* Zoomer progressivement l'image */
.image {
  animation: zoom 8s forwards;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.5);
  }
}


.carousel {
    /* l'espace entre la barre de navigation et le carousel */
    position: relative;
    bottom: 12px;
}

/*Style des textes et des boutons du carousel*/
.carousel-caption{
    background-color: rgba(0,0,0,0.6);
    bottom: 70px;
}


@media (min-width: 640px) {

    /* augmenter la taille du contenu du carrousel */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }
}

@media only screen and (max-width:767px) {
    .title-logo {
      
    }
    .carousel-inner {
        /* modifier la dimension du carousel */
        height: 300px;
        margin-bottom: 0;
    }

    /*.carousel-indicators {
        /* le positionnement des barres d'indications
        bottom: 1px;
        margin-bottom: 0;
    }  */

    .image {
        /* la dimension de l'image */
        height: 300px;
    }

    .carousel-caption {
        /* la position des écrits */
        bottom: 345px;
    }

    .carousel-caption h1{
        font-size: 1.0rem;
    }
    .carousel-caption p {
      font-size:0.8rem;
    }
    .carousel-caption a {
        /* la taille du bouton accéder */
        font-size: 0.7rem;
        padding: 3px
    }
    /*Style contac*/
    .contact{
      position: relative;
      bottom : 120px;
      background : rgb(255, 255, 255);
    }
    .section-header h2{
      font-size:1.2rem;
      width:168px;
    }
    .section-header p{
      width:250px;
      position: relative;
      right: 42px;
    }
    /*Style aide*/
    .help{
      position: relative;
      bottom : 136px;
      background : rgb(255, 255, 255);
    }

    footer {
      text-align : center;
      position: relative;
      bottom: 100px;
    }
    .footer-icon {
      display: flex;
      justify-content: center;
    }
    
}
 /* page a propos */
 /* .card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: white;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px;
  }
  .card img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    height: 306px;
    margin-bottom: 16px;
  }
  .card-text {
    flex-grow: 1;
    text-align:start;
    font-size: 20px;
    line-height: 23px;
    font-weight: 400;
  }
  .btn-about {
    background-color: #1c1c1c;
    color: white;
    border: none;
    width: 50%;
    margin: 16px auto 0;
    display: block;
    padding: 0.5rem;
    border-radius: 8px;
  }
  .btn-about:hover {
    background-color: #000;
    color: white;
  } */




/* pour la page d'aide */
.help-card {
    border: none;
    border-radius: 8px;
    background-color: #2e5090;
    color: white;
    transition: transform 0.2s;
  }
  /* animation */
  .help-card:hover {
    transform: scale(1.02);
  }