@font-face {
    font-family: 'Decimal';
    font-weight: 400;
    src: url('font/Decimal-Medium-Pro_Web.woff2') format('woff2'), url('font/Decimal-Medium-Pro_Web.woff') format('woff');
}

@font-face {
    font-family: 'Decimal';
    font-weight: 600;
    src: url('font/Decimal-Semibold-Pro_Web.woff2') format('woff2'), url('font/Decimal-Semibold-Pro_Web.woff') format('woff');
}

body {
    margin: 0;
    font-family: Decimal, Arial, "Helvetica Neue", Helvetica, sans-serif;
    background-image: url(../img/bg.jpg);
}


/* Content area container */

section {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    background-image: url(../img/logo.png);
    background-repeat: no-repeat;
    background-size: auto 60px;
    background-attachment: fixed;
    background-position: bottom right;
}


/* Header with current time and stopwatch */

header {
    padding: 0;
    /* no flex rules, it will grow */
}


/* vmix call container for iframe */

#vmix-call-container {
    /*flex: 1;*/
    overflow: auto;
    display: flex;
}


/* actual vmix call content */

#vmix-call-iframe {
    flex: 1;
    margin: 20px 48px;
    /* 16:9 ratio, but compensate for border width not having 16:9 ratio (should be 27px 48px) */
    border-width: 16px 16px;
    border-color: #f9582c9a;
    border-style: solid;
}


/* footer with slide buttons */

footer {
    padding: 0;
}

#top-bar-inner {
    padding-top: 2em;
}

#bottom-bar-inner {
    padding-bottom: 2em;
}


/* Styling of buttons, incl hover states and state during switching */

.button {
    background-color: #f9572c;
    border: none;
    color: white;
    font-weight: 600;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1.5em;
    margin: 4px 25px;
    border-radius: 42px;
    min-width: 220px;
    text-transform: uppercase;
    border: 3px solid #f9572c;
    letter-spacing: 1px;
    -webkit-transition: all 0.50s;
    transition: all 0.50s;
    font-family: Decimal, Arial, "Helvetica Neue", Helvetica, sans-serif;
    height: 80px;
    position: relative;
}

.button:focus {
    outline: none;
}


/* Smaller buttons for phone/tablet */

@media only screen and (max-width: 960px) {
    .button {
        font-size: 0.8em;
        padding: 15px;
        min-width: 100px;
        height: 60px;
    }
}

.button-dimmed {
    background-color: #ff9577;
    border: 3px solid #ff9577;
}

.button-hover:hover {
    border: 3px solid #f9572c;
    -webkit-transition: all 0.50s;
    transition: all 0.50s;
    cursor: pointer;
    background-color: white;
    color: #f9572c;
}

.button-wait {
    background-image: url(../img/waiting.svg);
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 30px 30px;
    background-attachment: fixed;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.button-wait-active {
    display: block;
    -webkit-transition: all 0.50s;
    transition: all 0.50s;
}

.waiting,
.waiting:hover {
    background-color: #ff9577;
    border: 3px solid #ff9577;
    color: #ff9577;
    cursor: default;
    -webkit-transition: all 0.50s;
    transition: all 0.50s;
}


/* Overrides of UIkit Notification styling to make it wider */

.uk-notification {
    width: 100%!important;
    display: flex!important;
    flex-direction: column;
    font-family: Decimal, Arial, "Helvetica Neue", Helvetica, sans-serif!important;
}

.uk-notification-message {
    padding-right: 2em!important;
    width: auto!important;
    max-width: 70%!important;
    text-align: left;
    display: inline-flex;
}

.uk-notification-top-center,
.uk-notification-top-left,
.uk-notification-top-right {
    margin: 0!important;
    left: unset!important;
    text-align: center;
}

.uk-notification-top-center>.uk-notification-message {
    margin: 10px auto 0;
}

.uk-notification-top-left>.uk-notification-message {
    margin: 10px auto 0 10px;
}

.uk-notification-top-right>.uk-notification-message {
    margin: 10px 10px 0 auto;
}