
body{
    height: 100vh;
    background-image: url(../images/Fond2.jpg);
    background-repeat: repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.bg-body-tertiary{
    background-color: #80c9fe !important; 
}

header {
    background-color: #80c9fe !important;
    opacity: 85%;
    padding: 1px;
    display: flex;
    justify-content: space-between;
}

#Logo {
    width: 10%;
}

/* main */

.Titre {
    color: cyan;
    text-shadow: 1px 1px 2px black;

}

.Description {
    color: rgb(255, 0, 0) ;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 2px black;
}

#Description2 {
    color: rgb(255, 0, 0) ;
    text-shadow: 1px 1px 2px black;
}

.card-title {
    text-align: center;
    font-size: 20px;
}
      
.card-text {
    text-align: center;
    font-size: 15px;
}

.card-title2 {
    text-align: center;
}
      
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
      
.btn-primary:hover {
    background-color: red;
    border-color: black;
}
    
a.btn.btn-primary {
    display: flex;
    justify-content: center;
}
      
img.card-img-top.card-img-custom3 {
    width: 235px;
}

img.card-img-top.card-img-custom2 {
    width: 200px;
}
.card-img-top3 {
    height: 100%;
}

.card-img-top3 {
    height: 50%;
}

.col-md-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    justify-items: center;
    width: 50%;
    margin: 0px auto;
}

footer {
    background-color: #80c9fe;
    display: flex;
    justify-content: space-evenly;
    margin-top: auto;
    width: 100%;
}

#footertext {
    color: black;
}

/*C'est le format ordinateur*/
@media all and (min-width:480px) {
    
    body{
        height: 100vh;
        background-image: url(../images/Fond2.jpg);
        background-repeat: repeat;
        background-size: cover;
        display: flex;
        align-items: center;
        flex-direction: column;
    }
    
    header {
        opacity: 80%;
        padding: 1px;
        width: 100%;
    }

    .bg-body-tertiary{
        background-color: #80c9fe !important; 
    }

    .navbar-expand-sm {
        width: 100%;
        display: flex;
        justify-content:space-between;
    }
       
    ul {
        display: flex;
        justify-content: space-around;
        align-items: center;  
    }
       
    a {
        text-decoration:none;
        color: rgb(255, 255, 255);
    }
       
    a:hover {
        color: black;
        text-decoration: underline;
    }
       
    .href {
        font-size: 20px;
        display: flex;
    }
       
    .active {
        background-color: orange;
        padding: 0.5em;
    }
       
    #Logo {
        width: 10%;
    }


    .Titre {
        color: cyan;
        text-shadow: 1px 1px 2px black;
    }

    .Description {
        color: rgb(255, 0, 0) ;
        display: flex;
        align-items: center;
        justify-content: center;
        text-shadow: 1px 1px 2px black;
    }

    #Description2 {
        color: rgb(255, 0, 0) ;
        text-shadow: 1px 1px 2px black;
    }
    
    .dropdown-menu show {
        background-color: #80c9fe;
        justify-content: end;
    }

    .card-title {
        text-align: center;
        font-size: 20px;
    }
      
    .card-text {
        text-align: center;
        font-size: 15px;
    }

    .card-title2 {
        text-align: center;
    }
      
    .btn-primary {
        background-color: #007bff;
        border-color: #007bff;
    }
      
    .btn-primary:hover {
        background-color: red;
        border-color: black;
    }
    
    a.btn.btn-primary {
        display: flex;
        justify-content: center;
    }
      
    img.card-img-top.card-img-custom3 {
        width: 200px;
    }

    img.card-img-top.card-img-custom2 {
        width: 150px;
    }

    .card-img-top3 {
        height: 100%;
    }

    .card-img-top3 {
        height: 50%;
    }

    
    .card-img, .card-img-top {
        width: 295px;
        height: 100%;
    }

    footer {
        background-color: #80c9fe;
        display: flex;
        justify-content: space-evenly;
        margin-top: auto;
        width: 100%;
    }

    #footertext {
        color: black;
    }
        
}
