@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2'),
        url('../fonts/Montserrat-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'),
        url('../fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
        url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'PB';
    src: url('../fonts/PB-Bold.woff2') format('woff2'),
        url('../fonts/PB-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@media (min-width: 768px) {
    html {
        font-size: 28.66%;
    }
}

@media (min-width: 992px) {
    html {
        font-size: 38.22%;
    }
}

@media (min-width: 1200px) {
    html {
        font-size: 45.38%;
    }
}

@media (min-width: 1400px) {
    html {
        font-size: 52.55%;
    }
}

@media (min-width: 1600px) {
    html {
        font-size: 62.5%;
    }
}

html {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.container {
    width: 120rem;
    margin-left: auto;
    margin-right: auto;
}

.panel-container {
    display: flex;
    flex-direction: row;
    margin-top: 8rem;
    align-items: center;
}

.panel-50 {
    width: 50%;
    position: relative;
}

.panel-50 p {
    text-align: center;
    color: #000000;
    font-size: 2.4rem;
    font-weight: bold;
    margin-bottom: 2rem;
}

.pomTime {
    width: 43.5rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

nav {
    height: 9.2rem;
    background-color: #d70017;
    position: relative;
    z-index: 100;
}

.nav-container {
    height: 100%;
    position: relative;
}

.logo {
    width: 27.1rem;
    position: absolute;
    left: 7rem;
    top: 2rem;
    z-index: 1;
}

.menu {
    margin-left: 36rem;
    display: flex;
    justify-content: space-around;
    height: 100%;
    align-items: center;
}

.menu-item {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.menu-item.highlighted {
    color: #ffe400;
}

header {
    background-color: #ffe400;
    padding-bottom: 8rem;
}

.header-img {
    width: 131.9rem;
    position: relative;
    left: 5rem;
    top: -5rem;
}

h3 {
    font-size: 6.7rem;
    font-weight: bold;
    color: #d70017;
    text-align: center;
    margin-bottom: 0;
    line-height: 1;
    font-family: PB, sans-serif;
}

video {
    width: 63.3rem;
    border-style: solid;
    border-width: 0.5rem;
    border-radius: 4rem;
    border-color: #ffffff;
    cursor: pointer;
    margin-left: auto;
    display: block;
}

.buttons {
    text-align: center;
}

.button-registrace {
    width: 17.6rem;
}

.button-nahrat {
    width: 17.6rem;
}

h2 {
    font-size: 7.6rem;
    font-family: "PB";
    line-height: 0.789;
    text-align: center;
}

h2.shadow {
    text-shadow: 0rem 1rem 0rem rgba(34, 30, 31, 0.28);
}

h2.white {
    color: rgb(255, 255, 255);
}

h2.black {
    color: rgb(0, 0, 0);
}

section {
    padding-top: 6rem;
}

#jak-soutezit {
    background-color: #d70017;
    padding-bottom: 8.6rem;
}

.jak-soutezit-img {
    width: 138.4rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: -4rem;
}

#vyhra {
    background-color: #ffe400;
    padding-bottom: 6rem;
}

#vyhra h2 {
    margin-bottom: 5rem;
}

.vyhra-img {
    width: 154.9rem;
    position: relative;
    left: -17rem;
    margin-bottom: -0.3rem;
}

#produkty {
    background-color: #d70017;
    padding-bottom: 4.5rem;
}

#produkty h2 {
    margin-bottom: 3rem;
}

.produkty-img {
    width: 123.7rem;
}

#vyherci {
    background-color: #d70017;
    padding-bottom: 6rem;
}

#vyherci h2 {
    margin-bottom: 3rem;
}

#vyherci p {
    font-family: PB;
    font-size: 2.2rem;
    color: #ffe400;
    text-align: center;
    margin-bottom: 4.7rem;
}

.button-vyherci {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 23.3rem;
}

#faq {
    background-color: #a10011;
    padding-bottom: 1.4rem;
}

#faq h2 {
    margin-bottom: 4rem;
}

#faq p {
    font-size: 1.4rem;
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5rem;
}

#faq p a {
    color: #ffe400;
    font-size: 1.7rem;
}

.footer-links {
    width: 69rem;
    display: flex;
    justify-content: space-evenly;
    margin-left: auto;
    margin-right: auto;
}

.footer-links a {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffe400;
    margin-bottom: 5rem;
}

div.ilustr {
    font-weight: bold;
    font-size: 1.4rem;
    color: #ffffff;
    text-align: center;
}

div.ilustr a {
    color: #ffe400;
}

#registrace {
    background-color: #ffe400;
    padding-bottom: 6rem;
}

#registrace h2 {
    margin-bottom: 4rem;
}

#registrace h2.reg {
    margin-top: 7rem;
}

#registrace p {
    font-size: 1.4rem;
    color: #000000;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5rem;
}

#registrace .error-message p {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0;
    color: red;
    text-align: left;
}

#registrace a {
    color: #000000;
}

form {
    width: 100%;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 10px;
}

.form-group {
    flex-basis: calc(50% - 10px);
}

label {
    font-size: 1.6rem;
    font-weight: bold;
    color: #000000;
    display: block;
    margin-bottom: 0.5rem;
}

#file-label {
    margin-bottom: 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input.dp__input_reg
{
    width: 100%;
    padding: 1.2rem;
    border: 0.1rem solid #ccc;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-sizing: border-box;
    height: 5.5rem;
    font-size: 1.5rem;
}

input[type="checkbox"] {
    margin-right: 0.5rem;
    border: 0.1rem solid #ccc;
    border-radius: 1rem;
    box-sizing: border-box;
}

input[type="checkbox"]+label {
    display: inline;
}

input[type="checkbox"] {
    width: 2rem;
    height: 2rem;
    border-radius: 1rem;
}

.button-registrovat,
.button-prihlasit {
    width: 23.3rem;
    margin-top: 3rem;
}

.mobile {
    display: none;
}

.modal {
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.modal-window {
    width: 90rem;
    background-color: #ffe400;
    padding: 5rem;
}

.modal-text {
    font-weight: 400;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

.modal-button-wrapper {
    text-align: center;
    margin-top: 0;
}

#close-modal {
    border-width: 0px;
    border-radius: 0.2rem;
    background-color: rgb(219, 0, 12);
    width: 21.3rem;
    height: 4.2rem;
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 3rem;
    cursor: pointer;
}

.input-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    width: 62rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
}

.input-wrapper input {
    width: 17rem;
    background-color: rgba(0, 0, 0, 0);
    border-color: white;
    border-width: 0.2rem;
    color: white;
    text-align: center;
    font-size: 3rem;
    font-weight: bold;
}

.regError {
    margin-top: -1.5rem;
    color: #ff0000;
    font-size: 2rem;
}

.regErrorCheck {
    margin-top: 0;
    color: #ff0000;
    font-size: 2rem;
}

.regErrorFile {
    margin-top: 0;
    color: #ff0000;
    font-size: 2rem;
}

.hamburger-menu {
    display: none;
}

::placeholder {
    color: #232323;
    opacity: .7;
}

@media (max-width: 767px) {

    h2.shadow {
        text-shadow: 0rem 0.5rem 0rem rgba(34, 30, 31, 0.28);
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    .container {
        width: 100vw;
        padding-left: 3vw;
        padding-right: 3vw;
    }

    nav {
        height: 29vw;
    }

    .logo {
        width: 35vw;
        position: static;
    }

    .menu {
        display: none;
    }

    .menu.open {
        display: flex;
        position: absolute;
        height: 100vh;
        width: 100vw;
        top: 0;
        left: 0;
        background-color: #d70017;
        flex-direction: column;
        align-items: center;
        margin-left: unset;
        justify-content: center;
    }

    .nav-container {
        height: 100%;
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    header {
        padding-bottom: 8vw;
    }

    .header-img {
        width: 100%;
        left: unset;
        top: -4vw;
    }

    .panel-container {
        flex-direction: column;
        margin-top: 0;
    }

    .panel-50 {
        width: 100%;
        margin-bottom: 5vw;
    }

    video {
        width: 100%;
        height: unset;
    }

    .button-registrace,
    .button-nahrat {
        width: 40vw;
    }

    .pomTime {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    h2 {
        font-size: 16vw;
        line-height: 1;
    }

    p {
        font-size: 5vw !important;
    }

    label {
        font-size: 5vw;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input.dp__input_reg {
        height: 12vw;
        padding: 2vw;
        font-size: 5vw;
        margin-bottom: 3vw;
    }

    .button-registrovat,
    .button-prihlasit,
    .button-vyherci {
        width: 60vw;
    }

    .footer-links {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-links a {
        font-size: 5vw;
        margin-bottom: 3vw;
    }

    .jak-soutezit-img {
        width: 95%;
        margin-top: 31vw;
    }

    section, #jak-soutezit, #vyhra, #produkty, #vyherci, #faq, #registrace {
        padding-bottom: 15vw;
        padding-top: 15vw;
    }

    .vyhra-img {
        width: 95%;
        left: unset;
    }

    .produkty-img {
        width: 100%;
    }

    .input-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .regError {
        margin-top: -0.5rem;
        margin-bottom: 1rem;
    }

    .modal-text {
        margin-bottom: 1rem;
    }

    .hamburger-menu {
        cursor: pointer;
        display: inline-block;
        width: 4.5rem;
    }

    .bar {
        height: .3rem;
        background-color: #ffffff;
        margin: .5rem 0;
    }

    #faq p a {
        font-size: inherit;
    }
}
