@media screen and (max-width: 1400px) and (orientation: portrait) {
    .header-text-container{
        bottom: 20vh;
    }
    .header-text-logotext {
        margin-top: -0.5vh;
    }
    .header-text-container > button {
        margin-top: 5vh;
    }
    .info-find-out-more {
        height: 5.5vh;
        padding-left: 3vh;
        margin-top: 2vh;
    }
    .header-text-container > button {
        width: 29vw;
    }
    .section-devices {
        border-top-right-radius: 50px;
        height: 90vh;
        margin-top: -8vh;
    }
    .devices-title {
        font-size: 4.5vh;
    }
    .realview-demo-button {
        width: 30vh;
    }
    .devices-image {
        margin-top: 20vh;
        top: -3vh;
        height: 32vh;
        border-top-right-radius: 6vh;
        border-bottom-left-radius: 6vh;
        border-bottom-right-radius: 1vh;
        border-top-left-radius: 1vh;
    }
    .devices-image > img {
        width: 70vh;
    }
    .devices-sales-title {
        font-size: 3vh;
        margin-top: -10vh;
    }
    .section-stats {
        margin-top: 8vh;
        height: 160vh;
    }
    .stats-flex {
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-between;
    }
    .stats-element-wrapper {
        margin-right: 2vh;
    }
    .stats-element {
        width: 48%;
        margin-bottom: 2vh;
    }
    .stats-element > img {
        height: 90%;
        width: 1.4vh;
    }
    .stats-numbers {
        font-size: 4vh;
        margin-bottom: -5.5vh;
        margin-top: -5.5vh;
    }
    .stats-element-title {
        font-size: 4vh;
        margin-bottom: -2vh;
    }
    .stats-element-description {
        font-size: 2.2vh;
    }
    .stats-titles {
        width: 100%;
        margin-bottom: 2vh;
    }
    .stats-works {
        font-size: 4.5vh;
    }
    .stats-description {
        font-size: 2.2vh;
    }
    .stats-images {
        flex-wrap: wrap;
    }
    .stats-images-element {
        width: 48%;
        height: 84%;
        margin-bottom: 1.2vh;
    }
    .services-menu-wrapper {
        display: none;
    }
    .video-left-aligned {
        border-bottom-right-radius: 4vh;
    }
    .video-right-aligned {
        border-bottom-left-radius: 4vh;
    }
    .section-realview-ending {
        height: 100vh;
    }
    .realview-ending {
        margin-top: 3vh;
    }
    .realview-ending > img {
        width: 80vh;
        margin-bottom: 5vh;
    }
    .realview-ending-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }
    .realview-ending-element {
        margin-bottom: 3vh;
    }
    .realview-ending-element-title {
        font-size: 2.5vh;
        margin-top: 1vh;
        margin-bottom: 1vh;
    }
    .realview-ending-element-description {
        font-size: 1.7vh;
    }
}

/* LANDSCAPE MODE */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    .header-text-logotext {
        margin-top: -0.5vh;
    }
    .header-text-container > button {
        margin-top: 5vh;
    }
    .devices-title {
        font-size: var(--title-font-size);
    }
    .realview-demo-button {
        width: 24vw;
    }
    .section-devices {
        height: 120vh;
    }
    .devices-image {
        height: 50vh;
    }
    .devices-image > img {
        top: -12vh;
        width: 85vw;
    }
    .devices-sales-title {
        margin-top: -16vh;
    }
    .services-menu-wrapper {
        display: none;
    }
    .full-video-wrapper {
        top: 48%;
    }
    .section-stats {
        margin-top: 5vh;
        height: 115vh;
    }
    .stats-element-wrapper {
        margin-right: 5vh;
    }
    .stats-element{
        height: 37vh;
        margin-bottom: 12vh;
    }
    .stats-numbers {
        font-size: 4.3vh;
    }
    .stats-element-title {
        font-size: 4.3vh;
    }
    .stats-element-description {
        font-size: 2.5vh;
    }
    .realview-ending-wrapper {
        width: 100%
    }
    .realview-ending {
        margin-top: 10vh;
    }
    .realview-ending-element {
        width: 52vh;
        height: 29.3vh;
    }
    .realview-ending-element-title {
        font-size: 3.2vh;
    }
    .realview-ending-element-description {
        margin-top: -1.5vh;
    }
    .section-realview-ending {
        height: 70vh;
    }
    
}