.homepage_banner__enrolment__heading {
    color: #ffffff;
    font-size: 36px !important;
    font-weight: 600;
}

.medal-section{
    position: absolute;
    display: flex;
    bottom: 9%;
    right: 16%;
}

.medal-section-2{
    right: 24%!important;
}

.homepage_banner .medal-section img{
    margin-right: 14px;
}


.medal:before {
    content: "";
    position: absolute;
    top: -110%;
    left: -210%;
    width: 200%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
      to right, 
      rgba(255, 255, 255, 0.13) 0%,
      rgba(255, 255, 255, 0.13) 77%,
      rgba(255, 255, 255, 0.5) 92%,
      rgba(255, 255, 255, 0.0) 100%
    );
}
  
.medal:hover:after {
    opacity: 0.8;
    top: -30%;
    left: -30%;
    transition-property: left, top, opacity;
    transition-duration: 0.7s, 0.7s, 0.15s;
    transition-timing-function: ease;
}
  
.medal:active:after {
    opacity: 0;
 }

.homepage_banner .background_img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.homepage_banner__enrolment {
    position: relative;
    width: 100%;
    top: 0px;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s; 
    height: 643px;
}

.homepage_banner__for_organisations {
    position: absolute;
    width: 100%;
    height: 643px;
    top: 0px;
    z-index: 0;
    opacity: 1;
    transition: opacity 0.5s;
    -webkit-transition: opacity 0.5s; 
    height: 643px;
}

.homepage_banner--enrolment_active .homepage_banner__enrolment {
    opacity: 1;
    z-index: 500!important;
}

.homepage_banner--enrolment_active .homepage_banner__for_organisations {
    opacity: 0;
}

.homepage_banner--company_active .homepage_banner__enrolment {
    opacity: 0;
}

.homepage_banner--company_active .homepage_banner__for_organisations {
    opacity: 1;
    z-index: 500!important;
}

.homepage_banner__enrolment .container {
    height: 100%;
    overflow: hidden;
}

.homepage_banner__enrolment .container .row {
    height: 100%;
}

.homepage_banner__enrolment .container .row .col-xl-8 {
    height: 100%;
}


@media only screen and (max-width: 1117px) { 
    .homepage_banner__enrolment__heading {
        text-align: center;
    }

    .homepage_banner__enrolment__heading .wp-block-buttons {
        gap: 1rem;
    }

}

@media only screen and (max-width: 418px) { 
    .homepage_banner .background_img img {
        min-height: 360px!important;
    }
}

@media only screen and (max-width: 400px) { 
    .homepage_banner img {
        margin-left: 0px!important;
    }

    .homepage_banner .medal-section img{
        margin-right: 0px!important;
    }
}

@media only screen and (min-width: 418px) and  (max-width: 600px) { 
    .homepage_banner .background_img img {
        min-height: 467px!important;
    }
}

@media only screen and (min-width: 400px) and  (max-width: 440px) { 
    .homepage_banner .medal-section img {
        margin-right: 25px!important;
    }
    .medal-section {
        right: 3%!important;
    }
}

@media only screen and (min-width: 440px) and  (max-width: 520px) { 
    .homepage_banner .medal-section img {
        margin-right: 40px!important;
    }
    .medal-section {
        right: 4%!important;
    }
}

@media only screen and (min-width: 520px) and  (max-width: 600px) { 
    .homepage_banner .medal-section img {
        margin-right: 40px!important;
    }
    .medal-section {
        right: 7%!important;
    }
}


@media only screen and (max-width: 600px) { 
    .homepage_banner__enrolment .wp-block-button {
        margin-left: auto;
        margin-right: auto;
    } 

    .homepage_banner .wp-block-buttons{
        padding-bottom: 50%;
    }

    .background_img{
        display: none;
    }

    .medal-section{
        bottom: 18%!important;
    }

    .homepage_banner__for_organisations .wp-block-button {
        margin-left: auto;
        margin-right: auto;
    }

    .homepage_banner img { 
        height: auto !important;
    }
}

@media only screen and (min-width: 600px) and  (max-width: 1100px) { 

    .homepage_banner .background_img img{
        height: auto!important;
    }

}

@media only screen and (min-width: 1100px) and  (max-width: 1200px) { 

    .homepage_banner .background_img img{
        min-height: 456px!important;
        height: 456px!important;
        padding-top: unset!important;
        margin-left: 20%;
        width: unset!important;
    }

}