html,
body {
    height: 100%;
    margin: 0;
    font-size: 16px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    line-height: 1.8em;
    color: #666;
}

/* Images */
.pimg1 {
    background-image: url(./IMAGES/image1.jpeg);
    min-height: 100vh;
}

.pimg2 {
    background-image: url(./IMAGES/image2.jpeg);
    min-height: 60vh;
}

.pimg3 {
    background-image: url(./IMAGES/image3.jpeg);
    min-height: 60vh;
}

.pimg1,
.pimg2,
.pimg3 {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Text overlay */
.ptext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: clamp(14px, 2.5vw, 27px);
    letter-spacing: clamp(2px, 1vw, 8px);
    text-transform: uppercase;
    padding: 0 12px;
}

.textBg {
    background: rgba(49, 53, 52, 0.85);
    color: #fff;
    padding: clamp(10px, 2vw, 20px);
    display: inline-block;
    border-radius: 6px;
}

/* Content sections */
.section {
    padding: 60px 80px;
    text-align: center;
}

.section-light {
    background-color: #f4f4f4;
    color: #666;
}

.section-dark {
    background-color: #282e34;
    color: #ddd;
}

/*  TABLET (<= 1024px)*/
@media (max-width: 1024px) {
    .section {
        padding: 50px 40px;
    }

    .pimg2,
    .pimg3 {
        min-height: 50vh;
    }
}

/* MOBILE (<= 768px) */
@media (max-width: 768px) {

    .pimg1,
    .pimg2,
    .pimg3 {
        background-attachment: scroll;
    }

    .section {
        padding: 40px 18px;
        text-align: left;
    }

    .pimg1 {
        min-height: 70vh;
    }

    .pimg2,
    .pimg3 {
        min-height: 45vh;
    }
}

/*SMALL MOBILE (<= 480px) */
@media (max-width: 480px) {

    html,
    body {
        font-size: 15px;
    }

    .section {
        padding: 30px 14px;
    }
}