article{
    margin-top: 5vh;
}

.top-title{
    padding-inline: 20vw;
    background: white;
}

.call-to-action{
    padding-inline: 20vw;
    padding-block: 10vh;
    text-align: center;
    background: var(--primary-1);
}

.top-title>h1{
    font-size: 4em;
    text-align: center;
    margin-block: .5em;
}

.top-title>p{
    margin-bottom: 10vh;
}

.payoff{
    text-align: center;
    line-height: 1.7em;
    font-size: 1.3em;
}

.coming-soon>.payoff{
    margin-bottom: 4vh;
}

.cta-button{
    text-align: center;
}

.submit-button {
    background-color: var(--primary-3);;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    width: 50%;
    margin-left: 25%;
}

.submit-button:hover {
    background-color: var(--primary-3);;
}

.email-input {
    width: 50%;
    margin-left: 25%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

#emailForm{
    display: grid;
    gap: 1em;
}

.img-centered{
    margin-bottom: 5vh;
}

.img-centered>img{
    width: 9%;
}

.product-img{
    width: 100%;
}

#email{
    padding-block: .7em
}

.sumbit-button{
    padding-block: .7em;
}

.content{
    padding-inline: 20vw;
    padding-block: 10vh;
    background: white;
}


.content>h2{
    margin-bottom: 1.5em;
}

.content>h3{
    margin-block: 1.5em;
}

.content>p{
    line-height: 1.6em;
}

.content-title{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 5vh;
}

.cards{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
}

.card-box{
    background: var(--primary-2);
    border-radius: 20px;
    padding: 1.5em;
}

.card-box:nth-child(even){
    background: var(--primary-1);
}

.card-box>h3{
    margin-bottom: 1.5vh;
}

.pittogramma{
    position: absolute;
    width: 9%;
    bottom: 0;
    right: 0;
}

.how-it-works{
    background: var(--primary-1);
    padding-block: 15vh;
}

.how-it-works>.content-title{
    padding-inline: 20vw;
}

.boxes{
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    margin-inline: 20vw;
}

.box{
    background: var(--cards-background-1);
    border-radius: 20px;
    padding: 1.5em;
}

.box:first-child{
    grid-area: 1 / 1 / 3 / 2;
    background: var(--accent-color-2);
}

.box:nth-child(even){
    background: var(--primary-1);
}

.box>h3{
    margin-bottom: 1vh;
}

.benefits{
    padding-inline: 20vw;
    padding-block: 10vh;
}

.benefits .cards .card-box:nth-child(even){
    background: var(--primary-2);
}

.benefits .cards .card-box:nth-child(odd){
    background: var(--primary-1);
}

.benefits .cards .card-box:last-child{
    grid-column: 1 / 3;
    background: var(--primary-3);
    color: white;
}


/* Color scheme and Dark Mode */

@media (prefers-color-scheme: dark) {
    .top-title, .call-to-action, .content{
        background: var(--background-color);
        border: 1px dotted rgb(170, 170, 170);
    }

}

/* Responsive and mobile */

@media (max-width:800px) {
    .content>.cards {
        grid-template-columns: 1fr;
    }
    .boxes {
        grid-template-columns: 1fr;
    }

}