@media screen and (min-width:1024px) {
    .people .name {
        visibility: hidden;
        color:black;
        transition:all 1s ease;
        transition-delay: 5s;
    }
    .people .bg-light .name {
        color:#e7e7e7;
    }
    
    .people .name:before {
        visibility: visible!important;
        opacity:1!important;
        z-index: 9;
        background-size: 75px auto!important;
        width: 75px!important;
        height: 160px!important;
        transition: all 3s ease;
        transition-delay: 2s;
    }
    
    
    .people {
        transition: all 1s ease;
        position: relative;
    }
    
    .people:after {transition-delay: 2s;content: "";background: url(https://newsite.bibliachora.gr/wp-content/uploads/2021/08/biblia-chora-shma.png);opacity: 1;position: absolute;width: 201px;height: 241px;background-size: cover;top: 50%;left: 50%;transform: translate(-50%,-50%);transition: all 3s ease;}
    
    .people.move:after { 
        opacity: 0;
    }
    
    
    .vasilis:before {
        top: 50%;
        position: absolute;
        transform: translateY(-50%);
        right: 15px;
    }
    
    .vaggelis:before {
        top: 50%;
        position: absolute;
        transform: translateY(-50%);
        left: 15px;
    }
    
    
    .people.move .name:before {
        top: 12%;
        background-size: 23px auto!important;
        height: 46px!important;
        width: 23px!important;
    }
    .people.move .name.vasilis:before {
        right: 56%;
    }
    
    .people.move .name.vaggelis:before {
        left: 40.5%;
    }
    
    .people.move .name {
        visibility: visible;
        font-size:38px;
        
    }
    
    .people.move .name.enable {
        transition: all 1s ease!important;
        position:relative;
        display:table;
        color:white;
    }
    
    .people.move .bg-light .name.enable {
        color:#000;
    }
    
    .people.move .name.enable:before {
        left:-24px;
        top:25px;    
        transition:none!important;
    }
    
    .hover-text {
        max-width: 500px; 
        height: calc(100% - 130px);
        transform: translateX(-50%);
        top: 130px!important;
    }
}
@media screen and (max-width:1024px) {
    .people .person-info {
        display: block;
        width: 100%;
    }
    
    .people {
        display: block;
    }
    
    .hover-text {
        position: relative;
        top: 0!important;
        left: 0;
        width: 100%;
        opacity: 1;
        max-width: 90%;
        transform: none;    
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width:1024px) {
    .hover-text {
        max-width: 100%;
    }
}