* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Playfair Display", Arial, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    color: #000;
    margin: 0 auto;
    background-color: #fff;
    /*max-width: 1400px;*/
}
@media (max-width: 576px) {
    body {
        font-size: 1.0rem;
        line-height: 2.0rem;
    }
}

.text-body-secondary {
    font-size: 1.0rem;
}

header {
    width: 100%;
    background-color: #fff;
}

    @media (min-width: 1200px) {
        .container-xl {
            max-width: none;
        }
    }

    header .nav-link {
        display: block;
        padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
        font-size: 1.05rem;
        font-weight: var(--bs-nav-link-font-weight);
        color: var(--bs-nav-link-color);
        text-decoration: none;
        background: 0 0;
        border: 0;
        transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    }


header h1 {
    font-size: 2rem;
    font-weight: 500;
    line-height: 2rem;
}
@media (max-width: 576px) {
        header h1 {
            font-size: 1.5rem;
            font-weight: 500;
            line-height: 1.5rem;
}
}
@media (max-width: 576px) {
        .text-end {
            display: none;
}
}


footer {
    width: 100%;
    font-size: 1.2rem;
    padding: 0rem 2.5rem 0rem 2.5rem;
}
@media (max-width: 576px) {
    footer {
        font-size: 0.8rem;
        font-weight: 300;
        line-height: 1.7rem;
        text-align: center;
    }
}

h1 {
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 5.5rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 576px) {
    h1 {
        font-size: 2.5rem;
        font-weight: 500;
        line-height: 3.2rem;
    }
}

a, a:link {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 6px;
}

a:hover {
    color: var(--bs-secondary-color);
    text-decoration: underline;
    text-underline-offset: 6px;
}

.nav-link a, .nav-link:link{
    text-decoration:  none;
}
.nav-link:hover{
    text-decoration: underline;
    text-underline-offset: 6px;
}

.left-section {
    width: 35%;
    padding: 0rem 2.5rem 0rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    position: fixed;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
@media (max-width: 992px) {
    .left-section {
        display: none;
    }
}

.right-section {
    margin-left: 35%;
    width: 65%;
    overflow-y: auto;
    padding: 0rem 3rem 0rem 3rem;
    display: flex;
    justify-content: center; /* centrování vodorovně */
    align-items: center;     /* centrování svisle */
    height: 100vh;           /* výška celé obrazovky */
}
@media (max-width: 992px) {
    .right-section {
        width: 100%;
        margin: 0;
        height: 100vh; 
    }
}

.gallery-section {
    width: 100%;
    overflow-y: auto;
    padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}
@media (max-width: 992px) {
    .gallery-section {
        width: 100%;
        display: block;
        margin-left: 0;
    }
}
  


  @media (min-width: 576px) {
    .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 2.50rem;
        -moz-column-gap: 2.50rem;
        column-gap: 2.50rem;
    }
}

@media (min-width: 576px) {
    .card-columns .card {
        display: inline-block;
        width: 100%;
    }
}

.card-columns .card {
    margin-bottom: 2.50rem;
    border: none;
    border-radius: 0;
}


.card-columns .card-img, .card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card-columns .card-img, .card-img-top {
    opacity:1;
    transition: 0.75s ease;
}

.card-columns .card-img, .card-img-top:hover {
    opacity:0.8;
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    transition: 0.75s ease;
}

.links {
    margin-top: 1.50rem;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
}

@media (max-width: 576px) {
        .links {
            margin-top: 1rem;
            font-size: 0.9em;
            width: 100%;
            text-align: center;
        }
}

.info {
    margin-top: 1.50rem;
    font-size: 0.9em;
    width: 100%;
    text-align: center;
    margin-bottom: 2.50rem;
}
@media (max-width: 576px) {
        .info {
            margin-top: 0.50rem;
            font-size: 0.9rem;
            line-height: 1.5rem;
            width: 100%;
            text-align: center;
            margin-bottom: 1.5rem;
}
}


.content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2.5rem 4rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 2.35rem;
}
@media (max-width: 576px) {
    .content {
        font-size: 1.0rem;
        line-height: 2.0rem;
        padding: 2.5rem 2.5rem 4rem 2.5rem;
    }
}

.content img {
    width: 200px;
}
@media (max-width: 576px) {
    .content img {
        width: 140px;
    }
}

.contact {
    grid-column-gap: 2rem;
    grid-row-gap: 2rem;
    justify-content: center;
    align-items: center;
    display: flex;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 2.0rem;
}
@media (max-width: 576px) {
    .contact {
        font-size: 1.2rem;
        line-height: 2.00rem;
    }
}

.reference {
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
    padding: 0rem 4rem 4rem 4rem;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 2.0rem;
}
@media (max-width: 576px) {
    .reference {
        padding: 0rem 2rem 2rem 2rem;
    }
}

.btn:link{
    padding: 0.8rem 2.0rem 0.8rem 2.0rem;
    text-decoration: none;
}
.btn:hover {
    text-decoration: none;
    text-underline-offset: 6px;
}




@media (min-width: 576px) {
    .card-columns-reference {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 1.50rem;
        -moz-column-gap: 1.50rem;
        column-gap: 1.50rem;
    }
}

@media (min-width: 576px) {
    .card-columns-reference .card {
        display: inline;
        width: 100%;
    }
}

.card-columns-reference .card {
    margin-bottom: 1.50rem;
    border: none;
    border-radius: 0;
}


.card-columns-reference .card-img, .card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.card-columns-reference .card-img, .card-img-top {
    opacity:1;
    transition: 0.75s ease;
}
@media (max-width: 992px) {
    .card-columns-reference .card-img, .card-img-top {
        opacity:1;
        transition: 0.75s ease;
    }
}

.card-columns-reference .card-img, .card-img-top:hover {
    opacity:1;
    -webkit-transform: scale(1.02);
    -ms-transform: scale(1.02);
    transform: scale(1.02);
    transition: 0.75s ease;
}
@media (max-width: 992px) {
    .card-columns-reference .card-img, .card-img-top {
        opacity:1;
        -webkit-transform: scale(1.02);
        -ms-transform: scale(1.02);
        transform: scale(1.02);
        transition: 0.75s ease;
    }
}

.login-container {
  display: flex;
  justify-content: center; /* centrování vodorovně */
  align-items: center;     /* centrování svisle */
  height: 100vh;           /* výška celé obrazovky */
}
@media (max-width: 576px) {
    .login-container {
        padding: 1rem 2rem 1rem 2rem;
    }
}

.login {
    width: 50%;
}
@media (max-width: 576px) {
    .login {
        width: 80%;
    }
}

.login form {
    margin-top: 5rem;
}

.login button {
    background-color: #000;
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.2rem;
    padding: 0.5rem 1.8rem 0.5rem 1.8rem;
    border-radius: 0.5rem;
    border: none;
}

.login label {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.75rem;
}
.login input {
    display: block;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    margin-bottom: 2.0rem;
}