@media only screen and (max-width: 800px) {
    
html, body {
    background-color: black;
    color: white;
    font-family: "Teko", sans-serif;
}

body {
    font-family: "Teko", sans-serif;
    line-height: 1.6;
    border: none;
    margin: 1px;
   border-radius: 20px;
   width: 99%;
    /*padding: 20px;*/
    /*background-color: rgb(250,250,250,0.1);*/
    box-shadow: 10px 10px 100px rgb(200, 0, 0, 0.6), -10px -10px 100px rgb(200,0,0,0.6);
}

.teko {
  font-family: "Teko", sans-serif;
  font-optical-sizing: auto;   /* volitelné, moderní vlastnost */
  font-weight: 400;            /* nahraď konkrétní číslo: 100, 200, 300, 400, 500, 600, 700 */
  font-style: normal;
}

header {
    text-align: center;
    margin-bottom: 20px;
    height: 300px;
    background-image: url("/img/header.jpeg");
    background-size: cover;
    background-position: center;
     display: flex;
    align-items: flex-end;   /* vertikálně dolů */
    justify-content: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

}


footer {
    width:100%;
    text-align:center;
    padding:1rem 0;
}
footer p {
    color: white;
    font-size: 1.3vh;
    margin: 0px;
}

footer a {
    color: red;
    text-decoration: none;
    font-size: 1.3vh;
}


/*.headerbgd {
    background-image: url("/img/header.jpg");
    height: max-content;
    background-size: cover;
    background-position: center;
    /*padding: 20px;
    border-radius: 10px;
    /*border: 4px outset rgb(250,250,250,0.3);*/
    /*margin-bottom: 20px;
}*/
.headerflex {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 20px;
    width: -webkit-fill-available;
    margin-bottom: 20px;
    justify-content: center;
    background-color: rgb(0, 0, 0, 0.7);
    box-shadow: 2px 2px 10px rgb(255, 255, 255, 0.4);
    margin-left: 0px;
    margin-right: 0px;
    border-radius: 0px;
}
.headerflex  left {
    flex: 1;}
.headerflex  right {
    flex: 2;
}
.headerflex img {
    display: none;
    max-width: 100px;
    height: auto;
    border-radius: 50%;
    border: 3px outset red;
}
.headerflex div {
    text-align: center;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    text-decoration: none;
    color: red;
    font-weight: bold;
    text-transform: uppercase;
}
nav ul li {
    display: inline;
    border-bottom: 2px solid red;
}
nav ul li a {
    color: red;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
}
nav ul li a:hover {
    color: white;
    cursor: pointer;
    transition-duration: 500ms;
}

h1 {
    color: red;
}

.container {
    margin: 20px;
    padding: 20px;
    /*border: 4px outset rgb(250,250,250,0.3);*/
    border-radius: 10px;
    text-align: center;

}

.grid2x1 {
    display: grid;
    grid-template-columns:1fr;
    gap: 5px;
}







}