body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-color: #ffffff;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 2.0s ease, transform 2.0s ease;
}

body.loaded {
    opacity: 1;
    transform: translateY(0);
}

.logo-container {
    text-align: center;
    padding: 20px;
}

.logo {
    max-width: 100%;
    height: auto;
}

a {
    display: block;
    width: 100%;
    text-decoration: none;
}

nav {
    display: flex;
    justify-content: center;
    background-color: #000000;
    padding-top: 10px;
    padding-bottom: 10px;
}

nav a {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
    background-color: #000000;
    font-size: 10px;
    width: 80px;
//    border: 1px solid #ffffff;
}

nav a i {
    font-size: 20px; /* Adjust font size for FontAwesome icons */
    margin-bottom: 5px; /* Add some space between icon and text */
}

nav li a {
    font-size: 15px; /* Adjust font size for FontAwesome icons */
    margin-bottom: 5px; /* Add some space between icon and text */
}

footer {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    font-size: 12px;
    text-align: center;
    position: sticky;
    bottom: 0px;
    width: 100%;
    background-color: #ffffff;
}

footer p {
    display: inline;
    margin: 0 10px;
    background-color: #ffffff;
}

#submenu {
    display: none; /* Hide submenu by default */
    position: absolute;
    bottom: calc(100%); /* Position submenu above the navigation menu */
    right: 0;
    z-index: 999; /* Ensure submenu appears above other content */
    background-color: #fff; /* Adjust background color as needed */
    padding: 10px;
    border: 1px solid #ccc; /* Add border for styling */
    width: 150px; /* Set the width of the submenu */
}

#submenu.show {
    display: block;
}

#wpmem_reg {
    font-size: 10px; /* Adjust the text size as needed */
    color: white;
    padding: 20px;
    width: 50%; /* Adjust the width as needed */
    margin: 0 auto; /* Centers the div horizontally */
    text-align: center;
}

#wpmem_login {
    font-size: 10px; /* Adjust the text size as needed */
    color: white;
    padding: 20px;
    width: 50%; /* Adjust the width as needed */
    margin: 0 auto; /* Centers the div horizontally */
    text-align: center;
}

#wpmem_login label {
    /* Your styles here */
    font-size: 14px; /* Adjust the text size as needed */
    color: #333; /* Adjust the color as needed */
    text-align: center; /* Center the text */
}

#wpmem_reg label {
    /* Your styles here */
    font-size: 14px; /* Adjust the text size as needed */
    color: #333; /* Adjust the color as needed */
    text-align: center; /* Center the text */
}

#wpmem_login input[type="text"],
#wpmem_login input[type="password"],
#wpmem_login input[type="email"],
#wpmem_reg input[type="text"],
#wpmem_login input[type="email"],
#wpmem_reg input[type="password"] {
    width: 100%; /* Make the input element fill its container */
}

ul {
  list-style-type: none; /* Remove bullets */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margins */
}

html {
    margin-top: 0 !important;
}

.video-library {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}
.video-search, .video-filter {
    margin-bottom: 20px;
}
.video-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.video-list li {
    width: 90%; /* 90% of the container width */
    margin: 10px;
    box-sizing: border-box;
}
.video-list a {
    text-decoration: none;
    display: block;
    width: 100%;
}
.video-list img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    transition: transform 0.2s;
}
.video-list img:hover {
    transform: scale(1.02); /* Slightly increase the scale for hover effect */
}
.video-title {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Media Queries */
@media (min-width: 600px) {
    .video-list li {
        width: 45%; /* Two items per row */
    }
}

@media (min-width: 900px) {
    .video-list li {
        width: 30%; /* Three items per row */
    }
}

@media (min-width: 1200px) {
    .video-list li {
        width: 22%; /* Four items per row */
    }
}