* {
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-size: 20px;
    font-family: "Syne Mono", monospace;
    color: white;
}

body {
    background-color: rgb(2, 47, 53);
}

.no-scroll {
    overflow: hidden;
}

#loader {
    width: 100%;
    height: 100dvh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgb(24, 27, 29);

    .loader_Spinner {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

/*#region header*/

header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 100%;
    height: 120px;
    background-color: rgb(11, 78, 80);
    padding: 0 80px;

    @media (max-width: 890px) {
        height: 180px;
        justify-content: flex-start;

        @media (max-width: 800px) {
            flex-direction: column;
            justify-content: flex-start;
            height: 140px;
            padding: 12px 0;

            @media (max-width: 430px) {
                justify-content: flex-start;
                height: 140px;
                padding: 0 16px;
            }
        }
    }

    #header_Content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 1920px;
        padding: 0 80px;

        @media (max-width: 890px) {
            flex-direction: column;
            margin-bottom: 16px;
        }
    }

    h1 {
        font-size: 32px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.671);

        @media (max-width: 800px) {
            font-size: 24px;
        }
    }

    .logo {
        display: flex;
        align-items: center;

        .header_logo {
            width: 90px;
            height: 90px;

            @media (max-width: 800px) {
                width: 70px;
                height: 70px;
            }
        }
    }

    .search_Container {
        display: flex;
        width: 320px;
        height: 30px;

        @media (max-width: 420px) {
            align-items: center;
            width: 210px;
        }

        .info_Cont {
            width: 320px;
            height: auto;

            @media (max-width: 430px) {
                width: 240px;
            }
        }

        .search {
            color: #000000;
            width: 200px;
            height: 30px;

            @media (max-width: 420px) {
                width: 140px;
                font-size: 16px;
                margin-top: 30px;
            }
        }

        button {
            display: inline;
            padding: 4px 8px;
            border-radius: 5px;
            border: 1px solid rgb(6, 212, 168);
            text-decoration: none;
            background-color: #0e7074;
            color: white;
            cursor: pointer;
            transition: background-color 0.3s ease, box-shadow 0.3s ease,
                transform 0.1s ease;

            @media (max-width: 420px) {
                padding: 4px 6px;
                font-size: 16px;
            }
        }

        button:hover {
            background-color: #13a0a5;
            box-shadow: 0 0 8px rgba(6, 212, 168, 0.6);
        }

        button:active {
            background-color: #0b5e61;
            transform: scale(0.98);
            box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        }

        button:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(6, 212, 168, 0.5);
        }

        #infoSearch {
            width: 360px;
            height: 20px;
            font-size: 16px;

            @media (max-width: 430px) {
                align-items: center;
                width: 220px;
                height: 50px;
            }
        }
    }
}
/* #endregion */

/*#region main*/

main {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: calc(100dvh - 120px - 100px);
    overflow: hidden;

    section {
        max-width: 1920px;
        width: 100%;
        margin: 60px 0;
        padding: 0 80px;

        .btn_Back {
            margin-top: 30px;
            padding: 10px 20px;
            font-size: 16px;
            background-color: #e0e0e0;
            color: rgb(0, 0, 0);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .btn_Back:hover {
            background-color: #0056b3;
        }

        @media (max-width: 420px) {
            padding: 0 16px;
        }
    }

    .content_Container {
        width: 100%;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        gap: 4rem;
    }
}

.poke_Container {
    align-items: center;
    width: 200px;
    height: 250px;
    border-radius: 20px;
    background-color: rgb(76, 126, 122);
    cursor: pointer;

    .fairy {
        width: 180px;
        height: 160px;
        background-color: #6f03d4;
    }

    .ground {
        width: 180px;
        height: 160px;
        background-color: rgb(82, 43, 43);
    }

    .electric {
        width: 180px;
        height: 160px;
        background-color: #123bee;
    }

    .poison {
        width: 180px;
        height: 160px;
        background-color: #711a7a;
    }

    .bug {
        width: 180px;
        height: 160px;
        background-color: #4b4b4b;
    }

    .normal {
        width: 180px;
        height: 160px;
        background-color: #bebb05;
    }

    .fire {
        width: 180px;
        height: 160px;
        background-color: #e06812;
    }
    .water {
        width: 180px;
        height: 160px;
        background-color: #45a5ff;
    }
    .grass {
        width: 180px;
        height: 160px;
        background-color: #78c850;
    }

    .photo {
        width: 200px;
        height: 180px;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        filter: drop-shadow(2px 3px 4px #000000);
    }

    .photo:hover {
        filter: drop-shadow(0px 6px 10px rgba(0, 0, 0, 0.568));
    }

    .name_Info {
        top: 4px;
        position: absolute;
        text-transform: capitalize;
        left: 16px;
        font-size: 16px;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.616);
    }

    #photo_Type {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        top: 12px;
        cursor: pointer;
        filter: drop-shadow(1px 1px 2px #000000);

        img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }
    }
}

.poke_Container:hover {
    box-shadow: 0 0 12px 4px rgba(196, 255, 252, 0.945);
}

#load-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.load-more-button {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more-button:hover {
    background-color: #0056b3;
}
/*#endregion */

/*#region footer*/

footer {
    width: 100%;
    height: 100px;
    background-color: rgb(11, 78, 80);

    img {
        width: 180px;
        margin-bottom: 12px;
    }

    .copyright_Text {
        font-size: 16px;
    }
}

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

.d_none {
    display: none;
}
/*#endregion */
