#map {
    background-color: #44a968;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 400px;
    z-index: 0;
}
#runway {
    background-color: #555;
    position: absolute;
    top: 50px;
    left: 100px;
    right: 100px;
    height: 50px;
}
#taxi1 {
    background-color: #999;
    position: absolute;
    top: 100px;
    right: 100px;
    width: 50px;
    height: 300px;
}
#taxi2 {
    background-color: #999;
    position: absolute;
    top: 400px;
    left: 100px;
    right: 100px;
    height: 50px;
}
#taxi3 {
    background-color: #999;
    position: absolute;
    top: 200px;
    right: 100px;
    left: 100px;
    height: 50px;
}
#taxi4 {
    background-color: #999;
    position: absolute;
    top: 200px;
    left: 100px;
    width: 50px;
    height: 200px;
}
#gate1 {
    background-color: #ffcc00;
    position: absolute;
    top: 250px;
    left: 100px;
    width: 50px;
    height: 5px;
    z-index: 1;
}
#gate2 {
    background-color: #ffcc00;
    position: absolute;
    top: 250px;
    right: 100px;
    width: 50px;
    height: 5px;
    z-index: 1;
}
#stand1 {
    background-color: #ffcc00;
    position: absolute;
    top: 450px;
    left: 100px;
    width: 50px;
    height: 100px;
}
#stand2 {
    background-color: #ffcc00;
    position: absolute;
    top: 450px;
    left: 200px;
    width: 50px;
    height: 100px;
}
#stand3 {
    background-color: #ffcc00;
    position: absolute;
    top: 450px;
    left: 300px;
    width: 50px;
    height: 100px;
}
.aircraft {
    font-size: 30px;
    display: inline-block;
    transform: rotate(-45deg);
    padding: 0;
    margin: 0;
    position:absolute;
    z-index: 2;
}
#panel {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background-color: white;
    width: 400px;
    display:flex;
    flex-direction: column;
    text-align: center;
    box-sizing: border-box;
}
#close {
    display:none;
    font-size: 25px;
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    border: hidden;
    border-radius: 5px;
    z-index: 9;
}
.list {
    border: 2px solid black;
    border-radius: 5px;
    margin: 20px;
    display:flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    overflow-y: scroll;
    flex: 1
}
.list .row {
    display: flex;
    justify-content: space-between;
    padding: 5px;
    border: 3px solid limegreen;
    border-radius: 5px;
    background-color: green;
    font-size: 20px;
    margin: 5px;
    color: white;
}
#controls {
    width: 100%;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    margin-top: auto;
}
#controls button {
    margin: 5px;
    padding: 10px 20px;
    font-size: 16px;
}
#phone-controls {
    background-color: white;
    position: absolute;
    top: 600px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 4;
    display: none;
    overflow-y: scroll;
}
#phone-controls .list {
    height: 80px;
}
@media(max-width: 850px) {
    #panel {
        right: 0px;
        width: 100%;
        z-index:5;
    }
    #map {
        right: 0px;
    }
    #close {
        display: block;
    }
    #phone-controls {
        display: block;
    }
}
@media(max-width: 450px) {
    #map {
        zoom: 0.8;
    }
    #phone-controls {
        top: 450px;
    }
}

/* Při zoom: 0.5  =>  550px * 0.5 = 275px */
@media(max-width: 360px) {
    #map {
        zoom: 0.5;
    }
    #phone-controls {
        top: 300px;
    }
}
