
.hero-image {
    background-image: url("../assets/hero_img.jpg");
    height: calc(100vh - 9rem);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    top: -5.75rem;
    transition: all .5s;
}

.hero-image:hover,
.hero-image:focus {
    transform: scale(1.05);
}

.hero-text {
    position: absolute;
    bottom: 2rem;
    left: 3rem;
}

.hero-text p {
    margin-bottom: 1rem;
    color: white;
    font-weight: 900;
    font-size: 2.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 25%);
    cursor: pointer;
    position: relative;
    top: -5.75rem;
}

.features_small {
    padding: 1rem 0;
    cursor: pointer;
    position: relative;
    top: -5.75rem;
    background: #e5e5e5;
}

.feature {
    position: relative;
    padding: 1.8rem;
}
.feature > img {
    position: absolute;
    left: 2.5rem;    
}
.feature div.data {
    color:white;
    padding-left: 1rem;
    font-size:1.3rem;
}

.dot {
    position: absolute;
    left: 7rem;
    top: 2.2rem;
}

.dot:before {
    content: ' ';
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
}

.dot:after {
    content: ' ';
    position: absolute;
    z-index: 1;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3) inset;
    animation: ripple 1s ease 0s infinite normal;
}

@keyframes ripple {
    0% {
        left: 5px;
        top: 5px;
        opcity: 75;
        width: 0;
        height: 0;
    }

    100% {
        left: -20px;
        top: -20px;
        opacity: 0;
        width: 50px;
        height: 50px;
    }
}


.popup_1,
.popup_2,
.popup_3,
.popup_4 {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
}

.backdrop {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #434343;
    opacity: 0.7;
}

.popup_div {
    position: relative;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .3);
    background: white;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
    border-radius: 0.5rem;
    width: 35rem;
    font-size: 1.15rem;
}

@media only screen and (max-width: 600px) {
    .popup_div {
        width: 24rem;
        font-size: 1rem;
    }
    .hero-image {
        background-image: url("../assets/hero_img_mobile.jpg");
    }
    .hero-text {
        left: 2rem;
    } 
    .hero-text p {
        font-size: 2.1rem;
        margin-bottom: .5rem;
    } 
    .features {
        margin-top: 1.5rem;
        display: block;
        grid-template-columns: unset;
    }

    .feature {
        margin-bottom: .7rem;
    }

    .feature img {
        left: 3rem;    
    }
    .dot {
        left: 11rem;
    }
}