/* General Reset */
* {
    box-sizing: border-box;
    font-family: 'Comfortaa';
    overflow-x: hidden;
}

.additional {
    display: none;
}

/* Header Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #f4f4f4; /* Light background for contrast */
    color: #333; /* Dark text color for readability */
    border-bottom: 2px solid #ddd;
    font-family: 'Comfortaa';
    width: 100%;
    position: fixed;
    z-index: 5;
    height: auto;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
}

.logo .highlight {
    color: #5400b3; /* Purple color for emphasis */
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin: 0 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #333; 
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #5400b3;
}

.model-button {
    display: none;
    border: none;
}

.action-btn {
    background-color: #5400b3;
    border: none;
    border-radius: 10px;
    padding: 8px 15px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
    transition: 0.3s;
}


.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.sidebar-title {
    margin-top: 30px;
    overflow-y: visible;
    text-align: center;
    min-height: 40px;
}

.search-box-container {
    position: relative;
    width: 100%;
}

.search-box {
    width: 100%;
    padding: 10px 40px 10px 10px;
    font-size: 16px;
    border-radius: 20px;
    border: 1px solid #ccc;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #5400b3;
    cursor: pointer;
    border: none;
    background-color: white;
}

.selected-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.hidden {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

label {
    margin-bottom: 3px;
    background-color: #eaeaea;
    transition: 0.3s;
}

input[type=checkbox]+label:hover {
    background-color: #e3d6f1;
}

input[type=checkbox]+label {  
    background-color: #ffffff;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

input[type=checkbox]:checked+label {
    background-color: #5400b3;
    color: white;
}

input[type=button] {
    background-color: white;
    color: black;
}
input[type=button].active {
    background-color: #5400b3;
    color: white;
}


.filter-tag span {
    margin-right: 5px;
}
.filter-tag button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
.clear-filters {
    background: white;
    color: #5400b3;
    border: none;
    padding: 8px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 5px;
}
.filter {
    margin-bottom: 15px;
}
.filter-title {
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    background: #f3f3f3;
    border-radius: 5px;
    font-weight: bold;
    color: #360172;;
}
.filter-options {
    padding: 10px;
    border-radius: 5px;
    border: solid 2px  #5400b3;
    display: block;
    margin: 5px 0;
    cursor: pointer;
}

input {
    padding: 5px 10px;
    width: 100%;
    margin-top: 5px;
    border: 0px;
    background-color: white;
    text-align: left;
    border-radius: 5px;
}

.footer-btn {
    padding:7px;
    background-color:  #5400b3;
    border-radius: 12px;
    margin-bottom: 5px;
    color: white;
    text-decoration: none;
}

footer {
    background-color: #e5cfff;
    padding: 30px;
    margin-top: 25vh;
    margin-bottom: 0;
    padding-bottom:0;
}

.footer-flex {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    justify-content: space-between;
    margin: 0 auto;
    margin-bottom: 50px;
    gap:20px;
    flex-wrap: wrap;
}

.register-holder,
.about-holder {
    min-height: 110px;
}

/* .about-holder {

} */

.rights,
.disclaimer {
    font-size:0.8rem;
    display: inline-block;
    max-width: 30vw;
}

.rights {
    margin-top: auto;
}

.additions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}


@media (max-width: 768px) {


    .model-button {
        display: inline-block;
    }
    
    .rights,
    .disclaimer {
        font-size: 0.6rem;
        max-width: none;
    }

    .register-holder,
    .about-holder {
        font-size: 0.8rem;
        flex-direction: column;
        margin: auto;
    }

    .footer-flex {
        text-align: center;
        
    }
}
