@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Comfortaa:wght@300..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

@font-face {
    font-family: "F_black";
    src: url(../fonts/Formula1-Black.woff2);
}

@font-face {
    font-family: "F_wide";
    src: url(../fonts/Formula1-Wide.woff2);
}

@font-face {
    font-family: "F_bold";
    src: url(../fonts/Formula1-Bold.woff2);
}

@font-face {
    font-family: "F_klasik";
    src: url(../fonts/Formula1-Regular.woff2);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "F_klasik", Arial, Helvetica, sans-serif;
}

img {
    width: 100%;
    max-width: max-content;
}

header {
    position: fixed;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: stretch;
    width: 100%;
    padding: 0;
    margin: 0;
    z-index: 99999999999999;
}

section {
    padding: 10px 15%;
}

main {
    padding-top: 30%;
}

ul {
    list-style: none;
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li ul {
    display: none;
    opacity: 0;
    transform: scale(0);
    transition: 0.7s;
    padding: 0;
    margin: 0;
    -webkit-animation: fadeIn 0.5s;
    animation: fadeIn 0.5s;
}

nav ul li ul li {
    margin: 10px;
    padding: 10px;
}

nav a {
    text-decoration: none;
    margin: 20px;
    padding: 10px;
    color: white;
}

div#prv {
    display: none;
}

div#button1 a {
    margin: 10px;
    padding: 10px;
}

div#button2 {
    display: flex;
    flex-direction: row;
    margin: 20px;
    width: 14%;
}

div#button2 a {
    margin: 10px;
    padding: 10px;
    border: 2px solid rgb(1, 155, 220);
}

div#part1,
#part2 {
    border-bottom: 2px solid grey;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

div#obr1 {
    background-image: url(../img/1.webp);
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 10px;
    flex: 1;
}

div#obr2 {
    background-image: url(../img/2.webp);
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 10px;
    flex: 1;
}

div#obr3 {
    background-image: url(../img/3.webp);
    color: white;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 10px;
    flex: 1;
}

div#obr1 a:hover,
div#obr2 a:hover,
div#obr3 a:hover {
    color: rgb(1, 155, 220);
    background-color: rgb(255, 255, 255);
    border: 2px solid rgb(1, 155, 220);
    transition: 0.5s;
}

section.tlacitka {
    padding: 10px 15%;
    background-color: white;
    width: 100%;
}

section.tlacitka a {
    text-decoration: none;
    color: black;
    margin: 0px 5px;
}

section.modra {
    background-image: linear-gradient(to right, rgb(3, 56, 96), rgb(1, 155, 220));
    padding: 10px 15%;
    width: 100%;
}

section.vysledky {
    background-image: url(../img/Baku-AZE_R3I6068-NB.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    padding-top: 30px;
    padding-bottom: 20px;
}

article.okruh a h5,
a {
    color: white;
    text-decoration: none;
}

article.pruhy {
    background-image: url(../img/pruhy_opacity.png);
    flex: 1;
    padding: 20px;
    margin: 10px;
}

article.pruhy a {
    border: 2px solid white;
    padding: 10px;
    margin: 15px 0px;
}

footer {
    background-color: rgb(3, 56, 96);
    color: white;
}

article.fxe a {
    margin: 20px;
    padding: 10px;
}

article.flexa {
    border-bottom: 2px solid rgb(1, 155, 220);
    padding-right: 2.5%;
}

article.klasa {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    margin: 10px;
    border-top: 2px solid rgb(1, 155, 220);
}

article.myska {
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: rgb(1, 155, 220);
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(3, 56, 96);
}

.sipka {
    --color: #a5a5b0;
    --size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    right: 3%;
    bottom: 3%;
    cursor: pointer;
    font-size: var(--size);
    user-select: none;
    fill: var(--color);
    transform: rotate(180deg);
}

.sipka input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

img#nic {
    display: block;
}

div#menu {
    display: none;
    display: flex;
    flex-direction: column;
}

::selection {
    background-color: rgb(1, 155, 220);
    color: #FFC107;
}

::-moz-selection {
    background-color: rgb(1, 155, 220);
    color: #FFC107;
}

div#button2 a {
    min-width: 20px;
    text-align: center;
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media(min-width:1030px) {
    main {
        padding-top: 7%;
    }

    div#rtz {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    div#prv {
        display: block;
        display: flex;
        flex-direction: row;
    }

    div#center {
        margin-left: 5px;
        display: flex;
        flex-direction: row;
        align-items: center;
    }

    div#hlavni {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: left;
    }

    div#jedna {
        display: flex;
    }

    div#dva {
        display: flex;
        flex-direction: row;
    }

    div.cara {
        border-left: 5px solid black;
    }

    div#art1 {
        flex: 2;
        margin: 10px;
        padding: 10px;
        background-image: url(../img/pruhy.webp);
        background-repeat: repeat;
        background-position: top left;
    }

    div#art2 {
        flex: 1;
        margin: 10px;
        padding: 10px;
    }

    nav {
        display: flex;
        flex-direction: row;
    }

    nav a:hover {
        border-bottom: 2px solid white;
        transition: 0.125s;
    }

    ul {
        list-style: none;
        display: flex;
        flex-direction: row;
    }

    nav ul li ul {
        opacity: 0;
        transition: 0.7s;
        -webkit-animation: fadeIn 0.5s;
        animation: fadeIn 0.5s;
    }

    nav ul li:hover ul {
        display: block;
        position: absolute;
        background-color: rgb(1, 155, 220);
        border-radius: 5px;
        opacity: 1;
        transform: scale(1);
        transition: 0.7s;
        margin-top: 10px;
        margin-left: -15px;
        text-align: center;
        -webkit-animation: fadeIn 0.5s;
        animation: fadeIn 0.5s;
    }

    section.zpravy {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 14%;
    }

    section.bannery {
        display: flex;
        flex-direction: row;
        padding: 10px 14%;
    }

    article.okruh {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    article.klasa {
        flex-direction: row;
    }

    article.flexa {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        text-align: center;
    }

    article.fxe {
        text-align: center;
    }

    div#part1,
    #part2,
    #part3 {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    img#nic {
        display: none;
    }

    div#menu {
        display: none;
    }
}

@media(max-width:1030px) {
    nav {
        display: none;
    }

    article.telefon {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    section.tlacitka {
        display: none;
    }

    footer {
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    div#hlavni {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    div#part3 {
        display: none;
    }

    div#part2 {
        border-bottom: 0px;
    }

    div#button1 {
        display: flex;
        flex-direction: column;
    }

    div#button2 {
        position: relative;
        z-index: 0;
        left: 38.5%;
        right: 50%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    div#menu {
        display: flex;
        position: absolute;
        right: 0%;
        left: 0%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        text-align: center;
        flex-wrap: wrap;
    }

    div#menu a {
        padding: 15px;
        margin: 5px;
    }
}

@media(max-width:600px) {
    main {
        padding-top: 30%;
    }
}

@media(min-width:600px) and (max-width:750px) {
    main {
        padding-top: 20%;
    }
}

@media(min-width:750px) and (max-width:900px) {
    main {
        padding-top: 15%;
    }
}

@media(min-width:900px) and (max-width:1030px) {
    main {
        padding-top: 15%;
    }
}

@media(min-width:1030px) and (max-width:1100px) {
    main {
        padding-top: 10%;
    }
}