Untitled

 avatar
unknown
plain_text
6 months ago
1.2 kB
3
Indexable
@media (min-width: 1025px) {
   
    .section-image-hotspots .section-header {
        position: absolute;
        z-index: 2;
        width: 100%;
        color: #fff;
        padding: 7rem 2rem 2rem;
        margin: 0;
    }
    .section-image-hotspots {
        position: relative;
    }
    
    .section-image-hotspots:before {
        content: '';
        background: #f00;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        background: rgb(2,0,36);
        background: linear-gradient(180deg, rgba(2, 0, 36, 1) 0%, rgb(0 0 0 / 70%) 0%, rgba(255, 255, 255, 0) 40%);
    }

    .section-image-hotspots > div {
        padding-block-start: 0 !important;
    }

    .section-image-hotspots .section-header p {
        font-size: 20px !important
    }
        
}

@media (max-width: 1024px) {
    .section-image-hotspots:before {
        background: linear-gradient(180deg, rgba(2, 0, 36, 1) 0%, rgb(0 0 0 / 70%) 0%, rgba(255, 255, 255, 0) 55%);
    }
}

@media (max-width: 767px) {
   .section-image-hotspots .section-header h2 {
       font-size: 32px !important;
   }

   .section-image-hotspots .section-header p {
        font-size: 16px !important
    }
}
Editor is loading...
Leave a Comment