.pin {
    position: absolute;
    font-size: 110%;
    cursor: pointer;

}

.fa-location-pin {
    opacity: 0.8;
}

.plane {
    position: absolute;
    top: 5%;
    left: 5%;
    cursor: pointer;
    color: #ffffff;
    transform-origin: center center;
    transition: transform 0.5s ease, left 1.2s ease, top 1.2s ease;
    z-index: 100000;
}

.plane img {
    width: 30px;
}

.mapa {
    background-image: url(../img/Italy-Mapa.webp);
    width: 70%;
    aspect-ratio: 1.5;
    height: 70%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 4%;
    border: solid 3px #ffffff;
    margin: auto;
}

.mapa-container {
    display: flex;
    justify-content: space-around;
    ;
}

.popis-mapy {
    width: 40%;
    height: 40%;
}


.legenda {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    border-radius: 6px;
    text-align: start;
    padding: 5px;
    position: absolute;
    bottom: 0;
    left:0;
    font-weight: bold;
    color: #ffffff;
    border: solid 3px #826D46;
    background-color: #AB8F5C;

}
.accordion{
    width: 100%;

}
.map-button:hover .tlacitko-icon {
    transition: font-size 0.1s ease-in-out;
    font-size: 130%;
}
.accordion-button{
    font-size: 0.8rem;

}
.vizualni{
display: flex;
flex-direction: column;

}
.viz-button{
    width: 150%;

    margin: 10px;
    background-color: black;
    transition: all 0.2s ease;
}
.viz-button:hover {
    background-color : #282828;
    color: #ffffff;
}

.form-check-label {
    transition: all 0.5s ease-in-out;
}
.form-check-input:checked + .form-check-label {
    color: rgb(255, 255, 255);
}

@media (max-width: 1200px) {
  .legenda {
    position: absolute; /* odstraní absolutní pozici */
    width: 100%;
    margin-top: 1rem;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    border-radius: 6px;
    left: 0;
    top: 80%;
  }
  .pin{
    font-size: 95%;

  }
  .plane img{
    width: 22px;
  }
  .legenda-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
  }
}
@media (max-width: 1030px) {
    .mapa-container{
        flex-direction: column;

    }
    .info-css{
        margin-top: 5%;

    }

}
@media (max-width: 900px) {
.pin{
    font-size: 70%;

  }
.plane img{
    width: 17px;
  }

}
