* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    margin: 0;
    padding: 0;
}

body {
    background-color: #1a1a1a; 
    color: #ffffff; 
    font-family: Arial, sans-serif; 
    margin: 0;
    padding:0px;
    overflow-x: hidden;
    padding-top: 80px;
    min-height: 100vh;
}

nav {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
}

nav li {
    margin: auto;
    margin-right: 5px;
    margin-left: 5px;
}

main {
    /* padding: 20px; */
    padding-bottom: 10vh;
}

section {
    padding: 20px;
    background-color: #444; 
    border-radius: 5px;
}

section:hover {
    background-color: #333; 
}

h2 {
    color: #ffffff; 
}

p {
    color: #ffffff; 
}

footer {
    background-color: #333; 
    color: #ffffff;
    text-align: center;
    padding: 10px;
    flex-shrink: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer a {
    margin-right: 0%;
    margin-left: 0%;
    color: aqua;
}

.header_spacer {
    margin: 2vh;
    margin-top: 5vh;
    text-align: center;
    z-index: 9999;
}

.header_spacer_login {
    margin-bottom: 0px;
}

.top_logo {
    max-width: 15%;
    height: 15%; 
    justify-content: left;
    align-items: left;
    margin: 0 auto;
}

.logo_container {
    background-color: black;
}

.home_button {
    display: inline-block;
    padding: 10px 10px;
    border-radius: 10px;
    background-color: #007bff; 
    color: #fff;
    text-decoration: none;
}

.home_button:hover {
    background-color: #0056b3; 
}

.home_button:active {
    transform: translateY(4px); 
    box-shadow: 0 0 #0056b3;
}

.menu_button{
    float: right;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    margin-right: 2%;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    color: inherit;
    font-size: x-large;
}

aboutus span {
    position: relative;
    width: 100%;
    height: 40%;
    background-color: #111;
}

.thumbnail-container {
    position: relative;
    overflow: hidden;
}

.thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

.details-box {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: black;
    color: white;
    padding: 10px;
    opacity: 0.7;
}

.details {
    color: #ffffff;
    font-size: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 10px;
    right: 20px;
    width: 40px; 
    height: 40px; 
    background-color: #444;
    color: white;
    border: none;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    border-radius: 8px; 
    cursor: pointer;
}

.article-cell {
    background-color: #333;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    transition: background-color 0.3s; 
    text-align: center;
}

.article-cell:hover {
    background-color: #444; 
}

.article-title {
    color: #3498db; 
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
}

.article-title:hover {
    text-decoration: underline; 
}

.article-description {
    color: #fff; 
    margin-top: 10px;
    font-size: 16px;
}

.forgot-password {
    margin-top: 5px; 
    margin-bottom: 10px;
}

.forgot-password a {
    color: #007bff; 
    text-decoration: underline; 
}

.signup-prompt {
    margin-top: 40px; 
}

.signup-prompt a {
    color: #007bff; 
    text-decoration: underline; 
}

.signup-container {
    text-align: center;
    max-width: 400px;
    margin: 0 auto; 
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #000; 
}

#signup-heading {
    font-size: 24px;
    margin-bottom: 20px;
}

#signupForm {
    display: flex;
    flex-direction: column;
    align-items: stretch; 
}

#signupForm label {
    margin-bottom: 8px;
}

#signupForm input {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

#signupForm button {
    background-color: #007bff; 
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.forgot-password {
    margin-top: 5px; 
    margin-bottom: 10px;
}

.forgot-password a {
    color: #007bff; 
    text-decoration: underline; 
}

.login-prompt {
    margin-top: 40px; 
}

.login-prompt a {
    color: #007bff; 
    text-decoration: underline; 
}

.login-button {
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.header_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    color: #ffffff;
    padding: 0px;
    text-align: center;
    border-bottom: 1px solid white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.logo-container {
    flex: 1;
    max-width: 15%; /* Adjust max-width as needed */
    margin-left: 1.8%;
    min-width: 10%;
    min-height: 10%;
}

.top-logo {
    max-width: 100%;
    max-height: 100%;
    min-width: 10%;
    min-height: 10%;
}

.search-bar {
    flex: 3; 
    display: flex;
    align-items: center;
    background-color: #444;
    border-radius: 20px;
    border: 1px solid white;
    padding: 0;
    margin: 20px 22%; 
    height: 50px;
}

.dropdown-container {
    position: relative;
    width: 20%;
    background-color: #222;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

.dropdown-container select {
    background: transparent;
    color: white;
    border: none;
    outline: none;
    padding: 5px;
    width: 100%;
    height: 100%;
    appearance: none;
    cursor: pointer;
    padding-left: 10px;
}

.arrow-down {
    position: absolute;
    right: 5px;
    color: white;
    pointer-events: none;
}

.search-bar input {
    flex: 1;
    background-color: transparent;
    color: white;
    border: none;
    outline: none;
    margin-left: 5px;
    height: 100%;
}

.search-bar input::placeholder {
    color: white;
}

.search-bar button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: white;
    padding: 0 10px;
    height: 100%;
}

.login-button-container {
    flex: 1;
    text-align: right;
    margin-right: 1%;
    min-width: 10%;
    min-height: 10%;
}

.slideshow {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin-right: 9%;
}

.slideshow img {
    display: none;
    width: 100%;
    height: auto;
}

.slideshow img.active {
    display: block;
}

.counter {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
}

.about-content {
    flex: 1;
    padding: 20px;
    max-width: 50vw;
    margin-bottom: 1vh;
}

.about-content h2 {
    font-size: 55px;
}

.about-content h3 {
    font-size: 25px;
}

.about-content p {
    font-size: 20px;
}

.about_img {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.about-section {
    display: flex;
    align-items: center;
    background-color: #111; 
    color: #fff; 
    padding: 50px; 
    margin: -2%;
    margin-top: auto;
    background-image: url("./../.pictures/about_us_pic.webp");
    background-size: 50%; 
    background-position: right; 
    background-repeat: no-repeat; 
    margin-bottom: 5vh;
}

.buttons {
    display: flex;
    justify-content: left;
    gap: 2px;

}

.bookmark-btn {
    max-width: 45px;
    max-height: 45px;
}

.heart-btn {
    max-width: 45px;
    max-height: 45px;
}

#imageGallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.imageContainer {
    position: relative;
    width: 18%; /* Adjust this value according to your preference */
    margin-bottom: 2%;
}

.imageContainer img {
    width: 100%;
    height: auto;
}

.imageTitle {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 5px;
}

#pageCounter {
    text-align: center;
    margin-top: 20px;
}

.login_search_begone {
    flex: 3; 
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    padding: 10px;
    margin: 20px 22%; 
}

.main-container {
    min-height: 65vh;
    margin-top: 4%;
    margin-bottom: 4%;
}
.login-button-container a:hover {
    color: blue;
}






/* fix this css and html for settings.html later */

.settings_container {
    background-color: #444;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 10vh;
    color: #fff;
}

.settings_container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.settings_item {
    margin-bottom: 20px;
}

.settings_item label {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.toggle_switch {
    appearance: none;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s ease;
}

.toggle_switch:checked {
    background-color: #66bb6a;
}

.toggle_switch::before {
    content: "";
    width: 18px;
    height: 18px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    transition: transform 0.2s ease;
}

.toggle_switch:checked::before {
    transform: translateX(20px);
}

.input_field {
    width: 70%;
    padding: 8px;
    border-radius: 4px;
    border: none;
    font-size: 16px;
    margin-right: 10px;
}

.add_tag_button {
    padding: 8px 12px;
    background-color: #66bb6a;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.add_tag_button:hover {
    background-color: #57a05b;
}

.blocked_users_list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.blocked_user {
    background-color: #555;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #fff;
}

.profile_pic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.blocked_username {
    flex: 1;
    font-size: 16px;
}

.unblock_button {
    padding: 6px 12px;
    background-color: #ff5c5c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.unblock_button:hover {
    background-color: #e04e4e;
}

.re-email {
    display: none;
}

.login-name {
    display: none;
}

#checkpoints:hover {
    background-color: rgba(0, 0, 255, 0.8)
}
#embeddings:hover {
    background-color: rgba(255, 0, 0, 0.8);
}

#lora:hover {
    background-color: rgba(128, 0, 128, 0.8);
}

#lychoris:hover {
    background-color: rgba(255, 165, 0, 0.8);
}

/* lodaing circle css here */

.progress-circle-container {
    margin-top: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.progress-circle {
    margin: 5%;
    width: 100px;
    height: 100px;
    background-image: url('./../loading_circle.svg');
    background-size: cover;
    background-position: center;
    animation: spin 5s linear infinite;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    z-index: 1;
    animation: counter-spin 5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes counter-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}


.under_construction {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    width: 100%;
    margin-top: 20vh;
    height: 30vh;
    background-image: url(./../.pictures/construction.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: black;
    font-size: 5vh;
}




