/*:root {
    --mxcolor: #009EE0;
    --mxBackground: #f2f2f2;
}*/

.mxColor {
    color: #009EE0;
}
.orange {
    color: #FFA500;
}

.mxBackgroundBlue {
    background-color: #009EE0;
}

.mxBackgroundGrey {
    background-color: #f2f2f2;
}

.fw800 {
    font-weight: 800;
}

.fw600 {
    font-weight: 600;
}

.fw400 {
    font-weight: 400;
}

.fw300 {
    font-weight: 300;
}

.fs70 {
    font-size: 70px;
}

.fs8r{
    font-size: 8rem;
}

.fs2r{
    font-size: 2rem;
}

.fs3r{
    font-size: 3rem;
}

.my100 {
    padding: 100px 0 !important;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 14px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    font-family:
    /* 1 */ -apple-system, BlinkMacSystemFont,
    /* 2 */ "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
    /* 3 */ "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */    
}

.bwm_container {
    margin-top: 100px;
    margin-bottom: 100px;
}

.scrollcontainer {
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    position: relative; 
}

section {    
    position: relative;
    height: 100vh;    
    padding: 20px;
    scroll-snap-align: start;  
    /*overflow-y: scroll;*/ /* Enable vertical scrolling within sections */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.scrollcontainer {
    height: 100dvh;
}

.scrollcontainer > section {
    box-sizing: border-box;
    height: 100dvh;
    min-height: 100dvh;
    padding: clamp(76px, 10vh, 110px) 20px clamp(72px, 9vh, 96px);
    gap: clamp(12px, 3vh, 32px);
}

.scrollcontainer > section > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 100%;
    min-height: 0;
}

.scrollcontainer > section > .container > .row:first-child {
    flex: 1 1 auto;
    align-content: center;
    min-height: 0;
    overflow: hidden;
}

.scrollcontainer > section > .container > .row:first-child img {
    display: block;
    width: 100%;
    max-height: calc(100dvh - 280px);
    object-fit: contain;
}

.scrollcontainer > section > .container > .bg-body-tertiary {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
    padding-top: clamp(.5rem, 2vh, 1rem) !important;
}

.scrollcontainer > section > .container > .bg-body-tertiary h2,
.scrollcontainer > section > .container > .bg-body-tertiary p {
    margin-bottom: .5rem;
}

.scrollcontainer > section > .container > .bg-body-tertiary p {
    line-height: 1.35;
}

@media (max-height: 760px) {
    .scrollcontainer > section {
        padding-top: 70px;
        padding-bottom: 64px;
    }

    .scrollcontainer > section > .container > .row:first-child img {
        max-height: calc(100dvh - 250px);
    }

    .scrollcontainer > section > .container > .bg-body-tertiary h2 {
        font-size: 1.65rem !important;
    }
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire section */
    position: absolute;
    inset: 0;
    z-index: 0; /* Places the video behind the content */
    display: block;
}

.content {
    position: relative;
    z-index: 1;
    left: 5%;
}

.headline {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .content {
        position: relative;
        z-index: 1;
        left: 15%;
    }
}


@media (min-width: 768px) {
    .headline {
        font-size: 2rem;
    }
}

.mx-claim {
    margin-top: 3vh;
    margin-bottom: 3vh;
    font-weight: 800;
    font-size: 2rem;
    color: dodgerblue;
    text-align:center;
}

@media (min-width: 768px) {
    .mx-claim {
        margin-top: 3vh;
        margin-bottom: 3vh;
        font-weight: 800;
        font-size: 5rem;
        color: dodgerblue;
        text-align: center;
    }
}

.pic_container {
    position: relative;
}

.overlay_text {
    position: absolute;
    top: 50%;
    left: 20%;
    transform: translate(-50%, -50%);
    background: rgba(0, 158, 224, 0.9);
    color: white;
    padding: 20px 30px;
    border-radius: 2px;
}

.mx-login-link {
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 999px;
    padding: .35rem .85rem !important;
    margin-left: .5rem;
}
