/*====ÁLTALÁNOS====*/
* {
    box-sizing: border-box;
}

html {
    padding: 0px;
    margin: 0px;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Valorant Font';
    src: url("fonts/Valorant Font.ttf");
}

@font-face {
    font-family: 'SecularOne';
    src: url("fonts/SecularOne-Regular.ttf");
}

@font-face {
    font-family: "Notosans";
    src: url("fonts/body/NotoSans-Regular.ttf");
}

body {
    padding: 0px;
    margin: 0px;
    background-color: #101922;
    color: #7ba9cb;
    font-size: 13pt;
    font-family: "Notosans";
}

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.container>* {
    height: fit-content;
    margin: 1%;
}

#background {
    background-image: url("images/background.jpg");
    height: 650px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#background2 {
    background-image: url("images/background.jpg");
    height: 150px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.important {
    margin-bottom: 0;
    margin-top: 15px;
    padding-bottom: 0;
}

.copyright {
    font-size: 15pt;
    margin-top: 0;
    margin-left: 2%;
    margin-right: 2%;
}

/*====TAGEK====*/
header {
    padding: 2px;
    margin: 0px;
    text-align: center;
    font-size: 1.5em;
    color: #f7434f;
    text-shadow: 0 0 3px black, 0 0 5px black;
}

article {
    flex: 1 1 100%;
    padding: 0px 8px;
    text-align: justify;
    border-radius: 15px;
}

article.skins {
    flex: 1 1 100%;
}

figure {
    margin: 1px;
    padding: 0;
    float: right;
}

footer {
    margin: 0;
    height: 1.2em;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #020304;
    text-shadow: 0 0 2px #7ba9cb, 0 0 3px #7ba9cb;
    text-align: center;
    flex: 1 1 100%;
}

h1 {
    font-family: "Valorant Font";
    font-size: 60px;
    text-align: center;
    padding-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 0 2px black, 0 0 3px black;
}

/*====MENU====*/
nav {
    padding: 0px;
    flex: 1 1 100%;
    font-variant: small-caps;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
}

nav ul {
    list-style-type: none;
    margin-top: 590px;
    padding: 0;
}

nav li a {
    display: block;
    padding: 8px;
    margin-bottom: 12px;
    color: #f7434f;
    background-color: #020304;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
}

nav ul li a.active {
    background-color: #f7434f;
    color: #020304;
}

nav li a:hover {
    background-color: #893036;
    color: #020304;
}

/*====INDEX====*/
video {
    width: 80%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 30px;
}

.middle {
    text-align: center;
    font-size: 1.2em;
}

.together {
    display: flex;
    position: relative;
    justify-content: center;
}

.together2 {
    position: relative;
    width: 75%;
    max-width: 300px;
    display: flex;
    justify-content: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    width: 65%;
    transition: .5s ease;
    opacity: 0;
    color: #7ba9cb;
    text-shadow: 0 0 4px black, 0 0 5px black;
    font-family: "SecularOne";
    font-size: 100%;
    padding: 15px;
    text-align: center;
}

.map {
    display: block;
    width: 95%;
    height: auto;
}

.special {
    width: 95%
}

.together:hover .overlay,
.together2:hover .overlay {
    opacity: 1;
}

.align {
    display: flex;
    justify-content: space-around;
    flex-shrink: 0;
}

.align2 {
    display: flex;
    width: 25%;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.align3 {
    display: flex;
    width: 50%;
    height: auto;
    justify-content: center;
}

.big {
    width: auto;
    height: auto;
}

/*====WEAPONS====*/
.galleria-container {
    margin: auto;
    max-width: 100%;
    height: auto;
    display: flex;
}

div.plus {
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

/*====AGENTS====*/
.agent_types {
    font-size: 20px;
    flex: 1 1 100%;
    color: #020304;
}

.agent_types ul {
    list-style-type: none;
    margin-bottom: 10px;
    margin-top: 10px;
    padding: 0px 0px 0px 10px;
}

.agent_types li a {
    display: block;
    padding: 18px;
    color: #f7434f;
    background-color: #020304;
    border-radius: 1px;
    text-align: center;
    text-decoration: none;
}

.agent_types li a:hover {
    background-color: black;
}

.agent_pic {
    width: 100%;
    float: right;
    vertical-align: middle;
    top: 50%;
    left: 50%;
    margin-top: 100px;
    margin-left: 100px;
}

.type_pic {
    width: 15px;
}

.td1 {
    width: 15%;
    font-variant: small-caps;
    font-weight: 800;
    text-align: center;
    font-size: 150%;
    border-right: 1px solid #f7434f;
    padding-right: 10px;
    padding-left: 3px;
}

.td2 {
    width: 85%;
    padding-right: 10px;
    padding-left: 10px;
}

/*====MAPS====*/
img.mini {
    width: 35%;
}

img.mini:hover {
    transform: scale(1.3);
}

figure.bal {
    float: left;
}

figure.jobb {
    float: right;
}

/*====CONTACT====*/
button, .submit, .back {
    background-color: #020304;
    border-radius: 18px;
    border: 1px solid #7ba9cb;
    display: inline-block;
    cursor: pointer;
    color: #7ba9cb;
    font-size: 17px;
    padding: 11px 32px;
    text-decoration: none;
}

.submit, .back {
    margin-top: 15px;
    margin-bottom: 0;
}

.flex-parent {
    display: flex;
}

.center {
    justify-content: center;
    padding-top: 5px;
}

.margin-right {
    margin-right: 20px;
}

td.question {
    text-align: right;
    padding-right: 10%;
    width: 45%;
}

td.question2 {
    text-align: right;
    padding-right: 10%;
    width: 55%;
}

td.radio, td.checkbox {
    width: 20%;
}

td.radio2, td.checkbox2 {
    width: 35%;
}

.submit:hover, .back:hover, button:hover {
    background-color: #7ba9cb;
    color: #020304;
    border: 1px solid #7ba9cb;
}

.second, .third, .fourth, .fifth, .sixth, .seventh, .eighth, .ninth, .btn2, .btn3, .btn4, .btn5, .btn6, .btn7, .btn8, .btn9, .btn10, .btn11, .btn12, .btn13, .btn14, .btn15, .btn16, .back, .submit {
    display: none;
}

.third, .fourth, .sixth, .seventh, .eighth, .ninth {
    text-align: center;
}

label.error {
    color: #f7434f;
}

/*====RESZPONZIVITÁS====*/
@media all and (min-width: 300px) {
    /*telefon*/
    nav {
        flex-basis: 100%;
    }

    article {
        flex-basis: 100%;
    }

    table.agents {
        flex-basis: 100%;
    }

    figure {
        flex-basis: 100%;
    }

    .important {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 599px) {
    header h1 {
        font-size: 15vw;
    }

    .agent_pic {
        margin-top: 5px;
    }
    video {
        width: 98%;
    }
}

@media all and (min-width: 600px) {
    /*tablet*/
    nav {
        flex-basis: 100%;
    }

    article {
        flex-basis: 73%;
    }

    table.agents {
        flex-basis: 100%;
    }

    figure {
        flex-basis: 100%;
    }

    .important {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 767px) {
    .title {
        flex-basis: 100%;
        font-size: 10vw;
    }

    nav ul {
        margin-top: 0;
        margin-bottom: 0;
    }

    .elso {
        margin-top: 350px;
    }

    td.question {
        width: 20%;
    }

    td.radio,
    td.checkbox {
        width: 40%;
    }

    td.radio2,
    td.checkbox2 {
        width: 40%;
    }

    .align {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        width: 90%;
        justify-content: center;
    }

    .together {
        margin-bottom: 15px;
    }

    .row {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .together2 {
        margin-bottom: 15px;
    }

    .align2 {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        width: 100%;
    }

    .align3 {
        display: flex;
        align-items: center;
        width: 100%;

    }

    .big {
        display: flex;
        max-width: 80%;
        height: auto;
        margin-bottom: 15px;
    }
}

@media all and (min-width: 768px) {
    /*számítógép*/
    nav {
        flex-basis: 16.66%;
    }

    article {
        flex-basis: 48%;
    }

    table.agents {
        flex-basis: 47%;
    }

    figure {
        flex-basis: 47%;
    }

    .important {
        flex-basis: 100%;
    }

    .title {
        flex-basis: 100%;
        font-size: 5vw;
    }

    .galleria-container {
        max-width: 47%;

    }
}