html, body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
#main-content {
    display: none;
    text-align: center;
}
#bottom-menu {
    display: none;
    position: fixed;
    bottom: 10px;
    width: 100%;
    z-index: 997;
    flex-direction: column;
    align-items: center; /* Centering the line and links container */
}
.bottom-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: center; /* Centering the links within the container */
}
.bottom-links a {
    margin-left: 50px;
}
.bottom-links a:first-child {
    margin-left: 0;
}
.bottom-links img {
    cursor: pointer;
    width: auto;
    height: 60px; /* This prevents the menu from expanding on load */
}
#line-container {
    width: calc(100% - 20px);
    margin-bottom: 10px;
}
#line-img {
    width: 100%;
    height: 5px;
}
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
#dialogbox {
    background-color: transparent;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    text-align: left;
    position: relative;
    overflow: visible;
    transform-origin: center center;
}
#dialog-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('imgs/dialog_bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: -1;
}
#dialogbox h2 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 20px;
}
#dialogbox label, #dialogbox input, #dialogbox textarea {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    position: relative;
    z-index: 0;
}
#dialogbox input, #dialogbox textarea {
    padding: 8px;
    box-sizing: border-box;
    border: none;
    outline: none;
    -webkit-appearance: none;
    border-radius: 0;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
}
#dialogbox input {
    background-image: url('imgs/inputfield_bn.png');
}
#dialogbox textarea {
    background-image: url('imgs/textarea_bn.png');
    resize: none;
    min-height: calc(1.5em * 5 + 16px);
    max-height: calc(1.5em * 10 + 16px);
    overflow-y: auto;
}
.dialog-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
    z-index: 0;
}
.dialog-buttons button {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
}
.dialog-buttons button img {
    height: 30px;
}
.dialog-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 0;
}
.dialog-title img {
    width: 200px;
}
.dialog-label {
    text-align: left;
}
.dialog-label img {
    height: 25px;
    vertical-align: middle;
}
.event-image-container {
    text-align: center;
}
.event-image {
    max-width: 100%;
    max-height: 100%;
}