/* Fourth Section*/
#fourth-section{
    padding-left: 100px;

    display: flex;
    flex-wrap: wrap;

    padding-bottom: 150px;
}

#fourth-section-left{
    width: 50%;
}

#emergency-cards-container{
    display: flex;
    flex-wrap: wrap;
}

.emergency-card{
    width: 200px;
    height: 150px;

    border: 2px solid lightgray;
    border-radius: 10px;

    padding: 30px 30px;

    margin-right: 15px;
    margin-top: 15px;
    
}

.emergency-header{
    display: flex;
}

.title-and-number{
    margin-left: 15px;
}

.emergency-card i{
    font-size: 30px;
    padding: 10px;
}

.emergency-title{
    font-size: 20px;
    font-weight: bold;
}

.emergency-number{
    font-size: 14px;
}

.emergency-card button{
    width: 100%;
    height: 50px;

    font-size: 18px;
    font-weight: bold;

    margin-top: 40px;

    color: #3454d2;
    background: #f0f4ff;

    border-radius: 5px;
    border: 0px;

}
/* Effects */
.emergency-card:hover{
    box-shadow: 10px 10px 10px lightgray;
}

.emergency-card button:hover{
    cursor: pointer;
    background-color: #3454d2;;
    color: white;
}


/* Responsive */
@media (max-width: 800px){
    #fourth-section{
        padding: 50px;
    }

    #fourth-section-left{
        width: 100%;
    }


    #fourth-section-right{
        width: 100%;
    }

    
}


@media (max-width: 500px){
    #fourth-section{
        padding: 0px;
    }

    #fourth-section-left{
        padding: 5% 0 0 5%;
    }


    #emergency-cards-container{
        justify-content: center;
    }

    #fourth-section-right img{
        width: 100%;
    }
}

