body {
    background-color: whitesmoke; 
    display: flex;
    flex-direction: column
}

.container{
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
    border-top: 1px solid #f66235;
    width: 100%;
    
}

.scrolly {
    min-height:260px;
    height:550px;
    min-width:260px;
    width:1200px;
    overflow: auto;
}

/**** navbar ***/
.navbar {
    height: 80px;
}

.navbar-nav {
    padding: 30px;
}

.text-navbar{
    font-family: 'Caveat', cursive;
    padding: 20px;
   /* font-size: 20px;*/ 
    color: black;
}

.nav-item {
    font-size: 25px;
}

.nav-item a:hover{
    background-image: url('../img/coccinelle.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    padding-top: 30px;
    color: grey;
}

.navbar a:hover{
    color: grey;
}


.navbar-hr{
    background-color :  #f66235;
    width: 30%;
    margin: 0 auto;
    height: 2px;
    border: none;
}

.title {
    font-family: 'Dancing Script', cursive;
    margin-top: 100px;
    margin-bottom: 50px;
    padding: 20px;
    font-size: 60px;
    text-shadow: 3px 3px 3px #f66235;
}

.title-4 {
    font-family: 'Dancing Script', cursive;
    margin-top: 100px;
    padding: 20px;
    font-size: 40px;
    text-shadow: 3px 3px 3px #f66235;
}

.title-5 {
    font-family: 'Dancing Script', cursive;
    font-size: 25px;
    text-shadow: 3px 3px 3px #f66235;
}

/************* slider **************/
.slider-container {
    width: 1000px;
    height: 550px;
    
    
    border-radius: 25px;
    
    margin-bottom: 30px;
}

.text-hero {
    font-family: 'Dancing Script', cursive;
    font-size: 25px;
    margin-top: 10px;
    text-align: center;
}

.slider-container img {
    width: 100%;
    height: 100%;
    box-shadow: 6px 6px 6px black;
    border: 1px solid #f66235;
    border-radius: 25px;
}

/*********** section equipe **************/
.faColor {
    color: rgba(248, 94, 66, 0.952);
    text-shadow: 6px 6px 6px black,
                -3px -2px 2px white;
}

.faColor:hover  {
    text-shadow: unset;
}

.text-card {
    font-family: 'Dancing Script', cursive;
    font-size: 16px;
}
/******** presentation **********/
.firstText {
    display: flex;
    flex-shrink: 0;
    margin-bottom: 50px;
    
}

.info-text{
    margin-left: 650px;
}

.info-img{
    background-image: url('../img/relaxation.jpg');
    background-position: right;
    width: 600px;
    height: 300px;
    border:1px solid #f66235;
    border-radius: 10px;
    z-index:-1;
    position: absolute;
}

.secondText {
    margin-top: 10px;
    display: flex;
    flex-shrink: 0;
}

.description {
    margin-right: 400px;
}

.description-img{
    background-image: url('../img/entré.jpg');
    background-position: center top;
    width: 600px;
    height: 300px;
    position: absolute;
    margin-left: 600px;
    margin-top: 50px;
    border:1px solid #f66235;
    border-radius: 10px;
    z-index: -1;
}

/**************** fonctionnement *************/
.iTime{
    color:red;
    margin-top: 20px;
}

.ronde {
    width: 300px;
    height: 200px;
}

/********** projet ********/
.title-1 {
    font-family: 'Dancing Script', cursive;
    text-shadow: 3px 3px 3px #f66235;
}

.bg-img{
    background-image: url('../img/bebe.jpg');
    background-repeat: no-repeat;
    background-color: white;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid black;
}

.avatar{
    max-width: 30px;
    max-height: 30px;
}

/**** connexion ********/
.fond {
    background: url('../img/coccinelle.png');
    background-size: cover;
    height: 380px;
    width: 100px;
    transform: rotate(90deg);
}

.fond:hover {
    background: url('../img/ronde.png');
    background-size: cover;
    width: 100vw;
    height: 300px;
    padding: 0;
    transform: rotate(0deg);
}
@media screen and (max-width: 1999.98px){
    .text-navbar {
        font-size: 16px;
    }

    .ronde {
        width: 250px;
        height: 200px;
    }
}    
@media screen and (max-width: 990px){
    .navbar-nav {
        width: 100%;
        background-color: rgba(223, 223, 223, 0.883);
    }

    .navbar-nav {
        justify-content: center;
        align-items: center;
        padding:0;
    }

    .nav-item a:hover {
        background-image: none;
        font-size: 30px;
        padding-top: 0;
    }

    .title {
        margin-top: 100px;
    }

    .slider-container{
        width: 100%;
        height: 250px;
    }

    .card {
        margin-bottom: 100px;;
    }

    .firstText{
        flex-direction: column;
        flex-shrink: 1;
    }

    .info-img{
        position: none;
        border: none;
    }

    .info-text {
        margin-left: 0;
        margin-top: 100px;
        justify-content: center;
        align-items: center;
    }

    .secondText{
        flex-direction: column;
        flex-shrink: 1;
    }

    .description-img {
        border:none;
        position: none;
        margin-left: 0;
    }

    .description {
        margin-right: 0;
        margin-top: 150px;
        justify-content: center;
        align-items: center;
    }

}

@media screen and (max-width: 770px) {
    .slider-container{
        width: 100%;
        height: 250px;
    }

    .text-hero {
        font-size: 20px;
    }

    .bloc {
        margin-bottom: 200px;
    }

    .info-img{
        width: 500px;
        height: 250px;
    }

    .description-img {
        width: 500px;
        height: 250px; 
    }

    .ronde {
        width: 150px;
        height: 100px;
    }
}

@media screen and (max-width: 550px) {
    .slider-container{
        width: 100%;
        height: 250px;
    }

    .text-hero {
        font-size: 20px;
    }

    .bloc {
        margin-bottom: 200px;
    }

    .info-img{
        width: 500px;
        height: 250px;
    }

    .description-img {
        width: 500px;
        height: 250px; 
    }
}    

@media screen and (max-width: 375px) {
    .slider-container{
        width: 100%;
        height: 250px;
    }

    .text-hero {
        font-size: 20px;
    }



    .bloc {
        margin-bottom: 150px;
    }

    .info-img{
        width: 350px;
        height: 250px;
    }

    .description-img {
        width: 350px;
        height: 250px; 
    }
}

@media screen and (max-width: 320px) {
    .slider-container{
        width: 100%;
        height: 250px;
    }

    .text-hero {
        font-size: 20px;
    }



    .bloc {
        margin-bottom: 150px;
    }

    .info-img{
        width: 300px;
        height: 250px;
    }

    .description-img {
        width: 300px;
        height: 250px; 
    }
}
