body {
    padding: 0px 10px;
}

.back {
    display: flex;
    width: 100%;
    padding: 0px 80px;
    flex-direction: column;
    background: #3D65C9;
    border-radius: 20px;
    margin-top: 10px;
    height: 480px;
    justify-content: center;
    background-image: url("./images/partners-general.png");
    background-size: cover;
}

.block-title {
    color: #FFFFFF;
    text-shadow: 0 0 8px var(--color-background-blue-5, #3D65C9), 0 0 2px var(--color-background-blue-5, #3D65C9);
    font-family: Manrope;
    font-style: normal;
    margin-bottom: 48px;
    max-width: 640px;
}

.b24-window-popup-wrapper .b24-window-scrollable {
    max-height: 90vh !important;
}

.title {
    font-size: 52px;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 20px;
    font-weight: 500;
    line-height: 130%;
}

.white-button {
    display: flex;
    padding: 0 32px;
    justify-content: center;
    align-items: center;
    border-radius: 40px;
    background: #FFFFFF;
    width: fit-content;
    height: 56px;
    cursor: pointer;
}

.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    max-width: 1016px;
    padding: 5px;
    border-radius: 9999px;
    background: #F0F4F9;
    margin: auto;
    margin-top: 15px;
    align-items: center;
    color: #1A1A1A;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
}

.tab {
    height: 56px;
    align-content: center;
}

.active {
    border-radius: 60px;
    background: var(--color-background-blue-4, #5579D2);
    color: #FFFFFF;
    height: 56px;
    align-content: center;
}

.section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 80px;
    gap: 10px;
    max-width: 1334px;
    margin: auto;
}

.block {
    display: flex;
    min-width: 280px;
    padding: 22px;
    gap: 16px;
    border-radius: 20px;
    background-color: #F0F4F9;
    transition: background-color 0.8s;
    transition-timing-function: ease-out;
}

.block:hover {
    background-color: #DFE9F6;
}

.center {
    align-items: center; 
}

.name {
    color: #1A1A1A;
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    min-width: 280px;
    width: 280px;
}

.transition {
    display: flex;
    align-items: center;
    justify-content: end;
    margin: auto;
    margin-top: 32px;
    max-width: 1334px;
    cursor: pointer;
}

.back-image {
    width: 48px;
    height: 48px;
    padding: 10px;
    justify-content: center;
    align-items: center;
    border-radius: 999px;
    background: #FFFFFF;
    min-width: 48px;
	min-height: 48px;
    max-height: 48px;
	display: flex;
}

.popup {
    background: rgba(0, 0, 0, 0.50);
    backdrop-filter: blur(32px);

    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.information {
    display: flex;
    flex-direction: column;
    max-width: 640px;
    height: calc(100% - 20px);
    padding: 10px;
    gap: 24px;
    border-radius: 20px;
    background: #F0F4F9;
    box-shadow: 0 12px 32px 0 rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.right {
    text-align: right;
}

.info-image {
    width: 80px;
    height: 80px;
    padding: 20px;
    margin: auto;
    border-radius: 9999px;
    background: #FFFFFF;
    align-items: center;
    display: flex
}

.popup-name {
    color: #1A1A1A;
    text-align: center;
    font-family: Manrope;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    margin-top: 16px;
}

.popup-text {
    padding: 22px;
    border-radius: 10px;
    background: #FFFFFF;
    height: inherit;

    color: rgba(26, 26, 26, 0.70);
    font-family: Manrope;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    overflow-y: scroll;

    scrollbar-color: #BFBFBF transparent;
    scrollbar-width: thin;
}

.visible {
    display: flex;
}

.hide {
    display: none;
}

.size40 {
    width: 40px;
    height: auto;
}

code {
    font-family: Manrope !important;
}

p {
    margin-top: 16px;
}

.cursor {
	cursor: pointer;

}

@media (max-width: 1399px) {
    .name {
        min-width: calc(100% - 108px);
    }
}

@media (max-width: 1199px) {
    .block-title {
        max-width: 520px;
    }

    .back-image {
        width: 40px;
        height: 40px;
        padding: 8px;
    }

    .block {
        display: grid;
        grid-auto-flow: row dense;
        grid-template-columns: auto 24px;
    }

    .name {
        grid-column: span 2;
        min-width: auto;
    }
}

@media (max-width: 1069px) {
	.block {
		width: auto;
		min-width: auto;
	}
}

@media (max-width: 959px) {
	.back {
			margin-top: 70px;
		}
}

@media (max-width: 839px) {
    .section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 599px) {
    .back {
        padding: 40px 20px 120px 20px;
        background-image: url("./images/partners-general-small.png");
        height: auto;
    }

    .title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .tabs {
        font-size: 14px;
        grid-template-columns: repeat(3, auto);
    }

    .active {
        height: 40px;
    }

    .section {
        display: flex;
        overflow-x: scroll;
        padding-top: 64px;
    }

    .name {
        font-size: 16px;
    }

    .information {
        width: calc(100% - 20px);
    }

    .popup-name {
        font-size: 16px;
    }

    .popup-text {
        font-size: 14px;
    }

	.block {
		min-width: auto;
	}
}