.bg {
    color: black;
    background-color: white;
}

.body-bg {
    background-color: black;
}

.social1 {
    color: black;
    font-size: 50px;
    transition: color 0.5s ease-out 20ms;
    cursor: pointer;
}

.social2 {
    color: black;
    font-size: 50px;
    margin-left: 40px;
    transition: color 0.5s ease-out 20ms;
    cursor: pointer;
}

.social1:hover {
    color: rgb(248, 0, 0);
}

.social2:hover {
    color: yellow;
}

.social3 {
    color: black;
    font-size: 50px;
    margin-left: 40px;
    transition: color 0.5s ease-out 20ms;
    cursor: pointer;
}

.social3:hover {
    color: rgb(175, 93, 233);
}

.align {
    text-align: center;
}

.nav-title1 {
    color: white;
    transition: color 0.5s ease-out 20ms
}

.nav-title2 {
    color: white;
    transition: color 0.5s ease-out 20ms
}

.nav-title3 {
    color: white;
    transition: color 0.5s ease-out 20ms
}

.nav-title1:hover {
    color: red;
}

.nav-title2:hover {
    color: yellow;
}

.nav-title3:hover {
    color: rgb(175, 93, 233);
}

#backtotop {
    display: none; 
    position: fixed;
    bottom: 20px;
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none; 
    color: white; 
    border: none;
    border-radius: 10px;
    cursor: pointer; 
    padding: 15px; 
    font-size: 50px; 
    mix-blend-mode: exclusion;
}
  
#backtotop:hover {
    color: rgb(255, 0, 0);
    transition: color 0.5s ease-out 20ms
}

.fonta {
    font-family: basic-sans,sans-serif;
    font-weight: 400;
    font-style: italic;
}

.fontl {
    font-family: massilia, sans-serif;
    font-style: normal;
    font-weight: 300;
}

.fontr {
    font-family: massilia, sans-serif;
    font-style: normal;
    font-weight: 400;
}

.fontb {
    font-family: massilia, sans-serif;
    font-style: normal;
    font-weight: 700;
}

.fontl_black {
    font-family: massilia, sans-serif;
    font-style: normal;
    font-weight: 300;
    color: black;
    font-size: 20px;
}

.fontb_black {
    font-family: massilia, sans-serif;
    font-style: normal;
    font-weight: 700;
    color: black;
    font-size: 25px;
}

#carousel {
    display: flex;
    overflow: hidden;
}
  
.carousel-item {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.carousel-item img {
    object-fit: cover;
    padding-right: 25px;
    border-radius: 10px;
}

.carousel-item.active {
    transition: transform 0.10s ease-in-out;
}
 
.carousel-btn {
    text-align: center;
    margin-top: 50px;
}

.carousel-btn-prev {
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.carousel-btn-next {
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.bandeau {
    color: black;
    background-color: white;
    padding: 40px;
    margin-bottom: 150px;
    margin-top: 0;
}

/* Très petit téléphone */
@media screen and (max-width: 475px) { 
    .fontl {
        font-size: 12px;
    }
    
    .fontr {
        font-size: 22px;
    }
    
    .fontb {
        font-size: 24px;
    }

    .carousel-item img {
        height: 350px;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 10px;
    }
}

/* Petit téléphone */
@media screen and (max-width: 479px) {
    .nav-title1, .nav-title2, .nav-title3 {
        font-size: 22px;
    }

    .fontl {
        font-size: 14px;
    }
    
    .fontr {
        font-size: 22px;
    }
    
    .fontb {
        font-size: 29px;
    }

    .carousel-item img {
        height: 450px;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 10px;
    }
}

/* Téléphone moyen / Petit téléphone en paysage */
@media screen and (min-width: 480px) and (max-width: 599px) { 
    .fontl {
        font-size: 15px;
    }
    
    .fontr {
        font-size: 24px;
    }
    
    .fontb {
        font-size: 32px;
    }
      
    .carousel-item img {
        height: 450px;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 10px;
    }
}

/* Tablette */
@media screen and (min-width: 600px) and (max-width: 799px) { 
    .fontl {
        font-size: 17px;
    }
    
    .fontr {
        font-size: 36px;
    }
    
    .fontb {
        font-size: 45px;
    }
      
    .carousel-item img {
        height: 550px;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 10px;
    }
}

/* Tablette en paysage / Laptop basse résolution */
@media screen and (min-width: 800px) and (max-width: 1023px) {
    .fontl {
        font-size: 22px;
    }
    
    .fontr {
        font-size: 30px;
    }
    
    .fontb {
        font-size: 42px;
    }
      
    .carousel-item img {
        height: 700px;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 10px;
    }
}

/* Grande tablette paysage / Laptop et Desktop courant */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    .fontl {
        font-size: 24px;
    }
    
    .fontr {
        font-size: 32px;
    }
    
    .fontb {
        font-size: 44px;
    }
      
    .carousel-item img {
        height: 800px;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 10px;
    }
}

/* Laptop et Desktop haute résolution */
@media screen and (min-width: 1280px) {
    .fontl {
        font-size: 26px;
    }
    
    .fontr {
        font-size: 40px;
    }
    
    .fontb {
        font-size: 50px;
    }
      
    .carousel-item img {
        height: 800px;
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
        border-radius: 10px;
    }
}