@import "/static/font/stylesheet.css";

:root {
    --background: #688DA4;
    --background-image: url("/static/img/tlo.jpg");
    --font-family: jj2book;
    --text-color: white;
    --button-bg: #27435E;
    --navbar-bg: #1D4460;
}

:root .generic-green {
    --background: #043C23;
    --background-image: url("/static/img/tlo-wiosna.png");
    --font-family: jj2book;
    --text-color: white;
    --button-bg: #850128;
    --navbar-bg: #043C23;
}

body {
    height: 100%;
    color: var(--text-color);
    font-family: var(--font-family);
    font-weight: 300;
    overflow-x: hidden;
    background: var(--background) var(--background-image) fixed;
    background-size: contain !important;

}

a {
    color: var(--text-color);
    font-weight: bold;
}

a:hover {
    color: var(--text-color);
}

.logo {
    height: 3rem;
}

h1, h2 {
    font-family: jj2bold, sans-serif;
    font-size: 3rem;
    color: var(--text-color) !important;
    text-transform: uppercase;
}

h2 {
    font-size: 2rem;
    color: var(--text-color) !important;

}


#age-gate {
    text-transform: uppercase;
    text-shadow: 0 1px black;
}

#age-gate label {
    font-family: var(--font-family);
    transform: rotate(-90deg);
    transform-origin: top right;
    position: absolute;
    box-sizing: border-box;
    left: -8.5rem;
    width: 6.5rem;
}

#age-gate input {
    background: none;
    border: none;
    color: var(--text-color);
    height: 1.5em;
    border-bottom: 5px solid;
    font-size: 100px;
    padding: 0 !important;
}

#age-gate input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    margin-left: 5px;
}

#age-gate input:focus {
    outline: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
input[type=number] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    margin: 0;
}

form input {
    margin-bottom: 10px;
    background-color: var(--text-color);
    height: 32px;
}

form input[type=checkbox] {
    width: auto;
    box-shadow: none;
}

form #characters-left {
    position: absolute;
    bottom: 7px;
    right: 35px;
    color: rgba(0, 0, 0, 0.4);
}

form input, textarea {
    width: 100%;
    border: none;
    padding: 0.5em;
}

form textarea {
    /*margin-left: 5px;*/
    resize: none;
    /*position: absolute;*/
    top: 17px;
    left: 31px;
    /*width: 89%;*/
    height: 100%;
}

form input[type=submit], .button-big {
    background: var(--text-color);
    color: var(--background);
    border: solid var(--text-color) 3px;

    font-size: 1.3em;
    height: 100px;
    cursor: pointer;
    font-family: jj2bold, sans-serif;
    text-transform: uppercase;
}

form input[type=submit]:hover, .button-big:hover {
    background: var(--background);
    color: var(--text-color) !important;
    border: 0;
}

.button-big {
    height: 70px !important;
    width: 100%;
    vertical-align: middle;
    text-align: center;
    line-height: 70px;
    background: var(--text-color);
    color: var(--button-bg);
    font-size: 1.3em;
    cursor: pointer;
    font-family: jj2bold, sans-serif;
    text-transform: uppercase;
    border: 0;
}

.button-big:hover {
    background: var(--button-bg);
    color: var(--text-color) !important;
    border: 0;
}

.button-big:hover a {
    color: var(--text-color);
}

.button-big a {
    color: var(--button-bg);
}


form input[type=submit].light {
    background: #00296B;
}

form input[name=code] {
    letter-spacing: 1em;
    text-align: center;
    text-transform: uppercase;
}

.upload-file {
    display: inline-block;
    padding: 5px 18px;
    cursor: pointer;
    background-color: var(--text-color);
    font-size: 16px;
    font-weight: bold;
    color: black;
    width: 140px;
}

.nav-link, .nav-item {
    color: var(--text-color) !important;
    text-transform: uppercase;
}

.active {
    border-bottom: 2px solid;
}

.participate {
    background: #850128;
    width: 100%;
    height: 85px;
    text-align: center;
    vertical-align: middle;
    font-size: 28px;
    text-transform: uppercase;
    color: #FFF3C7;
    font-family: jj2bold;
}

a {
    font-family: var(--font-family);
}


.consent-extra {
    display: none;
}

input[type=checkbox] {
    transform: scale(2);
}

.form-error {
    color: red;
    font-size: 110%;
}

.flex-small {
    flex: 0 0 1%;
}

_::-webkit-full-page-media, _:future, :root .flex-small input[type='checkbox'] {
    position: relative;
    top: 21px;
}

.navbar {
    background: var(--navbar-bg);
}

.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgb(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.custom-toggler.navbar-toggler {
    border-color: rgb(255, 255, 255);
}

.date-entry {
    color: var(--text-color);
    background: #00296B;
    font-size: 2em;
    padding: 0 15px;
    margin: 0 5px;
    cursor: pointer;
}

.date-entry.selected {
    background: var(--text-color) !important;
    color: #00296B !important;
}

.poll ul > li {
    display: inline-block;
    /* You can also add some margins here to make it look prettier */
    zoom: 1;
    transform: scale(1.3);
    *display: inline;
    margin-right: 25px;
    /* this fix is needed for IE7- */
}

.poll input[type='radio'] {
    box-sizing: border-box;
    appearance: none;
    background: var(--text-color);
    outline: 2px solid #333;
    border: 3px solid var(--text-color);
    width: 16px;
    height: 16px;
    margin-bottom: -2px;
    margin-right: 5px;
}

.poll input[type='radio']:checked {
    background: #333;
}

.poll .answer {
    display: flex;
    justify-content: center;
}

.poll label {
    float: left;
    padding: 0 1em;
    text-align: center;
}

section.full-page {
    min-height: 100vh;
}


.background-start {
    background: url("/static/img/lata.png") no-repeat bottom;
    background-size: cover;
    height: 24vh;
    margin-bottom: 0 !important;
    position: relative;
    margin-top: 10vh;
}

.content {
    background: url("/static/img/latka_2.png") repeat-y;
    background-size: contain;
}

.round-button {
    display: table-cell;
    background: transparent;
    color: var(--text-color);
    border: solid var(--text-color) 3px;
    border-radius: 27px;

    font-size: 1.6em;
    height: 100px;
    width: 15em;
    cursor: pointer;
    font-family: jj2bold, sans-serif;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 90px;
    text-align: center;
}

.round-button:hover {
    background: #CE1F37;
    border: 0;
}

.round-button.dark:hover {
    background: #071F60;
    border: 0;
}

.drink-text {
    color: #071F60;
    font-size: 2em;
}

/*@media (min-width: 576px) {*/
/*    section.greeting {*/
/*        background-image: url('/static/img/bg.png');*/
/*        background-size: cover;*/
/*        background-position: top;*/
/*        background-repeat: no-repeat;*/
/*        background-attachment: fixed;*/
/*    }*/

/*    footer::after {*/
/*        content: url('/static/img/separator_bottom.png'); !* with class ModalCarrot ??*!*/
/*        position: relative; !*or absolute*!*/
/*        z-index: 100000; !*a number that's more than the modal box*!*/
/*        overflow: hidden;*/
/*    }*/

/*    section:nth-of-type(2)::after {*/
/*        background: url('/static/img/separator_top.png'); !* with class ModalCarrot ??*!*/
/*        position: relative; !*or absolute*!*/
/*        z-index: 100000; !*a number that's more than the modal box*!*/
/*        overflow: hidden;*/
/*        content: '';*/
/*        height: 159px;*/
/*    }*/

/*    section:nth-of-type(3n)::after, section.middle {*/
/*        background: url('/static/img/separator_middle.png'); !* with class ModalCarrot ??*!*/
/*        position: relative; !*or absolute*!*/
/*        z-index: 100000; !*a number that's more than the modal box*!*/
/*        overflow: hidden;*/
/*        content: '';*/
/*        height: 235px;*/
/*    }*/

/*    form input[type=submit] {*/
/*        font-size: 1.6em;*/
/*    }*/
/*}*/


.text-small {
    font-size: .75rem;
}

.form-group {
    border: 2px solid;
    margin: 8px 10px 0;
    padding: 5px 5px 2px;

}

.invalid-feedback {
    color: var(--text-color) !important;
}

.form-group > label {
    position: absolute;
    top: -1px;
    left: 20px;
    background: var(--background);
    margin-left: 15px;
}

.form-group > input {
    border: none;
    margin-top: 3px;
    margin-bottom: 6px;
    border-radius: 0 !important;

}

.video-fullscreen, .image-fullscreen {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: top;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
}

.arrow {
    animation: mover 1s infinite alternate ease-in-out;
    z-index: 11;
}

input[type=date] {
    display: block;
    padding: 0;
}

.container-fluid {
    position: relative;
}

.table {
    color: var(--text-color) !important;
}

@-webkit-keyframes mover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes mover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}
