body {
    background-color: #9238FF;
}

h2 {
    width: 100%;
    text-align: center;
    padding: 50px;
    font-size: 40px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 6px black;
}

.catalog {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}
.category {
    width: 275px;
    height: 275px;

    border-radius: 30px;

    position: relative;
    transition: .3s ease;

    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
}
.category:hover {
    transform: scale(1.05, 1.05);
    box-shadow: 2px 2px 30px cyan;
}
.category img {
    width: 100%;
    border-radius: 30px;
    aspect-ratio: 1;
}
.category p {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    padding: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    background-color: #8a2be2a3;
    border-radius: 0 0 30px 30px;
}

.brand {
    padding-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
}
.brand a {
    text-decoration: none;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    height: 100px;
    font-size: 25px;
    font-weight: bold;
    color: blueviolet;
}
img.hero {
    width: 1200px;
    border-radius: 30px;
    margin-top: 40px;
}

.hot {
    background-image: url(../img/hot.png);
    height: 150px;
    margin-top: 50px;
    box-shadow: 10px 10px 20px #00000030;
    border-radius: 30px;
}

.hot a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 50px;
    color: #FFF;
    font-size: 38px;
    text-decoration: none;
    font-weight: bolder;
    text-shadow: 5px 5px 10px black;
}

@media (max-width: 780px) {
    .catalog {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 0 10px;
        grid-gap: 10px;
    }
    .category {
        width: 100%;
        height: 100%;
        border-radius: 10px;
        aspect-ratio: 1;
    }
    .category img {
        border-radius: 10px;
        aspect-ratio: 1;
    }
    .category p {
        font-size: 12px;
        border-radius: 0 0 10px 10px;
        padding: 10px;
    }
    h2 {
        font-size: 20px;
        padding: 40px;
    }
    .brand {
        padding: 100px 10px 10px 10px;
        grid-gap: 5px;
    }
    .brand a {
		border-radius: 5px;
		height: 60px;
        font-size: 14px;
    }
    img.hero {
        width: 100%;
        padding: 20px;
    }
    .hot {
        width: 90%;
        background-size: contain;
        background-repeat: no-repeat;
        margin: 50px auto;
        height: 50px;
        border-radius: 10px;
    }
    .hot a {
        font-size: 16px;
        padding: 20px;
    }
}
