@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Jersey+20&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --bg-color: #0F0F0F;
    --font-color: #f5f5f5;
    --visited-color: #bbb;
    --white-color: #fff;
    --black-color: #000;
}

#skip_blocks {
    z-index: 999;
    position: absolute;
    left: -99999px;
    background-color: var(--black-color);
    color: var(--white-color);
}

#skip_blocks:focus {
    left: 0px;
}

body {
    background-color: var(--bg-color);
    color: var(--font-color);
    margin: 0px;
}

main {
    margin: 1vw;
}

h3 {
    font-weight: 400;
}

.no-format-p {
    margin: 0;
    padding: 0;
}

a:link {
    color: var(--white-color);
    text-decoration: none;
}

a:visited {
    color: inherit;
    text-decoration: none;
}

article a {
    text-decoration: underline !important;
}

article a:visited {
    color: var(--visited-color);
}

nav {
    /*background-color: red;*/
    display: flex;
    height: 6vh;
    background: linear-gradient(-90deg, rgb(79, 79, 79) 40%, white);
    align-items: center;
    padding-left: 4vw;
}

nav a {
    margin-right: 10vw;
    background-color: black;
    padding: 1vw;
    font-family: "Jersey 20", Helvetica, sans-serif;
    width: 16vw;
    height: 2vh;
    z-index: 101;
    position: static;
    display: block;
}


hr {
    margin: 10vh;
    visibility: hidden;
}

footer {
    font-size: 0.8rem;
    display: flex;
    float: right;
    text-align: right;
    margin-right: 1vw;
}

.title {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 30vh;
    font-size: 3rem;
    font-family: "Inter", Helvetica, sans-serif;
    color: var(--white-color);
    font-weight: 400;
    background-size: 90% 90%;
    background-repeat: no-repeat;
    background-position: center 45%;
}

#fooldal {
    background-image: url(sources/stars1.svg);
}

#osszehasonlitas {
    background-image: url(sources/stars2.svg);
}

#timunkatok {
    background-image: url(sources/stars3.svg);
}

article {
    margin: 1vw;
}

article h2 {
    font-family: "Inter", Helvetica, sans-serif;
    /*font-size: 9rem;*/
    font-size: 11vw;
    font-weight: 400;
    margin: 0;
}

.navbar_current {
    text-decoration: underline !important;
}

.logo {
    display: block;
    margin-left: auto;
    width: 10vw;
}

.leiras {
    color: var(--font-color);
    margin: 2vw;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.5;
}

.section2 {
    display: flex;
    font-family: "Inter", sans-serif;
    margin: 2vw;
    font-size: 1.3rem;
}

.download {
    font-size: 1.3rem;
    font-style: italic;
}

table {
    border: solid;
}

b {
    color: var(--font-color);
}

#hullamvonal {
    width: 36vw;
}

#blendercim {
    background-image: url(sources/hullamvonal.svg);
    background-repeat: no-repeat;
    background-size: 35vw;
    background-position: left bottom;
    padding-bottom: 1vw;
    margin-bottom: -1vw;
}

#touchdesignercim {
    background-image: url(sources/negyzetekharomszogek.svg);
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 11vw;
    padding-bottom: 14vw;
    background-position: 8vw bottom;
    margin-top: -11vw;
}

#aftereffectscim {
    background-image: url(sources/korok.svg);
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 5vw;
    margin-left: -5vw;
}

figure {
    margin-left: auto;
    display: block;
    width: 35vw;
}

.video {
    width: 35vw;
    height: 20vw;
    display: block;
    margin-left: auto;
}

.section2 div ul {
    line-height: 3.5vw;
}

table,
th,
td {
    border: 1px solid;
    border-collapse: collapse;
    padding: 1vw;
    margin-left: 5vw;
    margin-right: 5vw;
}

#hamburger {
    display: none;
    border: none;
    background-color: #000000;
    color: #ffffff;
    z-index: 101;
}

#hamburger_hatter {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 100;
    display: none;
    background-color: #000000;
}

.masikoldal {
    font-size: 5vw;
}

/* CHATGPT */

#program_selector {
    display: flex;
    flex-direction: row;
}

form {
    max-width: 70vw;
    margin-left: 3rem;
    border: 2px solid var(--white-color);
    padding: 1rem;
    display: grid;
    gap: 1.5rem;
    color: var(--white-color);
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 200;
}

fieldset {
    border: none;
    border-left: #555 solid 1px;
}

legend {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 200;
    font-size: 1.3em;
    color: var(--white-color);
}

input[type="file"] {}

input[type="text"],
input[type="email"],
textarea {
    padding: 0.6rem;
    background-color: transparent;
    color: white;
    border: 2px solid var(--white-color);
}

textarea {
    resize: none;
    min-height: 100px;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 200;
}

input[type="submit"] {
    width: fit-content;
    background-color: #ccc;
    color: black;
    padding: 0.8rem 2rem;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #fff;
}

#form-tajekoztato {
    font-size: 0.9rem;
}

#form_fejlec {
    display: flex;
    max-width: calc(70vw + 2rem);
    margin-left: 3rem;
    border-top: var(--white-color) solid 2px;
    border-left: var(--white-color) solid 2px;
    border-right: var(--white-color) solid 2px;
    font-size: 2rem;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 200;
}

#form_osszecsuk {
    background-color: transparent;
    border: none;
    color: white;
    border-right: var(--white-color) solid 2px;
    font-size: 2rem;
    font-family: "Open Sans", Helvetica, sans-serif;
    font-weight: 200;
    padding-left: 1vw;
    padding-right: 1vw;
    margin-right: 1vw;
}

#form_img {
    float: right;
    width: 25vw;
}

#benchmark_img {
    width: 15vw;
}

#benchmark_cimsor {
    display: flex;
    gap: 3vw;
    align-items: center;
    justify-content: center;
}

#hasznalat_cimsor {
    text-align: center;
}

#works_container {
    margin-left: 3rem;
    margin-right: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 60vw;
    border: var(--white-color) solid 1px;
}

.grid-cell {
    display:flex;
    align-items: center;
    justify-content: center;
    border: var(--white-color) solid 1px;
}

.one_work {
    width: 80%;
    height: 80%;
    background-color: #222;
    display: flex;
    flex-direction: column;
}

.one_work p {
    color: var(--white-color);
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "Open Sans", Helvetica, sans-serif;
}

.one_work img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.download-work {
    display: flex;
    justify-content: space-around;
    border: solid var(--white-color);
    padding: 1rem;
    color: var(--white-color);
    margin-top: auto;
    font-family: "Open Sans", Helvetica, sans-serif;
}

.download-work:hover {
    transition: 300ms;
    background-color: var(--white-color);
    color: var(--black-color);
}

.disabled {
    background-color: #555;
    border: none;
    color: #777;
}

.disabled:hover {
    background-color: #555;
    color: #777;
}

.show-on-print {
    display: none;
}

@media (min-width: 760px) {
    nav a {
        display: block !important;
    }

    #hamburger_hatter {
        display: none !important;
    }

    nav {
        flex-direction: row !important;
    }
}

@media (min-width: 760px) and (max-width: 985px) {
    #works_container {
        grid-auto-rows: 80vw;
    }
}

@media (max-width: 450px) {
    #osszehasonlitas,
    #fooldal,
    #timunkatok {
        background-image: none;
    }

    #works_container {
        margin-right: 1rem;
        margin-left: 1rem;
        grid-auto-rows: 80vh !important;
    }

    .one_work {
        width: 90%;
        height: 90%;
    }
}

@media (max-width: 760px) {
    .title {
        margin: 0px;
    }

    #blendercim,
    #touchdesignercim,
    #aftereffectscim {
        font-size: 14vw;
    }


    .section2 {
        /*font-size: 0.8rem;*/
        font-size: 1rem;
        flex-direction: column;
        flex-flow: column-reverse;
    }

    .video {
        display: flex;
        margin: auto;
        margin-top: 5vw;
        margin-bottom: 5vw;
        justify-content: space-around;
        width: 70vw;
        height: 40vw;
    }

    figure {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 70vw;
    }


    .section2 div ul {
        line-height: 8vw;
    }

    .download {
        font-size: 1rem;
    }

    .logo {
        width: 20vw;
        margin-right: 5vw;
    }

    .leiras {
        font-size: 1rem;
    }

    .download a {
        overflow-wrap: break-word;
    }

    nav a {
        display: none;
    }

    #hamburger {
        display: block;
        margin: 0 auto;
    }

    form {
        max-width: 100vw !important;
        width:100vw;
        margin:0 !important;
        box-sizing: border-box;
    }
    #program_selector {
        display: flex;
        flex-direction: column;
    }

    #form_fejlec {
        margin: 0 !important;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    #desc {
        width: 100%;;
    }
    
    #email,
    #name {
        width: 100%;;
    }

    #works_container {
        grid-template-columns: repeat(1, 1fr);
        grid-auto-rows: 130vw;
    }

}

@media (min-width: 450px) and (max-width: 760px) { 
    form {
        max-width: 100vw !important;
        width:100vw;
        margin:0 !important;
        box-sizing: border-box;
    }
    #program_selector {
        display: flex;
        flex-direction: column;
    }

    #form_fejlec {
        margin: 0 !important;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }
    #desc {
        width: auto;
    }
    
    #email,
    #name {
        width: auto;
    }
}