@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

body {
    background: url('adonis_salon.png') no-repeat center 20% fixed;
    background-size: cover;
    color: white;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    z-index: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    height: 150px;
    position: relative;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0));
}

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

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: 'Dancing Script', cursive;
}

nav ul li a:hover {
    color: #8211ec;
}

.login-button {
    position: absolute;
    top: 20px;
    right: 50px;
    display: flex;
    align-items: center;
    height: 40px;
}

.login-button a {
    color: white !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.login-button a:hover {
    color: #8211ec !important;
}

.login-button a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #8211ec;
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.login-button a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

main {
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    width: 80%;
    margin: 30px auto;
    flex: 1;
}

h2 {
    font-size: 3rem;
    animation: fadeIn 2s ease-in-out;
    font-family: 'Dancing Script', cursive;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

form label {
    font-size: 18px;
    margin: 10px 0;
}

form input {
    padding: 10px;
    font-size: 16px;
    margin: 10px 0;
    width: 300px;
    border: 2px solid #8211ec;
    border-radius: 5px;
    background-color: transparent;
    color: white;
    transition: border 0.3s ease;
}

form input:focus {
    border-color: #6b00a5;
}

form button {
    padding: 12px 24px;
    background-color: #8211ec;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
}

form button:hover {
    background-color: #6b00a5;
}

p a {
    color: #8211ec;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

footer {
    background-color: #222;
    padding: 10px;
    color: white;
    margin-top: 40px;
}