﻿:root {
    --primary: #123575;
    --secondary: #e4e856;
    --third: #d2eeff;
    --fourth: #1a6bad;
}

.bg-primary-50 {
    background-color: rgba(18, 53, 117, 0.4);
}

.bg-third {
    background-color: var(--third);
}

h1, h2, h3 {
    text-align: center;
}

hr {
    height: 3px;
}

body {
    background: #74ebd5; /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #ACB6E5, #74ebd5); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #ACB6E5, #74ebd5); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

    font-family: 'Montserrat';
}

.form-control {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid var(--primary);
    color: #000;
    padding: 5px 7px;
    min-height: 38px;
}

    .form-control:focus {
        outline-color: var(--fourth);
    }

    select:invalid,
    .form-control::placeholder {
        color: rgba(100,100,100,0.5);
    }


.text-secondary.hall {
    background: var(--primary);
}

.text-primary.hall {
    background: var(--secondary);
}

.hall {
    font-weight: 700;
    display: block;
    padding: 10px 25px;
    margin: 10px auto;
    border-radius: 10px;
}

.btn.btn-danger {
    background-color: #c90a0a !important;
    border: 2px #c90a0a solid;
    border-radius: 4px;
    color: #FFF !important;
    line-height: 200%;
    padding: 10px 20px;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
}

    .btn.btn-danger:hover {
        background-color: #FFF !important;
        color: #c90a0a !important;
    }

    .btn.btn-primary {
        background-color: var(--primary) !important;
        border: 2px var(--primary) solid;
        border-radius: 4px;
        color: #FFF !important;
        line-height: 200%;
        padding: 10px 20px;
        width: 100%;
        text-transform: uppercase;
        font-weight: bold;
    }

    .btn.btn-primary:hover {
        background-color: #FFF !important;
        color: var(--primary) !important;
    }

.btn.btn-secondary {
    background-color: var(--secondary) !important;
    border: 2px solid var(--secondary);
    border-radius: 4px;
    color: #FFF !important;
    line-height: 200%;
    padding: 10px 20px;
    width: 100%;
    text-transform: uppercase;
    font-weight: bold;
}

    .btn.btn-secondary:hover {
        background-color: #FFF !important;
        color: var(--secondary) !important;
    }

.floating-label {
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    margin-left: 4px;
}

.nav-item {
    padding: 0 3px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.8) !important;
}

    .nav-item a.nav-link:not(.video-link) {
        color: rgba(255,255,255,0.8) !important;
    }

    .nav-item a.nav-link:not(.video-link):hover {
        color: #FFF !important;
    }

.bg-gray {
    background-color: #1b252f;
}

.border-orange {
    border: 3px solid #90724b;
}

.drop-shadow {
    filter: drop-shadow(10px 10px 5px rgba(100, 100, 100, 0.5)) !important;
}

.border-2 {
    border: 2px solid;
}

.w-60 {
    width: 60%;
}

@media (max-width: 767.98px) {
    section:before {
        height: 50px;
        content: "";
        display: block;
    }

    body {
        margin-bottom: 300px;
    }

    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 300px;
    }

    section#home {
        background: url(/images/knann/2023/main-bg.jpg) center top no-repeat fixed;
        min-height: calc(100vh - 60px);
        background-size: cover;
    }

    h1 {
        font-size: 3vh;
    }

    h3 {
        font-size: 2vh;
    }
}

@media (min-width: 768px) {
    section:not(:first-child):before {
        height: 54px;
        content: "";
        display: block;
    }

    body {
        margin-top: 54px;
        margin-bottom: 250px;
    }

    .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 200px;
    }

    section#home {
        background: url(/images/knann/2023/main-bg.jpg) center top no-repeat fixed;
        background-size: cover;
        min-height: calc(100vh - 54px);
    }
}

.nav-tabs .nav-link {
    color: #FFFFFF;
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-tabs .active.nav-link {
    color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

    .border-primary {
        border-color: var(--primary) !important;
    }

    .bg-secondary {
        background-color: var(--secondary) !important;
    }

    .bg-primary {
        background-color: var(--primary) !important;
    }

    .btn-secondary {
        background-color: var(--secondary) !important;
    }

    .btn-primary {
        background-color: var(--primary) !important;
    }

    .text-secondary {
        color: var(--secondary) !important;
    }

    .text-primary {
        color: var(--primary) !important;
    }

.countdown:has(div) {
    -webkit-animation: bounce-in-bck 1.1s both;
    animation: bounce-in-bck 1.1s both;
}

.countdown div {
    background-color: rgba(18, 53, 117, 0.4) !important;
    border-radius: 4px !important;
    color: #FFF !important;
}

.countdown-days::after,
.countdown-hours::after,
.countdown-minutes::after,
.countdown-seconds::after {
    color: #FFF !important;
}

.bg-orange {
    background-color: #90724b;
}

.text-orange {
    color: #90724b;
}

@-webkit-keyframes bounce-in-bck {
    0% {
        -webkit-transform: scale(7);
        transform: scale(7);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
        opacity: 0;
    }

    38% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
        opacity: 1;
    }

    55% {
        -webkit-transform: scale(1.5);
        transform: scale(1.5);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    72% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    81% {
        -webkit-transform: scale(1.24);
        transform: scale(1.24);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    89% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    95% {
        -webkit-transform: scale(1.04);
        transform: scale(1.04);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}