@import "product-2021.css";

main .banner > img {
    background-color: rgb(48, 61, 94);
}

main .banner .text {
    color: rgb(255, 255, 255);
}

main section.difficulty > div {
    display: grid;
    width: 95%;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 12rem auto 10rem;
    max-width: 1200px;
    /*place-items: center;*/
    color: #777;
}

main section.difficulty * {
    transition: .3s all;
}


@media (max-width: 500px) {
    main section.difficulty {
        /*overflow: hidden;*/
    }

    main.solution section .title:before {
        right: 24px;
    }

    main.solution section .title:after {
        left: 24px;
    }
}

main section.difficulty > div > div.hover img,
main section.difficulty > div > div:hover img {
    transform: scale(1.2);
}

main section.difficulty > div > div.hover,
main section.difficulty > div > div:hover {
    color: #333;
}

main section.difficulty > div > div.hover :is(h3, img),
main section.difficulty > div > div:hover :is(h3, img) {
    /*bottom: 1rem;*/
    transform: translateY(-3rem)
}

/*main section.difficulty > div > div:hover img {*/
/*    width: 150%;*/
/*}*/

main section.difficulty > div img {
    margin: auto;
    height: 113px;
}

main section.difficulty > div h3 {
    font-weight: bold;
    font-size: 1.6rem;
    margin-top: 4rem;
    text-align: center;
    position: relative;
    bottom: 0;
    line-height: 1.8;
}

main section.solution {
    background: url("/wp-content/themes/zCloud/img/solution/move/bg-solution.jpg") center / cover;
}

main section.solution img {
    padding: 10rem 0;
    margin: 0 auto;
    max-width: fit-content;
    width: 95%;
}

main section.edge {
    margin: auto;
}

main section.edge span,
main section.edge h3 {
    font-size: 1.6rem;
    text-align: center;
    color: #666;
    line-height: 1.8;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

main section.edge span {
    text-align: justify;
}

main section.edge img {
    margin: auto;
    transition: .3s all;
}

main section.edge img:hover {
    transform: scale(1.2);
}

main section.edge > div {
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(150px, 1000px));*/
    /*place-items: center;*/
    /*gap: 2rem;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 8rem auto 12rem;
    max-width: 1200px;
}

main section.edge > div > div {
    flex: 1 1 270px;
    margin: 2rem;
}

main section.implementation-23, main section.implementation {
    background: url("/wp-content/themes/zCloud/img/solution/move/bg-application.jpg") center / cover;
    color: white;
}

main section.implementation-23 *,
main section.implementation * {
    transition: .2s all;
}

main section.implementation img {
    margin: 2rem auto 4rem;
}

main section.implementation h3 {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
}

main section.implementation > div {
    display: flex;
    max-width: 1300px;
    margin: 4rem auto 0;
    padding-bottom: 6rem;
    min-height: 356px;
    gap: 3rem;
}

main.move section.implementation > div {
    flex-wrap: wrap;
    max-width: 1450px;
    justify-content: center;
}

main section.implementation > div > div {
    background: rgba(18, 30, 63, 0.66);
    /*margin: 2rem;*/
    padding: 5rem 2rem;
    width: 100%;
    /*position: relative;*/
    bottom: 0;
}

main.move section.implementation > div > div {
    flex: 0 1 200px;
}

main.move section.implementation img {
    height: 49px;
}

main.move .difficulty h3 {
    /*max-width: 200px;*/
}

/*main.move .difficulty span { display:inline-block; }*/


@media (max-width: 1000px) {
    main section.implementation > div {
        flex-direction: column;
        align-items: center;
    }

    main section.implementation > div > div {
        margin: 2rem 0;
        width: 95%;
    }
}

main section.implementation > div > div.hover,
main section.implementation > div > div:hover {
    /*padding: 5rem 4rem;*/
    /*bottom: 1rem;*/
    transform: scale(1.05, 1.1) translateY(-4.6%)
    /*transform: scale(1.05, 1.1) translateY(-4%);*/
}

main section.implementation > div > div:hover img,
main section.implementation > div > div:hover h3 {
    /*transform: scale(1.05);*/
    /*font-size: 1.8rem;*/
}

main section.implementation > div.hue > div.hover img,
main section.implementation > div.hue > div:hover img {
    filter: invert(4%) sepia(25%) saturate(20) hue-rotate(140deg)
}

/* HA */
.gap {
    gap: 4rem;
}

@media (max-width: 1500px) {
    main.ha .banner > img {
        width: 125%;
        transform: translate(-5%);
    }
}

main .banner .banner-extra.long {
    top: 8vw;
}

main .banner :not(.long) .text > h2 {
    font-weight: bold;
}

main .banner .long .text > h2 {
    max-width: 600px;
}

main .banner .long .text > h2.short {
    display: none;
}

@media (max-width: 1100px) {
    main .banner .long .text > h2 {
        font-size: 1.8rem;
        display: none;
    }

    main .banner .long .text > h2.short {
        display: initial;
    }

    main .banner .banner-extra.long {
        top: 10vw;
    }
}

main.ha :is(h2, h3, h4) {
    line-height: 1.6;
}

main.ha .button-group {
    margin-top: 1rem;
}

main.ha section.edge h3::first-line {
    font-weight: bold;
}

main section.implementation h4::first-line {
    text-align: center;
}

main section.implementation h4 {
    /*text-align: center;*/
    font-size: 1.4rem;
    line-height: 1.6;
}


/* CDP */
main section.difficulty > p {
    max-width: 900px;
    font-size: 1.6rem;
    margin: 8rem auto;
    color: #666;
    line-height: 2;
    text-align: justify;
    width: 90%;
}

/* Two-Three */
main.two-three section.edge h3 {
    max-width: 24rem;
    margin: 2rem auto;
}

main section.implementation-23 > div {

}

main section.implementation-23 > div {
    display: flex;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 12rem auto 0;
    padding-bottom: 8rem;
    justify-content: center;
}

main section.implementation-23 > div > div {
    flex: 0 1 550px; /*  No stretching: */
    margin: 1rem 2rem;
}

main section.implementation-23 .pics {
    justify-content: flex-end;
    display: flex;
}

main section.implementation-23 .pics img {
    width: 38px;
}

main section.implementation-23 .pics > div {
    background: rgba(18, 30, 63, 0.66);
    width: 200px;
    display: grid;
    place-items: center;
    margin: 0 2rem;
    padding: 2rem;
}

main section.implementation-23 .pics > div.hover,
main section.implementation-23 .pics > div:hover {
    /*padding: 8rem 2rem;*/
    /*background-color: lightblue;*/
    transform: scale(1.1, 1.2) translateY(-10%);
}

main section.implementation-23 .text {
    max-width: 600px;
    line-height: 2.2;
}

/* file management */
main.solution .banner.file-manage h2 {
    line-height: 1.8;
}

main.solution .banner.file-manage .button-group {
    margin-top: 2.7rem;
}

/* backup */
main.solution section.difficulty .first-line h3 {
    font-weight: initial;
}

main.solution section.difficulty .first-line h3:first-line {
    font-weight: bold;
}
