.wrapper, #container {
    height: auto;
}

.certificates {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    background-color: black;
    box-sizing: border-box;
    padding: 20px 20px 40px 20px;
}

.certificateImg {
    width: 42%;
    margin: 0 10px 0 10px;
    border: 10px solid rgba(33, 37, 41, 1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 0 0 14px #FF3E00;
}

.certificates img {
    width: 100%;
    height: auto;
    transition:  ease-in-out 1.6s;
}

.certificates img:hover {
    transform: scale(1.1);
}




/* ------------------------------------------- @media */
@media screen and (min-width: 1369px) {
    .wrapper {
        background-color: black;
    }
    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: flex-start;
        padding-left: 20px;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1368px) {
    .wrapper {
        background-color: black;
    }

    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: flex-start;
        padding-left: 20px;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}

@media screen and (min-width: 901px) and (max-width: 1199px) {
    .wrapper {
        background-color: black;
    }

    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: flex-start;
        padding-left: 20px;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}

@media screen and (min-width: 760px) and (max-width: 900px) {
    .wrapper {
        background-color: black;
    }

    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: flex-start;
        padding-left: 20px;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}

@media screen and (min-width: 560px) and (max-width: 759px) {
    .wrapper {
        background-color: black;
    }

    .certificates {
        flex-direction: column;
        padding: 20px;
    }

    .certificateImg {
        width: 100%;
        margin: 0 0 30px 0;
    }

    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}

@media screen and (min-width: 481px) and (max-width: 559px) {
    .wrapper {
        background-color: black;
        display: flex;
    }

    .certificates {
        flex-direction: column;
        padding: 20px;
    }

    .certificateImg {
        width: 100%;
        margin: 0 0 30px 0;
    }

    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}

@media screen and (min-width: 370px) and (max-width: 480px) {
    .wrapper {
        background-color: black;
    }

    .certificates {
        flex-direction: column;
        padding: 20px;
    }

    .certificateImg {
        width: 100%;
        margin: 0 0 30px 0;
    }

    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}

@media screen and (min-width: 320px) and (max-width: 369px) {
    .wrapper {
        background-color: black;
    }

    .certificates {
        flex-direction: column;
        padding: 20px;
    }

    .certificateImg {
        width: 100%;
        margin: 0 0 30px 0;
    }

    h1.h1 {
        color: white;
        background-color: black;
        width: 100%;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.8rem;
        margin-top: 20px;
    }
}