@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

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

.home_page{
    position: relative;
    display: flex;
    flex-direction: column;
    width: 90vw;
    max-width: 1440px;
    margin: 0 auto;
    justify-content: center;
    min-height: 100vh;
}

.master_page{
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1440px;
    width: 90%;
    min-height: 40rem;
    background-color: #8e4b50;
    padding: 10px;
}

.master_page h2{
    position: relative;
    color: white;
}

.home_page_content{
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    position: relative;
    background-color: #8e4b50;
    width: 100%;
    min-height: 50vh;
    padding: 10px;
}

.home_page_content h2{
    color: white;
}

.certificates {
    margin-top: 50px;
    flex-wrap: wrap;
    display: flex;
    width: 100%;
}

.certificate-box {
    margin: 50px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45%;
    flex-direction: column;
}

.certificate-box img {
    width: 100%;
}

.certificate-description {
    display: flex;
    margin: 0 auto;
}

.certificate-description p {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
}

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

    .certificates {
        margin-top: 10px;
        flex-wrap: wrap;
        display: flex;
        width: 100%;
    }

    .certificate-box {
        margin: 10px auto;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        flex-direction: column;
    }

    .certificate-box img {
        width: 100%;
    }

    .certificate-description {
        display: flex;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .certificate-description p {
        color: white;
        font-size: 1.5rem;
        font-weight: 500;
        text-transform: uppercase;
    }

}