html, body {
    height: 100vh;
    width: 100%;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-image: url('/static/rooms/images/hypno.png');
    background-size: 350px 350px;
    background-repeat: repeat;
    user-select: none;
}

.navbar-title-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #ffffff;
}

/* Główny kontener */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

/* Treść strony */
.content {
    width: 100%;
    flex-grow: 1;
    place-items: center;
    font-family: 'Poppins', serif;
}

/* Stopka */
footer {
    background-color: #9C4541;
    color: white;
    padding: 20px;
    text-align: center;
    height: 40px;
    margin-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 18px;
    color: white;
}

p {
    color: #9C4541;
}

.user-name-text {
    font-weight: bold;
}

.subtitle {
    margin-top: -15px;
}

/* Kontener menu */
.menu-container {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    padding: 0 20px;
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.menu-item {
    display: flex;
    font-family: 'Poppins', serif;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 350px;
    height: 70px;
    background-color: #D26661;
    border: 2px solid #D26661;
    text-align: center;
    line-height: 120px;
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-bottom: 20px;
}

.menu-item:hover {
    transform: scale(1.05);
    background-color: #BF5854;
    border: 2px solid #BF5854;
}

.navbar {
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #9C4541;
    color: white;
    width: 100%;
    padding: 10px 0;
    position: relative;
}

.navbar-left {
    display: flex;
    align-items: center;
    padding: 0 10px;
    margin-bottom: 1px;
}

.navbar-logo {
    margin-bottom: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.navbar-logo img {
    height: 80px;
    width: auto;
}

.navbar-title {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #9C4541;
    color: white;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 17px;
    text-align: center;
    margin-bottom: -5px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1px;
    margin-right: 10px;
}

.user-info {
    font-size: 16px;
    color: white;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

.home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    margin-right: 10px;
}

.home-link svg {
    width: 40px;
    height: 40px;
    transition: transform 0.2s ease-in-out;
}

.home-link:hover svg {
    transform: scale(1.15);
}

.navbar-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar-link:hover {
    background-color: rgb(184, 93, 88);
}

.navbar a:hover {
    background-color: rgb(184, 93, 88);
    border-radius: 5px;
}

.navbar form {
    display: inline-block;
}

.navbar button {
    color: white;
    background-color: transparent;
    border: 2px solid white;
    padding: 8px 16px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.navbar button:hover {
    background-color: rgb(171, 83, 78);
    color: white;
    border-color: white;
}


.login-container {
    width: 400px;
    margin: 50px auto;
    padding-left: 40px;
    padding-right: 50px;
    padding-top: 35px;
    padding-bottom: 30px;
    background: linear-gradient(to right, #DE918E, #DE6E69);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #125a6b;
}

/* Styl dla każdego pola wejściowego */
.input-container {
    margin-bottom: 20px;
}

.input-container input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 3px solid #DE6E69;
    border-radius: 5px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.input-container input:focus {
    border-color: #9c413d;
    outline: none;
}

.button-container {
    text-align: center;
}

.button-container button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: white;
    background-color: #AF504B;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Efekt najechania na przycisk */
.button-container button:hover {
    background-color: #953E3A;
}

.divider-wrapper {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    margin-bottom: 40px;
    gap: 10px;
}

.divider-line {
    flex-grow: 1;
    height: 1px;
    background-color: #999;
    width: 70px;
}

.divider-text {
    font-weight: bold;
    padding: 0 10px;
    white-space: nowrap;
    background: inherit;
    z-index: 1;
}

.google-btn {
    align-items: center;
    justify-content: center;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 35px;
    padding: 15px 0px;
    font-size: 16px;
    background-color: white;
    cursor: pointer;
    width: 320px;
    margin: 0 auto;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s;
    margin-bottom: 40px;
}


.google-btn:hover {
    transform: scale(1.03);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.google-btn img {
    height: 30px;
    margin-right: 10px;
}

#btn-login{
    border-radius: 35px !important;
}

/* Styl dla komunikatu błędu */
.message-box {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f44336;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 9999;
    font-size: 18px;
    width: 60%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease-out, fadeOut 4s 4s forwards;
}

/* Styl dla komunikatu błędu */
.message-error-box {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f44336;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 9999;
    font-size: 18px;
    width: 60%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease-out, fadeOut 4s 4s forwards;
}

.message-successful-box {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #45a049;
    color: white;
    padding: 15px;
    border-radius: 5px;
    z-index: 9999;
    font-size: 18px;
    width: 60%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease-out, fadeOut 4s 4s forwards;
}



@media (max-width: 1000px) {
    p{
        font-size: 0.5rem;
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 6px;
        padding-top: 40px;
    }

    .navbar-title {
        padding-top: 10px;
    }

    .navbar-title-text {
        font-size: 1rem;
        padding-bottom: 6px;
    }

    .navbar-left{
        margin-bottom: -2px;
        margin-left: 4px;
        gap: 3px;
    }

    .navbar-right{
        margin-right: 4px;
        gap: 3px;
    }

    .navbar-left,
    .navbar-right {
        padding: 0px 0px;
        display: flex;
        align-items: center;
    }

    .home-link{
        margin-right: 2px;
        margin-bottom: 2px;
    }

    .home-link svg {
        width: 22px;
        height: 22px;
    }

    .navbar a {
        font-size: 10px;
        margin-top: 14px;
        padding: 8px 4px;
    }

    .navbar-logo img {
        margin-bottom: 60px;
        height: 55px;
    }

    .user-info {
        margin-top: 16px;
        font-size: 10px;
        white-space: nowrap;
    }

    .navbar button {
        margin-top: 20px;
        padding: 4px 4px;
        font-size: 10px;
        border: 1.5px solid white;
    }

    .menu-container {
        width: 80%;
        margin: 5px;
        margin-top: 25px;
        margin-bottom: 0px;
        padding: 0;
    }

    .menu-item {
        width: 150px;
        height: 20%;
        padding: 15px;
        border: 0.5px solid #D26661;
        line-height: 100%;
        font-size: 0.6rem;
        border-radius: 5px;
        margin-bottom: 7px;
    }

    .footer-text{
        font-size: 0.7rem;
        padding: 2px;
    }

    .login-container {
        width: 250px;
        padding-left: 5px;
        padding-right: 6px;
        padding-top: 25px;
        padding-bottom: 10px;
        margin-bottom: 0px;
    }

    .login-container h2 {
        font-size: 0.5rem;
        margin-bottom: 3px;
    }

    .input-container{
        margin-bottom: 1px;
    }

    .input-container input {
        width: 85%;
        padding: 6px;
        font-size: 0.55rem;
        border: 1.5px solid #DE6E69;
        border-radius: 35px;
    }

    .button-container button {
        width: 85%;
        padding: 7px;
        border-radius: 35px;
        font-size: 0.65rem;
        margin-bottom: 15px;
    }

    .divider-wrapper {
        margin: 20px 0;
        gap: 5px;
    }

    .divider-line {
        height: 0.5px;
        width: 35px;
    }

    .divider-text {
        margin-top: 1px;
        font-size: 0.7rem;
        padding: 0 2px;
    }

    .google-btn {
        align-items: center;
        justify-content: center;
        border: 1px solid #ccc;
        border-radius: 35px;
        padding: 10px 0px;
        font-size: 0.65rem;
        width: 200px;
        text-decoration: none;
        color: inherit;
    }

    .google-btn img {
        height: 15px;
        margin-right: 5px;
    }

    .message-box {
        padding: 5px;
        border-radius: 5px;
        font-size: 0.7rem;
        width: 70%;
    }

    .message-error-box {
        padding: 5px;
        border-radius: 5px;
        font-size: 0.7rem;
        width: 70%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

    .message-successful-box {
        padding: 5px;
        border-radius: 5px;
        font-size: 0.7rem;
        width: 70%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}

/* Animacja pojawiania się chmurki */
@keyframes slideIn {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

/* Animacja znikania chmurki po czasie */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}


form input, form select, form button {
    padding: 10px;
    margin: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #A14844;
    font-size: 15px;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

form button:hover {
    background-color: #8D3D3A;
    transform: scale(1.05);
}
