body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: "Mitr", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
    max-width: 1200px;
    margin: 20px;
    position: relative;
    z-index: 1;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.login-container {
    background: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.logo {
    max-width: 100px;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

input {
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

button {
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #218838;
}

.messages {
    list-style: none;
    padding: 0;
    color: red;
    animation: fadein 0.5s;
}

.public-link {
    display: block;
    margin-top: 20px;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.public-link:hover {
    color: #0056b3;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.logout-link, .back-link, .public-link, .button-link {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #007bff;
    background-color: white;
    border: 2px solid #007bff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logout-link:hover, .back-link:hover, .public-link:hover, .button-link:hover {
    color: white;
    background-color: #007bff;
}

.logout-link::after, .back-link::after, .public-link::after, .button-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0);
}

.logout-link:hover::after, .back-link:hover::after, .public-link:hover::after, .button-link:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.button-game {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #171a21;
    background-color: white;
    border: 2px solid #2a475e;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button-game:hover {
    color: white;
    background-color: #2a475e;
}

.button-game::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0);
}

.button-game:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.button-github {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    color: #24292e;
    background-color: white;
    border: 2px solid #2b3137;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.button-github:hover {
    color: white;
    background-color: #2b3137;
}

.button-github::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 0;
    transform: translate(-50%, -50%) scale(0);
}

.button-github:hover::after {
    transform: translate(-50%, -50%) scale(1);
}