.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 34%;
    height: auto;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
    animation: zoom 0.6s;
}

@media only screen and (max-width: 570px) {
    .modal-content {
        width: 80%;
        margin-top: 12%;
    }
  }

  @media only screen and (min-width: 570px) and (max-width: 730px) {
    .modal-content {
        width: 70%;
        margin-top: 12%;
    }
  }

  @media only screen and (min-width: 730px) and (max-width: 1000px) {
    .modal-content {
        width: 50%;
        margin-top: 12%;
    }
  }

  /* dal na to kaslu, je to narychlo :) #ResponzivituDoPrdele */

.close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #bbb;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}
