.banner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 800px;
    background-image: url(images/ikofe_banner_1.jpg);
    background-position: center;
}

.banner-wrapper {
    width: 1200px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.banner-window {
    width: 400px;
    height: 400px;
    margin-left: 20px;
    margin-top: 80px;
    background-color: white;
}

.banner-window-label {
    width: 100%;
    height: 320px;
    padding-left: 32px;
    padding-top: 32px;
}

.banner-window-label-label {
    font-size: 48px;
    text-align: justify;
    font-weight: bold;
    line-height: 48px;
    text-transform: uppercase;
}

.banner-window-link {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-left: 32px;
    width: 100%;
    height: 80px;
    border-top: 1px solid rgba(123, 124, 124, 0.3);
}


.banner-window-link-words {
    color: #E6177E;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.25s;
}

.banner-window-link-forward {
    margin-right: 32px;
}

.partners {
    width: 100%;
    height: 200px;
    background-color: #ffffff;
    position: relative;
    /* display: none; */
}

.partners-slider {
    position: absolute;
    left: 0;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    transition: left 0.7s;
    z-index: 1;
}

.white-block {
    position: absolute;
    height: 100%;
    width: 50px;
    right: 0;
    z-index: 3;
    background-color: #ffffff;
}

.partners-slider-button {
    position: absolute;
    top: 40%;
    z-index: 3;
    cursor: pointer;
}

.partners-slider-button img {
    width: 30px;
}

.partners-slider-button:first-child {
    left: 20px;
    transform: scaleX(-1);
}

.partners-slider-button:last-child {
    right: 20px;
}

.partners-slide {
    width: 250px;
}

.services {
    margin-top: 80px;
    width: 100%;
    /* height: 800px; */
    display: flex;
    flex-direction: row;
}

.services-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
    height: 100%;
    padding-bottom: 80px;
    color: #ffffff;
    background-color: #E6177E;
    padding-bottom: 80px;
}

.services-left .services-image {
    margin-bottom: 80px;
}

.services-image
.services-image img {
    max-width: 100%;
    display: flex;
}

.services-left .services-image img{
    width: 100%;
}

.services-label {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
}

.services-text {
    width: 450px;
    text-align: justify;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
}

.services-text:nth-child(2) {
    text-align: center;
}

.services-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 212px;
    height: 64px;
    margin-top: 40px;
    background-color: #ffffff;
    color: #000000;
}

.services-left .btn-animation {
    background-color: #000000;
}

.services-right .btn-animation {
    background-color: #E6177E;
}

.services-button span {
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    transition: color .25s cubic-bezier(.215,.61,.355,1);
    z-index: 2;
}

.services-button:hover {
    color: #ffffff;
}

.services-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 50%;
    color: #ffffff;
    background-color: #1a1a1a;
}

.fed4a5a2 {
    padding-top: 64px;
    width: 100%;
}

.services-right .service-label {
    margin-top: 24px;
}

.services-right div {
    flex-shrink: 0;
}

.services-right .services-image {
    width: 100%;
    display: flex;
    justify-content: center;
}

.services-right .services-image img {
    width: clamp(300px, 100%, 600px);
    flex-shrink: 3;
}

.story-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
    font-size: 18px;
    text-align: justify;
    line-height: 26px;
}

.story-text-text {
    height: auto;
    width: 780px;
}

.last-events {
    display: flex;
    width: 100%;
    height: 500px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 120px;
}

.last-events h1 {
    margin-bottom: 40px;
}

.events {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.slider-button {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    width: 120px;
    height: 500px;
    z-index: 1;
    cursor: pointer;
}

.slider-button:first-child {
    left: 0;
}

.slider-button:last-child {
    right: 0;
}

.slider-button img {
    position: relative;
    top: 25%;
    width: 50px;
}

#slider-left-button {
    transform: scaleX(-1);
    left: -20;
}

.events-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    transition: left 1s;
    left: 80px;
}

.events-wrapper .event {
    position: relative;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    margin-right: 20px;

}

.event a {
    display: flex;
    width: 580px;
}

.event-title-link h2 {
    color: #000000;
}

.event-title-link:hover h2 {
    color: #E6177E;
    text-decoration: underline;
}

.event a img {
    width: 100%;
}

.events p {
    font-size: 12px;
    color: #666666;
    margin-bottom: 0;
}

.events h2 {
    font-size: 24px;
    margin-top: 20px;
    line-height: 36px;
    font-weight: 400;
}

.achievements {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 120px;
}

.achievements h1 {
    margin-bottom: 30px;
}

.achievements-table {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 1200px;
}

.achievements-table-cell {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: 33%;
    height: 260px;
    font-size: 18px;
    text-align: center;
    border: 2px solid rgba(123, 124, 124, 0.3);
}


@media screen and ( max-width: 1200px ) and ( min-device-width: 600px ) {

    .achievements-table {
        width: 100%;
        padding-left: 5%;
        padding-right: 5%;
    }

    .achievements-table-cell {
        flex-basis: 50%;
        border: 2px solid rgba(123, 124, 124, 0.3) !important;
    }

    .achievements-table-cell:nth-child(2n-1) {
        border-bottom: none !important;
        border-right: none !important;
    }

    .achievements-table-cell:nth-child(2n) {
        border-bottom: none !important;
    }

    .achievements-table-cell:last-child,
    .achievements-table-cell:nth-child(5) {
        border-bottom: 2px solid rgba(123, 124, 124, 0.3) !important;
    }

    .services-img img {
        display: flex;
        width: 490px;
        height: 255px;
    }

    .services-right .services-img {
        flex-shrink: 2;
    }


}


@media screen and ( max-width: 900px ) and ( min-device-width: 600px ) {



    .services-text {
        width: 250px;
        font-size: 16px;
    }

    .services-left .services-image {
        margin-bottom: 0;
    }

    .services-right .services-image {
        margin-top: 0;
    }

    .events {
        position: relative;
    }

    .slider-button {
        width: 100px;
        height: 100px;
        top: 30%;
    }
}


@media screen and ( max-width: 600px ) {
    
    .banner {
        height: 550px;
        background-size: cover;
    }
    
    .banner-wrapper {
        height: 100%;
        width: 100%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .banner-window {
        width: 310px;
        height: 310px;
        max-width: 90%;
        margin: 0;
        margin-top: 40px;
    }

    .banner-window-label {
        height: 236px;
    }

    .banner-window-label-label {
        font-size: 38px;
        line-height: 38px;
        font-weight: bold;

    }

    .partners {
        height: 160px;
        margin-bottom: 32px;
        overflow: hidden;
        position: relative;
    }

    .white-block {
        display: none;
    }

    .services {
        flex-direction: column;
        height: auto;
    }

    .services-left,
    .services-right {
        width: 100%;
        background-size: 100%;
        background-position: center;
        background-repeat: no-repeat;
        height: 490px;
        padding: 0;
    }

    .services-left {
        background-color: #E6177E;
        background-position: top;
        padding-bottom: 55px;
    }

    .services-image {
        flex-shrink: 0;
        width: 90%;
        display: flex;
        justify-content: center;
    }

    .services-image img {
        max-height: 200px;
        object-fit: contain;
        height: 100%;
    }

    .services-left .services-image {
        margin-bottom: 24px;
    }

    .services-right {
        background-color: #1a1a1a;
        background-position: bottom;
        padding-top: 65px;
    }

    .services-right .services-image {
        margin-top: 0;
    }

    .services-right div,
    .services-left div {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .services-button-wrapper {
        margin-top: 45px;
        max-width: 60%;
    }

    .services-text {
        width: 90%;
        align-self: center;
        font-size: 17px;
    }

    .services-label {
        margin-bottom: 30px !important;
    }

    .story-text {
        display: flex;
        margin-top: 70;
        margin-bottom: 70;
        font-size: 16px;
        margin-left: 25px;
        margin-right: 20px;
    }

    .story-text-text {
        width: 100%;
        height: auto;
    }

    .last-events {
        margin-bottom: 100px;
        height: auto;
    }

    .events {
        position: relative;
    }

    .slider-button {
        height: 60px;
        width: 60px;
        top: 17%;   
    }

    .slider-button img{
        width: 30px;
    }

    .events-wrapper {
        left: 30px;
    }

    .event a {
        width: 100%;
    }

    .event a img {
        width: 310px;
        height: 150px;
    }

    .achievements {
        margin-top: 0;
    }

    .achievements-table {
        flex-direction: column;
        align-items: center;
        flex-wrap: nowrap;
        width: 100%;
        height: auto;
        margin-left: 20px;
        margin-right: 20px;
    }

    .achievements-table-cell {
        max-width: 95%;
        min-width: 250px;
        min-height: 250px;
        width: 310px;
        height: 310px;
        border: 2px solid rgba(123, 124, 124, 0.3) !important;
        border-right: 2px solid rgba(123, 124, 124, 0.3) !important;
        border-bottom: none !important;
        font-size: 16px;
    }

    .achievements-table-cell:last-child {
        border-bottom: 2px solid rgba(123, 124, 124, 0.3) !important;
    }


}