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

.section1 {
    background-image: -webkit-gradient(linear, left top, right top, from(#192841), to(#fff));
    background-image: -o-linear-gradient(left, #192841, #fff);
    background-image: linear-gradient(to right, #192841, #fff);
    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-color: #192841;
    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 #fff,
        inset 0 -20px 20px -20px #fff;
            box-shadow:
        inset 0 20px 20px -20px #fff,
        inset 0 -20px 20px -20px #fff;
}

.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 #fff;
            box-shadow: 0 0 50px #fff;
}

.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%, #192841));
    background-image: -o-linear-gradient(left, transparent 20%, #192841 60%);
    background-image: linear-gradient(to right, transparent 20%, #192841 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: #d9dee8;
    color: #666;
}

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

.content .section3 .col div {
    background-color: #fff;
    padding: 1rem;
    border-radius: 1rem;
}

.content .section3 input {
    width: 100%;
    padding: 1rem 0;
    border: none;
    color: #666;
}

.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) {
    .content .section2 .container {
        background-image: none;
        height: unset;
        padding: 15px;
    }

    .content .section2 .container::before {
        background-image: -webkit-gradient(linear, left top, right top, from(rgba(25, 40, 65, .7)), to(rgba(25, 40, 65, 1)));
        background-image: -o-linear-gradient(left, rgba(25, 40, 65, .7), rgba(25, 40, 65, 1));
        background-image: linear-gradient(to right, rgba(25, 40, 65, .7), rgba(25, 40, 65, 1));
    }

    .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: 991px) {
    .section1 {
        background-image: -webkit-gradient(linear, left top, right bottom, from(#192841), to(#fff));
        background-image: -o-linear-gradient(left top, #192841, #fff);
        background-image: linear-gradient(to right bottom, #192841, #fff);
    }

    .section1 h3 {
        text-align: center;
    }

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

@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;
    }
}