@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&display=swap');


/* META */
#altToggle {
  background-color: #222;
  color: #fff;
  font-size: 1.5em;
  padding: 10px 20px;
  border: 2px solid #fff;
  margin: 10px;
  cursor: pointer;
}

fieldset {
    border: 1px solid #232323 !important;
    border-radius: 10px;
    padding: 1rem !important;
    margin-bottom: 20px !important;
}

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;
    }

    textarea {
        max-width: 100%;
    }
}

@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;
    }
}

#jozsefattila {
    overflow-y: auto;
    padding-right: 1rem;
    border: 1px solid #ccc;
    background-color: white;
}

/* HEADER */
header {
    width: 100%;
    background-color: #232323;
    padding: 20px 0;
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topnav {
    height: 60px;
    overflow: hidden;
}

.topnav {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 10px 20px;
    background-color: #232323;
    position: sticky;
    top: 1em;
    z-index: 1000;
}

.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;
}

.topnav {
    height: 56px;
    overflow: hidden;
}

@media (max-width: 768px) {
    #mainnav {
        padding: 5px 10px;
    }

    #mainnav a {
        font-size: 1rem;
        margin: 0 10px;
    }
}

body {
    font-family: 'Tahoma', sans-serif;
    /*fallback font*/
}

h1 {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-size: 4rem;
    margin: 30px 0;
}

.countdown {
    font-family: 'Oswald', sans-serif;
    font-size: 3.5rem;
    text-align: center;
    margin-top: 20px;
}

.enlarged {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}

.section {
    padding: 40px 20px;
    margin: 20px 0;
}

.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: justify;
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .bigtable {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1em;
        font-size: 0.9em;
    }
}


/* URLAP */
#urlap {
    display: flex;
    min-height: 100vh;
    color: white;
    background-color: black;
    margin: 0;
    padding: 2rem;
    width: 100%;
    margin: 10px;
}

.name {
    text-align: center;
}

@media (max-width: 768px) {}


article h3 {
    text-align: justify;
    margin-bottom: 1.5rem;
}

article {
    color: black;
}

.content-box p {
    padding-top: 0.5rem;
    padding-bottom: 0;
}


/* 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;
    }
}
