/* Solution */
.solution {
    width: 1200;
    margin: auto;
    max-width: 100%;
    padding: 48;
    box-sizing: border-box;
}
.solution h1 {
    font-size: 2.8rem;
}
.solution .content {
    display: grid;
    grid-template-columns: 6fr 5fr;
    gap: 56px;
}
.solution .content .tabs div{
    border-left: 4px solid transparent;
    padding: 0 24 0 0;
    margin: 42 0;
    transition: 0.2s;
    cursor: pointer;
}
.solution .content .tabs .selected {
    border-left: 4px solid var(--primary);
    padding: 0 0 0 24;
}
.solution .content p {
    font-size: 0.9rem;
}
.solution .content h2 {
    font-size: 1.2rem;
}
.solution .content img{
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.solution .content div {
    transition: 0.2s;
}

/* Product */
.product {
    width: 1200;
    margin: auto;
    max-width: 100%;
    padding: 48;
    box-sizing: border-box;
    text-align: center;
}

.product h1 {
    font-size: 2.8rem;
}

/* Product > Tabs */
.product .tabs {
    margin-top: 56;
    display: grid;
    grid-template-columns: repeat(5, auto);
    background: rgb(231, 231, 231);
    padding: 12 24;
    border-radius: 8px;
}

.product .tabs p {
    padding: 12 24;
    margin: 0 12 0 0;
    transition: 0.2s;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}
.product .tabs p:hover {
    background: black;
    color: white;
}

.product .tabs p.selected {
    background: var(--primary);
    color: var(--foreground);
    box-shadow: 0 6px 7px #1893ff47;
    cursor: default;
}

@media screen and (max-width: 800px) {
    .product .tabs {
        grid-template-columns: repeat(1, auto);
    }
}


/* Product > Content */
.product .content {
    margin: 56 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    height: 300;
    gap: 50px;
    transition: 0.2s;
    text-align: left;
}

.product .content.out {
    opacity: 0;
}

.product .content .left {
    width: 100%;
}
.product .content .left img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: 0.1s;
}

.product .content .left img.out {
    opacity: 0;
}

.product .content .right h4 {
    
    font-weight: 300;
    font-size: 2.1rem;
    margin: 24 auto 0;
}

@media screen and (max-width: 800px) {
    .product .content {
        grid-template-columns: repeat(1, auto);
    }

    .product .content .left {
        order: 1;
    }

    .product .content .left img {
        max-width: 250;
        margin: auto;
    }
}

/* Partners */
.partners {
    width: 960;
    margin: 0 auto 56;
    max-width: 100%;
    padding: 48;
    box-sizing: border-box;
    text-align: center;
}

.partners h1 {
    font-size: 2.8rem;
    margin: 0 0 64;
}
.partners .wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 96px;
    row-gap: 64px;
}

.partners .wrap img {
    width: 100%;
}
@media screen and (max-width: 800px) {
    .partners .wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* legal */
.legal {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #0000008c;
    opacity: 1;
    transition: opacity 0.2s;
}

.legal.out {
    opacity: 0;
}

.legal img {
    max-height: 90%;
    object-fit: contain;
    margin: auto;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
}

/* Sign in */
.signin {
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: #0000008c;
    opacity: 1;
    transition: opacity 0.2s;
}

.signin.out {
    opacity: 0;
}

.signin .card {
    background: white;
    width: 100%;
    max-width: 600;
    height: fit-content;
    margin: auto;
    padding: 24;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 6px;
    position: absolute;
}