* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f7f7f7;
}

/* Univerzális navigációs menü stílus - START */

li, a { /* Általános stílus a listaelemekre, és linkekre. */
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

header {
    margin-top: -15%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 10%;
    background-color: #313131;
    position: fixed;
    width: 100%;
    box-shadow: 0px 5px 5px #1d1d1d;
}

.name { /* Navigációs menü bal oldalán lévő cím. */
    color: white;
    text-transform: uppercase;
    font-weight: 800;
    margin-right: auto;
}

nav p {
    font-weight: 700;
    cursor: pointer;
}

.nav_links {
    list-style: none;
}

.nav_links li {
    text-transform: uppercase;
    display: inline-block;
    padding: 0px 20px;
}

.nav_links li a {
    font-weight: 700;
}

.nav_links li ul.dropdown { /* Dropdown menü stílusa */
    position: absolute;
    z-index: 999;
    display: none;
    background-color: #474747;
}

.nav_links li ul.dropdown li {
    display: block;
    padding: 5px 35px;
    transition: 0.3s;
}

.nav_links li ul.dropdown li a {
    font-weight: 200;
    font-size: 12px;
    transition: 0.3s;
}

.nav_links li ul.dropdown li:hover a {
    color: #e5fffd;
}

.nav_links li ul.dropdown li:hover {
    background-color: #5a5a5a;
}

.nav_links li:hover ul.dropdown {
    display: block;
}

/* Univerzális navigációs menü stílus - END */

/* Kezdőlap navigációs menü stílus - START */

#index-header {
    margin-top: -5%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 30px 10%;
    background-color: #313131;
    position: fixed;
    width: 100%;
    box-shadow: 0px 5px 5px #1d1d1d;
}

/* Kezdőlap navigációs menü stílus - END */

.kezdolap {
    margin-top: 5%;
    background-image: url(images/kezdolap_img.jpg);
    background-size: cover;
    background-position: 50%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.kezdolap h1 {
    color: #fff;
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 800;
    margin-right: 10%;
    margin-left: 10%;
}

.kezdolap p{
    color: #fff;
    font-size: 25px;
    margin-right: 10%;
    margin-left: 10%;
}

.container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-top: 5%;
}

.container h2 {
    font-size: 33px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1%;
    margin-right: 10%;
    margin-left: 10%;
}

.container p {
    font-size: 20px;
    width: 50%;
    margin-bottom: 5%;
    margin-right: 10%;
    margin-left: 10%;
}

/* osztalyX.html - TÁBLÁZAT stílus - START */

.feladatok {
    background-image: url(images/xmas.avif);
    background-size: cover;
    
    margin-top: 15%;
    margin-bottom: 15%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.feladatok h1 {
    font-size: 45px;
    text-transform: uppercase;
    font-weight: 800;
}

table {
    margin-top: 3%;
    width: 80%;
    background-color: #fff;
    border-collapse: collapse;
}

table a {
    color: blue;
    text-decoration: underline;
}

table tr th {
    background-color: #c7c7c7;
}

table tr td, table tr th {
    border: 1px solid;
    height: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

table th:nth-child(1), table td:nth-child(1) {
    width: 50%;
}

/* osztalyX.html - TÁBLÁZAT stílus - END */

/* Univerzális footer stílus - START */

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 150px;
    width: 100%;
    background-color: #313131;
    margin-top: 5%;
}

footer p {
    color: #6b6b6b;
    margin-left: 50px;
    margin-right: 50px;
}

/* Univerzális footer stílus - END */

/* Reszponzivitás - START */

@media screen and (max-width: 820px) {
    .name {
        display: none;
    }

    footer {
        display: none;
    }
    
    .feladatok h1 {
        margin-top: 15%;
    }
}

/* Reszponzivitás - END */