


.top_box {
    position: relative;
    height: 325px;
    background: var(--background_2);
    box-shadow: 0 0 5px var(--shadow_light);
    z-index: 10;
}

.top_box::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(/images/background.png);
    background-repeat: no-repeat, repeat;
    background-size: cover;
    filter: blur(7px);
    opacity: .5;
    /* z-index: 1; */
}

/* Navbar start */

.navbar {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}


.navabar_logo {
    height: 100%;
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    position: relative;
    display: flex;
    align-items: center;
}

.logo img {
    position: absolute;
    left: 0;
    height: 50px;
}

.logo img:first-child {
    filter: var(--image_clr);
}

.logo img:last-child {
    filter: var(--image_akzent);
}

.navabar_logo span {
    font-size: 30px;
    font-weight: 600;
    margin-top: 3px;
    margin-left: -5px;
}

.navbar_items_box {
    display: flex;
    gap: 30px;
}

.navbar_item {
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.navbar_item::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: -3px;
    padding: 0 4px;
    background-color: var(--akzentfarbe);
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.navbar_item:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav_item_active {
    color: var(--akzentfarbe);
}

.toggle_theme,
.toggle_theme i {
    cursor: pointer;
    transition: all .2s ease;
}

.toggle_theme:hover.toggle_theme i {
    color: orange;
}

/* Navbar end */


/* Suche start */

.search {
    height: calc(100% - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}

.search_title {
    font-size: 40px;
    font-weight: 700;
}

.search_info {
    color: var(--text_second);
}


.input_text_search {
    margin: 40px 0 0 0;
    width: 450px !important;
    height: 50px !important;
    border-radius: 10px;
}


.search_input {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 10px;
    padding: 0 10px 0 50px;
    font-size: 18px;
}

.search_icon {
    position: absolute;
    left: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    opacity: .7;
}


/* Login Modal */
.modal_login {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    animation: moadlBG .3s forwards ease;
}

@keyframes moadlBG {
    from {
        background: rgba(0, 0, 0, 0);
    }
    to {
        background: rgba(0, 0, 0, 0.6);
    }
}

.modal_container_login {
    background: var(--background);
    box-shadow: 0 0 5px var(--shadow);
    border-radius: 10px;
    margin: 10% auto;
    width: 250px;
    height: auto;
    position: relative;
    animation: modalOpen .3s ease-in-out;
    overflow: hidden;
}
  
@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal_head_login {
    height: 45px;
    width: 100%;
    background: var(--background_2);
    border-bottom: 1px solid var(--border);
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.moadal_titel_login {
    font-size: 24px;
    font-weight: 700;
}
  
.close_btn_login {
    color: var(--text_second);
    font-size: 17px;
    font-weight: bold;
}

.close_btn_login i {
    transition: all .2s ease;
}
  
.close_btn_login:hover.close_btn_login i {
    color: #ff0000;
    cursor: pointer;
}

.modal_content_login {
    padding: 15px;
}

.modal_content_login .user-box {
    position: relative; 
}

.modal_content_login .user-box input {
    width: 100%;
    height: 40px;
    padding: 15px 0 0 10px;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    border: 1px solid var(--border);
    outline: none;
    background: var(--background_2);
}

.modal_content_login .user-box label {
    position: absolute;
    top: 0;
    left: 5px;
    padding: 7px 5px;
    font-size: 16px;
    color: var(--text);
    pointer-events: none;
    transition: .5s;
}

.modal_content_login .user-box input:focus ~ label,
.modal_content_login .user-box input:valid ~ label {
    top: -5px;
    left: 5px;
    font-size: 12px;
    color: var(--text_second);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    transition: background-color 5000000s ease-in-out 0s;
    -webkit-text-fill-color: var(--text) !important;
}

.login_btn_login {
    height: 30px;
    width: 100%;
    font-size: 13px;
    color: var(--clr_white);
    border: none;
    border-radius: 5px;
    border: 1px solid var(--border);
    outline: none;
    background: var(--akzentfarbe);
    cursor: pointer;
    transition: all .2s ease;
}

.login_btn_login:hover {
    filter: brightness(110%);
}
  




/* Footer start */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    color: var(--text);
}

.footer_links {
    background: var(--background);
    box-shadow: 0 0 5px var(--shadow_light);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer_links_legal button {
    height: fit-content;
    border: 2px solid var(--akzentfarbe);
    background: var(--contentBG);
    border-radius: 3px;
    margin-right: 10px;
    padding: 1px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer_links_legal button:hover {
    filter: brightness(120%);
}

.footer_links_legal button a {
    color: var(--text);
    text-decoration: none;
}

.footer_links_social i {
    font-size: 18px;
    margin-left: 5px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.3s ease;
}

.footer_links_social i:hover {
    color: var(--akzentfarbe);
}

.footer_text {
    width: 100%;
    height: 45px;
    background: var(--background_2);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.footer_text_copyright {
    font-size: 12px;
    font-weight: 800;
    color: var(--text);
}

.footer_text_made {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text_second);
}

.footer_text_made i,
.footer_text_made span {
    color: var(--akzentfarbe);
    font-weight: 700;
}


.mobile_nav_toggle {
    display: none;
}

.toggle_theme span {
    display: none;
}

@media only screen and (max-width: 1000px) {
    .footer_links {
        gap: 10px;
        height: auto !important;
        flex-direction: column-reverse;
        padding: 10px var(--width-padding) !important;
    }
}



@media only screen and (max-width: 1950px) {
    .padding {
        padding: 0 230px !important;
    }
}

@media only screen and (max-width: 1400px) {
    .padding {
        padding: 0 100px !important;
    }

    .wiki_info {
        height: auto !important;
        flex-wrap: wrap;
        justify-content: center !important;
    }
}

@media only screen and (max-width: 1000px) {
    .wiki_info {
        gap: 15px;
    }

    .info_item:last-child {
        margin-bottom: 15px;
    }
    
    .footer {
        position: relative !important;
    }

    .footer_links_social {
        margin-top: 10px;
    }

    .footer_links_legal {
        margin-bottom: 10px;
    }
}

@media only screen and (max-width: 850px) {
    .navbar_items_box {
        display: none;
        gap: 10px;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        position: absolute;
        top: 85px;
        width: 100%;
        padding: 10px;
        background: var(--background);
        border-radius: 3px;
        border: 1px solid var(--border_light);
        z-index: 5;
        animation: navbar_items_box .3s ease-in-out;
    }
    @keyframes navbar_items_box {
        from { 
            top: -200px; 
            opacity: 0;
        }
        to {
            top: 85px;
            opacity: 1;
        }
    }

    .navbar_items_box_slide_out {
        animation: navbar_items_box_slide_out .3s ease-in-out;
    }

    @keyframes navbar_items_box_slide_out {
        from { 
            top: 85px; 
            opacity: 1;
        }
        to {
            top: -200px;
            opacity: 0;
        }
    }

    .navbar_item {
        text-align: center;
        width: 100%;
    }

    .toggle_theme i {
        display: none;
    }

    .toggle_theme,
    .toggle_theme span {
        display: block;
        width: 100%;
        text-align: center;
    }

    .mobile_nav_toggle {
        display: grid;
        place-items: center;
        height: 40px;
        aspect-ratio: 1;
        border-radius: 3px;
        border: 1px solid var(--border);
        background: var(--background);
    }

    .mobile_nav_toggle i {
        font-size: 18px;
    }
}



@media only screen and (max-width: 450px) {
    .padding {
        padding: 0 20px !important;
    }

    .top_box {
        height: auto !important;
    }

    .search_title {
        font-size: 25px;
        text-align: left;
    }

    .input_text_search {
        width: 100% !important;
        margin: 30px 0;
    } 
    
    .search {
        align-items: start;
    }
}
