body {
    background-color: #1c478f;
    color: #fff;
}


.background-logo {
    background-image: url('img/avbck.svg');
    background-position: -15% -20px;
    background-repeat: no-repeat;
    background-size: 60% auto;
    width: 100%;
    height: 100vh;
}

.header {
    padding-top: 1rem;
    width: 100%;
    text-transform: uppercase;
    text-align: center;
    font-size: 4rem;
    font-weight: 500;
    padding-bottom: 2rem;
}

.header-small {
    font-size: 2.2rem;
    font-weight: 500;
    width: 1%;
    text-align: center;
    padding: 0 1.5rem;
}

.table-grid {
    width: 100%;
}

.table-grid-first {
    width: 35%;
    height: 100%;
    border: 1px solid red;
}

.table-grid-last {
    vertical-align: top;
    padding-left: 2rem;
    width: 65%;
}

.table-small-header {
    width: 100%;
}




.table-line {
    position: relative;
    padding: 20px 0;
    text-align: center;
    min-width: 5%;
}

    .table-line::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        border-top: 1px solid white;
        transform: translateY(-50%);
    }



.white-box {
    background-color: #d7deef;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    display: flex; /* Pokud chcete uvnitř divu centrovat obsah */
    justify-content: center; /* Horizontální centrování obsahu */
    align-items: center; /* Vertikální centrování obsahu */
    box-sizing: border-box;
}

    .white-box:hover {
        background-color: #fff;
    }

.white-address-box {
    background-color: #d7deef;
    border-radius: 15px;
    color: #1d1d1d;
}

    .white-address-box > div > a {
        font-weight: bold;
        color: #1d1d1d;
        text-decoration: none;
    }

        .white-address-box > div > a:hover {
            color: #1c478f;
        }

    .white-address-box > div > span {
        color: transparent;
        text-shadow: 0 0 0 #1c478f;
        padding: 0 3px;
        font-size: 10px;
    }

.square {
    aspect-ratio: 1 / 1;
}



.fill {
    min-height: 100%;
}

.icon {
    height: 40px;
}


.flip-card {
    background-color: transparent;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform .5s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
}

.flip-card-front {
    background-color: #d7deef;
}

.flip-card-back {
    background-color: #1c478fbb;
    color: white;
    transform: rotateY(180deg);
    border: 1px solid #496ca5;
    font-size: 0.9rem;
}

    .flip-card-back p {
        margin-bottom: 0.3rem;
        text-align: justify;
    }


.text-justify {
    text-align: justify !important;
}

.podpisb{
    width:50%;
    max-width: 270px;
}

.modal-xxl {
    max-width: 2000px;
    width: 90%;
}


@media (max-width: 1200px) {
    .header {
        font-size: 3rem;
        padding-bottom: 0;
    }

    .header-small {
        font-size: 2rem;
    }

    .flip-card-back {
        font-size: 0.70rem;
    }

    .icon {
        height: 30px;
    }
}

@media (max-width: 767px) {
    .square {
        aspect-ratio: auto; /* Zruší nastavení aspect-ratio */
        height: 170px; /* Upravte podle potřeby */
        width: 100%; /* Nebo jiná vhodná hodnota */
    }

    .header {
        font-size: 1.5rem;
        padding-bottom: 0.5rem;
    }

    .header-small {
        font-size: 1.2rem;
    }

    .background-logo {
        background-position: -15% -20px;
        background-size: 100% auto;
    }

    .table-line {
        padding: 0 0;
    }

    .modal-xxl {
        width: auto;
    }
}
