body {
    font-family: 'Trebuchet MS', sans-serif;
    background-color: whitesmoke;
    font-size: 1.25rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

ol {
    margin-bottom: 0px;
    padding-top: 20px;
    padding-bottom: 10px;
}

h1, h2 {
    margin-top: 15px;
    margin-bottom: 15px;
}

a {
    color: rgb(0, 0, 80);
}

a:hover {
    color: hotpink;
}
a:visited {
    color: rgb(1, 173, 173);
}
a {
    color: rgb(0, 0, 80);
}

footer {
    text-align: center;
    background-color: teal;
    color: whitesmoke;
    padding: 5px;
    margin-top: auto;
}

nav ul {
    display: flex;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

nav ul li a:hover, .active {
    background-color: gray;
    border-radius: 20px;
    color: black;
}

nav ul li a, nav ul li a:visited {
    text-decoration: none;
    color: black;
    padding: 10px 20px;
    margin: 30px 20px;
}

nav ul li:first-child {
    margin-right: auto;
}

nav ul li:not(:first-child) {
    margin-left: 0;
}

nav ul li img {
    width: 10vh;
    height: 10vh;
    margin: 10px 50px;
}

video {
    margin: 10px 10%;
    width: 80%;
    height: auto;
}

figure {
    text-align: center;
}

article {
    padding: 15px 25px;
    text-align: justify;
}

form {
    margin: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 20px;
    border: 2px solid teal;
}

button {
    border-radius: 15px;
    color: white;
    background-color: teal;
    margin-right: 10px;
}

table {
    margin: 20px;
}

table tr:first-child {
    text-align: center;
}

caption {
    color: black;
}

th {
    background-color: teal;
    color: whitesmoke;
}

td {
    background-color: rgba(194, 193, 193, 0.466);
}

table, th, td {
    border: 2px solid rgb(212, 212, 212);
    border-collapse: collapse;
}

#about {
    padding: 5% 0%;
    background-image: url("../media/images/cover.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: top;
    color: whitesmoke;
    margin-bottom: 25px;
}

#carousel {
    max-width: 300px;
    margin: 0 auto;
}

#tablazat {
    display: flex;
    justify-content: center;
}

#carousel div div img {
    width: 100%;
    height: auto;
}

#story {
    padding: 10px;
    background-color: rgb(163, 163, 163);
    text-align: justify;
}

#story div p {
    padding: 0px 50px;
}

#link {
    text-align: center;
    padding-bottom: 2%;
}

#jelenetek {
    background-color: rgba(194, 193, 193, 0.466);
}

.logo {
    width: 100%;
    height: auto;
}

.thumbnail {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    width: 50%;
    height: auto;
}

.th {
    padding: 5px;
    width: 50%;
    height: auto;
}

.kozep {
    text-align: center;
}

.sotet {
    background-color: rgb(0, 0, 0, 0.8);
    border-radius: 10px;
}

.ugras {
    position: absolute;
    top: -50px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 100;
    text-decoration: none;
    font-size: 1rem;
}

.ugras:focus {
    top: 0;
    left: 50px;
}

.thumbnail:hover {
    box-shadow: 0 0 2px 1px teal;
  }

@media screen and (max-width: 990px) {
    nav ul li a {
        padding: 10px 10px;
        margin: 10px 10px;
        font-size: smaller;
    }

    nav ul li img {
        width: 8vh;
        height: 8vh;
        margin: 10px 20px;
    }
    button {
        margin-right: 7px;
        font-size: 1rem;
    }
    .logo {
        width: 70%;
        height: auto;
    }
}

@media screen and (max-width: 700px) {
    nav ul li a {
        padding: 5px 5px;
        margin: 5px 5px;
        font-size: smaller;
    }

    nav ul li img {
        width: 6vh;
        height: 6vh;
        margin: 10px 10px;
    }
    button {
        margin-right: 5px;
        font-size: smaller;
    }
}