#sect2 {
    display: flex;
    flex-direction:column;
    gap: 10em;
}
#sect2 .box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    max-width: calc(var(--maxWidth) + 3em);
    color: white;
}
#sect2 .box-left {
    left: 1.5em;
}
#sect2 .box-right {
    left: -1.5em;
}
#sect2 .box-img {
    z-index: 0;
    display: block;
    position: relative;
    width: 50%; height: 30em;
    overflow: hidden;
}
#sect2 .box-img p {
    z-index: 1;
    position: absolute;
    bottom: 1em; left: 50%;
    width: 100%;
    transform: translateX(-50%);
    font-family: "SofiaSansExtra";
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 1px 1px 1px #00000066;
    color: #ffffffbb;
}
#sect2 .box-img img {
    z-index: 0;
    position: absolute;
    display: block;
    top: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}
#sect2 .box-img.box-right img {
    left: 0;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 1.0) 10%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1.0) 10%, transparent 100%);
}
#sect2 .box-img.box-left img {
    right: 0;
    mask-image: linear-gradient(to left, rgba(0, 0, 0, 1.0) 10%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1.0) 10%, rgba(1, 1, 1, 0.0) 100%);
}
#sect2 .box-img:hover img {
    transform: scale(1.1);
}
#sect2 .box-txt {
    z-index: 1;
    position: relative;
    width: 50%;
    padding: 2em;
    border-width: 1px;
    box-sizing: border-box;
    border-radius: 50px;
}
#sect2 .box-txt.box-right {
    background-image: linear-gradient(to right, var(--dark3), transparent);
}
#sect2 .box-txt.box-left {
    background-image: linear-gradient(to left, var(--dark3), transparent);
}
#sect2 .box-txt.box-left {
    text-align: right;
}
#sect2 .box-txt.box-right {
    text-align: left;
}
#sect2 .box-txt h2 {
    z-index: 1;
    position: relative;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--magenta);
}
#sect2 .box-txt h3 {
    margin-top: 0.3em;
    margin-bottom: 0.3em;
    font-family: "SofiaSansExtra";
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1em;
    color: var(--blue1);
}
#sect2 .box-txt p {
    line-height: 1.4em;
    color: var(--grey1);
}
#sect2 .box-txt p strong {
    color: #ffffffcc;
}

#sect3 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6em;
    background:
    linear-gradient(to bottom right,var(--dark2) 49%,var(--dark2) 50%) top/100% 4em,
    linear-gradient(var(--dark2),var(--dark2)) center/100% calc(100% - 8em),
    linear-gradient(to top left,var(--dark3) 49%,var(--dark2) 50%) bottom/100% 4em;
    background-repeat: no-repeat;
}
#sect3 h2 {
    flex: 1 1 0;
    max-width: 9em;
}
#sect3 ul {
    flex: 2 1 0;
    list-style-type: none;
    column-width: 50%;
    column-count: 2;
    column-gap: 6em;
}
#sect3 ul li {
    position: relative;
    margin-bottom: 3em; padding-left: 3em;
    line-height: 1.3em;
    color: var(--grey1);
}
#sect3 ul li:last-of-type {
    margin-bottom: 0;
}
#sect3 ul li:before {
    content: '✓';
    position: absolute;
    left: 0; top: 10%;
    transform: translate(0%, -50%);
    font-size: 2em;
    font-weight: bold;
    vertical-align: middle;
    color: var(--green);
}
#sect3 strong {
    color: white;
}


#sect-thumb3 {
    width: 100%;
    padding: 0 !important;
    color: white;
    background-color: var(--dark1);
}


#sect5 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4em;
}
#sect5 p {
    line-height: 1.5em;
    text-align: left;
    color: var(--grey1);
}


@media screen and (max-width:864px) {
    main #sect2 {
        padding: 5em 0 0 0;
        gap: 5em;
    }
    main #sect2 .box {
        max-width: none;
        flex-direction:column;
        width: 100%; max-width: none;
        
    }
    main #sect2 .box-img {
        display: block;
        position: relative;
        left: 0;
        width: 100%; height: auto;
    }
    main #sect2 .box-img img {
        position: relative;
        width: 100%;
        height:auto;
    }
    main #sect2 .box-txt {
        width: 100%;
        padding: 1em;
        border-radius: 0;
    }
    #sect2 .box-txt h2 {
        font-size: 0.9em;
    }
    main #sect2 .box-left {
        left: 0;
    }
    main #sect2 .box-right {
        left: 0;
    }


    main #sect3 {
        flex-direction: column;
        gap: 4em;
    }
    main #sect3 h2 {
        max-width: none;
    }
    main #sect3 ul {
        column-width: 100%;
        column-count: 1;
    }
    

    main #sect5 {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2em;
    }
}
