*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button{
    cursor: pointer;
}

:root {
    --cb-blue: #0090e3;
    --cb-blue-less: rgba(0, 144, 227, 0.2);
    --cb-dark-blue: #285dab;
    --cb-darker-blue: #036;
    --cb-darkest-blue: #00162c;
    --cb-orange: #f60;
    --cb-dark-orange: #ec4040;
    --cb-darker-orange: #be0000;
    --cb-green: #00b900;
    --cb-dark-green: #090;
    --cb-darker-green: #016701;
    --cb-gray: #ddd;
    --cb-gray-less: rgba(221, 221, 221, 0.5);
    --cb-white: #fff;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Open Sans', sans-serif;
}

main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.slogan__section {
    background: var(--cb-white);
    padding: 12.5vh 11% 0 11%;
    height: 60rem;
    display: grid;
    grid-template-columns: 35% 65%;
    align-items: center;
}

.slogan__text {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.slogan {
    font-size: 5rem;
}

.slogan__button {
    width: 25rem;
    height: 5rem;
    background: var(--cb-green);
    border: none;
    border-radius: 0.4rem;
    font-size: 2rem;
    box-shadow: inset 0 -2px 0 0 var(--cb-dark-green);
    transition: 0.1s all;
    color: white;
    font-family: sans-serif;
    font-weight: 600;
}

.slogan__button:hover{
    background: var(--cb-dark-green);
    box-shadow: inset 0 -2px 0 0 var(--cb-darker-green);
}

.slogan__image {
    width: 100%;
    grid-column: 2 / 3;
}

.product__section{
    display: grid;
    grid-template-columns: 59% 40%;
    padding-top: 4rem;
    padding: 0 11%;
    height: 60rem;
    justify-content: center;
    align-items: center;
}

.product__image{
    object-fit: contain;
    width: 100%;
    grid-column: 1 / 2;

}

.product__description{
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    margin: 2rem;
    gap: 2rem;
    grid-column: 2 / 3;
}

.product__description div{
    display: flex;
    flex-direction: column;
}

.product__h2{
    font-size: 5rem;
}

.product__text__section{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.product__text{
    font-size: 1.5rem;
}

.product__button{
    width: 25rem;
    height: 5rem;
    background: var(--cb-green);
    border: none;
    border-radius: 0.4rem;
    font-size: 2rem;
    box-shadow: inset 0 -2px 0 0 var(--cb-dark-green);
    transition: 0.1s all;
    color: white;
    font-family: sans-serif;
    font-weight: 600;
}

.product__button:hover{
    background: var(--cb-dark-green);
    box-shadow: inset 0 -2px 0 0 var(--cb-darker-green);
}

.list{
    background: var(--cb-blue);
    border-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    margin-top: 4rem;
    width: 78%;
}

.list__cb__sale{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 1.5rem;
}

.list__op{
    background: var(--cb-orange);
    padding: 0.5rem;
    color: white;
    border-radius: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8rem;
}

.list__sale__title{
    color: white;
    font-size: 3rem;
    font-weight: 600;
}

.list__sale__title span{
    color: var(--cb-orange);
    
}

.list__sale__text{
    color: white;
    font-size: 2.5rem;
    letter-spacing: -2px;
    opacity: 80%;
}

.list__ul{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 1.2rem;
    padding-right: 1.5rem;
    flex-wrap: wrap;
}

.list__ul li{
    list-style: none;
}

.list__product{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: white;
    border-radius: 0.5rem;
    padding: 1rem;
    width: 23rem;
    height: 34rem;
    font-size: 1.5rem;
    letter-spacing: -1px;
    font-weight: 500;
}

.list__image{
    width: 100%;
}

.list__text{
    text-decoration: none;
    color: var(--cb-blue);
    font-size: 2rem;
    font-weight: 600;
}

.list__text:hover{
    text-decoration: underline;
}

.list__review{
    color: var(--cb-gray);
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 1rem;
}

.list__star__green{
    color: var(--cb-green);
}

.list__review__number{
    color: var(--cb-blue);
    letter-spacing: 0.08px;
}

.list__price{
    display: flex;
    align-items: center;
    padding-top: 1rem;
    gap: 1rem;
}

.list__price__text{
    opacity: 50%;
    font-size: 1.4rem;
}

.list__price__old{
    opacity: 50%;
    font-size: 1.8rem;
}

.list__price__new{
    font-weight: 600;
    font-size: 1.8rem;
}

.features{
    padding: 2rem 11%;
}

.features__ul{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.features__list{
    list-style: none;
    height: calc(50% - 1rem);
    width: calc(50% - 1rem);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--cb-blue);
    border-radius: 0.5rem;
    padding: 4rem 0;
    gap: 2rem;
}

.features__figure{
    color: var(--cb-orange);
    font-size: 5rem;
}

.features__title{
    font-size: 2rem;
    color: white;
}

.features__text{
    width: 80%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    opacity: 80%;
}

.product2__section {
    display: grid;
    grid-template-columns: 45% 55%;
    padding: 0 11%;
    margin: 5% 0;
    justify-content: center;
    align-self: center;
}

.product2__div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    width: 80%;
}

.product2__title {
    font-size: 5rem;
}

.product2__text {
    font-size: 1.5rem;
}

.product2__button {
    width: 25rem;
    height: 5rem;
    background: var(--cb-green);
    border: none;
    border-radius: 0.4rem;
    font-size: 2rem;
    box-shadow: inset 0 -2px 0 0 var(--cb-dark-green);
    transition: 0.1s all;
    color: white;
    font-family: sans-serif;
    font-weight: 600;
}

.product2__button:hover{
    background: var(--cb-dark-green);
    box-shadow: inset 0 -2px 0 0 var(--cb-darker-green);
}

.product2__image__div{
    display: flex;
    justify-content: center;
    align-items: center;
}

.product2__image {
    object-fit: contain;
    width: 100%
}

.review__section{
    background: white;
    display: flex;
    height: auto;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.arrow{
    width: 10rem;
    height: 10rem;
    background: var(--cb-blue-less);
    font-size: 300%;
    outline: none;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.arrow > span{
    color: var(--cb-blue);
}

.arrow:hover{
    cursor: pointer;
    background: var(--cb-gray-less);
}

.reviews{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 76%;
    gap: 2rem;
    flex-wrap: wrap;
}

.review{
    width: 35rem;
    height: 23rem;
    background: var(--cb-blue);
    list-style: none;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 1rem 1rem 0 rgba(0,0,0,0.2),
    inset 0 -1rem 1rem -1rem rgba(0,0,0,0.1);
    position: relative;
    animation-name: fadein;
    animation-duration: 0.8s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.review:nth-of-type(4), .review:nth-of-type(5), .review:nth-of-type(6){
    display: none;
}

.review__image{
    width: 30%;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.review__star__gold{
    color: gold;
}

.review__star__gray{
    color: var(--cb-gray);
}

.review p {
    font-size: 1rem;
    padding-bottom: 2rem;
    color: white;
    border-bottom: 0.5rem solid rgba(255,255,255,0.2);
}

@keyframes fadein{
    from{
        opacity: 0;
        filter: blur(10px);
    }
    to{
        opacity: 1;
        filter: blur(0);
    }
}

@media screen and (max-width: 57rem) {
    .list{
        flex-wrap: wrap;
    }
    .list__cb__sale{
        margin-bottom: 2rem;
    }
    .slogan__section{
        display: block;
        height: auto;
        margin-bottom: 5rem;
    }
    .slogan__text{
        margin-bottom: 4rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .slogan{
        font-size: 3.7rem;
    }
    .product__section{
        display: block;
        height: auto;
    }
    .product__description{
        width: auto;
    }

    .features__text{
        height: 12rem;
        font-size: 1.8rem;
    }

    .product2__section{
        display: flex;
        flex-direction: column;
        gap: 5rem;
    }
    .slogan__text{
        align-items: flex-start;
    }
}

@media screen and (max-width: 50rem) {
    .arrow{
        display: none;
    }
    .reviews{
        width: 100%;
    }
}