* {
    padding: 0;
    margin: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 12.5px;
    font-family: Arial, Helvetica, sans-serif;
}

p {
    margin: 1em auto;
    font-size: 2em;
    font-weight: 600;
}

p:last-of-type {
    margin-bottom: 0;
}

h1 {
    font-size: 3.33em;
}

body {
    background: #000;
    color: #fff;
}

.container {
    margin: 4em auto;
}

.color-pink {
    color: #ff008e;
    font-size: 1.5em;
}

.color-purple {
    color: #7f16fb;
    font-size: 1.5em;
}

.relative {
    position: relative;
}

.logo {
    position: absolute;
    top: 3em;
    left: 10%;
    height: 2.4em;
}

img {
    max-width: 100%;
    display: block;
    margin: auto;
}

.ghost {
    max-height: 80vh;
}

.ghostbusters {
    height: 17vh;
}

.exclamation {
    height: 100vh;
}

.who-you {
    max-height: 36vh;
}

.img-middle {
   position: relative;
   height: 52em;
   height: 100vh;
}

.img-middle img {
    display: block;
    margin: auto;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    padding: 0;
}

video {
    max-width: 70%;
    outline: none;
    cursor: pointer;
}

.marigin-bottom {
    margin: 0 auto;
}


.ghostbusters {
    -webkit-transform: translate(0, -2em);
    transform: translate(0, -2em);
}

label {
    display: none;
    padding: 0;
    margin: 0;
    font-size: 1.5em;
}

label[for="id_pocet_osob_0"],
label[for="id_pocet_osob_1"] {
    display: inline;
}

input,
div.mojeid-button{
    font-size: 1.5em;
    padding: 0.5em;
    background: #000;
    border: 0.33em solid #ff008e;
    margin: 0.5em auto;
    color: #fff;
    position: relative;
}

#id_pocet_osob_0:before,
#id_pocet_osob_1:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 22px;
    height: 22px;
    border-radius: 11px;
    border: 1px solid #ff008e;
    background-color: transparent;
    background: #fff;
    position: absolute;
    top: -5px;
    left: -5px;
}

#id_pocet_osob_0:checked:before,
#id_pocet_osob_1:checked:before {
    background: #ff008e;
}

input#id_pocet_osob_0,
input#id_pocet_osob_1 {
    border: 1px solid #000;
    background: #000;
    transform: translate(-10px, 0px);
}

input:focus {
    outline: 0;
}

::-webkit-input-placeholder {
    color: #fff;
}

:-ms-input-placeholder {
    color: #fff;
}

::-ms-input-placeholder {
    color: #fff;
}

::placeholder {
    color: #fff;
}

input#id_jmeno,
input#id_prijmeni,
input#id_e_mail,
input#id_jmeno_organizace {
    width: 100%;
}

div.mojeid-button,
.dynamic-form {
    width: 100%;
    margin: auto;
}

div.mojeid-button {
    cursor: pointer;
}

fieldset > div:first-of-type,
fieldset > div:nth-of-type(4) {
    float: left;
    width: 48%;
}

fieldset > div:nth-of-type(2) {
    float: right;
    width: 48%;
}

fieldset > div:nth-of-type(3)  {
    width: 100%
}

fieldset > div:nth-of-type(5) {
    float: right;
    width: 48%;
    height: 70px;
    margin-top: 0.7em;
    text-align: center;
}

fieldset > div:nth-of-type(5) ul li {
    list-style-type: none;
    display: inline;
}

fieldset > div:nth-of-type(5) ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
}

fieldset > div.submit-block:first-of-type {
    float: none;
    width: 100%;
}

fieldset > div.submit-block:first-of-type > input {
    width: 100%;
    background: #ff008e;
    cursor: pointer;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

fieldset > div.submit-block:first-of-type > input:hover {
    background: #DB007C;
    border-color: #DB007C;
}

ul.messagelist {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0;
    color: #ffffff;
    background-color: #ff008e;
    border-color: #ff008e;
    list-style-type: none;
    text-align: center;
}

div#signin-form.invisible {
    visibility: visible!important;
    margin: 0.5em auto;
}

a {
    color: #ff008e;
    text-decoration: underline;
}

a:hover,
a:visited {
    color: #7f16fb;
}

.flex-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 1em;
}

.flex-box .ghost {
    max-height: 3em;
    max-height: 10vh;
}

.flex-box .logo {
    position: relative;
    top: 0;
    left: 0;
}

.flex-box img {
    margin: 0;
}

.opacity {
    opacity: 0.1;
}

@media (max-width: 52em ) {
    .logo {
        position: relative;
        top: 0;
        left: 0;
    }

    .container {
        margin: 2em auto;
    }

    .img-middle {
        height: 40em;
        height: 100vh;
     }

     .ghostbusters {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    fieldset > div:first-of-type,
    fieldset > div:nth-of-type(2),
    fieldset > div:nth-of-type(4),
    fieldset > div:nth-of-type(5) {
        float: none;
        width: 100%;
    }

    fieldset > div.submit-block:first-of-type {
        margin-top: 2em;
    }

    video {
        max-width: 100%;
    }
}

