@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url("colors.css");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", "Kalam", sans-serif;
}
body {
    background-image: var(--bg-img);
    background-size: cover;
    background-position: bottom;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
}
h1 {
    padding-left: 10px;
    font-size: 2.5em;
}
p {
    font-size: 1.2em;
    margin-bottom: 20px;
}
ul.p-lista li {
    font-size: 1.2em;
}
#oldal {
    margin-top: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--bg-col);
    color:var(--text-col);
    width: calc(700px + 20vw);
    display: flex;
    flex-direction: column;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.5);
}
#navbar {
    background-color: var(--text-col);
    background-image: linear-gradient(to top right, var(--accent-col1), var(--accent-col2));
    height: max-content;
    position: sticky;
    z-index: 100;
}
#navbar ul {
    display: flex;
}
#navbar ul li {
    width: max-content;
    height: inherit;
    background-color: transparent;
    display: flex;
    align-items: end;
}
a.pick, li.jatekikon {
    width: 100%;
    height: 60%;
    padding: 10px 20px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    text-decoration: none;
    color: var(--bg-col);
}
a.active {
    background-color: var(--bg-col);
    color: var(--text-col);
}
.margin-left-auto {
    margin-left: auto;
}
img.jatekikon {
    height: 50px;
}
label.dropdownicon {
    color: var(--bg-col);
    font-size: 2em;
    text-align: end;
    display: none;
    user-select: none;
}
.hide {
    display: none;
}
.darkmode-label, .styles-label {
    user-select: none;
    position: relative;
    z-index: 2;
    background-color: var(--bg-col);
    padding: 5px;
    border-radius: 100%;
}
.styles-label {
    margin: 10px;
}
.darkmode-label {
    margin: 10px 20px 10px 0px;
}
.main-content {
    padding: 5px;
}
footer {
    display: flex;
    justify-content: center;
}
.e:after {
    content: "/100";
}
td, th, details, caption {
    text-align: left;
    font-size: 1.1em;
}
caption {
    margin-bottom: 10px;
}
th {
    padding-bottom: 10px;
}
.th1 {
    width: 60%;
}
.th2, .th3 {
    width: 20%;
}
table {
    padding:5px;
    border-collapse: separate;
    border-radius: 5px;
    width: 100%;
    table-layout: fixed;
    background-image: linear-gradient(to top right, var(--table-col1), var(--table-col2));
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.500);
}
.table-holder {
    overflow-x: auto;
    padding: 10px;
    border-radius: 5px;
}
div.ikonsor {
    display: flex;
    align-items: end;
    width: max-content;
}
div.ikonsor label {
    margin-left: auto;
}
h2 {
    font-size: 1.5em !important;
    margin: 20px 0px;
    padding-left: 10px;
    position: relative;
}
h2::before {
    position: absolute;
    content: "";
    width: 7px;
    height: 100%;
    transform: translate(-10px,-2px);
    background-image: linear-gradient(to top, var(--accent-col1), var(--accent-col2));
}
fieldset {
    height: 100%;
    padding: 10px;
    padding-left: 20px;
    border-radius: 5px;
    border: none;
    background-image: linear-gradient(to top right, var(--table-col1), var(--table-col2));
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
    flex-shrink: 1;
}
fieldset legend {
    transform: translate(-10px, 35%);
    pointer-events: none;
}
.column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.row.se {
    padding: 10px;
}
.se {
    justify-content: space-evenly;
    gap: 20px;
}
.row {
    display: flex;
    align-items: start;
    flex-direction: row;
    gap: 10px;
}
.row input {
    margin-left: 0;
    max-width: max-content;
}
.se * {
    width: 100%;
}
.navbar-blur {
    pointer-events: none;
    display: none;
    position: absolute;
    background-color: transparent;
    width: 200vw;
    height: 200vh;
    backdrop-filter: blur(8px);
}
fieldset p {
    margin-top: 10px;
    margin-bottom: 5px;
}
.button {
    margin-top: 5px;
    font-weight: 700;
    padding: 10px;
    border: none;
    border-radius: 1000px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
}
.button[type="submit"] {
    background-color: greenyellow;
    color: black;
}
.button[type="reset"] {
    background-color: rgb(234, 50, 50);
    color: white;
}
.hovergrow:hover {
    transform: scale(1.05);
    transition: 200ms ease;
}
.minusmargin {
    margin-left: -10px;
}
.fieldpadding {
    padding-top: 10px;
    padding-bottom: 16px;
}
.minusbottom {
    margin-bottom: -40px;
}
input[type="radio"], input[type="checkbox"] {
    margin-right: -5px;
    align-self: center;
    appearance: none;
    padding:6px;
    background-color: white;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    border-radius: 1000px;
}
input[type="checkbox"] {
    border-radius: 3px;
}
input[type="radio"]:checked, input[type="checkbox"]:checked {
    background-color: var(--accent-col1);
    box-shadow: 0px 0px 20px 1px var(--accent-col1);
}
input[type="radio"]:checked + label, input[type="checkbox"]:checked + label {
    color: var(--accent-col1);
    font-weight: 700;
}
.weight700 {
    font-weight: 700;
}
textarea, input[type="text"] {
    margin-top: 5px;
    padding: 0px 5px;
    resize: none;
    color: black;
    border: none;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
    background-color: white;
}
textarea:focus, input[type="text"]:focus {
    outline: none;
    box-shadow: 0px 0px 2px 2px var(--accent-col1);
}
h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.3em;
}
video {
    width: max(300px, 30vw);
    border-radius: 5px;
}
.card {
    padding: 10px;
    background-image: linear-gradient(to top right, var(--table-col1), var(--table-col2));
    border-radius: 5px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    width: 100%;
}
.card img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
}
.galeria {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}
.card h3 {
    margin-top: 5px;
    font-size: 1.4em;
    color: transparent;
    background-image: linear-gradient(to top right, var(--accent-col1), var(--accent-col2));
    background-size: 200%;
    background-clip: text;
}
h5 {
    color: var(--text-col);
}
.card-text {
    flex-shrink: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.round5 {
    border-radius: 5px;
}
.shadow {
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.5);
}
.screenshot {
    width: min(50vw, 500px);
    margin: 10px;
}
.card {
    text-align: center;
    margin: auto;
}
a.külsőlink {
    color: var(--accent-col1);
}
a.külsőlink:visited {
    color: var(--link-visited);
}
.margin-top {
    margin-top: 20px;
}
.stilus-elem {
    display: none;
}
body.stilus .stilus-elem{
    display: inline !important;
    background-color: var(--bg-col);
    border: none;
    font-size: 1em;
    margin: 0px 10px;
    margin-bottom: 10px;
    padding: 5px;
    border-radius: 5px;
}
body.nagy *{
    font-size: 110%;
}
.hide-visuals {
    position: absolute;
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
}
h1.fej {
    font-size: 2.5em;
    text-align: center;
    padding: 20px 0px;
    width: 100%;
}
figcaption {
    font-style: italic;
    padding-left: 10px;
}


@media (max-width: 864px) {
    div.ikonsor {
        width: 100%;
    }
    #navbar ul {
        flex-direction: column;
        transition: 0.3s;
        width: 100%;
    }
    .margin-left-auto {
        margin-left: 0;
    }
    #navbar ul li:not(.jatekikon) {
        width: 100%;
        display: none;
    }
    label.dropdownicon {
        display: block;
    }
    li.jatekikon {
        width: 100% !important;
    }
    table {
        width: max-content;
    }
    .th1 {
        width: 60vw;
    }
    .th2, .th3 {
        width: 20vw;
    }
    body.navbar-open nav li{
        display: inline !important;
    }
    body.navbar-open nav ul {
        padding-bottom: 20px;
    }
    .hallodlegyenalatta20margin {
        margin-bottom: 20px;
    }
    .column1 {
        flex-direction: column;
    }
    body.navbar-open .navbar-blur {
        pointer-events: all;
        position: absolute;
        display: block;
        z-index: 10;
    }
    body.navbar-open {
        overflow: hidden;
    }
    .se {
        gap: 40px;
    }
    fieldset {
        margin-top: -20px;
    }
    video {
        width: 100%;
    }
    .card h3 {
        font-size: 2em;
    }
    .screenshot {
        width: 90vw;
    }
    .darkmode-label, .styles-label {
        background-color: transparent;
        display: block;
        color: var(--bg-col);
        font-weight: 700;
        border-radius: 0;
        width: 100%;
        margin: 0px;
        padding-left: 15px;
    }
    .darkmode-label {
        margin-bottom: -30px;
    }
    #high-contrast-toggle {
        margin-top: 10px;
    }
    .stilus-elem {
        margin-left: 15px !important;
    }
    .styles-label::after {
        content: " Oldalstílus váltás";
    }
    .darkmode-label::after {
        content: " Sötét téma";
        color: var(--bg-col);
    }
}
@media (max-width: 500px) {
    .column2 {
        flex-direction: column;
    }
    .galeria * {
        margin:auto;
    }
    .card h3 {
        margin-right: auto;
        font-size: 2.5em;
    }
}