/*Common*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*background: linear-gradient(to right top, rgba(0, 176, 179, 0.2), rgba(0, 176, 179, 0.5));*/
    background: linear-gradient(to right top, rgb(0 179 105 / 35%), rgba(0, 176, 179, 0.72));
}

a {
    text-decoration: none;
}


main {
    font-family: "Poppins", sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bandeau {
   width:60vw;
    background: linear-gradient( to right bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3) );
    border-radius: 10px;
    margin-bottom: .75rem;
}

.custom-btn {
    background-color: transparent !important;
    border: 2px solid #007bff !important;
    border-radius: 50px !important;
    padding: 10px 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

    .custom-btn:hover {
        background-color: #007bff !important;
        color: white !important;
    }

.custom-icon {
    color: #007bff !important;
    font-size: 1.0em !important;
}

.custom-text {
    color: #007bff !important;
    font-weight: 500 !important;
    font-size: 0.75em !important;
}

.custom-btn:hover .custom-icon,
.custom-btn:hover .custom-text {
    color: white !important;
}

.glass {
    background: white;
    height: 90vh;
    margin: 5px;
    margin-top: 5em;
    width: 90vw;
    background: linear-gradient( to right bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7) );
    border-radius: 5px;
    z-index: 2;
    backdrop-filter: blur(2rem);
    display: flex;
}

.dashboard {
    flex: 0.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    text-align: center;
    background: linear-gradient( to right bottom, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.3) );
    border-radius: 5px;
}

.links {
    background: linear-gradient( to left top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5) );
    border-radius: 1rem;
    margin: 1rem;
    padding: 1rem;
    box-shadow: 6px 6px 20px rgba(122, 122, 122, 0.212);
    
}

.linksmain {
    max-height: 70vh; /*ici*/
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
}

.apps {
    padding: 10px;
    max-height: 38vh;
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.apps_hidden::-webkit-scrollbar {
    display: none;
}
.user {
    margin: 1rem;
}

.user img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.link .titre3 {
    padding: 0rem 1rem;
    font-weight: 300;
    font-size: 0.7rem;
}

.events, .applications {
    flex: 2.7;
    margin: 1rem 4rem 0 4rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.link_app_menu {
    display: flex;
    padding: 1rem 2rem;
    /*align-items: center;*/
}

.link {
    display: flex;
    margin: 0.4rem 0rem;
    padding: 0.4rem 2rem;
    /*align-items: center;*/
}

.events .event-list {
    height: 70vh;
    overflow-y: scroll;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: thin;
}

.event-list .event-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: linear-gradient( to left top, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) );
    border-radius: .5rem;
    margin: 1rem;
    box-shadow: 6px 6px 20px rgba(122, 122, 122, 0.212);
    align-items:center;
}

.event-list .card-infos1 {
    display: flex;
    width:100%;
justify-content: space-between;
    align-items:center;
}

.event-row .box {
/*    flex: 0 1 auto;*/
    margin: 5px;
}

.event-list .event-date {
    display: flex;
    justify-content: space-between;
}

.link img, .event-logo img {
    width: 38px;
    height: 38px;
    border-radius:6px;
}
/* login*/
.login_body {
    padding: 1rem 2rem;
    background: linear-gradient( to left top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5) );
    box-shadow: 6px 6px 20px rgb(122 122 122 / 21%);
    border-radius: 2rem;
}

    .login_body:hover {
        box-shadow: 10px 10px 30px rgb(122 122 122 / 40%);
    }

a.login_page {
    font-size: 18px;
    display: block;
    text-align: center;
}
.event-list a {
    text-decoration: none;
}

footer {
    background-color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #d6dee1;
    border-radius: 20px;
}


@media screen and (max-width: 428px) {
    main {
        height: auto;
    }

    .glass {
        background: linear-gradient( to right bottom, rgb(255 255 255), rgb(255 255 255) );
        height: auto;
        margin: auto;
        display: block;
        margin-top: 5em;
    }

    .title_fz15{
        font-size: 15px;
    }

    .user {
        display: flex;
        margin: 1.5rem 1.5rem 0;
    }

    .events {
        margin: auto;
    }

    .bandeau {
        width: auto;
    }

    .user img {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }

    .status {
        text-align: center;
    }

    .events .event-list {
        height: auto;
    }

    .link {
        display: block;
        margin-right: 1rem;
        padding: 0 .25rem;
        box-shadow: 1px 1px 10px rgb(122 122 122 / 20%);
        border-radius: 8px;
    }

    .link img, .event-logo img {
        width: 40px;
        height: 40px;
    }
    .link_app_menu {
        padding:1rem;
    }

    .title_fz16 {
        font-size: 12px;
        line-height: 14px;
    }

    .title_fz30 {
        font-weight: 600;
        font-size: 20px;
        /*line-height: 21px;*/
    }

    .apps {
        max-width: 82vw;
        overflow-x: scroll;
        display: flex;
    }

    .user .title_fz22 {
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
    }

    .event-details .title_fz22 {
        font-size: 14px;
        line-height: 18px;
        font-weight: 600;
    }

    ::-webkit-scrollbar {
        height: 7px;
    }
    .navbar-nav li .nav-item{
        flex:1 1 auto;
        text-align:center;
    }

    .navbar-nav {
        /*flex-direction: row;*/
        width:100%;
    }
    ul.navbar-nav li{
        flex:1 1 auto;
    }

    links {
        margin: 1rem 0rem;
        box-shadow: 6px 6px 20px rgb(122 122 122 / 0%);
    }

    .app_description {
        width: 6rem
    }

    .event-list .event-row {
        flex-wrap: nowrap;
    }
}
/*button*/
.btn_submit {
    background-color: #0c387a;
    border-radius: 4px;
    border: 0;
    box-shadow: rgba(1,60,136,.5) 0 -1px 3px 0 inset,rgba(0,44,97,.1) 0 3px 6px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
    min-height: 56px;
    min-width: 120px;
    padding: 16px 20px;
    position: relative;
    text-align: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    transition: all .2s cubic-bezier(.22, .61, .36, 1);
}

    .btn_submit:hover {
        background-color: #065dd8;
        transform: translateY(-2px);
    }

@media (min-width: 768px) {
    .btn_submit {
        padding: 16px 44px;
        min-width: 150px;
    }

    .linksmain {
        max-height: 50vh; /*ici*/
    }
}

@media screen and (max-width: 428px) {
    .dashboard {
        flex-direction: column;
        align-items: center;
    }

    .title_fz22 {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .user {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 1rem 0;
    }

        .user img {
            width: 80px;
            height: 80px;
            margin-bottom: 1rem;
        }

        .user .title_fz22 {
            font-size: 16px;
            line-height: 20px;
            margin-bottom: 1rem;
        }

    .custom-btn {
        width: 90%;
        max-width: 250px;
        max-height: 50px;
        padding: 10px 20px;
        font-size: 14px;
        flex-direction: column;
    }

    .custom-icon {
        margin-bottom: 5px;
        font-size: 1.5em;
    }

    .custom-text {
        font-size: 1em;
    }

    .linksmain {
        margin-top: 0px; /*ici*/
    }

    .glass {
        margin-top: 2.5em;
    }
}

