@import url('https://fonts.googleapis.com/css2?family=Maven+Pro&display=swap');
@import url(../font/MiSans/font.css);

.main-banner {
    height: 600px;
    background: url('../images/victor-kashima-xiaomi-13-lite.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.banner-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.banner-info h4 {
    margin-top: -1rem;
}

.button-read-more {
    width: max-content;
    background: #000;
    color: #FFF;
    font-size: max(1.25vw, 12px);
    padding: .5rem 1.5rem;
    border-radius: .7rem;
}

.showMore {
    font-size: 1.5rem;
    line-height: 1.6rem;
}

h1 {
    font-size: 3rem;
    line-height: 3.6rem;
}

h2 {
    font-size: 2.3vw;
    line-height: 2.5rem;
    font-family: 'MiSans';
    font-weight: 600;
}

h3 {
    font-size: 2rem;
    line-height: 2.25rem;
    font-family: 'MiSans';
    font-weight: 500;
}

h4 {
    font-size: 1.75rem;
    line-height: 1.2rem;
    font-weight: 500;
}

.itens-01 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: var(--grid-gap);
    padding: var(--grid-gap);
}

.itens-01 > div {
    position: relative;
    height: 31vw;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: var(--background);
    transition: all .5s ease-in-out;
}

.itens-01 > div:hover {
    box-shadow: 0 0 1.5vw #0002;
}

.product-info {
    top: 2vw;
    position: absolute;
    color: var(--text-base);
    text-align: center;
}

.product-info h2 {
    line-height: 1.2em;
    margin-bottom: .5rem;
}

.product-info h4 {
    font-size: max(1.25vw, 10px);
    margin-bottom: .5rem;
}

.product-info > a {
    font-size: max(1.25vw, 10px);
    margin-bottom: .5rem;
}

.product-info > a:nth-child(3) {
    color: var(--brand-color);
}

.two-space:nth-child(odd) {
    grid-column: 1/3;
}

.two-space:nth-child(2) {
    grid-column: 3/5;
}

.itens-01 img {
    position: absolute;
    object-fit: cover;
    object-position: bottom;
    width: 100%;
    height: 100%;
}

.itens-01 > div:nth-last-child(-n + 1) img {
    width: 80%;
    object-fit: contain;
    bottom: 0;
}

.carousel {
    display: flex;
    gap: 1rem;
    margin: 4rem;
    padding: 1rem;
    background: #FFF;
}

.carousel > div {
    width: 50%;
}

.video img {
    width: 100%;
}

.text {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 3vw;
    text-align: center;
}

.swiper-text {
    display: flex;
    align-items: center;
}

.content-text {
    padding-bottom: 1rem;
}

.content-text h2 {
    line-height: inherit;
    margin-bottom: 2rem;
}

.content-text p,
.content-text a {
    font-size: max(1.3vw, 10px);
    margin-bottom: 2rem;
    font-weight: 500;
}

.content-text a:hover {
    text-decoration: underline;
}

.slide-control {
    display: flex;
    justify-content: space-evenly;
    margin: 0 auto;
    width: 50%;
}

.slide-control i {
    color: #FFF;
    background: #000;
    padding: .5rem 1rem;
    border-radius: 1rem;
    transition: all .3s ease-in-out;
}

.slide-control i:hover {
    opacity: .8;
}

@media screen and (max-width:1024px) {

    .banner-info h2 {
        font-size: 3rem;
    }

}

@media screen and (max-width:480px) {

    .main-banner {
        align-items: start;
    }

    .banner-info {
        align-items: center;
        margin-top: 13%;
    }

    h2 {
        font-size: 1.2rem;
    }

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

    .two-space,
    .two-space:nth-child(2) {
        grid-column: 1/3;
    }

    .itens-01 > div {
        height: 50vw;
    }

    .carousel {
        flex-direction: column;
    }

    .carousel > div {
        width: 100%;
    }

    .videos-carousel {
        margin: var(--grid-gap);
    }

    .content-text h2 {
        line-height: inherit;
    }
    
    .content-text h2,
    .content-text p,
    .content-text a {
        margin-bottom: 1rem;
    }

}