/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

:root {
    --s1-bg-left: light-dark(#192841, #333);
    --s1-bg-right: light-dark(#fff, #666);

    --s1-figure-before-gb: light-dark(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4));

    --s2-box-shadow: light-dark(#fff, #333);

    --s2-container-box-shadow: light-dark(#fff, #333);
    --s2-container-before-bg-right: light-dark(#192841, #333);
    --md-s2-container-before-bg-left: light-dark(rgba(25, 40, 65, .7), rgba(33, 33, 33, .7));
    --md-s2-container-before-bg-right: light-dark(rgba(25, 40, 65, 1), rgba(33, 33, 33, 1));

    --s3-bg: light-dark(#d9dee8, #333);
    --s3-color: light-dark(#666, #fff);

    --s3-form-bg: light-dark(#fff, #666);
    --s3-input-color: light-dark(#666, #fff);
}

.section1 {
    background-image: -webkit-gradient(linear, left top, right top, from(var(--s1-bg-left)), to(var(--s1-bg-right)));
    background-image: -o-linear-gradient(left, var(--s1-bg-left), var(--s1-bg-right));
    background-image: linear-gradient(to right, var(--s1-bg-left), var(--s1-bg-right));
    position: relative;
}

.section1 figure {
    background-size: cover;
    margin: 0 auto;
    background-position-x: 50%;
    overflow: hidden
}

.section1 figure::before {
    position: absolute;
    bottom: 0;
    line-height: 40px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    font-size: 1.4rem;
    background-color: rgba(0, 0, 0, .4);
    width: 100%;
    text-align: center;
}

.section1 .col:nth-of-type(2) figure::before {
    content: "Dennis";
}

.section1 .col:nth-of-type(3) figure::before {
    content: "Ramon";
    bottom: 4px;
}

.section1 .col:nth-of-type(2) figure {
    background-image: url("/resources/images/Dennis.jpeg");
    width: 210px;
    border-radius: 20px;
    height: 250px;
}

.section1 .col:nth-of-type(3) figure {
    background-image: url("/resources/images/Ramon.png");
    width: 210px;
    height: 210px;
    border-radius: 50%;
}

.section1 p {
    text-align: justify;
}

.section2 {
    background-image: url("/resources/images/home-s2-2.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-position-y: 50%;
    -webkit-box-shadow:
        inset 0 20px 20px -20px var(--s2-box-shadow),
        inset 0 -20px 20px -20px var(--s2-box-shadow);
            box-shadow:
        inset 0 20px 20px -20px var(--s2-box-shadow),
        inset 0 -20px 20px -20px var(--s2-box-shadow);
}

.content .section2 .container {
    background-image: url("/resources/images/banner2.jpg");
    background-size: contain;
    height: 600px;
    background-repeat: no-repeat;
    background-position: 0% 10%;
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    -webkit-box-shadow: 0 0 50px var(--s2-container-box-shadow);
            box-shadow: 0 0 50px var(--s2-container-box-shadow);
}

.content .section2 .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: -webkit-gradient(linear, left top, right top, color-stop(20%, transparent), color-stop(60%, var(--s2-container-before-bg-right)));
    background-image: -o-linear-gradient(left, transparent 20%, var(--s2-container-before-bg-right) 60%);
    background-image: linear-gradient(to right, transparent 20%, var(--s2-container-before-bg-right) 60%);
}

.content .section2 .caption {
    position: absolute;
    top: 50%;
    right: 2rem;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    width: calc(50% - 2rem);
}

.content .section2 .caption p {
    text-align: justify;
}

.content .section3 {
    background-color: var(--s3-bg);
    color: var(--s3-color);
}

.content .section3 h3 {
    margin-bottom: .5rem;
}

.content .section3 .col div {
    background-color: var(--s3-form-bg);
    padding: 1rem;
    border-radius: 1rem;
}

.content .section3 input {
    width: 100%;
    border: none;
    color: var(--s3-input-color);
    padding: 16px
}

.content .section3 input:focus {
    outline: none;
}

.content .section3 button {
    width: 100%;
    border: none;
    padding: 1rem 0;
    cursor: pointer;
}

@media(max-width: 1399px) {
    .content .section2 .container {
        background-position-x: -50%;
    }
}

@media(max-width: 1199px) {
    .content .section2 .container {
        background-position-x: -250%;
    }
}

@media(max-width: 991px) {
    .section1 {
        background-image: -webkit-gradient(linear, left top, right bottom, from(var(--s1-bg-left)), to(var(--s1-bg-right)));
        background-image: -o-linear-gradient(left top, var(--s1-bg-left), var(--s1-bg-right));
        background-image: linear-gradient(to right bottom, var(--s1-bg-left), var(--s1-bg-right));
    }

    .section1 h3 {
        text-align: center;
    }

    .section1 .col:nth-of-type(2) figure {
        margin: 15px auto;
    }

    .content .section2 .container {
        background-image: none;
        height: unset;
        padding: 15px;
    }

    .content .section2 .container::before {
        background-image: -webkit-gradient(linear, left top, right top, from(var(--md-s2-container-before-bg-left)), to(var(--md-s2-container-before-bg-right)));
        background-image: -o-linear-gradient(left, var(--md-s2-container-before-bg-left), var(--md-s2-container-before-bg-right));
        background-image: linear-gradient(to right, var(--md-s2-container-before-bg-left), var(--md-s2-container-before-bg-right));
    }

    .content .section2 .caption {
        position: static;
        -webkit-transform: translate(0, 0);
            -ms-transform: translate(0, 0);
                transform: translate(0, 0);
        width: 100%;
        padding: 0 15px;
    }

    .content .section2 .caption p {
        margin: 0;
    }

    .content .section2 .caption h3 {
        text-align: center;
    }
}

@media(max-width: 767px) {
    .section1 .col:nth-of-type(2) figure {
        width: 240px;
        height: 400px;
    }

    .section1 .col:nth-of-type(3) figure {
        width: 240px;
        height: 240px;
    }
}

@media(max-width: 575px) {
    .section1 .col:nth-of-type(2) figure {
        width: 290px;
        height: 400px;
    }

    .section1 .col:nth-of-type(3) figure {
        width: 290px;
        height: 290px;
    }

    .section2 {
        background-position-y: 0;
    }

    .content .section2 .caption {
        padding: 0;

    }

    .section2 .container {
        width: calc(100% - 30px)
    }
    
    .section3 {
        text-align: center;
    }
    
    .section3 p {
        margin-bottom: 32px;
    }
}