section#blocks {
    padding: 40px 0;
    box-sizing: border-box;
    background: #f8f8f8;
    position: relative;
    height: 420px;
}



section#blocks .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: absolute;
    left: 0;
    right: 0;
}

section#blocks .container a {
    flex: 1;
    background: white;
    margin: 10px;
    padding: 20px;
    text-align: center;
    color: #333;
    box-shadow: 0 0 10px 1px #f3f3f3;
    transition: 0.5s;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

section#blocks a:hover {
    transform: translateY(-5px);
}

section#blocks .container a p {
    margin-bottom: 0;
}

section#blocks .container a i {
	color: var(--maincolor);
	font-size: 40px;
}

section#blocks .container a h3 {
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 40px;
    margin-bottom: 0;
}

@media screen and (max-width: 1700px) {

    section#blocks {
        height: auto;
    }

    section#blocks .container {
        position: relative;
    }

}
