body {
    font-family: Arial, sans-serif;
    background-color: #232323;
    color: #fff;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5vh;
}

.logo-container-header {
    margin: 10px;
}

.logo-header {
    width: 130px;
    height: auto;
}

.header-content {
    display: flex;
    align-items: center;
}

.logo-container {
    margin-bottom: 20px;
}

#toggleSound {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 125px;
    width: 100px;
    height: 100px;
}

.logo {
    width: 300px;
    height: auto;
}

.logo-small {
    width: 100px;
}

.logo-medium {
    width: 200px;
}

.logo-large {
    width: 600px;
}

.message-container {
    width: 300px;
    margin: 0 auto;
    padding: 20px;
    background-color: #121212;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.accordion {
    width: 80%;
    margin: 10 auto;
    padding: 20px;
    background-color: #121212;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.accordion-btn {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 20px;
}

.text-code {
    width: 400px;
    height: auto;
    padding: 20px;
    font: normal 12px/18px "Lucida Console", monospace;
}

h2 {
    text-align: center;
}

h3 {
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: calc(100% - 12px);
    padding: 6px;
    border: 1px solid #3B3B3B;
    border-radius: 3px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

/*Aligner le toggle du password avec le champ*/

#visToggle {
    color: #797979;
    height: 100%;
    text-align: end;
    transform: translateY(-145%);
    margin-left: 92.5%;
    z-index: 1;
}

/*Level Banner index.html*/

.LevelBanner ul li {
    list-style-type: none;
    text-decoration: none;
    margin-left: -40px;
    font-size: 20px;
    display: inline-block;
}

.LevelBanner li {
    margin: 10px;
    width: 200px;
    color: white;
}

.LevelBanner h1 {
    font-size: 2em;
}

.LevelBanner {
    text-align: center;
    margin: 0;
}

footer {
    text-align: center;
    margin-top: 80px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    gap: 10px;
}
.user-details, .terminate-btn {
    justify-content: center;
    align-items: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.terminate-btn {
    background-color: red;
    color: white;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 10px;
}

.card {
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Level-specific border colors */
.card.level-easy {
    border: 3px solid green;
}

.card.level-medium {
    border: 3px solid orange;
}

.card.level-hard {
    border: 3px solid red;
}

.card-no-click {
    border: 2px solid #ccc;
    padding: 10px;
    margin: 10px;
    cursor: not-allowed;
    opacity: 0.5;
}

.card-completed {
    border: 2px solid #0b510e;
    padding: 10px;
    margin: 10px;
    cursor: not-allowed;
    background-color: #0b510e;
}

.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    background-color: #232323;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s;
    text-align: center;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-button {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.popup-button:hover {
    background-color: darkgreen;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.no-scroll {
    overflow: hidden;
    height: 100%;
}
