@import url('https://fonts.googleapis.com/css2?family=SUSE:wght@100..800&display=swap');

a {
    display: inline-block;
    margin-top: 5px;
    color: #6a5acd;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

.profile-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 300px;
    padding: 0 20px;
    border: none;
    cursor: pointer;
}

.dropdown .btn_header {
    width: 300px;
    margin-right: 30px;
}

.profile-image {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #242423;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    z-index: 1;
    border-radius: 4px;
}

.dropdown-content a {
    color: antiquewhite;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #333;
    text-decoration: none;
}

.dropdown-content:hover {
    opacity: 1;
    visibility: visible;
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
}

.Centered {
    display: flex;
    justify-content: center;
    align-items: center;
}

.Column {
    flex-direction: column;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#header {
    width: 100%;
    padding-top: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px 0px 40px 0px;
    z-index: 300;
}



.btn_header {
    transition-duration: 0.2s;
    height: 40px;
    width: 220px;
    border: none;
}

.btn_header:hover {
    transition-duration: 0.2s;
    cursor: pointer;
    letter-spacing: 2px;
}

.btn_header:hover .dropdown-content {
    letter-spacing: 2px;
    width: 200px;
}

.basic_btn {
    font-size: 18px;
    margin-top: 2%;
    transition-duration: 0.2s;
    height: 80px;
    width: 400px;
    border: none;
    border-radius: 4px;
    padding: 16px 32px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    transition: transform 300ms, background-color 300ms, filter 300ms, letter-spacing 300ms;
    transform: scale(1);
    filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.2));
    cursor: pointer;
}

.disabledButton {
    font-size: 18px;
    margin-top: 2%;
    transition-duration: 0.2s;
    height: 80px;
    width: 400px;
    border: none;
    border-radius: 4px;
    padding: 16px 32px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    transition: transform 300ms, background-color 300ms, filter 300ms, letter-spacing 300ms;
    transform: scale(1);
    filter: drop-shadow(0 10px 5px rgba(0, 0, 0, 0.2)) grayscale(50%);
}

.msg {
    color: antiquewhite;
    font-size: 15pt;
    margin-top: 10px;

}



.basic_btn:hover {
    transition-duration: 0.2s;
    background-color: antiquewhite;
    color: #242423;
    cursor: pointer;
    letter-spacing: 2px;
    transform: scale(1.05);
    filter: drop-shadow(0 20px 10px rgba(0, 0, 0, 0.2));

}


.basic_btn:active {
    transform: scale(0.95);
    filter: drop-shadow(0 5px 3px rgba(0, 0, 0, 0.2));
}

.text_basic_color {
    color: antiquewhite;
}

.text_valid_color {
    color: #a7c957;

}

.text_alternative_color {
    color: #f0844a;
}

.text_bad_color {
    color: #f04a4a;
}

.text_black_color {
    color: #242423;
}

.background_basic_color {
    background-color: #242423;
}

.background_opposite_color {
    background-color: antiquewhite;
}

.background_valid_color {
    background-color: #a7c957;
}

.background_alternative_color {
    background-color: #f0844a;
}

.background_bad_color {
    background-color: #f04a4a;
}

.font1 {
    font-family: 'SUSE';
}

.bold {
    font-weight: bold;
}

#left_content {
    width: 49%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#center_content {
    width: 1px;
}

#right_content {
    width: 49%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#right_content h1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.leaderboard {
    height: 470px;
    width: 500px;
    background-color: #464645;
    border-radius: 21px;
}

#content {
    margin: 50px 20px 10px 20px;
    padding: 0px 10% 0px 10%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 100px;

}

#Title_Name {
    transition-duration: 0.2s;
    font-size: 48px;
    font-family: 'SUSE';
    font-weight: 600;
    background-color: transparent;
    border: none;
}

#Title_Name:hover {
    transition-duration: 0.2s;
    letter-spacing: 6px;
    cursor: pointer;
}

#linkHome:visited {
    text-decoration: none;
}

.text_input_response {
    margin-top: 3%;
    border: 2px antiquewhite solid;
    padding: 3px 5px 3px 5px;
    text-align: center;
    width: 20%;
    height: 30px;
    font-size: 20px;
}

#circleOfWinBG {
    z-index: 0;
}

#aboveCircleOfWin {
    position: relative;
    z-index: 1;
}

#apropos {
    padding: 30px;
    font-size: 20pt;
}

#arrow {
    height: 150px;
    width: 100%;
    transition-duration: 1s;
}

.arrow {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-top: 2px solid antiquewhite;
    border-right: 2px solid antiquewhite;
}

.arrow-bottom {
    transform: rotate(135deg);
}

#arrow:hover {
    transform: translateY(30%);
}

#descMenu {
    margin-top: 50px;
}

#descMenu h3 {
    font-size: 32px;
    text-align: center;
}

#descMenu h5 {
    font-size: 21px;
    text-align: center;
}

#descMenu p {
    font-size: 24px;
    margin-right: 40px;
    margin-left: 40px;
    text-align: center;
}

.presImg {
    width: 500px;
    border: solid 4px antiquewhite;
    border-radius: 21px;
    margin: 80px;
    transition-duration: 0.5s;
    cursor: pointer;
}

.presImg:hover {
    border: solid 10px antiquewhite;
}


#presMDJ {
    width: 100%;
}

#presImgMDJ {
    transform: rotate(-7deg);
}

#presImgMDJ:hover {
    transform: rotate(0);
}

#presImgRanked {
    transform: rotate(7deg);
}

#presImgRanked:hover {
    transform: rotate(0);
}

#presImgCLM {
    height: 300px;
    width: 450px;
    transform: rotate(-7deg);
}

#presImgCLM:hover {
    transform: rotate(0);
}

.tableContentContainer img {
    width: 30px;
}

.classementComponent {
    transform: scale(0.9);
}

.tableContainer {
    height: 400px;
}


.DisabledOnPC#headerMobile {
    display: none;
}

#headerMobile {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
    z-index: 300;
    position: fixed;
    padding: 10px 0 10px 0;
}

#burgerBtn {
    width: 35px;
    height: 35px;
    margin-left: 7px;
    background-color: transparent;
    border: none;
    color: antiquewhite;
    z-index: 101;
}

.leftEqualizer {
    width: 40px;
    height: 40px;
}

#headerMobilePanel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -10;
    left: 0;
    width: 70%;
    height: 100vh;
    transform: translateX(-100%);
    transition-duration: 0.3s;
    z-index: 100;
    gap: 20px;
    padding-top: 50px;
    overflow: hidden;

}

#headerMobilePanel.menuOpen {
    -webkit-box-shadow: 12px 0px 28px 5px rgba(0, 0, 0, 0.57);
    box-shadow: 12px 0px 28px 5px rgba(0, 0, 0, 0.57);
}

#headerMobilePanel button,
.btn_header.profile-button {
    width: 120%;
    text-align: left;
}

.btn_header.profile-button {
    margin-left: 0;
}

#headerMobilePanel button {
    margin-left: 30px;
}

#headerMobilePanel.menuOpen {
    transform: translateX(0);
}

.DisabledOnPC {
    display: none;
}

#burgerMenuIcon {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 1320px) {
    #content {
        flex-direction: column;
    }

    #content h1,
    #content p {
        text-align: center;
    }
}


@media only screen and (max-width: 768px) {
    #btnVoirClassements {
        background-color: #353535;
        font-family: 'SUSE';
        font-size: 11px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .DisabledOnPC {
        display: flex;
    }

    .DisabledOnPC#headerMobile {
        display: flex;
    }

    #content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
        transform: translateY(50px);
    }

    .basic_btn,
    .disabledButton {
        width: 200px;
        height: 50px;
        font-size: 15px;
        padding: 10px;
    }

    .disabledButton {
        font-size: 12px;
    }

    h1 {
        font-size: 20px;
        text-align: center;
    }

    #descMenu h5 {
        font-size: 15px;
        text-align: center;
        margin: 0px 20px 0px 20px;
    }

    .tableContainer {
        width: 250px;
        height: 400px;
        background-color: #353535;
        border-radius: 10px;
        padding: 10px 30px 30px 30px;
        display: flex;
        align-items: center;
        flex-direction: column;
        overflow: hidden;
    }

    .row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid antiquewhite;
        height: 55px;
        font-size: 11px;
    }


    .rowChild {
        padding: 5px;
        width: 10px;
        /* Pour mieux visualiser les enfants */
    }

    .rowChild.largerOnMobile {
        width: 60px;
        transform: translateX(20px);
    }

    .points {
        width: 70px;
        text-align: right;
    }

    .DisabledOnMobile {
        display: none;
    }

    #header.DisabledOnMobile {
        display: none;
    }

    .presImg {
        height: 170px;
        width: 300px;
        transform: rotate(0);
        margin: 30px;
    }

    #presImgCLM {
        height: 170px;
        width: 300px;
        transform: rotate(0);
    }

    #presImgMDJ {
        transform: rotate(0);
    }

    #presImgRanked {
        transform: rotate(0);
    }

    .columnMobile {
        display: flex;
        flex-direction: column;
    }

    .msg {
        text-align: center;
    }

    #left_content {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}