:root {
    --background-colour: #f8f8f8;
    --primary-blue: #0057b7;
    --secondary-blue: #66adff;
    --primary-yellow: #ffd700;
    --secondary-yellow: #ffe866;
    --font-color: #280400;
    --secondary-font-color: #333333;
    --secondary-background-color: #dadada;
}
body, html {
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: 'PT Sans', Arial, sans-serif;
    background-color: var(--background-colour);
    color: var(--font-color);
    padding: 0 11vw;
}
a {
    text-decoration: none;
    color: initial;
}
.text-bg-blue {
    background: var(--secondary-blue);
    border: var(--secondary-blue);
}
.text-bg-yellow {
    background: var(--primary-yellow);
    border: var(--primary-yellow);
}
.rounded-number {
    background-color: #ffffff;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    padding: 0.6em;
    color: var(--secondary-font-color);
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.balakun-name {
    color: var(--secondary-blue);
    font-weight: 500;
}
.btn-yellow {
    background-color: var(--primary-yellow);
    color: var(--font-color);
}
.btn-light-blue {
    background-color: var(--secondary-blue);
    color: var(--background-colour);
}
.navbar-brand svg {
    max-height: 2.5em;
}
.navbar-nav {
    align-items: center;
}
.nav-link.donation-type {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.5em;    
}
.dropdown-toggle::after {
    display: none !important;
}
.page {
    display: flex;
    flex-direction: column;
    gap: 2em;
    text-align: center;
}
.block {
    display: flex;
    flex-grow: 1;
}
.main {
    padding-top: 100px;
    flex-direction: column;
    justify-content: center;
    align-items:  center;
    gap: 24px;
}
.main h1 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 64px;
    text-align: center;
    max-width: 1500px;
    min-height: 64px;
}
.main p {
    max-width: 532px;
    color: var(--secondary-font-color);
}
.people {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
    min-height: 582px;
}
.elipse {
    position: absolute;
    border-radius: 50%;
    border-width: 0.052vw;
    border-style: solid;
}
.student-block {
    flex: 1;
    background: var(--secondary-blue);
    min-height: 550px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 2em;

}
.mentor-block {
    flex: 1;
    background: var(--primary-yellow);
    min-height: 550px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    padding: 2em;
}
.ellipse-group-student {
    position: relative;
    transform: translate(-50%, 50%);
    z-index: 1;
    color: var(--primary-yellow);
    flex-grow: 1;
}
.ellipse-group-mentor {
    position: relative;
    transform: translate(50%, 50%);
    z-index: 1;
    color: var(--secondary-blue);
    flex-grow: 1;
}
.ellipse-group-student .elipse {
    /* top: 8.6vw; */
    bottom: -4vw;
    left: 16vw;
    transform: translate(-50%, 50%);
}
.ellipse-group-mentor .elipse {
    bottom: -4vw;
    right: 16vw;
    transform: translate(50%, 50%);
}
.square-424 {
    width: 22.083vw;
    height: 22.083vw;
    position: absolute;
    z-index: 0;
}
.ellipse-group-student .square-424 {
    background-color: var(--primary-yellow);
    transform: translate(-50%, 50%);
}
.ellipse-group-mentor .square-424 {
    background-color: var(--secondary-blue);
    transform: translate(50%, 50%);
}
.ellipse-group-student img {
    position: absolute;
    z-index: 1;
    object-fit: cover;
    object-position: left bottom;
    transform: rotateY(180deg);
    width: 128%;
    height: 151%;
    left: -45px;
    top: -140px;
    border-radius: 50%;
}
.ellipse-group-mentor img {
    position: absolute;
    z-index: 1;
    object-fit: cover;
    object-position: left bottom;
    transform: rotateY(180deg);
    width: 95%;
    height: 139%;
    right: 20px;
    bottom: -4.1em;
}
.square-498 {
    width: 25.938vw;
    height: 25.938vw;
}
.square-580 {
    width: 30.208vw;
    height: 30.208vw;
    opacity: 75%;
}
.square-666 {
    width: 34.688vw;
    height: 34.688vw;
    opacity: 50%;
}
.square-765 {
    width: 39.844vw;
    height: 39.844vw;
    opacity: 25%;
}
.text-group-student {
    width: auto;
    z-index: 2;
    color: var(--background-colour);
    max-width: 45%;
}
.text-group-mentor {
    width: auto;
    z-index: 2;
    color: var(--secondary-font-color);
    max-width: 45%;
}
.about, .invitation, .achievements, .testimonials {
    flex-direction: column;
}
.united {
    flex-direction: column;
    gap: 20px;
    background: var(--secondary-blue);
    
}
.testimonials {
    background-color: var(--primary-yellow);
    border-radius: 20px;
    padding: 3em 0;
    gap: 2em;
    color: var(--font-color)
}
.testimonials-container {
    position: relative;
    height: 350px;
}
.slider {
    position: absolute;
    width: calc(100% + 20vw);
    left: -11vw;
}
.slider .card {
    font-size: 12pt;
    border-radius: 1em;
    min-width: 19em;
    overflow: visible;
}
.slick-track {
    display: flex;
    margin-left: 0;
    margin-right: 0;
}
.achievements-table {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
}
/* .achievements-table{
    display: flex;
    justify-content: space-around;
} */
.achievements-cell {
    flex-grow: 1;
    border: rgba(97, 97, 97, 0.055) solid 0.5px;
    padding: 2em;
}
.achievements-cell[class*="achievements"] {
    font-weight: 800;
    font-size: xx-large;
}
.achievements-students {
    color: var(--secondary-blue);
}
.achievements-mentors {
    color: var(--primary-yellow);
}
.achievements-matches {
    color: var(--bs-success);
}
.achievements-countries {
    color: var(--bs-danger);
}
.features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    justify-items: center;
    padding: 0 2vw;
    gap: 1em;
}
.self-page {
    transform: none;
    min-height: 25vw;
}
.mentor-block>.self-page>.elipse {
    bottom: 8vw;
}
.student-block>.self-page>.elipse {
    bottom: 4vw;
    left: 13vw;
}
.requirements-list {
    list-style-type: none;
}
.step-item {
    flex: 1;
    gap: 2em;
}
.empty {
   flex: 1;
} 
.step-left {
    justify-content: flex-end;
    border-right: dashed 2px;
    padding-right: 0;
}
.step-right {
    justify-content: flex-start;
    padding-left: 0;
}
.empty.left {
    align-self: stretch;
    border-right: dashed 2px;
}
.step-arrow {
    font-size: 2em;
}
.logo-badge {
    position: absolute;
    top: -2em;
    left: -2em;
    padding: 0.5em 0;
}
.history-list {
    max-height: 40vw;
}
.history-list li {
    background-color: var(--secondary-background-color);
}
.journey-img {
    height: 40em; 
    background-image: url('/images/journey.jpg');
    background-size: cover; 
    background-position-y: center;
}
.not-h1 {
    font-family: 'PT Sans', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 64px;
    text-align: center;
    min-height: 64px;
    width: 100%;
}
.donate-radio{
    --bs-btn-color: var(--primary-blue);
    --bs-btn-border-color: var(--secondary-blue);
    --bs-btn-hover-color: #f8f8f8;
    --bs-btn-hover-bg: var(--secondary-blue);
    --bs-btn-hover-border-color: var(--secondary-blue);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #333333;
    --bs-btn-active-bg: var(--primary-yellow);
    --bs-btn-active-border-color: var(--primary-yellow);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: transparent;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #0057b7;
    --bs-gradient: none;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: transparent;
}
/* Checkbox styles*/
.checkbox-wrapper-40 {
    --borderColor: var(--secondary-blue);
    --borderWidth: .125em;
}
.checkbox-wrapper-40 label {
    display: inline;
    max-width: 100%;
    margin: 0 1em;
    vertical-align: bottom;
}
.checkbox-wrapper-40 input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    background: #fff;
    font-size: 1.8em;
    border-radius: 0.125em;
    display: inline-block;
    border: var(--borderWidth) solid var(--borderColor);
    width: 1em;
    height: 1em;
    position: relative;
    /* margin-left: -1.4em; */
}
.checkbox-wrapper-40 input[type=checkbox]:before,
.checkbox-wrapper-40 input[type=checkbox]:after {
    content: "";
    position: absolute;
    background: var(--borderColor);
    width: calc(var(--borderWidth) * 3);
    height: var(--borderWidth);
    top: 50%;
    left: 10%;
    transform-origin: left center;
}
.checkbox-wrapper-40 input[type=checkbox]:before {
    transform: rotate(45deg) translate(calc(var(--borderWidth) / -2), calc(var(--borderWidth) / -2)) scaleX(0);
    transition: transform 200ms ease-in 200ms;
}
.checkbox-wrapper-40 input[type=checkbox]:after {
    width: calc(var(--borderWidth) * 5);
    transform: rotate(-45deg) translateY(calc(var(--borderWidth) * 2)) scaleX(0);
    transform-origin: left center;
    transition: transform 200ms ease-in;
}
.checkbox-wrapper-40 input[type=checkbox]:checked:before {
    transform: rotate(45deg) translate(calc(var(--borderWidth) / -2), calc(var(--borderWidth) / -2)) scaleX(1);
    transition: transform 200ms ease-in;
}
.checkbox-wrapper-40 input[type=checkbox]:checked:after {
    width: calc(var(--borderWidth) * 5);
    transform: rotate(-45deg) translateY(calc(var(--borderWidth) * 2)) scaleX(1);
    transition: transform 200ms ease-out 200ms;
}
.checkbox-wrapper-40 input[type=checkbox]:focus {
    outline: calc(var(--borderWidth) / 2) dotted rgba(0, 0, 0, 0.25);
}
/** xl */
@media (max-width: 1399px) {
    body {
        padding: 0 9vw;
    }
    .features {
        grid-template-columns: 1fr 1fr;
    }
    .achievements-table {
        grid-template-columns: 1fr 1fr;
    }
    .navbar-nav {
        align-items: flex-end !important;
    }
    .nav-link {
        padding-bottom: 0 !important;
    }
    .student-block, .mentor-block {
        padding: 1em;
    }
    .ellipse-group-student .elipse {
        left: 19vw;
        bottom: -5vw;
    }
    .ellipse-group-mentor .elipse {
        bottom: -5vw;
        right: 19vw;
    }
    .mentor-block>.self-page>.elipse {
        bottom: 7vw;
    }
    .student-block>.self-page>.elipse {
        bottom: 2vw;
    }
    .square-424 {
        width: 26.083vw;
        height: 26.083vw;
    }
    .square-498 {
        width: 29.938vw;
        height: 29.938vw;
    }
    .square-580 {
        width: 34.208vw;
        height: 34.208vw;
        opacity: 75%;
    }
    .square-666 {
        width: 38.688vw;
        height: 38.688vw;
    }
    .square-765 {
        width: 43.844vw;
        height: 43.844vw;
    }
    .history-list {
        max-height: 30vw;
    }
    .journey-img {
        display: none;
    }
}
/** lg */
@media (max-width: 1199px) {
    body {
        padding: 0 7vw;
    }
    .features {
        grid-template-columns: 1fr 1fr;
    }
     .achievements-table {
        grid-template-columns: 1fr 1fr;
    }
    .achievements-table {
        flex-wrap: wrap;
    }
    .empty, .step-arrow  {
        display: none;
    }
    .step-left {
        border: 0;
        padding: unset
    }
    .step-right {
        padding: unset
    }
    .navbar-nav {
        align-items: flex-end !important;
    }
    .nav-link {
        padding-bottom: 0 !important;
    }
    .student-block:not(.self-page), .mentor-block:not(.self-page) {
        flex-direction: column;
    }
    .ellipse-group-mentor, .ellipse-group-student {
        transform: translate(-50%, -50%);
    }
    .student-block>.self-page>.elipse {
        bottom: 3vw;
        left: 0vw;
    }
    .ellipse-group-student .elipse {
        left: 50%;
        bottom: 2em;
    }
    .ellipse-group-mentor .elipse {
        bottom: 3vw;
        right: -1vw;
        overflow: hidden;
    }
    .ellipse-group-student img { 
        width: 110%;
        height: 109%;
        left: -1vw;
        top: -2.1vw;
        object-position: center;
    }
    .ellipse-group-mentor img { 
        object-fit: contain;
        object-position: right bottom;
        width: 81%;
        height: 113%;
        right: 23px;
        bottom: -0.1em;
        border-radius: 26%;
    }
    .text-group-student, .text-group-mentor {
        max-width: fit-content;
    }
    .self-page {
        min-height: 40vw;
    }
    
}
/** md */
@media (max-width: 991px) {
    body {
        padding: 0 5vw;
    }
    .ellipse-group-mentor, .ellipse-group-student {
        transform: translate(-50%, -50%);
    }
    .student-block, .mentor-block {
        flex-direction: column;
    }
    .ellipse-group-student .elipse {
        left: 0vw;
        bottom: 3vw;
    }
    .ellipse-group-mentor .elipse {
        bottom: 3vw;
        right: -1vw;
    }
    .ellipse-group-student img { 
        width: 110%;
        height: 118%;
        left: -1vw;
        top: -4.6vw;
        object-position: center;
    }
    .ellipse-group-mentor img { 
        width: 81%;
        height: 113%;
        right: 23px;
        bottom: -0.1em;
        border-radius: 26%;
     }
    .navbar-collapse {
        position: absolute;
        top: 0;
        right: -5vw;
        min-height: 100vh;
        z-index: 10;
        width: 100vw;
        background-color: var(--secondary-blue);
        margin: 0 !important;
        display: flex;
        flex-direction: column;
        padding: 3em 2em;
        /* gap: 2em; */
        align-items: flex-start;
    }
    .navbar-nav {
        display: flex;
        align-items: flex-start !important;
        gap: 2em;
    }
    .nav-item > .nav-link{
        color: var(--background-colour);
        font-weight: 700;
        font-size: 1.5em;    
    }
    .nav-link.donation-type{
        color: var(--primary-blue);
        font-weight: 700;
        font-size: 1em;    
    }
    .dropdown-menu.show{
        border: none;
        font-size: 1.5em;
        padding: 0 !important;
        background: none;
    }
    .dropdown-item {
        padding: 0.1em 1em !important;
        background: none;
        font-weight: 700;
        color: var(--background-colour);
    }
    .navbar-toggler {
        z-index: 20;
    }
    .features {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }
    .history-list {
        max-height: 70vw;
    }
    .achievements-cell {
        padding: 1em 0;
    }
    .requirements-list {
        padding-inline-start: unset;
    }
    .not-h1 {
        font-size: 2em;
    }
}
/** sm */
@media (max-width: 767px) {
    body {
        padding: 0 3vw;
    }
    .slider .card {
        max-width: 30vw;
    }
    .navbar-collapse {
        right: -3vw;
    }
}
/** xs */
@media (max-width: 575px) {
    .slider{
        transform: none;
        position: static;
        width: 100%;
    }
    .nav.nav-tabs {
        flex-wrap: nowrap;
    }
    .slider .card {
        max-width: 100%;
    }
    .united {
        padding: 1em !important;
    }
    .main>h1{
        font-size: 3em;
    }
    body {
        padding: 0 1vw;
    }
    .achievements-table {
        grid-template-columns: 1fr;
    }
    .people {
        flex-direction: column;
    }
    .navbar-collapse {
        right: -1vw;
    }
    .ellipse-group-mentor img {
        right: 5px;
    }
}