
@media (max-width: 49.99px) {
    .reservation {
        padding-left: 0;
        margin-left: 0;
        width: 300px;
        height: 380px;
    }

    .room {
        position: absolute;
    }

    .room.toilets {
        width: 80px;
        height: 70px;
        margin-top: 0px;
        margin-left: 0px;
    }

    .room.stairs {
        width: 80px;
        height: 150px;
        margin-top: 70px;
        margin-left: 0px;
    }

    .room.piano-room {
        width: 80px;
        height: 150px;
        margin-top: 220px;
        margin-left: 0px;
        background-image: url("/assets/img/parket2.jpg") ;
    }

    .room.kitchen {
        width: 220px;
        height: 70px;
        margin-top: 0px;
        margin-left: 80px;
        background-color: grey;
    }

    .room.hall {
        width: 70px;
        height: 150px;
        margin-top: 70px;
        margin-left: 80px;
    }

    .room.main {
        width: 220px;
        height: 150px;
        margin-top: 220px;
        margin-left: 80px;
        background-image: url("/assets/img/parket1.jpg") ;
    }

    .room.new-room {
        width: 50px;
        height: 150px;
        margin-top: 70px;
        margin-left: 250px;
    }

    .room.middle-room {
        width: 100px;
        height: 150px;
        margin-top: 70px;
        margin-left: 150px;
        background-image: url("/assets/img/parket2.jpg") ;
    }

    .piano-room .piano {
        position: absolute;
        width: 70px;
        margin-left: 5px;
        margin-top: 0px;
        height: 50px;
    }

    .piano-room .window {
        position: absolute;
        width: 50px;
        margin-left: 15px;
        margin-top: 40px;
        height: 70px;
    }

    .kitchen .wall {
        position: absolute;
        width: 50px;
        margin-left: 100px;
        margin-top: 25px;
        height: 50px;
    }

    .main .munchkin {
        position: absolute;
        width: 60px;
        margin-left: 0px;
        margin-top: 0px;
        height: 60px;
    }

    .main .monopoly {
        position: absolute;
        width: 70px;
        margin-left: 50px;
        margin-top: 50px;
        height: 70px;
    }

    .main .pathfinder {
        position: absolute;
        width: 50px;
        margin-left: 160px;
        margin-top: 40px;
        height: 80px;
    }

    .main .couch {
        position: absolute;
        width: 70px;
        margin-left: 100px;
        margin-top: 110px;
        height: 50px;
    }

    .main .double {
        position: absolute;
        width: 50px;
        margin-left: 100px;
        margin-top: 10px;
        height: 50px;
    }

    .main .window {
        position: absolute;
        width: 50px;
        margin-left: 10px;
        margin-top: 110px;
        height: 50px;
    }

    .middle-room .big {
        position: absolute;
        width: 70px;
        margin-left: 20px;
        margin-top: 0px;
        height: 100px;
    }

    .middle-room .small {
        position: absolute;
        width: 40px;
        margin-left: 60px;
        margin-top: 100px;
        height: 50px;
    }
}

@media (max-width: 449.99px) {
    .reservation {
        padding-left: 0;
        margin-left: 0;
        width: 300px;
        height: 300px;
        background: url('../img/room-300.jpg') top;
    }

    .room {
        position: absolute;
        background: none !important;
    }

    .room.piano-room {
        width:90px;
        height:173px;
        margin-top:148px;
        margin-left:10px;
    }

    .room.kitchen {
        width:165px;
        height:71px;
        margin-top:0px;
        margin-left:135px;
    }


    .room.main {
        width:210px;
        height:173px;
        margin-top:148px;
        margin-left:90px;
    }

    .room.middle-room {
        width:68px;
        height:101px;
        margin-top:51px;
        margin-left:160px;
    }

    .piano-room .piano-seat {
        position:absolute;
        width:44px;
        margin-left:21px;
        margin-top:33px;
        height:40px;
    }

    .piano-room .window {
        position:absolute;
        width:32px;
        margin-left:18px;
        margin-top:108px;
        height:53px;
    }

    .kitchen .wall {
        position:absolute;
        width:30px;
        margin-left:53px;
        margin-top:45px;
        height:30px;
    }

    .main .munchkin {
        position:absolute;
        width:30px;
        margin-left:18px;
        margin-top:38px;
        height:38px;
    }

    .main .monopoly {
        position:absolute;
        width:33px;
        margin-left:78px;
        margin-top:66px;
        height:41px;
    }

    .main .pathfinder {
        position:absolute;
        width:40px;
        margin-left:141px;
        margin-top:63px;
        height:48px;
    }

    .main .couch {
        position:absolute;
        width:40px;
        margin-left:118px;
        margin-top:104px;
        height:40px;
    }

    .main .double {
        position:absolute;
        width:30px;
        margin-left:120px;
        margin-top:23px;
        height:38px;
    }

    .main .window {
        position:absolute;
        width:38px;
        margin-left:45px;
        margin-top:118px;
        height:38px;
    }

    .middle-room .big {
        position:absolute;
        width:30px;
        margin-left:17px;
        margin-top:33px;
        height:45px;
    }

    .middle-room .small {
        position:absolute;
        width:30px;
        margin-left:72px;
        margin-top:50px;
        height:50px;
    }

}

@media (min-width: 450px) {
    .reservation {
        padding-left: 0;
        margin-left: 0;
        width: 440px;
        height: 460px;
        background: url('../img/room.jpg') top;
    }

    .room {
        position: absolute;
    }


    .room.toilets {
        width: 100px;
        height: 100px;
        margin-top: 0px;
        margin-left: 0px;
    }

    .room.stairs {
        width: 100px;
        height: 200px;
        margin-top: 100px;
        margin-left: 0px;
    }

    .room.piano-room {
        width: 120px;
        height: 250px;
        margin-top: 210px;
        margin-left: 0px;
    }

    .room.kitchen {
        width: 220px;
        height: 95px;
        margin-top: 0px;
        margin-left: 180px;
    }

    .room.hall {
        width: 100px;
        height: 200px;
        margin-top: 100px;
        margin-left: 100px;
    }

    .room.main {
        width: 280px;
        height: 230px;
        margin-top: 230px;
        margin-left: 120px;
    }

    .room.middle-room {
        width: 90px;
        height: 135px;
        margin-top: 95px;
        margin-left: 220px;
    }

    .room.new-room {
        width: 100px;
        height: 200px;
        margin-top: 100px;
        margin-left: 350px;
    }

    .piano-room .piano-seat {
        position: absolute;
        width: 54px;
        margin-left: 48px;
        margin-top: 64px;
        height: 46px;
    }

    .piano-room .window {
        position: absolute;
        width: 35px;
        margin-left: 44px;
        margin-top: 170px;
        height: 70px;
    }

    .kitchen .wall {
        position: absolute;
        width: 40px;
        margin-left: 90px;
        margin-top: 60px;
        height: 40px;
    }

    .main .munchkin {
        position: absolute;
        width: 40px;
        margin-left: 45px;
        margin-top: 50px;
        height: 50px;
    }

    .main .monopoly {
        position: absolute;
        width: 45px;
        margin-left: 125px;
        margin-top: 88px;
        height: 55px;
    }

    .main .pathfinder {
        position: absolute;
        width: 40px;
        margin-left: 235px;
        margin-top: 85px;
        height: 65px;
    }

    .main .couch {
        position: absolute;
        width: 52px;
        margin-left: 190px;
        margin-top: 152px;
        height: 42px;
    }

    .main .double {
        position: absolute;
        width: 40px;
        margin-left: 180px;
        margin-top: 30px;
        height: 50px;
    }

    .main .window {
        position: absolute;
        width: 50px;
        margin-left: 80px;
        margin-top: 170px;
        height: 50px;
    }

    .middle-room .big {
        position: absolute;
        width: 40px;
        margin-left: 43px;
        margin-top: 45px;
        height: 60px;
    }

    .middle-room .small {
        position: absolute;
        width: 43px;
        margin-left: 123px;
        margin-top: 54px;
        height: 72px;
    }

}

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

html {
    font-size: 16px;
}

.plane {
    margin: 20px auto;
    max-width: 300px;
}

.cockpit {
    height: 250px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 5px solid #d8d8d8;
}
.cockpit:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 500px;
    width: 100%;
    border-radius: 50%;
    border-right: 5px solid #d8d8d8;
    border-left: 5px solid #d8d8d8;
}
.cockpit h1 {
    width: 60%;
    margin: 100px auto 35px auto;
}

.exit {
    position: relative;
    height: 50px;
}
.exit:before, .exit:after {
    content: "EXIT";
    font-size: 14px;
    line-height: 18px;
    padding: 0px 2px;
    font-family: "Arial Narrow", Arial, sans-serif;
    display: block;
    position: absolute;
    background: green;
    color: white;
    top: 50%;
    transform: translate(0, -50%);
}
.exit:before {
    left: 0;
}
.exit:after {
    right: 0;
}

.fuselage {
    border-right: 5px solid #d8d8d8;
    border-left: 5px solid #d8d8d8;
}

ol, ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seats {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.seat {
    display: flex;
    flex: 0 0 14.28571428571429%;
    padding: 5px;
    position: relative;
    z-index: 1;
}
.seat input[type=checkbox] {
    position: absolute;
    opacity: 0;
}
.seat input[type=checkbox]:checked + label {
    background: #800;
    -webkit-animation-name: rubberBand;
    animation-name: rubberBand;
    animation-duration: 300ms;
    animation-fill-mode: both;
}
.seat input[type=checkbox]:disabled + label {
    background: #dd2d2d;
    text-indent: -9999px;
    overflow: hidden;
}
.seat input[type=checkbox]:disabled + label:after {
    content: "X";
    text-indent: 0;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translate(-50%, 0%);
}
.seat input[type=checkbox]:disabled + label:hover {
    box-shadow: none;
    cursor: not-allowed;
}
.seat.no-approve input[type=checkbox]:disabled + label {
    background: yellow;
    text-indent: -9999px;
    overflow: hidden;
}
.seat.no-approve input[type=checkbox]:disabled + label:after {
    content: " ";
    text-indent: 0;
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translate(-50%, 0%);
}
.seat.no-approve input[type=checkbox]:disabled + label:hover {
    box-shadow: none;
    cursor: not-allowed;
}
.seat label {
    display: block;
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.5rem;
    padding: 4px 0;
    background: #258436;
    border-radius: 5px;
    animation-duration: 300ms;
    animation-fill-mode: both;
}
.seat label:before {
    content: "";
    position: absolute;
    width: 75%;
    height: 75%;
    top: 1px;
    left: 50%;
    transform: translate(-50%, 0%);
    background: rgba(255, 255, 255, 0.4);
    border-radius: 3px;
}
.seat label:hover {
    cursor: pointer;
    box-shadow: 0 0 0px 2px #5C6AFF;
}

@-webkit-keyframes rubberBand {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
@keyframes rubberBand {
    0% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
    30% {
        -webkit-transform: scale3d(1.25, 0.75, 1);
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        -webkit-transform: scale3d(0.75, 1.25, 1);
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        -webkit-transform: scale3d(1.15, 0.85, 1);
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        -webkit-transform: scale3d(0.95, 1.05, 1);
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        -webkit-transform: scale3d(1.05, 0.95, 1);
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}
.rubberBand {
    -webkit-animation-name: rubberBand;
    animation-name: rubberBand;
}

