html {
  scroll-behavior: smooth;
}
body {
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    font-size: 0rem !important;
}
.wrapper {
    background-image: url(../img/pozadi.svg);
    background-size: 80%;
    background-position-x: center;
    background-repeat: no-repeat;
    background-position-y: 1000px;
    font-size: 0rem !important;
}
.overlay {
    background-color: rgba(255,255,255,.7);
    font-size: 0rem !important;
}
a {
    text-decoration: none;
    color: #1074bc;
}
p, .p {
    font-weight: 700;
    font-size: 1rem !important;
}
.h1, .h2, h3, .h4, .h5, h1, h2, h3, h4, h5 {
    font-family: 'Cormorant', Times New Roman, serif;
}
h1, .h1 {
    color: #e4302a;
}
h2, .h2 {
    color: #1074bc;
    text-transform: uppercase;
    font-size: 1.5rem;
}
em, .em {
    color: #e4302a;  
}
header {
    height: 80vh;
    background-image: url('../img/uvod.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
}
header .row {
    padding-right: 50%;
}
@media (max-width: 768px) {
    header .row {
        padding-right: 2rem;
    }
}
header h1, header .h1 {
    color: #fff !important;
    font-family: 'Open Sans Condensed', Arial, sans-serif !important;
    font-weight: 700;
    padding-bottom: 4rem;
}
header p, header .p {
    padding-left: 6rem;
}
.podpis {
    text-align: right;
    font-style: italic;
}
.list-section {
    height: 10rem;
}
.list {
    width: 20rem;
    height: 20rem;
    background-image: url('../img/list.svg');
    background-size: cover;
    background-repeat: no-repeat;
    left: 30%;
    top: 20rem;
    position: absolute;
    left: -5rem;
    top: -15.5rem;
}
@media (max-width: 992px) {
    .list {
        left: 0.5rem;
        top: -11.5rem;
        width: 15rem;
        height: 15rem;
    }
}
.nav-link {
    color: #e4302a;
    font-weight: 700;
    transition: color 2s;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-size: 1.2rem;
}
.nav-link:hover, .nav-link:active, .nav-link:focus {
    color: #1074bc!important;
}
.active {
    color: #1074bc!important;
}
.logo {
    height: 60px;
}
.anchor {
    position: relative; 
    top: -100px;
}
.container-narrow {
    max-width: 100%;
    background-color: rgba(255,255,255,.5);
}
header .container-narrow {
    background-color: transparent !important;
}
@media (min-width: 768px) {
  .container-narrow {
    max-width: calc(100% - 6rem); 
  }
}
@media (min-width: 992px) {
  .container-narrow {
    max-width: calc(100% - 12rem); 
  }
}
@media (min-width: 1200px) {
  .container-narrow {
    max-width: min(1000px, 60vw);
  }
}
@media (min-width: 1400px) {
  .container-narrow {
    max-width: min(1000px, 50vw);
  }
}
@media (min-width: 1600px) {
  .container-narrow {
    max-width: 1000px;
  }
}
.divider-1, .divider-2, .divider-3 {
    width: 33%;
    height: 60px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
.divider-1 {
    height: 120px;
    background-image: url('../img/divider-1.svg');
}
.divider-2 {
    background-image: url('../img/divider-2.svg');
}
.divider-3 {
    background-image: url('../img/divider-3.svg');
}
.image-float-right {
    width: 30%;
    margin-left: 2rem;
    float: right;
}
@media (max-width: 992px) {
    .image-float-right {
        width: 100%;
        float: none;
        margin-bottom: 2rem;
        margin-left: 0;
    }
}
.decorated-image {
    position: relative;
    display: inline-block;
    overflow: hidden; /* klíčové */
}
@media (max-width: 992px) {
    .decorated-image {
        margin-bottom: 2rem;
        width: 100%;
    }
    .decorated-image img {
        width: 100%;
    }
}
.decorated-image img {
    display: block;
    width: 100%;
}
.decorated-image::before,
.decorated-image::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/* levý horní */
.decorated-image::before {
    top: 0;
    left: 0;
    background-image: url("../img/tl.png");
}

/* pravý dolní */
.decorated-image::after {
    bottom: 0;
    right: 0;
    background-image: url("../img/br.png");
}
.decorated-image .corners::before,
.decorated-image .corners::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.decorated-image .corners::before {
    top: 0;
    right: 0;
    background-image: url("../img/tr.png");
}

.decorated-image .corners::after {
    bottom: 0;
    left: 0;
    background-image: url("../img/bl.png");
}
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* moderní řešení */
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
footer p, footer .p{
    margin: 0 auto;
    text-align: center;
}
.wrap_btn-primary a {
    background: #e4302a;
    color: white;
    padding: 0.5em 1em;
    border-radius: .5em;
    transition: background 2s;
}
.wrap_btn-primary a:hover, .wrap_btn-primary a:focus, .wrap_btn-primary a:active {
    background: #1074bc;
}