html {
    scroll-behavior: auto !important;
    scroll-padding-top: 70px;
}

body{
    font-size: 16px;
    background-color: #EEAF2E;
    padding-bottom: 48px;
    font-family: 'Exo', sans-serif;
}

header {
    padding: 0;
}

.header-frame {
    margin-top: 70px;
    position: relative;
    z-index: -3;
}

.header-img-frame {
    z-index: -2;
}

.header-frame .audax-frame {
    position: absolute;
    top: -15%;
    left: -60px;
    height: 120%;
    z-index: -1;
}

.header-frame .title-frame {
    position: absolute;
    bottom: 14px;
    right: calc(10px + 1.5vw);
    max-height: 186px;
    z-index: -1;
    padding-left: 30%;
}

.header-frame .audax-frame img,
.header-frame .title-frame img {
    width: 100%;
    height: 100%;
}

@media (max-width: 1199px) {
    main {
        margin-bottom: 660px;
    }
}

a {
    color: #FFE02E;
}

a:hover {
    color: #FFFFFF;
}

h1, h2 {
    font-size: 24px;
    color: #ffffff;
    background-color: #646363;
    text-align: center;
    margin: 48px 0;
    padding: 8px 0 6px;
}

h3 {
    font-size: 24px;
    color: #ffffff;
    margin: 32px 0 16px 0;
}

h4 {
    color: #6c757d;
    margin: 8px 0;
}

h5 {
    color: #4a4a49;
    font-size: 18px;
}

p, ul {
    color: #646363;
    margin: 0;
    line-height: 1.4;
}

ul {
    list-style: none;
    padding-left: 16px;
}

ul li::before {
    content: "\2022";
    color: #FFFFFF;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

#main-nav ul li::before {
    content: "";
}

a {
    text-decoration: none;
}

.time {
    color: #ffffff;
    font-weight: bold;
    min-width: 70px;
    width: 70px;
}

.program-wrapper {
    display: flex;
    flex-direction: column;
    max-width: fit-content;
}

.program-item {
    display: flex;
    align-items: flex-start;
    margin:0 0 16px 0;
    gap: 16px;
}

.container {
    width: 90%;
}

@media (min-width:1200px) {
    .container {
        width: 70%;
    }
}

.rotate {
    transform: rotate(90deg);
    z-index: -1;
}

nav {
    height: 70px;
    background-color: #ffffff;
    flex-wrap: nowrap;
}

.navbar {
    padding: 0;
}

.navbar-collapse {
    background-color: #646363;
    position: absolute;
    top: 0;
    right: 0;
    padding: 48px;
    border-bottom-left-radius: 8px;
}

.navbar-toggler {
    z-index: 1;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.close {
    color: #ffffff;
}

.navbar-toggler.collapsed>.close {
    display: none;
}

.menu{
    display: none;
}

.navbar-toggler.collapsed>.menu {
    display: inline-block;
    color: #646363;
}

.nav-link {
    color: #ffffff;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link.nav-eng {
    color: #ffc107;
}

.gray {
    color: #646363;
}

.dark-gray {
    color: #4a4a49;
}

.white {
    color: #ffffff;
}

picture {
    position: relative;
}

picture img {
    width: 100%;
    height: 100%;
}

.logo {
    height: 70px;
    padding: 8px 16px;
    cursor: pointer;
}

picture img.header-img {
    max-height: 300px;
    object-fit: cover;
    object-position: right 45%;
}

.audax-xmas {
    background-color: unset;
    margin: 32px 0 0 0;
}

.material-icons {
    font-size: 48px;
}

.down-to-eng {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -24px;
}

#allergenek-listaja p {
    padding-top: 1rem;
}

.highlight {
    color: #FFFFFF;
}

.link-back {
    cursor: pointer;
    //text-decoration: underline;
    color: #FFFF2E;
    transition: color 0.3s ease;
}

.link-back:hover {
    color: #FFFFFF;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 24px;
    width: 48px;
    height: 48px;
    background-color: #646363;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.333s, visibility 0.333s, background-color 0.333s;
    z-index: 1;
    mix-blend-mode: hard-light;
}

#backToTop.show {
    opacity: 0.7;
    visibility: visible;
}

#backToTop.show:hover {
    opacity: 1;
}

#backToTop svg {
    width: 36px;
    height: 36px;
    fill: #FFFFFF;
    z-index: 2;
}
