﻿body {
    margin: 0;
}

.mainContainer {
    width: 100%;
    height: 100vh;
}

.joystick {
    text-align: center;
    position: relative;
}

.moveJoystick {
    background-color: lightblue;
}

.rotationJoystick {
    background-color: lightcoral;
}

@media screen and (orientation:landscape) {
    .moveJoystick {
        float: left;
        width: 35%;
        height: 100%;
    }

    .videoSegment {
        width: 30%;
        height: 100%;
        position: relative;
        display: block;
        width: auto;
    }

    .rotationJoystick {
        float: right;
        width: 35%;
        height: 100%;
    }
}

@media screen and (orientation:portrait) {
    .moveJoystick {
        width: 100%;
        height: 35%;
    }

    .videoSegment {
        width: 100%;
        height: 30%;
        position: relative;
        display: block;
        height: auto;
    }

    .rotationJoystick {
        width: 100%;
        height: 35%;
    }
}

﻿body {
    margin: 0;
}

.mainContainer {
    width: 100%;
    height: 100vh;
}

.joystick {
    text-align: center;
    position: relative;
}

.moveJoystick {
    background-color: lightblue;
}

.rotationJoystick {
    background-color: lightcoral;
}

@media screen and (orientation:landscape) {
    .moveJoystick {
        float: left;
        width: 35%;
        height: 100%;
    }

    .videoSegment {
        height: 100%;
        position: relative;
        display: block;
        width: auto;
    }

    .rotationJoystick {
        float: right;
        width: 35%;
        height: 100%;
    }
}

@media screen and (orientation:portrait) {
    .moveJoystick {
        width: 100%;
        height: 35%;
    }

    .videoSegment {
        width: 100%;
        position: relative;
        display: block;
        height: auto;
    }

    .rotationJoystick {
        width: 100%;
        height: 35%;
    }
}

Remove duplicate tags from css
Remove duplicate tags from css
