:root {
    font-size: 16px;

    --color-blue-bright: #29a1fd;
    --color-gray-dark: #555570;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-blue-light: #2aa2ff;
    --color-navy: #0e142a;
    --brand-orange: #E45813;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: "Roboto", sans-serif;
}

h1 {
    font-size: clamp(0.9375rem, 0.5481rem + 1.7308vw, 2.625rem);
    line-height: 115.9%;
}

h2 {
    font-size: clamp(1.125rem, 0.8798rem + 1.0897vw, 2.1875rem);
    font-weight: 500;
    line-height: 115.9%;
}

h3 {
    font-size: clamp(0.875rem, 0.601rem + 1.2179vw, 2.0625rem);
    line-height: 115.9%;
}

h4 {
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--color-blue-bright);
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.page-not-found-container {
    margin: 100px auto;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 clamp(1rem, -0.3413rem + 5.9615vw, 6.8125rem) 0
    clamp(1rem, -0.5rem + 6.6667vw, 7.5rem);
}

.section-spacing {
    margin-top: clamp(3.125rem, 1.9712rem + 5.1282vw, 8.125rem);
}

.button, .btn {
    font-size: clamp(1rem, 0.8846rem + 0.5128vw, 1.5rem);
    font-weight: 500;
    line-height: 115.9%;
    cursor: pointer;
    color: var(--color-white);
    background-color: var(--color-navy);
    padding: clamp(0.625rem, 0.5673rem + 0.2564vw, 0.875rem) clamp(1rem, 0.8125rem + 0.8333vw, 1.8125rem);
    transition: background-color 0.6s ease;
    border: none;
    border-radius: 10px;
}

.button:hover, .btn:hover {
    background-color: var(--color-blue-light);
}

.button-delete, .btn-delete {
    background-color: var(--brand-orange);
}

.button-delete:hover, .btn-delete:hover {
    background-color: var(--color-navy);
}

.registration-link {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
    padding: clamp(0.625rem, 0.5673rem + 0.2564vw, 0.875rem)
    clamp(0.875rem, 0.6587rem + 0.9615vw, 1.8125rem);
}

.header {
    position: relative;
    top: 0;
    width: 100%;
    background-color: var(--color-white);
    padding: clamp(1.0625rem, 0.8462rem + 0.9615vw, 2rem) 0
    clamp(1.25rem, 0.8462rem + 1.7949vw, 3rem) 0;
    transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    border-bottom: 2px solid var(--color-navy);
    animation: slideDown 1s ease forwards;
}

.header--hidden {
    transform: translateY(-100%);
}

body.header-is-fixed {

}

.header--scrolled {
    border-color: var(--color-blue-bright);
}

.menu__button {
    display: none;
    cursor: pointer;
    z-index: 3001;
    position: absolute;
    right: 1rem;
    top: 1rem;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.ham {
    cursor: pointer;
    transition: transform 400ms;
    user-select: none;
}

.ham.active {
    transform: rotate(45deg) !important;
}

.line {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: #0A3470;
    stroke-width: 5.5;
    stroke-linecap: round;
}
.ham.active .line {
    stroke: var(--color-white) !important;
}
.ham .top {
    stroke-dasharray: 40 139;
}

.ham .bottom {
    stroke-dasharray: 40 180;
}

.ham.active .top {
    stroke-dashoffset: -98px;
}

.ham.active .bottom {
    stroke-dashoffset: -138px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: clamp(3.125rem, -23.0208rem + 34.8611vw, 18.8125rem);
}

.logo-container {
    display: flex;
}

.header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo__divider {
    display: inline-block;
    width: 2px;
    height: 60px;
    background-color: var(--color-gray-dark);
    margin: 0 27px;
    flex-shrink: 0;
}

.header__nav {
    width: 100%;
    display: flex;
    gap: clamp(1.25rem, -4.0625rem + 7.0833vw, 4.4375rem);
    white-space: nowrap;
    justify-content: flex-end;
    align-items: center;
}

.nav__item {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 0.8333rem + 0.5556vw, 1.5rem);
    font-weight: bold;
    color: var(--color-gray-dark);
    transition: background-color 300ms;
}

.nav__item.active {
    background-color: var(--color-blue-bright);
    color: #fff !important;
    width: 100%;
    text-align: center;
}

.nav__item:hover {
    color: var(--color-blue-light);
}

.nav__item.selected {
    color: #ffffff;
    background-color: #274896;
}

.nav__language {
    display: flex;
    justify-content: center;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
}

.language__item {
    min-width: 0%;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
    transition:
            min-width 600ms,
            max-width 600ms;
}

.nav__language:hover .language__item.selectable {
    min-width: 200%;
    font-weight: bold;
}

.nav__language:hover .language__item:not(.selectable) {
    max-width: 1%;
}

section[id] {
    scroll-margin-top: 250px;
}

.main {
    flex: 1 1 auto;
}

.main__heading {
    color: #ffffff;
    background-color: var(--color-navy);
    background-repeat: repeat;
}

.main__heading span {
    font-size: 1.9rem;
    line-height: 1.5;
    font-weight: bold;
}

.main__heading h1 {
    text-transform: uppercase;
}

.banner {
    padding: clamp(1.5rem, 0.5048rem + 4.4231vw, 5.8125rem) 0;
}

.banner-title {
    color: var(--color-blue-bright);
    font-weight: 500;
    font-family: "Michroma", sans-serif;
    margin-bottom: clamp(0.375rem, -0.1442rem + 2.3077vw, 2.625rem);
}

.banner-subtitle {
    margin-bottom: clamp(0.25rem, 0.0625rem + 0.8333vw, 1.0625rem);
}

.banner-info {
    margin-bottom: clamp(0.75rem, 0.5192rem + 1.0256vw, 1.75rem);
}

.banner__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.banner__text {
    flex: 1;
}

.banner__img-container {
    display: flex;
    justify-content: flex-end;
}

.banner__img-container img {
    width: clamp(272px, 32vw, 682px);
    height: auto;
    animation: float 3s ease-in-out infinite;
}

.banner__img {
    max-width: 100%;
    height: auto;
}

.cols-2 {
    display: flex;
    align-items: center;
    gap: 4vw;
    max-width: 1632px;
    margin: 0 auto;
}

.img-grid {
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 0.7548rem + 1.0897vw, 2.0625rem);
}

.grid-top {
    display: flex;
    gap: clamp(1rem, 0.6971rem + 1.3462vw, 2.3125rem);
}

.img-top {
    width: 14.6vw;
    max-width: 281px;
    min-width: 123px;
    height: auto;
}

.img-bottom {
    margin-left: clamp(0rem, -1.6154rem + 7.1795vw, 7rem);
    width: 26.6vw;
    max-width: 511px;
    min-width: 224px;
    height: auto
}
.badge-exp {
    background-color: var(--color-blue-light);
    border-radius: 26px 111px 26px 26px;
    align-self: flex-end;
    width: clamp(84px, 10vw, 192px);
    height: clamp(65px, 7.7vw, 148px);
}

.cols-2__title {
    margin-left: clamp(1.3125rem, 1.1106rem + 0.8974vw, 2.1875rem);
    margin-bottom: clamp(1.5625rem, 0.726rem + 3.7179vw, 5.1875rem);
}

.list-bullets {
    list-style: none;
}

.list-bullets li {
    font-size: clamp(0.9375rem, 0.8077rem + 0.5769vw, 1.5rem);
    line-height: 115.9%;
    position: relative;
    padding-left: clamp(1.3125rem, 1.1106rem + 0.8974vw, 2.1875rem);
    margin-bottom: clamp(0.9375rem, 0.8077rem + 0.5769vw, 1.5rem);
}

.list-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: clamp(0.28125rem, 0.2452rem + 0.1603vw, 0.4375rem);
    height: clamp(0.28125rem, 0.2452rem + 0.1603vw, 0.4375rem);
    border: clamp(0.1875rem, 0.1587rem + 0.1282vw, 0.3125rem) solid
    var(--color-blue-light);
    background-color: var(--color-white);
    border-radius: 50%;
}

.steps-wrapper {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5625rem, 1.0577rem + 2.2436vw, 3.75rem);
    max-width: 1066px;
    margin: 0 auto;
}

.steps-title {
    text-align: center;
}

.steps-row {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.steps-row::before {
    content: "";
    position: absolute;
    top: 104px;
    left: 10%;
    right: 10%;
    height: 3px;
    background-color: var(--color-blue-light);
    z-index: 0;
}

.step-item {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: clamp(5.75rem, 4.1346rem + 7.1795vw, 12.75rem);
    width: max-content;
}

.step-item:first-child {
    text-align: left;
}

.step-item__icon {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(0.875rem, 0.601rem + 1.2179vw, 2.0625rem);
    position: relative;
}

.step-item__icon::after {
    content: "";
    position: absolute;
    top: 86px;
    width: 16px;
    height: 16px;
    background-color: var(--color-white);
    border: 11px solid var(--color-blue-light);
    border-radius: 50%;
    box-shadow:
            27px 0 0 0 #fff,
            -27px 0 0 0 #fff;
    z-index: 2;
}

.step-item p {
    margin-top: 35px;
    font-size: clamp(0.8125rem, 0.5817rem + 1.0256vw, 1.8125rem);
    line-height: 115.9%;
    color: var(--color-black);
    width: 100%;
}

.cols-2__timeline {
    display: flex;
    justify-content: space-between;
    max-width: 1691px;
    margin: 0 auto;
    gap: 3vw;
}

.cols-2__timeline .cols-2__content {
    flex-shrink: 0;
}

.timeline {
    display: flex;
    flex-direction: column;
    margin-top: clamp(1.5625rem, 1.0577rem + 2.2436vw, 3.75rem);
    gap: 43px;
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
}

.timeline-title {
    text-align: center;
}

.timeline__item {
    display: flex;
    align-items: center;
    position: relative;
}

.timeline__date {
    position: relative;
    width: clamp(8.6875rem, 6.9712rem + 7.6282vw, 16.125rem);
    background-color: var(--color-navy);
    color: var(--color-white);
    text-align: center;
    border-radius: 10px;
    font-size: clamp(1rem, 0.8846rem + 0.5128vw, 1.5rem);
    font-weight: 700;
    flex-shrink: 0;
    padding: clamp(0.75rem, 0.6923rem + 0.2564vw, 1rem) clamp(0.75rem, 0.6346rem + 0.5128vw, 1.25rem);
    margin-right: clamp(0.6875rem, -0.1923rem + 3.9103vw, 4.5rem);
}

.timeline__date::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    width: 3px;
    height: 29px;
    background-color: var(--color-blue-light);
    margin-top: 7px;
}

.timeline__item:last-child .timeline__date::after {
    display: none;
}

.timeline__text {
    font-size: clamp(0.9375rem, 0.8077rem + 0.5769vw, 1.5rem);
    line-height: 115.9%;
    color: var(--color-black);
    max-width: 440px;
}

.timeline-image {
    align-self: flex-end;
    flex-shrink: 1;
}

.information-block {
    font-size: clamp(0.9375rem, 0.8077rem + 0.5769vw, 1.5rem);
    line-height: 1.15;
    max-width: 1333px;
    margin: 0 auto;
}

.information-block strong {
    font-size: clamp(1.25rem, 1.0769rem + 0.7692vw, 2rem);
    font-weight: 700;
    color: var(--color-blue-bright);
}

.feedback_tab {
    max-width: 777px;
    margin: 0 auto;
}

.form-group {
    display: block !important;
}

strong.fb {
    color: var(--color-black);
}

.fb {
    text-align: center;
    color: var(--color-blue-bright);
    font-weight: 500;
    margin: clamp(3.125rem, 2.375rem + 3.3333vw, 6.375rem) auto clamp(1.5625rem, 1.0577rem + 2.2436vw, 3.75rem) !important;
}

.label-form {
    margin-bottom: 7px;
    font-size: clamp(1rem, 0.8846rem + 0.5128vw, 1.5rem);
}


.form-control {
    border: 1px solid var(--color-black) !important;
    border-radius: 10px !important;
    font-size: clamp(1rem, 0.8846rem + 0.5128vw, 1.5rem) !important;
    padding: clamp(0.6875rem, 0.6442rem + 0.1923vw, 0.875rem) clamp(0.75rem, 0.6635rem + 0.3846vw, 1.125rem) !important;
    line-height: 115.9% !important;
}

.mt-3 {
    margin-top: clamp(2.125rem, 1.8365rem + 1.2821vw, 3.375rem) !important;
}

.gap-3 {
    gap: clamp(0.6875rem, 0.3846rem + 1.3462vw, 2rem) !important;
}

.btn-primary.focus, .btn-primary:focus, .btn.focus, .btn:focus {
     box-shadow: none !important;
}

.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
}

.close:focus, .close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

.footer {
    flex: 0 0 auto;
    width: 100%;
    color: #fff;
    margin-top: clamp(3.125rem, 1.9712rem + 5.1282vw, 8.125rem);
}

.footer__banners {
    background-color: #ffffff;
}

.banners__row {
    max-width: 75rem;
    margin: 0 auto 1rem;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.banners__item {
    width: 20rem;
    display: flex;
    align-items: center;
    column-gap: 1rem;
    text-decoration: none;
    color: #000000;
}

.banners__item:visited {
    color: #000000;
}

.banner__logo {
    max-height: 100%;
    max-width: 4rem;
}

.footer__wrapper {
    background-color: #274896;
}

.footer__wrapper .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__text,
.footer__social {
    padding: 1rem 0;
}

.footer__social ul {
    display: flex;
    align-items: center;
    list-style-type: none;
}

.footer__social img {
    padding: 0.25rem 0.5rem;
    width: 2rem;
    transition: opacity 300ms;
}

.footer__social img:hover {
    opacity: 0.7;
}

.footer-bottom {
    font-weight: 300;
    padding: clamp(0.5rem, 0.3702rem + 0.5769vw, 1.0625rem) 0;
    text-align: center;
    color: var(--white);
    background-color: var(--color-blue-bright);
}

@media screen and (max-width: 1600px) {
    .timeline-image {
        align-self: auto;
    }
    .cols-2--reverse {
        flex-direction: column-reverse;
        align-items: center;
        gap: clamp(3.125rem, 2.6923rem + 1.9231vw, 5rem);
    }
}

@media screen and (max-width: 1440px) {
    .timeline-image img {
        width: 100%;
        height: auto;
    }
    .logo__img--bsuir {
        width: 50px;
        height: auto;
    }
    .logo__img--hoster {
        width: 105px;
        height: auto;
    }
    .logo__divider {
        width: 1px;
        height: 40px;
    }
    .step-item__icon img {
        width: 55px;
        height: auto;
    }
    .step-item__icon::after {
        width: 11px;
        height: 11px;
        border: 8px solid var(--color-blue-light);
        box-shadow:
                23px 0 0 0 #fff,
                -23px 0 0 0 #fff;
    }
    .steps-row::before {
        top: 99px;
    }
}

@media screen and (max-width: 1200px) {
    .header .container {
        flex-wrap: wrap;
    }

    .header__logo {
        width: auto;
    }

    .header__nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 80vh;
        overflow-y: auto;
        background-color: var(--color-navy);
        z-index: 2000;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: clamp(8.25rem, 7.7143rem + 2.381vw, 9.5rem);
        padding-bottom: clamp(1.25rem, 0.7143rem + 2.381vw, 2.5rem);
        margin: 0;
    }

    .header__nav.open {
        display: flex !important;
    }
    .menu__close {
        display: block;
    }
    .nav__item {
        color: var(--color-white) !important;
        font-size: 1.25rem;
        padding: 19px 0;
        width: 100%;
        text-align: center;
        border: none;
        transition: 0.3s;
    }
    .nav__item:hover {
        background-color: var(--color-blue-light);
    }

    .menu__button {
        display: block;
    }
}

@media screen and (max-width: 1024px) {
    .cols-2 {
        flex-direction: column;
        gap: 40px;
    }
    .timeline {
        gap: 41px;
    }
    .timeline__date::after {
        top: 98%;
    }
}

@media screen and (max-width: 768px) {
    .menu__button {
        top: 0;
    }

    .banner__img-container {
        display: none;
    }
    .timeline-image img {
        width: 100%;
        height: auto;
    }
    .logo__img--bsuir {
        width: 31px;
        height: auto;
    }
    .logo__img--hoster {
        width: 66px;
        height: auto;
    }

    .step-item__icon {
        height: 31px;
    }

    .step-item__icon img {
        width: 26px;
        height: auto;
    }
    .step-item__icon::after {
        width: 5px;
        height: 5px;
        top: 36px;
        border: 4px solid var(--color-blue-light);
        box-shadow:
                11px 0 0 0 #fff,
                -11px 0 0 0 #fff;
    }

    .steps-row::before {
        top: 41px;
    }
    .logo__divider {
        width: 1px;
        height: 20px;
    }
    .timeline {
        gap: 23px;
    }
    .timeline__date::after {
        height: 15px;
        top: 95%;
    }
}

@media screen and (max-height: 500px) and (orientation: landscape) {
    .header__nav {
        padding-top: 5rem;
        height: 100vh;
    }
}


@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes float {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(clamp(0.625rem, 0.2083rem + 0.8681vw, 1.25rem)); }
    100% { transform: translateY(0); }
}
