body {
    font-family: sans-serif;
    line-height: 2;
    margin-top: 0px;
    margin-bottom: 0px;
    background: url('pozadi1_1900.png');
    background-color: rgb(243, 252, 237);
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat-y;
    flex-direction: column;
    min-height: 100vh;
}

html {
  color-scheme: light;
}

.header {
    position: sticky;
    top: 0;
    margin-top: 0px;
    margin-bottom: 0px;
    background: url('pozadi1_1900.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: repeat-y;
    flex-direction: column;
}

article {
    background-color: rgb(191, 235, 172);
    background-size: cover;
    grid-column: 1 / -1;/* Roztáhne přes celou šířku */
    width: 100%;
}

footer {
    flex: 1 1 200px; 
    margin-bottom: 20px;
    position: fixed;
    flex-wrap: wrap; 
    justify-content: space-between;
    bottom: 0;
    height: 36px;
    line-height: 32px;
    justify-content: space-between;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: rgb(191, 235, 172);
    background-repeat: no-repeat;
    background-position: center;
    margin: 09px;
}

.footer_wrap {
  display: flex;
  justify-content: center;
}

@font-face {
    font-family: fonttest;
    src: url(font/comic.ttf)
}

h1 {
    text-align: center;
    color: rgb(44, 101, 22);
    text-decoration: none;
    font-family: fonttest;
    padding: 0rem;
    line-height: 1.5;
}

h2 {
    text-align: left;
    color: rgb(44, 101, 22);
    text-decoration: none;
    font-family: fonttest;
    padding: 0rem;
    line-height: 1.5;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 18px;
}

p {
    line-height: 1.5;
    text-align: left;
    margin-top: 8px;
    margin-bottom: 16px;
}

.velky {
    color: rgb(44, 101, 22);
    text-align: center;
    font-family: fonttest;
    font-size: 20px;
    font-weight: bold;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    background-color: rgb(255, 255, 255);
    margin: 09px;
}

.velky_stred {
   text-align: center;
    font-family: fonttest;
    font-size: 20px;
    font-weight: bold;
    margin: 09px;
} 

.stred {
    text-align: center;
    font-size: 18px;
    font-family: fonttest;
} 

.obsah {
    color: rgb(44, 101, 22);
    text-align: center;
    font-family: fonttest;
    font-size: 16px;
    line-height: 1.5;
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: rgb(255, 255, 255);
    margin: 2px;
    background: url('hnizdo400_2.png');
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 50%  200px;
    background-size: contain;
    background-size: min(80%, 600px) auto;
}

.obsah_1 {
   float: left;
}

.obsah_col_1 {
   background-color: rgba(255, 255, 255, 0.25);
   border-radius: 10px;
   padding: 16px;
   box-shadow: 2px 2px 7px #21281c47;
}

.obsah_col_11 {
   background-color: rgba(255, 255, 255, 0.25);
   border-radius: 20px;
   padding: 0px;
   box-shadow: 2px 2px 7px #21281c47;
}

.obsah_col_111 {
   background-color: rgba(255, 255, 255, 0.25);
   padding: 16px;
}

.obsah_col_2 {
   background-color: rgba(204, 237, 176, 0.25);
   border-radius: 10px;
   padding: 16px;
   box-shadow: 2px 2px 7px #21281c47;
}

nav.menu ul {
  list-style: none;
  padding: 0;  
}

nav.menu a {
    padding: 0 5px;
    color: rgb(44, 101, 22);
    background-color: rgb(191, 235, 172);
    border-color: rgb(255, 255, 255);
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
    text-decoration: none;
    font-family: fonttest;
}

nav.menu a:hover {
  background: rgba(0, 0, 0, 0.1);
  color: white;
}

nav.menu_2 ul {
  list-style: none;
  padding: 0;  
}

nav.menu_2 a {
    padding: 0 5px;
    color: rgb(44, 101, 22);
    background-color: rgb(191, 235, 172);
    border-color: rgb(255, 255, 255);
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
    text-decoration: none;
    font-family: fonttest;
}

nav.menu_2 a:hover {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

nav.menu_2_prorodice ul {
  list-style: none;
  padding: 0;
  margin-top: 0px;  
}

nav.menu_2_prorodice a {
    padding: 0 5px;
    color: rgb(44, 101, 22);
    background-color: rgb(191, 235, 172);
    border-color: rgb(255, 255, 255);
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
    text-decoration: none;
    font-family: fonttest;
}

nav.menu_2_prorodice a:hover {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}


button.menu_2_prorodice ul {
  list-style: none;
  padding: 0;
  margin-top: 0px;  
}

button.menu_2_prorodice  {
    padding: 0 5px;
    color: rgb(44, 101, 22);
    background-color: rgb(191, 235, 172);
    border-color: rgb(255, 255, 255);
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
    text-decoration: none;
    font-size: 16px;
    font-family: fonttest;
}

button.menu_2_prorodice:hover {
  background: rgba(0, 0, 0, 0.2);
  color: white;
}


.box {
    background-color: rgb(191, 235, 172);
    border: 0px solid #333;
    padding: 0rem;
    text-align: right;
}

.box_kraj {
    border: 0px solid #333;
    padding: 0rem;
    text-align: right;
}

.box_img {
    display: flex;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
}

.box_onas {
    display: flex;
    text-align: center;
    justify-content: center; 
    align-items: center;
    padding: 0px;
}

.onas_ramecek {
    display: flex;
    text-align: center;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #cbf3d9;
    box-shadow: 2px 2px 7px #1c2228;
    width: 140px;
    padding: 8px
}

.box_prorodice {
    display: flex;
    text-align: center;
    padding: 10px;
    justify-content: center; 
    align-items: center;
    flex-direction: column; /* Řadí prvky pod sebe */
}

.box_kontakt {
    display: flex;
    text-align: center;
    justify-content: center; 
    align-items: center;
    flex-direction: column; 
    padding: 7px;
}

.prorodice_ramecek {
    display: flex;
    text-align: center;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 300px;
    padding: 8px
    margin: 15px;
}

.akce_ramecek {
    display: flex;
    text-align: center;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #91f1b3a1;
    box-shadow: 2px 2px 7px #1c2228;
    width: 295px;
    padding: 8px;
    margin: 16px;
}

.dary_ramecek {
    text-align: center;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #fefefe;
    box-shadow: 2px 2px 7px #1c2228;
    width: 250px;
    /*height: 250px;*/
    /*min-width: 100vh;*/
    padding: 8px;
    margin: 0px;
}

.cenik_ramecek {
    text-align: center;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #cbf3d9;
    box-shadow: 2px 2px 7px #1c2228;
    width: 200px;
    padding: 8px;
    margin: 16px;
}

.d_prog {
    display: flex; /* Řadí prvky vedle sebe */
    gap: 2px; /* Mezera mezi sloupci */  
}

.sloupec_1 {
    display: flex;
    text-align: center;
    width: 60px;
    padding: 2px;  
}

.sloupec_2 {
    text-align: center;
    flex: 1;
    padding: 2px;
}

.sloupec_1_prog {
    display: flex;
    text-align: center;
    width: 105px;
    padding-left: 0px;
    padding-top: 0px;  
}

.sloupec_2_prog {
    text-align: center;
    flex: 1;
    padding-left: 8px;
}

.p_center {
    text-align: center;
}

.akce_ramecek_2 {
    display: flex;
    text-align: center;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
    align-items: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: #e3e9e545;;
    box-shadow: 2px 2px 7px #1c2228;
    width: 295px;
    padding: 8px;
    margin: 16px;
}

.box_footer {
    display: flex;
    border: 0px solid #333;
    padding: 0rem;
    justify-content: center; 
}

.box100 {
    background-color: rgb(191, 235, 172);
    border: 0px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;     
    max-width: 120px;
}

.box100_kraj {
    border: 0px solid #333;
    display: flex;
    justify-content: center; 
    align-items: center;    
    max-width: 120px;
}


.box800 {
    background-color: rgb(191, 235, 172);
    border: 0px solid #333;
    justify-content: center; 
    align-items: center;    
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    max-width: 800px;
}

.box800_kraj {
    background-color: rgb(191, 235, 172);
    border: 0px solid #333;
    justify-content: center; 
    align-items: center;   
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: url('kraj.jpg');
    max-width: 800px;
}

.box800_1 {
    background-color: rgb(191, 235, 172);
    border: 0px solid #333;
    display: flex;
    justify-content: center; 
    align-items: center;     
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 1px;
    border-bottom-right-radius: 1px;
    background-color: rgb(255, 255, 255);
    max-width: 800px;
}

.box800_2 {
    background-color: rgb(191, 235, 172);
    border: 0px solid #333;
    display: flex;
    justify-content: center; 
    align-items: center;     
    border-top-left-radius: 1px;
    border-top-right-radius: 1px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: rgb(255, 255, 255);
    max-width: 800px;
    padding: 0px;
}

.boxR {
    background-color: rgb(191, 235, 172);
    border: 0px solid #333;
    padding: 0rem;
    text-align: left;
}

.boxR_kraj {
    border: 0px solid #333;
    padding: 0rem;
    text-align: left;
}

.green {
    background-color: rgb(191, 235, 172);
}

.cont {
  text-align: center; 
  justify-content: space-between;
  font-size: 0;      
}

.cont img {
  display: inline-block;
  width: 150px;
  margin: 10px;       
  font-size: 16px;    
}

img {
    vertical-align: top; /* top */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

figure {
    display: inline-block;
    border: 20px red;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: rgb(191, 235, 172);
    margin-top: 0px;
}

figure img {
    vertical-align: top; /* top */s: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: rgb(191, 235, 172);
}

figure figcaption {
    border: 0px dotted blue;
    text-align: center;
}


.main-container{ max-width:600px; margin:0 auto; border:solid 10px green; padding:10px; margin-top:40px;}
.main-container *{padding:10px;background:#aaa; border:dashed 5px #000;}
.main-container * + *{margin-top:20px;}
.main-header{
  height:50px; background:#aaa;
}
.main-content{
  min-height:1000px;
}

.main-footer{position:sticky; bottom:0; border-color:red;}

.container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr ;
    gap: 10px;
}

