* {
    box-sizing: border-box;
    margin: 0;
    scroll-behavior: smooth;
    font-family: 'roboto';
}

@font-face {
    font-family: 'roboto';
    src: url('./fonts/roboto.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'pokemon';
    src: url('./fonts/pokemonhollow.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.max-width {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

body {
    width: 100%;
}

header {
    background-color: #ffcc00;
}

.header-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.header-left img {
    width: 88px;
}

.header-name {
    font-family: 'pokemon';
    font-size: 40px;
    color: #36474f;
}

.header-right {
    padding-right: 8px;
}

input {
    height: 32px;
    width: 240px;
    border: 2px solid #36474f;
    border-radius: 6px;
    outline: none;
}

main {
    min-height: 100vh;
    background-image: url(./img/pokeball.jpg);
    object-fit: cover;
}

#content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 32px 0px;
}

.pokemon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    height: 270px;
    border: 2px solid #2c2c2c;
    border-radius: 16px;
    transition: transform 0.3s ease-in-out;
}

.pokemon-card:hover {
    cursor: pointer;
    transform: scale(0.95);
    box-shadow: 0px 0px 32px 0px rgba(255,204,0,1);
}

.card-header {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 12px;
    border-bottom: 2px solid black;
    width: 100%;
    color: black;
}

.pokemon-image {
    width: 136px;
    padding-bottom: 16px;
}

.pokemon-type-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-top: 2px solid black;
    width: 100%;
}

.pokemon-type {
    width: 48px;
    border: 2px solid black;
    border-radius: 24px;
}

.button-content {
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}

.load-more-btn {
    display: flex;
    align-items: center;
    background-color: #ffcc00;
    color: #2c2c2c;
    border: 2px solid #2c2c2c;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background-color: #2c2c2c;
    color: #ffcc00;
    transform: scale(1.05);
    border-color: #ffcc00;
}

.load-more-btn:active {
    transform: scale(0.95);
    background-color: #f2b807;
}

.icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
}

footer {
    background-color: #ffcc00;
    color: #36474f;
}

.footer-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    padding: 16px 0px;
}

.link {
    color: #36474f;
}

.footer-content img {
    width: 64px;
}

@media (max-width: 650px) {
    .header-name {
        display: none;
    }
}

@media (max-width: 450px) {
    .header-content {
        padding: 16px 0px;
    }

    input {
        width: 212px;
    }
}