@media (max-width: 991.98px) { 
    .main {
        .main-content {
          h1 {
            font-size: 56px;
            z-index: 2;
           }
        }
    
        .image-overlay {
          &.two {
            bottom: -300px;
            right: -350px;
          }
        }
    }

    .contact-container {
        bottom: 150px;
        h2 {
            text-align: center;
        }
    }
}

@media (max-width: 767.98px) {
    .main {
        .main-content {
          h1 {
            font-size: 40px;
            z-index: 2;
           }
        }
    
        .image-overlay {
            &.one {
                top: -100px;
                left: -150px;
                transform: rotate(353deg);
                img {
                    height: 500px;
                    width: 500px;
                }
            }
            &.two {
                bottom: -300px;
                right: -350px;
                img {
                    height: 800px;
                    width: 800px;
                }
            }
        }
    }

    .contact-container {
        bottom: 100px;
        h2 {
            text-align: center;
            font-size: 32px;
        }
    }
}

@media (max-width: 575.98px) { 
    .main {
        .main-content {
          h1 {
            font-size: 32px;
            z-index: 2;
           }
        }
    
        .image-overlay {
            &.one {
                top: -40px;
                left: -100px;
                transform: rotate(353deg);
                img {
                    height: 300px;
                    width: 300px;
                }
            }
            &.two {
                bottom: -150px;
                right: -200px;
                img {
                    height: 500px;
                    width: 500px;
                }
            }
        }
    }

    .contact-container {
        bottom: 100px;
        h2 {
            text-align: center;
            font-size: 24px;
        }
    }
}