/* container */
.container {
    height: 100px;
    display: flex;
}

.container-text {
    width: 100%;
    height: 100%;
    display: block;
}

.container-text h1, h4, p{
    width: 100%;
}

.p {
    display: none;
}

.container-text h1 {
    height: 40%;
    border-bottom: 1px solid;
    /* background-color: snow; */
}

.container-text h4 {
    height: 60%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.block-hidden {
    display: block;
    visibility: hidden;
}

/* main */
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    align-items: start;
    /* row-gap: 50px; */
}

main {
    background-color: #efefef;
    width: 100%;
    height: auto;
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 50px;
    display: grid;
    grid-template-columns: 20% 20% 20% 20%;
    grid-template-rows: auto;
    grid-auto-flow: row;
    row-gap: 50px;
    justify-content: space-evenly;
    overflow-y: scroll;
    overflow-x: hidden;
}

footer {
    flex-shrink: 0;
}

/* media */
@media only screen and (min-width:701px) and (max-width:900px) {
    .container-text h4 {
        display: flex;
        padding-top: 20px;
    }
}

@media only screen and (max-width:700px) {
    .container-text h1 {
        font-size: 2em;
    }
}

@media only screen and (max-width:420px) {
    .container-text h4 {
        /* padding-top: 10px; */
    }
}