body {
    margin: 0px;
    padding: 0px;
}

#wrapper {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: left;
    height: 100%;
    min-height: 100vh;
    background-image: url("/assets../img/opening_screen_background.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: top;
}

.aircraft {
    height: 80vh;
    width: auto;
    position: absolute;
    right: 25%;
    animation-name: flying-balloon;
    animation-duration: 12s;
    animation-iteration-count: infinite;
    animation-timing-function: ease;
}

@keyframes flying-balloon {
  0%   {top:80px;}
  50%  {top:110px;}
  100% {top:80px;}
}

.logo {
    background-image: url("/assets../img/matific_logo.png");
    background-repeat: no-repeat;
    background-size: 70%;
    background-position: center;
    max-width: 317px;
    width: 100%;
    height: 101px;
    cursor: pointer;
    margin: auto;
}

.logo-mobile {
    display: none;
}

.main-box-container {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 1%;
    display: flex;
}

.left-border {
    margin-right: -45px;
    width: 116px;
    overflow: hidden;
    z-index: 2;
}

.right-border {
    margin-left: -14px;
    width: 116px;
    overflow: hidden;
}

.left-border-mobile {
    width: 30px;
    display: none;
}

.right-border-mobile {
    width: 31px;
    display: none;
}

.main-box-bg {
    background-color: #fff;
    padding: 40px 30px;
    overflow: auto;
}

#main_box {
    width: 448px;
    color: #f8c70d;
    display: flex;
    padding-top: 14%;
    flex-wrap: wrap;
    justify-content: center;
    height: fit-content;
}

h1 {
    width: 100%;
    text-align: center;
    color: #00001D;
    font-family: inherit;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 32px;
}

#buttons {
    display: inline-flex;
    flex-wrap: wrap;
    width: 880px;
}

button {
    font-family: inherit;
    margin: 12px;
    font-size: 24px;
    font-weight: 500;
    width: 200px;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    background: url("/assets../img/button_blue.png");
    background-size: 100% 100%;
    padding: 20px;
    text-transform: uppercase;
}

button.b_0 {
    width: auto;
    min-width: 200px;
}

#wrapper.rtl button, #wrapper.rtl h1 {
    direction: rtl;
}

#wrapper.rtl #buttons {
    flex-direction: row-reverse;
}

.first-elm-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 448px;
}

.back {
    background-image: url("/assets../img/common_button_back.png");
    background-repeat: no-repeat;
    width: 65px;
    height: 63px;
    position: absolute;
    left: 30px;
    top: 30px;
    cursor: pointer;
    z-index: 3;
}

.learning-items {
    background-image: url("/assets../img/settings_elements.png");
    background-repeat: no-repeat;
    background-position: bottom right;
    width: 238px;
    height: 200px;
    background-size: 33%;
    width: 100%;
    max-width: 438px;
}

.top-menu {
    display: none;
}

.back-mobile {
    display: none;
}

@media only screen and (max-width: 660px) {

    .main-box-bg {
        padding: 10px;
    }

    .left-border {
        display: none;
    }

    .right-border {
        display: none;
    }

    .left-border-mobile {
        display: contents;
    }

    .right-border-mobile {
        display: contents;
    }

    #main_box {
        width: 100%;
        padding-top: 0;
    }

    .main-box-container {
        left: 0px
    }

    #buttons {
        max-width: 448px;
        width: 100%;
        justify-content: center;
    }

    .top-menu {
        display: flex;
        width: 100%;
        justify-content: space-between;
        padding-bottom: 20%;
        padding-top: 4%;
        flex-wrap: wrap;
    }

    .back {
        display: none;
    }

    .back-mobile {
        display: block;
        background-image: url("/assets../img/common_button_back.png");
        background-repeat: no-repeat;
        width: 65px;
        height: 63px;
        cursor: pointer;
    }

    .logo {
        display: none;
    }

    .logo-mobile {
        display: block;
        background-image: url("/assets../img/matific_logo.png");
        background-repeat: no-repeat;
        background-size: 70%;
        background-position: center;
        width: 100%;
        max-width: 317px;
        height: 101px;
        cursor: pointer;
        margin: auto;
    }

    .learning-items {
        background-size: 130px;
        background-position: right;
    }
}

@media only screen and (max-width: 302px) {
    .main-box-bg {
        padding: 10px 4px;
    }

    .logo {
        display: none;
    }
}