@media (max-width: 991.98px) {
    .media-layer .close-btn {
        z-index: 10000;
    }

    .back-button .btn-text {
        display: none;
    }

    .subpage-header {
        height: 140px;
    }

    .subpage-header .one-big-circle {
        bottom: -65px;
    }

    .subpage-description {
        padding-left: 0;
        padding-top: 2em;
    }

    .date-row {
        padding-left: 0;
        width: 140px;
    }

    .subpage-content-block {
        justify-content: unset;
        width: unset;
    }

    .desc-row {
        width: calc(100% - 140px);
    }

    .bottom-part {
        padding-left: 200px;
    }

    .bottom-part p {
        font-size: 35px;
    }

    .bottom-part select {
        font-size: 20px;
    }

    /* .inline-gallery-container, .video-container {height: 55vh;} */

    .bubiblock .one-big-circle {
        height: 120px;
        width: 120px;
    }
    .bubiblock .one-big-circle svg {
        height: 35px;
    }
    .bubiblock .one-big-circle p {
        font-size: 1.8vh;
    }

    .bubiblock .one-big-circle.machine {
        left: 0%;
    }
    .bubiblock .one-big-circle.machine {
        right: 0%;
    }
    .bubiblock .one-big-circle.machine {
        right: 0%;
    }

    @keyframes big-bubi-move-5 {
        25% {
            transform: translateY(-70px);
        }
        60% {
            transform: translate(75px, -20px);
        }
        100% {
            transform: translateY(70px, -70px);
        }
    }

    @keyframes big-bubi-move-5 {
        25% {
            transform: translateY(-20px);
        }
        60% {
            transform: translate(35px, -10px);
        }
        100% {
            transform: translateY(20px, -20px);
        }
    }

    @keyframes big-bubi-move-4 {
        0% {
            transform: translateY(-20px, -20px);
        }
        25% {
            transform: translate(20px, 20px);
        }
        60% {
            transform: translateX(25px, -10px);
        }
        100% {
            transform: translateY(20px, -20px);
        }
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    iframe.fullscren {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    .inline-gallery-container,
    .video-container {
        height: 45vh;
    }
    .mobile-only-layer {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
        width: 100vw;
        background-image: url("../images/mobile-blue-bg.jpg");
        background-repeat: no-repeat;
        background-size: cover;
    }

    .mobile-only-layer .logo-center {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .mobile-only-layer .logo-center svg:nth-child(2) {
        position: absolute;
        top: 30%;
        animation: rotation-back 1.5s infinite linear alternate;
    }

    @keyframes rotation-back {
        0% {
            transform: rotate(360deg);
        }
        50% {
            transform: rotate(330deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }

    .header-fluid,
    .main-content,
    .media-layer,
    .list-content,
    .back-button,
    .subpage-header,
    .subpage-content,
    .base-fluid {
        display: none !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    iframe.fullscren {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    .subpage-header {
        height: 100px;
    }

    .extra-info {
        transform: scale(0.8);
        top: -80px;
    }

    .subpage-header .one-big-circle {
        left: 15px;
    }

    .date-row {
        padding-left: 0;
        width: 100px;
    }

    .desc-row {
        width: calc(100% - 100px);
    }

    .bottom-part {
        padding-left: 135px;
    }

    .bottom-part p {
        font-size: 28px;
    }

    .bottom-part select {
        font-size: 18px;
    }

    .subpage-description {
        font-size: 19px;
    }

    .dropdown-menu.show {
        padding-top: 6.5em;
    }

    .media-layer .media-inner {
        width: 85%;
        max-height: unset;
    }

    .dropdown-menu.show {
        display: flex;
    }

    .dropdown-menu .header-menu {
        display: block;
    }

    .dropdown-menu .header-bottom {
        align-items: flex-end;
        justify-content: flex-end;
    }

    .footer-text {
        margin: 0;
        text-align: right;
    }

    .footer-text p {
        margin: 0;
    }

    .dropdown-item {
        font-size: 22px;
        line-height: 35px;
    }

    .footer-logo {
        margin-top: 0;
    }

    .bubiblock .one-big-circle.human {
        right: 1%;
    }

    .bubiblock .one-big-circle.system {
        right: 3%;
    }

    .small-block-3 {
        height: 75%;
        top: calc((100% - 75%) / 2);
    }

    .small-block-1 {
        top: calc((calc(100% - 75%) / 2) + 5%);
    }

    .small-block-2 {
        top: calc((calc(100% - 75%) / 2) + 45%);
    }

    .small-block-1,
    .small-block-2 {
        left: 30%;
        width: 10%;
        height: 18%;
    }

    .container-fluid.main-content {
        padding-right: 2em;
    }

    .time-line-block {
        width: 96%;
    }

    .play-pause-btn .inner-div svg {
        height: 38px;
    }

    .bubiblock .one-big-circle.machine {
        left: -2%;
    }

    .timeline-bubi {
        top: -9px !important;
        height: 40px;
        width: 40px;
    }

    .moving-hover {
        height: 40px;
        width: 40px;
    }

    .play-pause-btn {
        width: 60px;
        height: 60px;
        top: -6px;
    }

    .play-pause-btn .inner-div {
        height: 47px;
        width: 44px;
    }

    .play-pause-btn .inner-div svg {
        height: 25px;
    }

    .time-line-block {
        height: 50px;
        padding: 14px 15px 14px 30px;
    }

    .bubiblock {
        height: calc(100vh - 12.5em);
    }

    .time-line {
        width: calc(100% - 80px);
        left: 40px;
    }

    .media-layer {
        padding-top: 130px;
    }

    .subpage-header .one-big-circle {
        left: 15px;
        width: 150px;
        height: 150px;
    }

    .small-bubi {
        width: 9px;
        height: 9px;
    }

    .timeline-bubi {
        border: none;
    }

    .small-bubi {
        z-index: -1;
    }

    .header-fluid {
        padding: 1em 2em 1em;
    }

    .logo-text {
        font-size: 17px;
        line-height: 25px;
    }

    .logo-img {
        height: 60px;
    }

    .dropdown-toggle {
        padding: 0.8em 0.5em;
        height: unset;
    }

    .media-layer .second-row {
        margin-bottom: 2em;
    }

    .media-layer .close-btn {
        top: 1em;
        right: 1em;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container-fluid.main-content {
        padding-right: 2em;
    }

    .subpage-description {
        font-size: 19px;
    }

    .small-block-3 {
        height: 65% !important;
        top: calc((100% - 65%) / 2) !important;
    }

    .small-block-1 {
        top: calc((calc(100% - 65%) / 2) + 5%) !important;
    }

    .small-block-2 {
        top: calc((calc(100% - 95%) / 2) + 55%) !important;
    }

    .small-block-1,
    .small-block-2 {
        left: 30%;
        width: 10%;
        height: 16%;
    }

    .bubiblock .one-big-circle.human {
        right: 1%;
    }

    .bubiblock .one-big-circle.system {
        right: 3%;
    }

    .subpage-header .one-big-circle {
        left: 15px;
    }

    .timeline-bubi {
        top: -9px !important;
    }

    .extra-info {
        transform: scale(0.8);
        top: -80px;
    }

    .play-pause-btn {
        width: 80px;
        height: 80px;
        top: -10px;
    }

    .play-pause-btn .inner-div {
        transform: scale(0.95);
    }

    .time-line-block {
        height: 60px;
        padding: 14px 15px 14px 50px;
    }

    .bubiblock {
        height: calc(100vh - 19em);
    }

    .header-fluid {
        padding: 2em 2em 4em;
    }

    .small-block-3 {
        height: 60%;
        top: 20%;
    }
    .small-block-1 {
        top: 24%;
    }
    .small-block-2 {
        top: 65%;
    }

    @keyframes big-bubi-move-5 {
        25% {
            transform: translateY(-70px);
        }
        60% {
            transform: translate(75px, -20px);
        }
        100% {
            transform: translateY(70px, -70px);
        }
    }

    @keyframes big-bubi-move-5 {
        25% {
            transform: translateY(-20px);
        }
        60% {
            transform: translate(35px, -10px);
        }
        100% {
            transform: translateY(20px, -20px);
        }
    }

    @keyframes big-bubi-move-4 {
        0% {
            transform: translateY(-20px, -20px);
        }
        25% {
            transform: translate(20px, 20px);
        }
        60% {
            transform: translateX(25px, -10px);
        }
        100% {
            transform: translateY(20px, -20px);
        }
    }

    .media-layer .media-inner {
        width: 75%;
    }

    .timeline-bubi p {
        line-height: 13px;
    }

    .timeline-bubi span {
        font-size: 7px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .bubiblock .one-big-circle.machine {
        left: 2%;
    }

    .footer-text {
        width: 60%;
    }

    .bubiblock .one-big-circle.human {
        right: 2%;
    }

    .bubiblock .one-big-circle.system {
        right: 10%;
    }

    .timeline-bubi p {
        line-height: 12px;
    }

    .timeline-bubi span {
        font-size: 7px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .footer-text {
        width: 60%;
    }

    .timeline-bubi p {
        line-height: 12px;
    }

    .timeline-bubi span {
        font-size: 7px;
    }
}

@media (max-height: 550.98px) {
    .timeline-bubi p {
        line-height: 17px;
    }

    iframe.fullscren {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100%;
        border: none;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }

    .media-layer .media-inner {
        margin-top: -3em;
        max-height: unset;
    }

    .bubiblock {
        margin-bottom: 0.5em;
        height: calc(100vh - 10em);
    }

    .small-block-1,
    .small-block-2 {
        left: 28%;
        max-height: 15%;
        width: 7%;
        height: 20%;
    }

    .small-block-2 {
        top: 65%;
    }

    .time-line-block {
        height: 30px;
        padding: 14px 15px 14px 20px;
    }

    .bubiblock .one-big-circle p {
        margin-top: 5px;
        line-height: 10px;
    }

    .play-pause-btn {
        width: 50px;
        height: 50px;
        top: -9px;
    }

    .play-pause-btn .inner-div {
        height: 38px;
        width: 38px;
    }

    .play-pause-btn .inner-div svg {
        height: 20px;
    }

    .pause-btn,
    .play-btn {
        height: 35px;
    }

    .bubiblock .one-big-circle.system {
        right: 6%;
    }

    .timeline-bubi {
        top: -14px !important;
        height: 30px;
        width: 30px;
    }

    .bubiblock .one-big-circle {
        height: 25vh;
    }
    .bubiblock .one-big-circle svg {
        height: 6vh;
    }
    .bubiblock .one-big-circle p {
        font-size: 2vh;
    }

    .time-line {
        width: calc(100% - 31px);
        left: 14px;
        right: 0;
        height: 3px;
        top: calc(50% - 1.5px);
    }
    .extra-info {
        transform: scale(0.5);
        top: -66px;
    }

    .timeline-bubi p {
        font-size: 10px;
        bottom: -25px;
        position: absolute;
    }
    .timeline-bubi span {
        bottom: -32px;
        position: absolute;
    }
    .timeline-bubi.moving p,
    .timeline-bubi.moving span {
        color: #fff;
    }

    .timeline-bubi.moving {
        top: -6px !important;
        height: 16px;
        width: 16px;
        border: 3px solid rgba(255, 255, 255, 0.5);
    }
    .timeline-bubi.right {
        top: -6px !important;
        height: 15px;
        width: 15px;
        background-color: transparent;
        border: 2px solid #fff;
    }
    .timeline-bubi.left {
        top: -6px !important;
        height: 15px;
        width: 15px;
        background-color: transparent;
        border: 2px solid #fff;
    }
    .moving-hover {
        height: 16px;
        width: 16px;
    }
    .header-fluid {
        padding-bottom: 0px;
        padding-top: 1em;
    }
    .logo-text {
        font-size: 20px;
        line-height: 28px;
    }
    .timeline-bubi {
        flex-direction: inherit;
    }

    .bubiblock .one-big-circle.machine {
        left: 1%;
    }

    .time-line .marker {
        top: -5.5px;
        height: 13px;
    }

    @keyframes big-bubi-move-3 {
        0% {
            transform: translateY(20px, -20px);
        }
        25% {
            transform: translate(-20px, -20px);
        }
        60% {
            transform: translateX(-25px, 20px);
        }
        100% {
            transform: translateY(-20px, 20px);
        }
    }

    @keyframes big-bubi-move-4 {
        0% {
            transform: translateY(-20px, -20px);
        }
        25% {
            transform: translate(20px, 30px);
        }
        60% {
            transform: translateX(35px, -30px);
        }
        100% {
            transform: translateY(20px, -20px);
        }
    }

    @keyframes big-bubi-move-5 {
        25% {
            transform: translateY(-20px);
        }
        60% {
            transform: translate(35px, -10px);
        }
        100% {
            transform: translateY(20px, -20px);
        }
    }
}

@media (min-width: 576px) and (max-width: 991.98px) and (min-height: 630px) and (max-height:699.98px) {
    .bubiblock .one-big-circle p {
        font-size: 11px;
        margin-top: 0;
    }

    .timeline-bubi p {
        line-height: 17px;
    }
}

@media (min-width: 1200px) and (max-width: 1450px) and (min-height: 700px) {
    .small-block-1 {
        top: 26%;
    }

    .small-block-2 {
        top: 57%;
    }

    .small-block-3 {
        top: 19%;
        height: 67%;
    }
}

@media (min-width: 1200px) and (min-height: 930px) {
    .small-block-1 {
        top: 35%;
    }

    .small-block-2 {
        top: 56%;
    }

    .small-block-1,
    .small-block-2 {
        height: 11%;
    }

    .small-block-3 {
        top: 27%;
        height: 48%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) and (min-height: 700px) and (max-height:929.98px) {
    .small-block-1 {
        top: 34%;
    }

    .small-block-2 {
        top: 57%;
    }

    .small-block-1,
    .small-block-2 {
        height: 12%;
    }

    .small-block-3 {
        top: 26%;
        height: 52%;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) and (min-height: 930px) {
    .small-block-1 {
        top: 40%;
    }

    .small-block-2 {
        top: 54%;
    }

    .small-block-1,
    .small-block-2 {
        left: 31%;
        width: 8%;
        height: 8%;
    }

    .small-block-3 {
        top: 35%;
        height: 33%;
    }

    .end-img {
        width: 39%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) and (min-height: 300px) and (max-height:699.98px) {
    .small-block-1 {
        top: 22% !important;
    }

    .small-block-2 {
        top: 65% !important;
    }

    .small-block-1, .small-block-2 {
        left: 34%;
        max-height: unset;
        width: 6%;
        height: 20%;
    }

    .small-block-3 {
        right: 33%;
        top: 10% !important;
        width: 23%;
        height: 84% !important;
    }

    .end-img {
        width: 34%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) and (min-height: 700px) and (max-height:899.98px) {
    .small-block-1 {
        top: 34% !important;
    }

    .small-block-3 {
        top: 28% !important;
        height: 48% !important;
    }

    .end-img {
        width: 43%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) and (min-height: 900px) {
    .small-block-1 {
        top: 38% !important;
    }

    .small-block-2 {
        top: 54% !important;
    }

    .small-block-3 {
        top: 34% !important;
        height: 34% !important;
    }

    .small-block-1,
    .small-block-2 {
        left: 28%;
        height: 10%;
    }

    .end-img {
        width: 43%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) and (min-height: 300px)  and (max-height:499.98px) {
    .small-block-1 {
        top: 29%;
    }

    .small-block-2 {
        top: 63%;
    }

    .small-block-1, .small-block-2 {
        left: 33%;
        max-height: 15%;
        width: 6%;
        height: 20%;
    }

    .small-block-3 {
        right: 33%;
        top: 10%;
        width: 23%;
        height: 84%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) and (min-height: 500px)  and (max-height:699.98px) {
    .small-block-1 {
        top: 35%;
    }

    .small-block-2 {
        top: 58%;
    }

    .small-block-1, .small-block-2 {
        left: 30%;
        height: 11%;
        width: 8%;
    }

    .small-block-3 {
        right: 29%;
        top: 26%;
        width: 29%;
        height: 53%;
    }

    .end-img {
        width: 41%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) and (min-height: 700px) {
    .small-block-1 {
        top: 38%;
    }

    .small-block-2 {
        top: 55%;
    }

    .small-block-1, .small-block-2 {
        left: 28%;
        height: 10%;
    }

    .small-block-3 {
        right: 28%;
        top: 32%;
        width: 29%;
        height: 39%;
    }

    .end-img {
        width: 43%;
    }
}