/*-----------POLICES D'ECRITURE----------*/
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import "~bootstrap/dist/css/bootstrap.css";

:root {
    --bm-text-color: #ffffff;
    --bm-primary-color: #0953BE;
    --bm-secondary-color: #13293a;
    --bm-hover-color: #A0C4FF;
    --bm-block: #1c1a1a;
}

.fa-solid{
    font-family: "Font Awesome 6 Free", sans-serif !important;
}

*{
    font-family: "Nunito", sans-serif !important;
}

img{
    -webkit-user-drag: none;
}

html, body{
    margin: 0;
    padding: 0;
    min-height: 100svh;
    background-color: #121212 !important;
}

main{
    min-height: 80svh;
}

h1, h2, h3, h4, h5, h6, p, a, span, li {
    color: var(--bm-text-color) !important;
    text-decoration: none !important;
    list-style-type: none !important;
}

.bm_p{
    margin: 0;
}

.bm_filter{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 100;
    position: absolute;
}


/*---------------*/
/*-----------------HEADER*/
/*---------------*/

header{
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
}

.bm_header_margin{
    height: 127px;
}

.status_bar{
    display: flex;
    position: relative;
    justify-content: center;
    background-color: var(--bm-secondary-color);
}

.profil_block{
    position: absolute;
    display: flex;
    align-items: center;
    right: 20px;
    height: 100%;
}

.profil_img{
    border: 2px solid var(--bm-text-color);
    width: 50px;
    border-radius: 5px;
    cursor: pointer;
}

.server_infos{
    color: var(--bm-text-color);
    padding: 20px;
    display: flex;
    align-items: center;
    width: fit-content;
    height: fit-content;
}

.server_infos h6{
    white-space: nowrap;
    margin: 0;
    margin-right: 5px;
}

.server_infos img{
    width: 20px;
    height: 20px;
}

nav{
    background-color: var(--bm-primary-color);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 30%;
}

nav a{
    text-decoration: none;
    color: var(--bm-text-color);
    font-size: 1.5rem;
    font-weight: bolder;
}

.nav-link{
    color: var(--bm-text-color) !important;
    font-size: 1.2rem !important;
}

.nav-link:hover p{
    color: var(--bm-hover-color) !important;
    transition: color 0.2s;
}

.nav-link:hover li{
    color: var(--bm-hover-color) !important;
    transition: color 0.2s;
}

.nav-item{
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.bm_nav_icon{
    display: flex;
    align-items: center;
}

.brand-logo{
    width: 100px;
}

/*TEST NOUVELLE NAV*/

.bm_nav{
    width: 100%;
    height: 150px;
}

.bm_nav_left{
    display: flex;
    gap: 60px;
}

.bm_nav_middle{
    position: absolute;
    top: 30px;
}

.bm_nav_right{
    display: flex;
    gap: 60px;
}

.bm_nav_logo{
    width: 250px;
    transition: scale 0.3s ease;
}

.bm_nav_logo:hover{
    scale: 110%;
}

.bm_nav_icon{
    border: 2px solid white;
    border-radius: 60px;
    padding: 10px;
    width: 75px;
}

.bm_nav_icon:hover{
    background-color: red;
    background: var(--bm-secondary-color) !important;
    transition: background-color 0.2s;
    border: none;
}

.bm_nav_li{
    display: flex;
    flex-direction: column;
    align-items: center;
}

#bm_large_nav {
    display: flex;
}

#bm_small_nav {
    display: none;
}



/*---------------*/
/*-----------------ACCUEIL*/
/*---------------*/

#accueil{
    background-image: url('../img/accueil_background.jpg');
    background-size: cover !important;
    mask-image: url('../img/mask.webp');
    mask-size: 100% 100%;
    height: 35svh;
}

.filtre{
    background-color: rgba(0, 0, 0, 0.215);
    backdrop-filter: blur(2px);
    height: inherit;
}

.bm_accueil_p{
    font-family: monospace, sans-serif !important;
}

.bm_accueil_btn{
    width: fit-content;
    text-transform: uppercase;
    font-weight: bolder;
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 3rem;
    background-color: var(--bm-primary-color);
    color: var(--bm-text-color);
    margin: auto;
    margin-top: 50px;
}



/*---------------*/
/*-----------------Gros titre*/
/*---------------*/

.gros_titre{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--bm-text-color);
}

.gros_titre h1{
    font-size: 4.5rem;
    font-weight: 700;
    text-align: center;
}

.gros_titre p{
    font-size: 1.25rem;
    font-weight: 400;
}

@media screen and (width <= 768px){
    .gros_titre h1{
        font-size: 3.8rem;
    }
}


/*---------------*/
/*-----------------AdminPanel*/
/*---------------*/

.adminpanel{
    background-color: #13293B;
    min-height: 40vh;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*---------------*/
/*-----------------Composants*/
/*---------------*/

/*---------------Bouton*/

.bm_btn{
    border: none;
    border-radius: 5px;
    padding: 15px;
    color: var(--bm-text-color);
    background-color: var(--bm-primary-color);
    margin: auto;
}

/*---------------Navbar*/

.bm_nav{
    width: 100%;
    min-height: 50px;
}

.bm_nav_links{
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
    justify-content: space-evenly;
}


/*---------------Widget*/

.bm_widget_container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 30px 0;
}

.bm_widget{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.bm_widget img{
    width: 100px;
    height: 100px;
}

.bm_widget p{
    text-align: center;
    width: 60%;
}

.bm_widget button{

}

/*---------------Active-Link*/

.bm_active{
    text-shadow: 2px 2px black;
    font-weight: bolder !important;
}

.bm_active_icon{
    color: var(--bm-hover-color) !important;
}

/*---------------Dropdown*/

#bm_dropdown_menu{
    flex-direction: column;
    position: absolute;
    top: 60px;
    background-color: #13293a;
    width: 35vw;
    padding: 0;
}

.bm_dropdown_element{
    padding-left: 20px;
}

.bm_dropdown_element:hover{
    background-color: #1895FF;
}

.bm_dropdown_link{
    width: 100%;
    display: inline-flex;
    padding: 10px 0;
    text-decoration: none;
    color: var(--bm-text-color);
    font-size: 1.5rem;
    font-weight: bolder;
}

.hide{
    right: -35vw;
    transition: right 0.6s ease;
}

.show{
    right: 0;
    transition: right 0.6s ease;
}

/*---------------Footer*/

.bm_footer{
    background-color: var(--bm-primary-color);
    height: 20svh;
    padding: 2rem 0;
    display: flex;
    justify-content: space-around;
    font-size: 1.2rem;
    position: relative;
    bottom: 0;
    margin-top: 30px;
}

.bm_footer_copyright{
    background-color: #13293B;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm_footer_copyright p{
    margin: 10px 0;
}


.bm_footer ul{
    margin: 0;
}

/*---------------Form*/

.bm_form_container{
    display: flex;
    width: 100%;
    justify-content: center;
}

.bm_form_row{
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    min-width: 400px;
}

.bm_form_widget{
    padding: 10px;
    width: 100%;
    border-radius: 5px;
}

.bm_form_label{
    color: var(--bm-text-color);
}

.bm_form_submit{
    width: 50%;
    background-color: var(--bm-primary-color);
    color: var(--bm-text-color);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    margin: auto;
    margin-top: 20px;
    justify-content: center;
}

/*---------------Alert messages*/

.bm_alert_alert{
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: rosybrown;
    color: #3c0101;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #ffdda1;
}

.bm_alert_success{
    display: flex;
    width: 100%;
    justify-content: center;
    background-color: #14c514;
    color: #025302;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #ffdda1;
}

/*---------------Listes*/

.bm_list{
    border-radius: 5px;
    padding: 5px;
    background-color: white;
}

.bm_list_item{
    background-color: white;
    width: 200px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid black;
}

.bm_list_link{
    color: black !important;
    padding: 10px;
}

/*---------------Cards*/

.bm_card{
    background-color: var(--bm-block);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding: 20px;
}

.bm_card_img{
    max-height: 200px;
}

.bm_card_title{

}

.bm_card_price{

}

/*---------------PlayersList*/

.bm_players_section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.bm_players_list{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 50%;
    gap: 10px;
    margin-bottom: 30px;
}

.bm_players_item{
    display: flex;
    align-items: center;
    background-color: var(--bm-block);
    box-sizing: border-box;
    padding: 5px;
    padding-left: 10px;
    position: relative;
}

.bm_players_image{
    width: 30px;
    height: 30px;
}

.bm_players_name{
    margin: 0;
    padding: 10px;
}

.bm_players_status{
    width: 20px;
    height: 20px;
    position: absolute;
    right: 30px;
}

/*---------------News*/
.bm_news_container{
    display: grid;
    grid-template-columns: repeat(2, 20vw);
    justify-content: center;
    align-items: center;
    gap: 20px;
    min-height: 70svh;
}

.bm_news_article{
    width: 100%;
    border-radius: 10px;
    position: relative;
}

.bm_news_article .bm_filter{
    border-radius: 10px 10px 0 0;
    height: 10vw;
}

.bm_news_article:hover{
    scale: 101%;
    transition: scale 0.3s ease;
    cursor: pointer;
}

.bm_news_img{
    width: 100%;
    height: 10vw;
    border-radius: 10px 10px 0 0;
}

.bm_news_footer{
    background-color: var(--bm-block);
    border-radius: 0 0 10px 10px;
    height: 3.5vw;
    display: flex;
    align-items: center;
    position: relative;
}

.bm_news_title{
    margin: 0;
    font-family: "Roboto", sans-serif !important;
    font-weight: bolder;
    margin-left: 30%;
}

.bm_news_date{
    background-color: var(--bm-primary-color);
    color: var(--bm-text-color);
    position: absolute;
    height: 120%;
    top: 0;
    width: 20%;
    margin-left: 8%;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    font-size: 1.3rem;
    font-weight: bolder;
    text-shadow: 2px 2px black;
}


/*---------------Pagination*/

.page-link{
    background-color: var(--bm-block);
}

.bm_pagination_nav{
    width: 50%;
    border-radius: 5px;
}

.bm_pagination{
    margin: 0;
    padding: 10px;
}

