@font-face {
    src: url("../Poppins-Bold.ttf");
    font-family: "Poppins";
}
@font-face {
    src: url("../CheddarGothicRough-Regular.ttf");
    font-family: "Cheddar";
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Poppins";
}
body {
    background: #fde4db;
    text-align: center; /* Zarovnání obsahu na střed */
}

img {
    width: 100%;
}
header {
    width: 100%;
    height: 65px;
    background: #a83000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-radius: 0 0 5px 5px;
    margin: 0 auto;
    position: fixed;
    z-index: 200;
}
section { 
    display: block;
    width: 75%;
}
.history, .kontakt-form, .kontakt {
    display: block;
    width: 470px;
}
.aktualne {
    display: block;
    width: 40%;
}
/***** reusable *****/
    .row {
    max-width: 100%;
    margin: 0 auto;
    }
    .heading-main h2 {
        text-align: center;
        margin-top: 20px;
        font-size: 30px;
        color: #a83000;
    }
    .heading-main h2:after {
        content: "";
        display: block;
        width: 10vw;
        border-bottom: 4px solid #4e1600;
        margin: 5px auto;
    }
    .empty-space {
        height: 8vh;
    }
    .empty-space-xs {
        height: 3vh;
    }
    p {
       font-family: Verdana, Geneva, Tahoma, sans-serif;
       font-size: clamp(1rem, 0.9545rem + 0.2273vw, 1.125rem);
       padding-bottom: 7px;
       line-height: 1.3;
    }
/***Header***/
    .header-text {
        position: absolute;
        top: 60vh;
        right: 5vw;
        z-index: 150;
        margin-bottom: 4px;
    }

/***** Navigation *****/
    .logo {
        width: 120px;
        margin-top: 40px;
    }
    .nav_menu {
        position: fixed;
        z-index: 100;
    }
    nav .logo {
        display: none;
    }
    nav ul {
        display: flex;
    }
    nav ul li a {
        color: #fde4db;
        display: block;
        margin: 0 2px;
        font-weight: 600;
        padding: 8px 18px;
        transition: 0.2s;
        border-radius: 20px;
        font-size: clamp(1rem, 0.525rem + 0.8vw, 1.125rem);
    }
    nav ul li a:hover,
    nav ul li a.active:hover {
        background: #4e1600;
        color: #fde4db;
    }
    nav ul li a.active {
        background: #fde4db;
        color: #4e1600;
    }
    .hamburger {
        display: none;
        height: fit-content;
        cursor: pointer;
        padding: 3px 8px;
        border-radius: 0 0 0 5px;
        transition: 0.2s;
    }
    .hamburger:hover {
        background: #4e1600;
    }
    .hamburger div {
        width: 30px;
        height: 2px;
        margin: 6px 0;
        background: #fde4db;
    }
/***** Úvod ******/
.video-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: absolute;
    top: 70vh;
    left: 5vw;
    color: #fde4db;
    font-size: 1.2vw;
    font-weight: 900;
    text-align: center;
    z-index: 1;
    line-height: 1.2;
    padding: 10px;
    border-radius: 20px;
    background-color: #4e1600;
    opacity: 0.9;
} 
/***** Aktuálně *****/
.aktualne p {
    text-align: justify;
}
.aktualne img {
    margin: 1vw 0;
    width: 40vh;
}
/***** Historie *****/
    .history-section {
        position: relative;
        display: flex;
    }
    .vertical-line {
        position: absolute;
        height: 95%;
        width: 20px; 
        background-color: #a83000;
        margin-left: 110px;
    }
    .events {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        z-index: 1;
    }
    .event {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }
    .event-img {
        width: 70px;
        margin-right: 20px;
    }
    .circle {
        width: 60px;
        height: 60px;
        background-color: #4e1600;
        border-radius: 50%;
    }
    .circle p {
        color: #fde4db;
        text-align: center;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        font-size: 20px;
        font-weight: 600;
        margin-top: 17px;
     }
    .event-details {
        text-align: start;
        margin-left: 20px;
    }
    .event-year {
        font-weight: 500;
        font-size: clamp(1.5625rem, 1.4489rem + 0.5682vw, 1.875rem);
        font-family: "Cheddar";
        color: #A83000;
    }
    .event-title {
        font-weight: 500;
        font-size: clamp(1.25rem, 1.1364rem + 0.5682vw, 1.5625rem); 
        font-family: "Cheddar";
        color: #4e1600;
    }
/****** Kontakt *****/

  .email-signature {
    padding: 8px 0px 18px 200px;
    background-color: #a83000;
    border-radius: 20px;
    position: relative;
  }
  .email-signature .signature-icon {
    width: 164px;
    height: 164px;
    line-height: 186px;
    border-radius: 50%;
    border: 12px solid #fde4db;
    background-color: #4e1600;
    color: #fde4db;
    font-size: 80px;
    text-align: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.3);
    position: absolute;
    top: 10px;
    left: 10px;
  }
  .email-signature .signature-icon::before {
    content: "";
    background-color: transparent;
    border: 10px solid #4e1600;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
  }  
  .signature-icon img {
    margin-top: -14.5px;
    margin-left: -12px;
    width: 163px;
    border-radius: 50%;
  }
  .email-signature .signature-content .circle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-color: #fde4db;
    border: 4px solid #fde4db;
    z-index: 1;
  }
  .email-signature .signature-content li {
    padding: 0;
    font-size: 14px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    text-align: center;
  } 
  .signature-content a {
    color: #4e1600;
  }
  .email-signature .signature-content span {
    background-color: #fde4db;
    padding: 6px 14px;
    margin-left: -7px;
    border-radius: 10px;
  }
  .email-signature .name {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #fde4db;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    margin: 6px 30px 7px 0;
    padding: 15px 5px;
    border-radius: 20px;
    background-color: #4e1600;
  }
  

/****** Kontaktní formulář *****/
.box {
    padding: 40px;
    text-align: center;
    justify-content: center;
    background: #a83000;
    text-align: center;
    border-radius: 20px;
}
.box h1 {
    padding: 8px 0px;
    color: #fde4db;
    background-color: #4e1600;
    border-radius: 20px;
    margin-bottom: 10px;
}
.box h1::after {
    content: "";
    display: block;
    width: 100px;
    border-bottom: 4px solid #a83000;
    margin: 5px auto;
}
.box input[type="text"], .box input[type="email"], textarea{
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 4px solid #4e1600;
    padding: 15px 10px;
    width: 320px;
    color: #fde4db;
    border-radius: 24px;
    outline: none;
    }
.box input[type="text"]:focus, .box input[type="email"]:focus, textarea:focus { 
    border: 4px solid #fde4db;
}
::placeholder {
    color: #4e1600;
}
.box input[type="submit"] {
    width: 320px;
    padding: 20px;
    color: #4e1600;
    font-size: 16px;
    background-color: #a83000;
    border: 4px solid #4e1600;
    border-radius: 20px;
    transition: 0.5s;
    cursor: pointer;
}
.box input[type="submit"]:hover {
    color: #fde4db;
    border: 4px solid transparent;
    background-color: #4e1600;
}
    

/****** Footer ******/
.footer {
    background-color: #a83000;
    color: #fde4db;
}
.footer-wave-svg {
    background-color: transparent;
    display: block;
    height: px;
    position: relative;
    top: -1px;
    width: 100%;
}
.footer-wave-path {
    fill: #fde4db;
}
.footer-content {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 300px;
}
.footer-content-column ul li a {
  color: #fde4db;
  text-decoration: none;
}
.footer-content-column h2 {
    color: #4e1600;
    font-size: clamp(0.625rem, 0.4432rem + 0.9091vw, 1.125rem);
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 10px;
    margin-top: 40px;
    text-transform: uppercase;
}
.footer-menu-list {
    list-style: none;
    margin: 0 10px;
    padding-left: 0;
}
.footer-menu-list li {
    margin-top: 10px;
    list-style: none;  
}
.footer-content-column a {
    text-decoration: none;
    margin-bottom: 0;
    margin-top: 10px;
}
.footer-copyright {
    background-color: #4e1600;
    padding: 15px;
    margin-top: 30px;
    text-align: center;
}  
.footer-copyright a {
    color: #fde4db;
    text-decoration: none;
    font-size: clamp(0.625rem, 0.4432rem + 0.9091vw, 1.125rem);
    font-weight: 400;
}
/***** Stop floating *****/
.clearfix {zoom: 1}
.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/*** Form result ***/
.form-result {
    width: 80%;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 10px;
}
.success {
    background-color: #239b28;
}
.error {
    background-color: #fc8727;
}