* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

main {
    flex: 1;
}

html, body {
    background-image: url(../assets/img/body_bg.png);
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* header */
header {
    position: sticky;
    top: 0;
    z-index: 88;
    background-color: rgb(47, 47, 47)
}

.header {
    max-width: 1920px;
    margin: 0 auto;
    height: 96px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header-left img {
    height: 72px;
}

.search-container {
    display: flex;
    flex-direction: column;
}

.search-form {
    width: 280px;
    display: flex;
    align-items: center;
}

.warning-message {
    color: red;
    font-size: 12px;
    position: absolute;
    top: 10px;
    display: none;
}

/* main section */
.pokemon-card-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 20px 0px;
}

/* footer */
footer {
    background-color: rgb(47, 47, 47)
}

.footer {
    max-width: 1920px;
    margin: 0 auto;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-mid {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .header {
        height: fit-content;
        flex-direction: column;
        height: 150px;
    }

    .header-left {
        margin-top: 8px;
    }

    .search-form {
        margin: 8px;
    }

    .search-container {
        justify-content: center;
        align-items: center;
    }

    .warning-message {
        top: 85px;
    }
}