* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.block {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 20px;
}

.containerBlocks {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

.block h1 {
    width: 100%;
    text-align: center;
    font-size: 3rem;
    margin: 20px 0;
    color: olive;
}

.block p {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 30px;
    line-height: 20px;
    transition: all 0.5s;
}

.containerBlocks a {
    display: block;
    width: 20%;
    height: 300px;
}

.containerBlocks .partner {
    display: flex;
    flex-direction: column;
    width: 20%;
    min-width: 300px;
    height: 300px;
    border: 6px solid rgba(128, 128, 0, 0.6);
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: all 0.4s;
}

.containerBlocks .partner:hover {
    border: 8px solid rgba(128, 128, 0, 0.9);
    box-shadow: 0 0 6px 2px darkolivegreen;
    width: 21%;
}

.containerBlocks .partner:hover .words p {
    /*color: black;*/
    text-decoration: underline;
}

.containerBlocks .partner:hover .words {
    background-color: rgba(128, 128, 0, 0.9);
}

.containerBlocks .partner .pic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 240px;
}

.containerBlocks .partner .pic a {
    width: 100%;
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.containerBlocks .partner .pic a img {
    width: inherit;
    height: 240px;
}

.words {
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(128, 128, 0, 0.8);
    color: white;
}

.words p {
    margin-bottom: 0;
    line-height: normal;
    transition: all 0.6s;
}



