@font-face {
    font-family: "GreycliffCF";
    src: local("GreycliffCF"),
         url("/GreycliffCF.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Recommended for better performance */
  }

@font-face {
    font-family: "Shrikhand";
    src: local("Shrikhand"),
         url("/Shrikhand.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Shrikhand", cursive;
}

body {
    font-family: GreycliffCF;
    background-image: url('/BackGroundImage.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: -1;
}

.container-fluid, .navbar {
    position: relative;
    z-index: 1;
}

.d-none {
    display: none !important;
}

#login-container .card, .room-item .card {
    background-color: rgba(33, 37, 41, 0.7); /* Darker semi-transparent background */
    backdrop-filter: blur(15px); /* Blur effect for the cards */
    border: 1px solid #444;
}

.error-message {
    color: #cf6679;
    background-color: rgba(207, 102, 121, 0.1);
    border: 1px solid #cf6679;
    padding: 12px;
    border-radius: 8px;
    margin: 20px 0;
    display: none; /* Initially hidden */
}

.room-item .card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.room-item .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.room-item .card-title {
    color: #ffffff;
}

.room-item .creator {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #3e3e3e;
    color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.navbar {
    background-color: rgba(33, 37, 41, 0.7);
    backdrop-filter: blur(15px);
    padding: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}


.rc-anchor-normal {
    height: 100%;
    width: 999px;
}

.card {
    background: #1b1b1b1f !important;
    outline-width: 0px;
    border-width: 0px;
    backdrop-filter: blur(15px);
}

.profile-icon-initial {
    font-family: Shrikhand;
}

.pagination-button {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.pagination-button:focus {
    outline: none;
    box-shadow: none;
}

#prev-page {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #ffffff;
}

#next-page {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: #ffffff;
}