/* styles.css */
body {
    background-image: url("./images/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden; /* Empêche le défilement de la page */

    font-family: 'Roboto', sans-serif;
}

.desktop {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    flex-wrap: wrap;
    margin: 0 auto;
}

.application {
    display: flex;
    flex-direction: column;
    align-items:  center;
    margin-bottom: 10px;
    flex-basis: 12.5%;
    max-width: 12.5%;
    box-sizing: border-box;
    text-align: center;
    flex-wrap: wrap;
}

.app-image {
    width: 70px;
    height: auto;
    border-radius: 30%;
}

.app-name {
    margin-top: 5px;
    font-size: 0.8em;
    text-align: center;
    color: white;
    text-decoration: none;
    overflow-wrap: break-word; /* Coupe le texte à chaque mot */
}




.application a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

    .widget {
        border-radius: 25px;
        background: rgba(0, 0, 0, 0.35);
        position: fixed;
        top: 25px;
        right: 25px;
        display: flex;
        flex-direction: row;
        margin-bottom: 10px;
        align-items: flex-start;
        padding: 10px;
        box-sizing: border-box;
        color: white;
        font-size: 1em;
        max-width: 500px;
    }

    .profile-picture {
        width: 150px;
        border-radius: 25px;
        padding: 10px;
    }

h3 {
    font-style: italic;
    font-weight: lighter;
}

.custom-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.35);
    color: white;
}

.custom-modal .modal-title,
.custom-modal .modal-body,
.custom-modal .modal-footer {
    color: white;
    border: none;
}

.close-button-img {
    width: 30px;
    height: 30px;
}

.close-button {
    background-color: transparent;
    border: none;
    padding: 0;
}

.modal-content .button{
    background-color: transparent;
    border: none;
}
.modal-footer {
    background: transparent;
    border: none;
    text-align: center;
    margin: 0 auto;
}

.modal-footer .btn-primary {
    background-color: transparent;
    border: none;
    color: white;
    text-decoration: underline;
    cursor: pointer;
    border: 1px solid white;
}
.modal-footer .btn-primary :hover{
    background-color: rgba(195, 195, 195, 0.5);
}

/* Styles pour les écrans plus petits (mobiles) */
@media screen and (max-width: 1000px) {
    .desktop {
        flex-direction: row;
        padding: 0px;
    }

    .application {
        flex-basis: 23.5%;
        max-width: 23.5%;
    }

    .widget {
        position: static;
        border-radius: 25px;
        background: rgba(0, 0, 0, 0.35);
        display: flex;
        flex-direction: row;
        margin: 10px auto;
        align-items: flex-start;
        padding: 10px;
        box-sizing: border-box;
        color: white;
        font-size: 1em;
        max-width: 500px;
    }
}
