.banner {
    position: relative;
    height: 80vh;
    background-color: white;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: 100%;
    gap: 100px;
    justify-items: center;
    align-items: center;
    padding: 32px;
    padding-top: 128px;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}
.banner__image {
    height: 80%;
    object-fit: contain;
}
.banner__phrase {
    color: #aaaaaa;
    width: 100%;
    max-width: 800px;
}
.banner__heading {
    color: #4b00e1;
    margin-bottom: 32px;
}

.categories {
    padding: 64px 32px;
}
.categories__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
}

.category {
    width: 100%;
    background-color: #f4f4f4;
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.2);
    border-radius: 8px;
}
.category:hover {    
    box-shadow: 0 0 8px 0 rgba(0,0,0,0.4);
}
.category__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.category__title {
    text-align: center;
    padding: 8px;
}

.searcher {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    background: linear-gradient(135deg, #eaeaea, #cfcfcf);
    padding: 64px 32px;
    box-sizing: border-box;
}
#search-form {
    margin: 0 auto !important;
    padding: 32px 0 !important;
}

@media (max-width: 800px) {
    .banner {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 400px 1fr;
        gap: 16px;
    }
    .banner__image {
        grid-row: 1 / 2;
    }
    .banner__phrase {
        text-align: center;
    }
    .banner__heading {
        text-align: center;
    }

    .categories__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .banner {
        grid-template-rows: 200px 1fr;
    }
    .categories__items {
        grid-template-columns: 1fr;
    }
}