/* courses.css */

.courses-container {
    display: flex;
    position: relative;
    width: 100%;
    justify-content: center;
    flex: 1;

    img.background-image {
        position: absolute;
        top: 0;
        width: 1300px;
        z-index: -1;
    }
}

.courses {
    margin-top: 0px;
    margin-bottom: 80px;
    flex-direction: column;

    h1 {
        margin-top: 90px;
        font-size: 68px;
        font-weight: 700;
    }

    p.subtitle {
        margin: 0;
        padding: 0;
        align-self: center;
        font-size: 20px;
        color: #AFAFAF;
        margin-top: 15px;
    }
    

    h2 {
        font-size: 30px;
        font-weight: 700;
        text-align: left;
        margin-top: 40px;
    }

    p.info {
        font-size: 12px;
        color: #AFAFAF;
        margin-top: 5px;
        margin-bottom: 40px;
        white-space: pre;
    }
}

@media only screen and (max-width: 784px) {
    .courses h1 {
        margin-top: 50px;
        font-size: 60px;
    }

    .courses {
        align-items: center;
        h2 {
            margin-top: 20px;
        }
        p.info {
            margin-bottom: 60px;
        }
    }

    .courses-widget-container {
        justify-content: center;
    }
}

