.home-main-section {
    max-width: 1170px;
    margin: 0px auto;
    column-gap: 48px;
    margin-top: 64px;
    padding: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.diagram {
    width: 50%;
}



.home-second-section {
    display: block;
    text-align: center;
    padding-bottom: 64px;
}

.some-padding {
    padding-right: 24px;
    margin-right: 32px;
}

.card a {
    display: block;
    width: 90%;
    text-align: right;
    box-sizing: border-box;
}

.categories, .categories-2 {
    max-width: 1170px;
    margin: 64px auto;
    display: flex;
    gap: 12px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.home-main-paragraph {
    padding: 32px ;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.upb-pictures {
    width: 80%;
    display: flex;
    flex-direction: row;
    gap: 12px;

}

.upb-sub-pictures {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.upb-pictures img {
    width: 50%;
    object-fit: cover;
}

.upb-sub-pictures img {
    width: 100%;
}

.home-main-text {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.home-main-text .some-padding h2{
    font-size: 33px;
    line-height: 45px;
    margin: 0 0 40px;
    font-weight: 700;
}

.home-main-text .some-padding p {
    font-weight: 300;
    font-size: 13px;
    line-height: 22px;
}

.text {
    width: 100%;
}

.categories div {
    width: 49%;
    min-height: 256px;
    color: #fff;
    padding: 16px;
    box-sizing: border-box;
    text-align: left;
}

.categories-2 div {
    width: 25%;
    min-height: 200px;
    color: #2a3d8b;
    padding: 16px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.max-width {
    max-width: 1200px;
    margin: 0px auto;
}

.margin-48 {
    margin-top: 48px;
    margin-bottom: 48px;
}

.card {
    position: relative;
    overflow: hidden;
}

.card a {
    z-index: 3;
    position: absolute;
    bottom: 12px;
    color: #fff;
    text-decoration: none;
}

.card h3 {
    z-index: 3!important;
    transition-duration: 0.5s;
    position: relative;
}

.card h2 {
    z-index: 3!important;
    position: relative;
    font-weight: 700;
}

.card div {
    z-index: 0;
    display: block;
    position: absolute;
    width: 100%;
    padding: 0px;
    height: 100%;
    top: 0;
    left: 0;
}

.card div img {
    min-width: 100%;
    height: 100%;
    opacity: 0.2;
    transition-duration: 0.5s;
    position: relative;
    object-fit: cover;
}

.card:hover div img {
    opacity: 0.8;
}

.course {
    display: block;
    padding: 12px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    background-color: #f6f6f6;
    margin: 12px;
}

.main-banner {
   flex-direction: row;
   justify-content: center;
   padding: 48px;
}

.main-banner .content {
    flex-direction: column;
    max-width: 60%;
    text-align: justify;
}

.logo-flex { 
    transform: none;
    justify-content: flex-end;
    width: 30%;
}

.short-description img {
    width: fit-content;
    object-fit: contain;
}

.course .short-description {
    display: flex;
    flex-direction: row;
    gap: 32px;
    text-align: left;
}

.hidden {
    text-align: left;
    padding: 12px;
    margin-top: 12px;
}

@media screen and (max-width: 920px) {
    .home-main-paragraph {
        width: 100%;
    }

    .home-main-text {
        flex-direction: column;
        align-items: center;
    }

    .some-padding { 
        margin: 0px;
        padding: 0px;
    } 
    .main-banner {
        flex-direction: column-reverse;
    }

    .logo-flex {
        width: 100%;
        justify-content: center;
    }

    .main-banner .content { 
        max-width: 100%;
    }

    .main-banner { 
        padding: 32px;
    }

    .home-main-section { 
        margin-top: 0px;
        padding: 32px;
    }
    .upb-pictures {
        width: 100%;
    }

    .home-main-text .some-padding h2{
        font-size: 28px;
        line-height: 35px;
    }
}