/* General Styles */

body {
    margin: 0;
    font-family: poppins;
    background-color: rgb(21, 5, 66);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */

.header-container {
    background-color: rgb(37, 13, 105);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 30px;
    padding-right: 30px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 1440px;
    padding-left: 30px;
    padding-right: 30px;
}

.header-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.header-logo a {
    text-decoration: none;
    color: white;
    font-size: 23px;
}

.header-search {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}

.header-search img {
    display: flex;
    align-items: center;
}

.search-btn {
    border: none;
    background-color: rgb(21, 5, 66);
    color: white;
    padding: 8px 25px;
    border-radius: 0px 7px 7px 0px;
    font-family: poppins;
    font-size: 13px;
    margin-left: -30px;
    cursor: pointer;
}

.search-btn:hover {
    background-color: rgb(31, 9, 92);
}

/* Header Input Field Styles */

input {
    border-radius: 7px;
    border: none;
    height: 32px;
    width: 250px;
    font-family: poppins;
    font-size: 13px;
    font-weight: 400;
}

input:focus {
    border: none;
    outline: none;
}

::placeholder {
    padding-left: 7px;
}

.filter-btn {
    display: flex;
    gap: 7px;
    align-items: center;
    display: none;
}

.filter-btn img {
    width: 30px;
    cursor: pointer;
}

.filter-btn img:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

/* Main Content Styles */

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;
    padding-top: 50px;
    padding-bottom: 50px;

}

.main-inner {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    flex: 1;
    margin-bottom: 50px;
    max-width: 1440px;
}

.load-button {
    background-color: rgb(37, 13, 105);
    border: none;
    padding: 15px 35px;
    color: white;
    border-radius: 5px;
    box-shadow: 1px 1px 10px rgba(17, 1, 1, 0.048);
    font-family: poppins;
    font-weight: 400;
    font-size: 15px;
    cursor: pointer;
}

.load-button:hover {
    background-color: rgb(47, 17, 131);
}

/* Footer Styles */

.footer-container {
    background-color: rgb(37, 13, 105);
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    width: 1440px;
}

.footer-logo {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.footer-logo a {
    text-decoration: none;
    color: white;
}


.footer-links a {
    color: white;
    font-size: 14px;
    padding-left: 5px;
    text-decoration: none;
    font-weight: 400;
}

/* Legal pages (Impressum/Datenschutz) */

.legal-page {
    padding-top: 40px;
}

.legal-card {
    width: min(900px, calc(100% - 60px));
    background-color: rgb(37, 13, 105);
    color: white;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 1px 1px 10px rgba(17, 1, 1, 0.12);
}

.legal-card h1 {
    margin: 0 0 12px 0;
    font-size: 26px;
    font-weight: 600;
}

.legal-card h2 {
    margin: 18px 0 8px 0;
    font-size: 16px;
    font-weight: 600;
}

.legal-card p {
    margin: 0 0 10px 0;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 300;
}

.legal-card a {
    color: white;
    text-decoration: underline;
}

.legal-nav {
    justify-content: flex-end;
}

.legal-backlink {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 14px;
    border-radius: 7px;
    background-color: rgb(21, 5, 66);
}

.legal-backlink:hover {
    background-color: rgb(31, 9, 92);
}

/* Spinner  */

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* Pokemon Message no Pokemon */

.no-pokemon-message {
    color: white;
    font-size: 25px;
}

/* Media Query */


@media (max-width: 600px) {

    .header-container {
        height: 100px;
    }

    .header-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .header-logo {
        padding-bottom: 10px;
    }

    .footer-container {
        height: 60px;
    }

    .footer-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .header-logo {
        padding-bottom: 10px;
    }

    .modal-card {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .modal {
        padding-top: 200px;
    }

    input {
        width: 200px;
    }

}