/* -------------------- font Almendra  -------------------- */
.almendra-regular {
  font-family: "Almendra", serif;
  font-weight: 400;
  font-style: normal;
}

.almendra-bold {
  font-family: "Almendra", serif;
  font-weight: 700;
  font-style: normal;
}

.almendra-regular-italic {
  font-family: "Almendra", serif;
  font-weight: 400;
  font-style: italic;
}

.almendra-bold-italic {
  font-family: "Almendra", serif;
  font-weight: 700;
  font-style: italic;
}
@import url('https://fonts.googleapis.com/css2?family=Almendra:ital,wght@0,400;0,700;1,400;1,700&display=swap');



/* -------------------- Nadpis Herbs a věta Na co jsou dobré -------------------- */

.header a{
     font-family: "Almendra", serif;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.title {
    text-align: center;       /* vycentrování */
    color: #41582C;           /* stejná zelená jako horní pruh */
}
.title-herbs {
    text-align: center;   
      /* vycentrování */
              /* stejná zelená jako horní pruh */
}


.title h1 {
    margin-top: 1em;
    margin-bottom: 0.2em;
    font-size: 50px;
  
  font-family: "Almendra", serif;
  font-weight: 400;
  font-style: normal;
    color: inherit;           /* dědí barvu z .title */
}

.title p {
    margin: 0 0 30px;
    font-size: 18px;
    font-family: 'FilmotypeBrooklyn', cursive;
    color: inherit;
}
.title-herbs h1{
        margin-top: 1em;
    margin-bottom: 0.2em;
    font-size: 2.5rem;
  color: #41582C; 
  font-family: "Almendra", serif;
  font-weight: 400;
  font-style: normal;
    
}

/* Font Filmotype Brooklyn */
@font-face {
    font-family: 'FilmotypeBrooklyn';
    src: url('FilmotypeBrooklyn.ttf') format('truetype');

}


/* -------------------- Horní zelený pruh -------------------- */
.header {
    background: #41582C;
    color: #FFF1D9;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    font-size: 24px;
}

.header button {
    background: none;
    border: none;
    color: #FFF1D9;
    font-size: 24px;
    cursor: pointer;
    transition: opacity 0.2s ease;
     font-family: "Almendra", serif;
}

.header button:hover {
    opacity: 0.6;
}

.header button:active {
    opacity: 0.3;
}


/* -------------------- Dolní zelený pruh -------------------- */
.footer {
    left: 0;
    width: 100%;
    background: #41582C;
    color: #FFF1D9;
    display: flex;
    justify-content: space-between;
    padding: 5px;
    font-size: 14px;
}

.footer button {
    background: none;
    border: none;
    color: #FFF1D9;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.footer button:hover {
    opacity: 0.6;
}


/* -------------------- Obal růžových tlačítek -------------------- */
.cards {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    margin-top: 40px;
}

/* -------------------- Růžová tlačítka jako karty -------------------- */
.card {
    width: 65%;
    height: 28vh;
    background: rgba(0,0,0,0);
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
    padding: 10px;
    gap: 10px;
    text-align: center;
}

.cards a:link{
    text-decoration: none;
}
.cards a:hover{
    text-decoration: none;
}
.cards a:active{
    text-decoration: none;
}


.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.card span {
    color: #41582c;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

/* Hover efekt */
.card:hover {
    transform: scale(1.05);
}

/* Klikací animace */
.card.clicked {
    animation: clickAnim 0.25s ease;
}

/* Aktivní zmenšení po kliknutí */
.card.active {
    transform: scale(0.85);
    opacity: 1;
}

@keyframes clickAnim {
    0% { transform: scale(1); }
    50% { transform: scale(0.9); }
    100% { transform: scale(1); }
}


/* -------------------- Celé tělo a container -------------------- */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #FFF1D9;
}

.container {
    max-width: 100%;
    margin: auto;
    background: #FFF1D9;
    min-height: 100vh;
        display: flex;
      align-content: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}
/* video style mobile*/
iframe{
    width: 82%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 8em;
}


  /* -------------------- big desktop style -------------------- */
@media only screen and (min-width: 1400px) {
    html {
        scroll-behavior: smooth;
    }
    .title h1 {
        margin-top: 50px;
    font-size: 7rem;
}
    .title-herbs h1{
    font-size: 50px;  
}

    .title p {
    font-size: 2rem;
    margin-bottom: 60px;

}
       .cards {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 250px;  /*mezera*/
    }
    .card {
        width: 20% !important;
        height: auto;
    }
    .card span {
    font-size: 1.2rem;
  
}
/* video style desktop*/
iframe {
    width: 55%;
    }
}
     /* -------------------- min desktop style -------------------- */
@media only screen and (min-width: 800px) and (max-width: 1399px) {



    .container {
        max-width: 1000px;
    }

    .cards {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 250px;
        height: auto;
    }
    .title h1 {
    margin-top: 1em;
    margin-bottom: 0.2em;
    font-size: 50px;
    }
    .title-herbs h1{
    font-size: 50px;  
}

    .footer {
        display: none; /* na desktopu pryč */
    }
    iframe {
    width: 50%;
    }

}


/* Style the buttons that are used to open and close the accordion panel */
.accordion-box{
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

.accordion {
  background: #41582C;
    color: #FFF1D9;
    font-family: "Almendra", serif;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
  background: #41582C;
    color: #FFF1D9;
}

/* Style the accordion panel. Note: hidden by default */

.accordion-box a:link {
  color: #FFF1D9;
   text-decoration: none;
}

/* visited link */
.accordion-box a:visited {
  color: #FFF1D9;
  text-decoration: none;
}

/* mouse over link */
.accordion-box a:hover {
  color: #FFF1D9;
;
}

/* selected link */
.accordion-box a:active {
  color: #FFF1D9;
;
}

.panel {
    font-family: 'FilmotypeBrooklyn', cursive;
  padding: 0 18px;
   background: #41582C;
    color: #FFF1D9;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}