@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');


/* META */

html,
body {
    height: 100%;
    scroll-behavior: smooth;
}

a:link {
    color: #8FC5FF;
    font-weight: bold;
    text-decoration: underline;
}

a:visited {
    color: #6385a9;
    text-decoration: underline;
}

.section {
    position: relative;
}


.positioning a {
    position: absolute;
    left: -999px;
}

.positioning a:focus {
    position: static;
}

@media (max-width: 600px) {
    .topnav a {
        display: block;
        margin: 10px 0;
    }

    .topnav {
        height: 100px !important;
    }

    .content-box {
        flex-direction: column;
    }

    .content-box video {
        margin: 0 0 20px 0;
    }
}

@media (min-width: 601px) and (max-width: 1024px) {
    .content-box {
        flex-direction: row;
    }

    .content-box video {
        margin-right: 20px;
    }
}

@media (min-width: 1025px) {
    .content-box {
        flex-direction: row;
    }

    .content-box video {
        margin-right: 20px;
    }
}

@media (max-width: 768px) {
    #jozsefattila {
        display: grid;
        grid-template-areas:
            "a"
            "a";
    }

    #jozsefattila .left {

        order: 1;
    }

    #jozsefattila .right {
        order: 2;
        display: block !important;
        width: 100% !important;
        margin-top: 20px !important;
    }

    #jozsefattila .right .poem {
        max-height: none !important;
        overflow-y: visible !important;
    }
}

#jozsefattila,
article {
    overflow-y: auto;
    padding-right: 1rem;
    border: 1px solid #ccc;
    background-color: white;

}

#jozsefattila {
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

#jozsefattila {
    display: flex;
    gap: 20px;
}

#jozsefattila .left,
#jozsefattila .right {
    flex: 1;
}

#jozsefattila .right {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#jozsefattila .left,
#jozsefattila .right {
    padding: 10px;
    box-sizing: border-box;
}

#jozsefattila .right .poem {
    overflow-y: auto;
    flex-grow: 1;
    border-bottom: 2px solid #29627e;
    box-shadow: 0 4px 8px -2px #29627e;
}

#jozsefattila .right .poem p {
    margin: 10px;
}

#jozsefattila .right .poem h4 {
    margin: 10px;
    font-size: 2rem;
}

.right {
    float: right;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    box-shadow: inset 5px 0 5px -5px #29627e;
    color: #29627e;
    font-family: 'Arial', sans-serif;

}


/* HEADER */
header {
    width: 100% !important;
    background-color: #232323;
    padding: 20px 0;
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#altToggle {
    background-color: #222;
    color: #fff;
    font-size: 1.5em;
    padding: 10px 20px;
    border: 2px solid #fff;
    margin: 10px;
    cursor: pointer;
}

.topnav {
    height: auto;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 10px 20px;
    background-color: #232323;
    position: sticky;
    top: 1em;
    z-index: 1000;
}

.topnav {
    height: 56px;
}

.topnav a {
    margin: 0 20px;
}

.topnav a {
    margin: 0 20px;
    text-decoration: none;
    color: #a5a5a5;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-align: right;
}

.topnav a:hover {
    text-decoration: underline;
}

.topnav a.current {
    color: #ffffff;
    outline: #1b1833;
    text-decoration: underline;
}

/* MAIN */
.mainnavcontainer {
    text-align: center;
    background-color: #ffffff;
    border-color: #232323;
    border-radius: 2px;
    position: sticky;
    border: 2px solid #232323;
    top: 0;
    z-index: 999;
}

#mainnav {
    position: sticky;
    top: 10px;
    z-index: 1002;
}

.mainnav a {
    margin: 0 20px;
    text-decoration: none;
    color: #000000;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-align: justify;
    position: sticky;
    top: 0;
    z-index: inherit;
}

.mainnav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    #mainnav {
        padding: 5px 10px;
    }

    #mainnav a {
        font-size: 1rem;
        margin: 0 10px;
    }
}


h1 {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-size: 4rem;
    margin: 30px 0;
}


.bigtable {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1em;
    font-size: 1.2em;
}

@media (min-width: 1100px) {
    .bigtable .mobile-version-upper {
        display: none;
    }

    .bigtable .mobile-version-lower {
        display: none;
    }
}

@media (max-width: 1100px) {
    .bigtable .desktop-version {
        display: none;
    }
}

img {
    box-shadow: 0 4px 8px -2px #000000;
}

figure p {
    font-size: 1.5rem !important;
}


figure table {
    border-collapse: collapse;
    margin: 0 auto;
}

figure table th,
figure table td {
    padding: 1em;
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    padding-left: 1.5rem;
}

figure table tr th:first-child,
figure table tr td:first-child {
    border-left: none;
}

figure table tr th:last-child,
figure table tr td:last-child {
    border-right: none;
}

figure table tr:first-child th,
figure table tr:first-child td {
    border-top: none;
}

figure table tr:last-child th,
figure table tr:last-child td {
    border-bottom: none;
}

.countdown {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    margin-top: 20px;
}

#stat {
    scroll-margin-top: 80px;
}

.section {
    padding: 40px 20px;
    margin: 20px 0;
    margin-bottom: 40px;
    padding-bottom: 40px;
}

.section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1em;
}

.section p {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    text-align: justify;
}

.section summary {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5em;
    text-align: left;
    justify-content: left;
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .bigtable {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5em;
        font-size: 0.7em;
    }
}


/* HIRES */
#hires {
    display: flex;
    min-height: 100vh;
    margin: 0;
    padding: 2rem;
    width: 100%;
}

.hires-grid {
    padding-top: 5em;
    display: grid;
    width: auto;
    max-width: 100%;
    align-content: center;
    gap: 10px;
}

.hires-grid img {
    max-width: 75%;
    max-height: 300px;
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

article {
    padding: 0.5rem;
    background-color: white;
    border-radius: 10px;
    max-height: 800px;
    height: auto;
}

article p {
    margin: 20px;
}

article table {
    margin: 20px;
}

.name {
    text-align: center;
}

@media (max-width: 768px) {
    .hires-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .hires-grid article {
        flex: none;
        width: 100%;
        height: auto;
    }
}

article h3 {
    text-align: justify;
    margin-bottom: 1.5rem;
}

.h3text {
    font-weight: bold;
    margin-top: 1rem;
}

article {
    color: black;
}

caption {
    caption-side: bottom;
    text-align: left;
}

.content-box p {
    padding-top: 0.5rem;
    padding-bottom: 0;
}

.table-caption-below {
    text-align: justify;
    margin-top: 0.5em;
    margin-bottom: 1em;
    font-size: 1.5rem;
    font-family: 'Oswald', sans-serif;
    padding: 2rem;
}

/* FOOTER */
footer {
    width: 100%;
    background-color: #232323;
    padding: 20px 0;
    text-align: center;
    color: #ffffff;
    outline: #1b1833;
    font-size: 1.5rem;
}

footer p {
    text-align: center;
    margin: 0 auto;
}

@media (max-width: 768px) {
    footer {
        font-size: 1.2rem;
    }
}


@media (max-width: 768px) {
    #jozsefattila {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        width: 100% !important;
        min-height: auto !important;
    }

    #jozsefattila .left,
    #jozsefattila .right {
        width: 100% !important;
        box-sizing: border-box;
        margin: 0;
    }

    #jozsefattila .left {
        order: 1;
    }

    #jozsefattila .right {
        order: 2;
        display: block !important;
        float: none !important;
        margin-top: 20px !important;
        overflow: visible !important;
    }
}