* {
    box-sizing: border-box;
}

@font-face {
    font-family: AlrightSansBlack;
    src: url(AlrightSansBlack.ttf);
}

html {
    padding: 0px;
    margin: 0px;
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.container>* {
    height: fit-content;
}

body {
    background-image: linear-gradient(#444444, #CCCCCC 40%);
    background-repeat: no-repeat;
    padding: 0px;
    margin: 0px;
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("img/headerhatter.png");
    background-repeat: no-repeat;
    background-position: center;
    background-color: #525252;
    background-size: cover;
    margin: 0px;
}

table#logo {
    text-align: center;
    color: white;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.8);
    border-collapse: collapse;
    margin-top: 8px;
    background-image: linear-gradient(to right,
            /* színátmenetes háttér */
            rgba(150, 0, 0, 0.5),
            rgba(0, 0, 0, 0.2) 40%,
            rgba(0, 0, 0, 0.35));
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

table#logo:hover {
    box-shadow: 3px 3px 20px rgba(255, 50, 50, 0.4);
}

table#kviztabla {
    border-collapse: collapse;
    background-color: rgb(59, 69, 88);
}

td{
    border: 1px solid #666666;
    padding: 8px;
}

td.szurke{
    background-color: rgba(55,55,55,0.6);
    text-align: center;
    border: 2px solid #180000;
}

td.aruhaz{
    border: 4px solid #180000;
    padding: 0px 12px 12px 12px;
}

td.bal{
    text-align: left;
    border: 0px;
    border-left: 2px solid #180000;
}

td.jobb{
    text-align: right;
    border: 0px;
    border-left: 2px solid #180000;
}

td.td_logo {
    padding: 2vw;
    border: 0px;
}

div#nightmode {
    margin: 5px;
}

img#nightmode2 {
    width: 15vw;
}

img#hollo {
    height: 15vw;
}

img#terkep2 {
    max-width: 100%;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

img.balrazart {
    width: 30vw;
    max-width: 250px;
    float: left;
    margin: 0px 12px 12px 0px;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

img.jobbrazart {
    width: 30vw;
    max-width: 250px;
    float: right;
    margin: 0px 0px 12px 12px;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

img.balrazart:hover,
img.jobbrazart:hover,
img#terkep2:hover {
    box-shadow: 3px 2px 6px rgba(150, 150, 100, 0.6);
    filter: brightness(1.2);
}

table#aruhaztabla{
    text-align: center;
    table-layout: fixed;
    width: 90vw;
    max-width: 900px;
    border-collapse: collapse;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.3);
}

table#megrendeles{
/*    white-space: nowrap;*/
    border: 2px solid #180000;
    text-align: center;
    width: 90vw;
    max-width: 900px;
    border-collapse: collapse;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.6);
    background-color: rgba(0, 0, 0, 0.3);
}

img.shopkep{
    width: 18vw;
    max-width: 250px;
    box-shadow: 3px 2px 6px rgba(0, 0, 0, 0.6);
    margin: 12px 0px 0px 0px;
    transition: 0.3s;
}

img.shopkep:hover{
    box-shadow: 3px 2px 6px rgba(150, 150, 100, 0.6);
    filter: brightness(1.2);
    transition: 0.3s;
}

hr {
    width: 95%;
}

hr#hr_logo {
    color: white;
    width: 5vw
}

nav {
    flex: 1 1 100%;
    padding-top: 8px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav li a {
    display: block;
    padding: 8px;
    margin: 12px;
    background-image: linear-gradient(#505050, #333333);
    border-radius: 0px 0px 10px 10px;
    text-align: center;
    text-decoration: none;
}

nav ul li a.active {
    background-image: linear-gradient(#646464, #bebebe);
}

nav li a.active:hover,
nav li a:hover {
    background-image: linear-gradient(#cc3a3a, #550c0c);
}

article {
    flex: 1 1 100%;
    background-color: #334255;
    padding: 8px;
    margin: 8px;
    text-align: justify;
    line-height: 1.5em;
    border-radius: 0px 0px 10px 10px;
    margin-top: 20px;
    box-shadow: 5px 5px 10px;
}

article#felsoarticle {
    background-color: #334255;
}

article#foelem {
    background-image: linear-gradient(#24365c, #6c7a99);
}

article#foelem2 {
    background-image: linear-gradient(#073b3a, #0b6e4f);
}

article#foelem3 {
    background-image: linear-gradient(#0f1314, #293438);
}

article#foelem4 {
    background-image: linear-gradient(#330909, #632020);
}

article#galleria {
    background-color: transparent;
    /*margin: 0px;*/
    padding: 0px;
    /*box-shadow: none;*/
}

article#shop1 {
    background-image: linear-gradient(rgba(50, 50, 50, 0.6), rgba(50, 50, 50, 0.4)), url(img/fahatter.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: brightness(0.9);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

article#shop2 {
    background-image: linear-gradient(rgba(50, 50, 50, 0.7), rgba(50, 50, 50, 0)), url(img/japan.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: brightness(0.9);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

article#shop1:hover,
article#shop2:hover {
    filter: brightness(1);
    transition: 0.3s;
}

aside {
    flex: 1 1 100%;
    padding: 8px;
    margin: 8px;
    text-align: center;
    border-radius: 0px 0px 10px 10px;
    box-shadow: 5px 5px 10px;
}

aside#vicc {
    background-color: #406565;
}

aside#terkep {
    background-color: #335542;
}

h1 {
    margin-top: 10px;
    color: white;
    text-align: center;
    font-family: AlrightSansBlack;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: white;
    font-weight: bold;
    font-family: Calibri;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

h3.koz{
    margin-top: 80px;
}

select {
    width: 150px;
}

a,
p {
    color: white;
    font-family: Calibri;
    font-size: 13pt;
}

p.arnyek{
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

a.reszponziv{
    font-size:calc(20% + 2vw);
}

a#japanido {
    background-color: #333333;
    font-weight: bold;
    font-size: 14pt;
}

p.kicsi, a.kicsi {
    font-size: 10pt;
}

.piros {
    color: red;
}

span.bold {
    font-weight: bold;
}

p.cim {
    margin: 0;
    font-size: 5vw;
    font-family: "AlrightSansBlack";
}

p.cim2 {
    margin: 0;
    font-size: 2.6vw;
    font-family: "AlrightSansBlack";
    word-spacing: 10px;
}

a:link,
a:visited,
a:hover,
a:active {
    text-decoration: none;
    color: white;
}

footer#foot {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #444444;
    height: 10vh;
    margin-top: 20px;
}

input#kviz,
input#torold {
    color: white;
    background-color: #0b6e4f;
    border-radius: 10px;
    padding: 5px;
    width: 80px;
    cursor: pointer;
    transition: 0.3s;
}

input#kviz:hover,
input#torold:hover {
    filter: brightness(1.2);
    transition: 0.3s;
}

input[type='button']{
    width: 80px;
    border-radius: 10px;
    padding: 5px;
}

input#termek1,input#termek2,input#termek3,input#termek4{
    width: 80px;
    border-radius: 10px;
    padding: 5px;
}

input[type='email'],input[type='text'],input[type='tel'],input[type='number']{
    width: 20vw;
}

textarea{
    width: 70vw;
    max-width: 800px;
    height: 100px;
    margin: 8px;
}

input#rendelesgomb{
    width: 120px;
    border-radius: 10px;
    padding: 5px;
}

input#kosartorlogomb{
    width: 120px;
    border-radius: 10px;
    padding: 5px;
}

iframe {
    border: 0px;
    width: 100%;
    max-width: 600px;
    height: 40vh;
    max-height: 370px;
}

@media screen and (min-width: 600px) {

    /* tablet nézet */
    header {
        margin: 8px;
    }

    nav {
        flex-basis: 33%;
        margin-left: 0px;
    }

    article {
        flex-basis: 63%;
        margin-left: 0px;
    }

    article#shop1,
    article#shop2 {
        margin-left: 8px;
        margin-right: 8px;
    }

    img#hollo {
        height: 100px;
    }

    p.cim {
        font-size: 30px;
    }

    p.cim2 {
        font-size: 16px;
    }

    table#logo {
        margin: 12px;
    }

    td.td_logo {
        padding: 10px;
    }

    img#nightmode2 {
        width: 100px;
    }

    hr#hr_logo {
        color: white;
        width: 30px;
    }

    aside#vicc {
        flex-basis: 41.5%;
    }

    aside#terkep {
        flex-basis: 41.5%;
    }

}


@media screen and (min-width: 768px) {

    /* számítógép nézet */
    header {
        flex-direction: row;
    }

    nav {
        flex-basis: 23%;
        margin-right: 0px;
    }

    article {
        flex-basis: 47%;
        margin-right: 0px;
    }

    div#nightmode {
        align-self: flex-start;
        margin-left: auto;
    }

    aside#vicc {
        flex-basis: 23%;
        margin-top: 20px;
    }

    aside#terkep {
        flex-basis: 21%;
        margin-top: 20px;
        max-width: 500px;
    }

    article#foelem,
    article#foelem2,
    article#foelem3,
    article#foelem4 {
        flex-basis: 72%;
        margin-right: 8px;
    }

    article#shop1,
    article#shop2 {
        flex-basis: 41.5%;
    }

    article#shop1 {
        margin-right: 0px;
    }
    table#aruhaztabla, table#megrendeles{
        width: 45vw;
    }
    textarea{
        width: 30vw;
        height: 100px;
    }
    input[type='email'],input[type='text'],input[type='tel'],input[type='number']{
        width: calc(18vw - 80px);
        max-width: 250px;
    }
    a.reszponziv{
        font-size:calc(30% + 0.7vw);
    }
}