*,:after,:before {
    padding: 0;
    margin: 0;
    box-sizing: border-box
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth
}

body,button,input,textarea {
    font-family: Baloo\ 2,sans-serif
}

a {
    text-decoration: none
}

body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 5em;
    background-image: url(../img/assets/background-small.jpg);
    background-position: 50%;
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden
}

.body-main {
    background-image: url(../img/assets/background-menu-small.jpg)
}

.body-lock {
    overflow: hidden
}

.wrapper {
    margin: 0 auto;
    max-width: 1400px;
    width: 100%
}

.section-padding {
    padding: 1em
}

.hidden {
    visibility: hidden
}

.disabled {
    opacity: .3;
    pointer-events: none
}

.none {
    display: none
}

.opacity {
    opacity: .5
}

.nav {
    align-items: stretch;
    position: sticky;
    top: 0;
    height: 80px;
    width: 100%;
    z-index: 1000
}

.nav,.nav__box {
    display: flex;
    background-color: #163bc1
}

.nav__box {
    align-items: center;
    justify-content: space-between;
    height: 100%
}

.nav__logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    z-index: 100
}

.nav__logo {
    width: 50px;
    height: 50px;
    margin: 1em
}

.nav__logo img {
    width: 100%;
    height: 100%
}

.nav__title {
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #fff;
    line-break: auto
}

.nav__burger-nav {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100vw;
    height: 100vh;
    padding: 2em;
    background-color: rgba(22,59,193,.8);
    transform: translateY(0);
    transition: transform .5s ease-in-out;
    z-index: -1;
    overflow: auto
}

.accordion__info {
    display: none;
    padding: 1em;
    background-color: rgba(37,77,221,.7)
}

.accordion__item {
    font-size: 1.4rem
}

.fa-chevron-down {
    transform: rotate(0);
    transition: transform .3s
}

.rotate {
    transform: rotate(180deg)
}

.active {
    display: block
}

.main-nav {
    justify-content: start
}

.active-menu {
    transform: translateY(100%)
}

.burger-btn {
    display: block;
    margin: 0;
    padding: 1.5em;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    z-index: 1000
}

.burger-btn:focus {
    outline: none;
    border: 1px solid #fff;
    border-radius: 2px
}

.burger-btn__box {
    position: relative;
    width: 40px;
    height: 24px
}

.burger-btn__bar--one,.burger-btn__bar--three,.burger-btn__bar--two {
    position: absolute;
    top: 0;
    right: 0;
    height: 4px;
    width: 100%;
    content: "";
    background-color: #fff;
    border-radius: 2px
}

.burger-btn__bar--one {
    transition: top .3s,transform .3s
}

.burger-btn__bar--two {
    top: 10px;
    transition: transform .3s
}

.burger-btn__bar--three {
    top: 20px;
    transition: top .3s,transform .3s
}

.first-cross {
    top: 10px;
    transform: rotate(-45deg)
}

.second-cross {
    transform: scale(0)
}

.third-cross {
    top: 10px;
    transform: rotate(45deg)
}

.menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 80px
}

.menu--nav-color {
    background-color: rgba(37,77,221,.7)
}

.menu__item {
    display: flex;
    align-items: center;
    padding: 1em;
    margin-top: .5em;
    width: 100%;
    color: #fff;
    border: none;
    background-color: rgba(22,59,193,.8);
    text-transform: uppercase;
    font-size: 1.4rem;
    font-family: inherit;
    cursor: pointer;
    transition: background-color .3s
}

.menu__item:focus,.menu__item:hover {
    background-color: #163bc1
}

.menu__title-box {
    display: flex
}

.menu__item--expandable {
    justify-content: space-between
}

.menu__letter {
    display: flex;
    align-items: center;
    width: 30px;
    position: relative;
    margin-right: 1em;
    font-size: 1.6rem;
    color: hsla(0,0%,100%,.8)
}

.menu__letter:after {
    position: absolute;
    left: calc(100% + .5em);
    height: 100%;
    width: 3px;
    background-color: #fff;
    content: ""
}

.gallery__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.gallery__item {
    width: calc(50% - 1em);
    margin: .5em;
    cursor: pointer
}

.gallery__item:focus .gallery__thumbnail:after,.gallery__item:hover .gallery__thumbnail:after {
    opacity: 1
}

.gallery__item:focus .gallery__thumbnail img,.gallery__item:hover .gallery__thumbnail img {
    transform: scale(1.05)
}

.gallery__thumbnail {
    position: relative;
    height: 120px;
    overflow: hidden;
    pointer-events: none
}

.gallery__thumbnail:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #fff;
    opacity: 0;
    transition: opacity .3s;
    content: "";
    pointer-events: none
}

.gallery__thumbnail img {
    width: 100%;
    height: 100%;
    transition: transform .3s
}

.gallery__thumbnail:before {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(0deg,#111,hsla(0,0%,100%,0));
    content: "";
    pointer-events: none;
    z-index: 10
}

.gallery__thumbnail--number {
    position: absolute;
    bottom: 0;
    left: .5em;
    font-size: 2.2rem;
    color: #fff;
    z-index: 20;
    pointer-events: none
}

.modal {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    overflow: auto;
    margin: 0 auto
}

.modal__container {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100%;
    background-color: rgba(0,0,0,.5);
    z-index: 1001
}

.modal__title {
    color: #fff;
    font-size: 2.4rem;
    margin-top: 1em
}

.modal__close-btn {
    position: absolute;
    top: 0;
    right: 0
}

.modal__close-btn .close {
    padding: 1.5em;
    border: none;
    background: none;
    color: #fff;
    cursor: pointer
}

.modal__box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #0a1438;
    overflow: auto
}

.modal__video-box {
    width: 100%;
    min-height: 200px;
    height: 50vh;
    max-height: 600px;
    margin-top: 3em
}

.modal__btn {
    min-width: 150px;
    padding: 1em;
    margin: .5em;
    border: 3px solid #fff;
    font-size: 1.4rem;
    background: none;
    color: #fff;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .3s
}

.modal__btn:hover {
    background-color: hsla(0,0%,100%,.3)
}

.modal__buttons {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    width: 100%
}

.modal__buttons-box {
    display: flex;
    justify-content: center;
    align-items: center
}

.modal__decision-info {
    color: #fff;
    font-size: 2rem
}

.modal__decision-box {
    min-height: 100%;
    max-height: 500px;
    max-width: 100%;
    overflow: auto
}

.modal__decision-box img {
    width: 100%
}

.modal__decision-translation {
    font-size: 1.4rem;
    color: #0a1438;
    padding: 1em;
    background-color: #fff
}

.modal__help-hint {
    position: relative
}

.modal__help-hint svg {
    cursor: pointer
}

.modal__dictionary {
    position: absolute;
    bottom: 150%;
    right: 0;
    max-height: 200px;
    width: 200px;
    padding: 1em;
    background-color: #fff;
    color: #0a1438;
    overflow: auto
}

.modal__dictionary p {
    font-size: 1.4rem;
    margin-bottom: .5em
}

.modal__dictionary span {
    text-transform: uppercase;
    font-weight: 700
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #163bc1
}

.footer__box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column
}

.footer__box a {
    color: #fff;
    text-decoration: underline
}

.footer__info {
    color: #fff;
    font-size: 1.2rem;
    text-align: center
}

.error-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 80vh
}

.error-box p {
    margin: 1em 0;
    font-size: 2.4rem;
    color: #fff
}

.error-box a {
    text-align: center
}

.error-box img {
    height: 30vh
}

@media (min-width: 400px) {
    .nav__title {
        font-size:2.2rem
    }

    .menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }

    .menu__item {
        font-size: 2rem
    }

    .accordion__item {
        font-size: 1.8rem
    }

    .gallery__thumbnail {
        height: 150px
    }
}

@media (min-width: 576px) {
    body {
        background-image:url(../img/assets/background.jpg)
    }

    .body-main {
        background-image: url(../img/assets/background-menu.jpg)
    }

    .gallery__container {
        justify-content: start
    }

    .gallery__item {
        width: calc(33% - 1em)
    }

    .gallery__thumbnail--number {
        font-size: 2.6rem
    }
}

@media (min-width: 768px) {
    .nav__title {
        font-size:3.6rem
    }

    .gallery__thumbnail {
        height: 200px
    }

    .footer__box {
        flex-direction: row;
        justify-content: space-between
    }

    .footer__info {
        font-size: 1.6rem
    }

    .modal__decision-translation {
        font-size: 2rem
    }
}

@media (min-width: 992px) {
    .modal__dictionary {
        width:300px;
        max-height: 400px
    }
}

@media (min-width: 1200px) {
    .gallery__container {
        justify-content:start
    }

    .gallery__item {
        width: calc(25% - 1em)
    }

    .gallery__thumbnail--number {
        font-size: 3.2rem
    }

    .modal .close-btn {
        padding: 2em
    }

    .modal .close {
        transform: scale(2)
    }
}
