* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

.parent {
    width: 100%;
    height: 360px;
    margin: 50px auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.card {
    width: 33.33%;
    height: 235px;
    background-color: white;
    margin: 0px 20px;
    text-align: center;
    border-radius: 3px;
}

.card .title {
    width: 35px;
    height: 35px;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-weight: bold;
    font-size: 24px;
    margin: -15px auto 0 auto;
}

/* customization title */
.card:nth-child(1) .title {
    background-color: #03a9f4;
}

.card:nth-child(2) .title {
    background-color: #039485;
}

.card:nth-child(3) .title {
    background-color: #FE5722;
}


.card h2 {
    margin: 20px auto 0 auto;
    color: #333;
}

.card p {
    margin: 30px 35px 0 35px;
    color: rgb(152, 134, 134)
}

/* customization of buttons */
.card .bottom {
    width: 135px;
    height: 35px;
    outline: none;
    color: white;
    border-radius: 5px;
    padding: 10px;
    margin: 30px auto 0 auto;
}

.card:nth-child(1) {
    border-bottom: 3px solid #03a9f4;
}

.card:nth-child(1) .bottom {
    background-color: #03a9f4;
}

.card:nth-child(2) {
    border-bottom: 3px solid #039485;
}

.card:nth-child(2) .bottom {
    background-color: #039485;
}

.card:nth-child(3) {
    border-bottom: 3px solid #FE5722;
}

.card:nth-child(3) .bottom {
    background-color: #FE5722;
}

/* media query */
@media (max-width:780px) {
    .parent {
        flex-wrap: wrap;
    }

    .card {
        width: 80%;
        margin: 40px auto 20px auto;
    }
}

@media (min-width:780px) {
    .parent {
        flex-wrap: wrap;
    }

    .card {
        margin-top: 40px;
        width: 45%;
        height: 250px;
    }
}

@media (min-width:835px) {
    .parent {
        flex-wrap: nowrap;
    }

    .card {
        height: 270px;
    }
}