@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.bg-img {
    background-image: url('./img/bg.jpg');
    width: 100%;
    height: 100%;
    /* Specify background image properties */
    background-size: cover;
    /* You can also use 'contain' or other values */
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Fixed background scrolling */

    /* Optional: Add background color in case the image is not available or doesn't cover the entire page */
    background-color: #f5f5f5;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid white;
    color: white;
}

header ul {
    display: flex;
    align-items: center;
    font-size: 18px;
}

header span {
    font-size: 30px;
}

header ul li {
    display: inline-block;
    margin-right: 20px;
}

header ul li form {
    padding: 0;
}

header ul li button {
    cursor: pointer;
    background: white;
    padding: 5px 10px;
    border: 0;
}

header ul li:last-child {
    margin-right: 0;
}

main {
    background: #000;
    color: white;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.auth-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 480px;
    width: 100%;
    background: #FFFFFF;
    padding: 35px;
    border-radius: 8px;
    color: black;
}

.auth-modal h3 {
    text-align: center;
    font-size: 25px;
}

.auth-modal input {
    width: 100%;
    height: 40px;
    border: 0;
    border-bottom: 1px solid rgb(150, 150, 150);
    font-size: 16px;
    margin-bottom: 15px;
}

.auth-modal input:focus {
    border-bottom: 1px solid #000;
    outline: none;
}
.auth-modal a {
    text-decoration: underline !important;
}
.auth-modal button {
    font-size: 18px;
    background: #F2C94C;
    border: 0;
    padding: 10px 15px;
    width: 65%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: 20px;
    font-weight: 600;
}

.auth-admin {
    display: flex;
    align-items: center;
}

.auth-admin input {
    display: inline-block;
    margin-left: 20px;
    width: 20px;
    height: 20px;
    margin-bottom: 0;
}

form {
    padding-top: 15px;
}

/* Home page */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.video-container:after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: black;
    opacity: 0.7;
    z-index: -1;
}

.homepage-preview {
    text-align: center;
    margin-top: 20%;
}

.homepage-preview p {
    margin-top: 20px;
}

/* Menu page */
.menu-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 0;
}

.menu-item {
    margin-bottom: 20px;
}

/* About us page */
.aboutus-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.aboutus-container h1 {
    margin-bottom: 30px;
}

.aboutus-images {
    width: auto;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aboutus-images img {
    width: 33%;
    height: 250px;
}

/* Contact page */
.contact-form {
    display: block;
    width: 100%;
    max-width: 500px;
}

.contact-form input {
    width: 100%;
    height: 40px;
    border: 1px solid lightgrey;
    padding-left: 5px;
}

.contact-form label {
    display: block;
    padding-bottom: 10px;
}

.contact-form span {
    display: block;
    font-size: 16px;
    padding-bottom: 5px;
}

.contact-form textarea {
    resize: none;
    width: 100%;
    height: 150px;
}

.contact-form button {
    font-size: 16px;
    color: black;
    border-radius: 8px;
    background: white;
    padding: 10px 15px;
    cursor: pointer;
}

.contact-info {
    margin-top: 20px;
}

.contact-info strong {
    display: block;
    margin-top: 10px;
}

.contact-info p {
    margin: 5px 0;
}


/* Chat page */

.chat {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 1px solid white;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    max-height: 500px;
}

.chat-container {
    position: relative;
    /* overflow-y: scroll; */
}

.chat-display {
    width: 100%;
    max-height: 410px;
    overflow-y: scroll;
}

.chat-panel {
    width: 100%;
    display: flex;
    align-items: center;
}

.chat-panel input {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    font-size: 16px;
}

.chat-panel button {
    margin-left: 10px;
    padding: 7px 14px;
    font-size: 16px;
}

.chat-message-timestamp {
    color: #F2C94C;
}

.chat-message-user {
    font-weight: bold;
}

.chat-message-message {
    font-style: italic;
}

/* ADMIN PAGE */

.user-message {
    border-top: 1px solid white;
    padding: 20px 20px 40px 20px;
}

.users-list li {
    border: 1px solid white;
    padding: 10px 20px;
    display: block;
    margin: 20px 0;
}
.users-list li form {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.users-list li form span,strong {
    display: inline-block;
    margin-right: 10px;
}
.users-list li button {
    background: red;
    padding: 5px 10px;
    border: 0;
    outline: 0;
    display: inline-block;
    cursor: pointer;
    color: white;
}

.users-list li button:disabled {
    background: #aba8a8;
    color: black;
}