body {
    background-color: black;
    color: white;
    margin: 0;
    font-family: Arial, sans-serif;
}

@font-face {
    font-family: 'aptos';
    src: url('fonts/aptos-bold.ttff') format('ttff'), url('fonts/aptos-light.ttff') format('ttff');
    /* Provide fallback for older browsers */
}

textarea {
    margin: 0px !important;
}

.header {
    text-align: right;
    padding: 14px 30px;
}

.header img {
    width: 6%;
    height: auto;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.centered-image-sections {
    position: relative;
    background-color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    height: 100vh;
    /* Ensures the section fits the screen */
}

.centered-image-sections::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/m3m-backgroud-img.png);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
    background-position: center;
}

.content {
    position: relative;
    z-index: 1;
}

.centered-image {
    display: flex;
    justify-content: center;
    background-color: black;
    justify-items: center;
    width: 100%;
}

.center-content {
    text-align: center;
}

a.register-btn {
    color: white;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 5px;
    font-weight: 500;
    border: 1px solid white;
    padding: 10px 10px;
}

.register-btn:hover {
    background-color: white;
    color: black;
}

/* Button to open the contact form */

#openFormBtn {
    cursor: pointer;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(67 67 67 / 66%);
    z-index: 10;
}

.form-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid #3a3a3a;
    z-index: 11;
    background-color: #4a4a4a;
    width: 40%;
}

.radio-btn {
    display: flex;
    align-items: center;
    margin-top: 2px;
    margin-bottom: 10px;
}

label.radio-lable {
    margin-right: 10px;
}

.form-container {
    max-width: max-content;
    padding: 20px;
}

.form-container input[type=text],
.form-container input[type=password],
.form-container textarea {
    width: -webkit-fill-available !important;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: none;
    background: #f1f1f1;
}

/* Full-width input fields */

.form-container input[type=text],
.form-container input[type=password],
.form-container textarea {
    width: 100%;
    padding: 10px;
    margin: 0px 0 15px 0;
    border: none;
    background: #f1f1f1;
}

/* When the inputs get focus, do something */

.form-container input[type=text]:focus,
.form-container input[type=password]:focus,
.form-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

.form-container .btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.8;
    margin-top: 5px;
}

.form-container input[type=text],
.form-container input[type=password],
.form-container textarea {
    font-family: inherit !important;
}

.form-container .cancel {
    background-color: white;
}

/* Add some hover effects to buttons */

.form-container .btn:hover,
.open-button:hover {
    opacity: 1;
}

.center-content h4 {
    margin-bottom: 50px;
    font-family: 'aptos', sans-serif;
    font-weight: 100;
    letter-spacing: 6px;
}

@media only screen and (max-width: 768px) {
    .header {
        text-align: right;
        padding: 7px 13px;
    }
    .form-popup {
        width: 80%;
    }
    .header img {
        width: 15%;
        height: auto;
    }
}

.form-container h2 {
    font-size: 18px;
}

label {
    font-size: 14px;
}

select {
    width: 100%;
    padding: 9px 6px;
    border-radius: 0px;
    border: 0px;
    color: #646464;
    font-family: sans-serif;
    font-weight: 500;
    margin-top: 0px;
    margin-bottom: 15px;
}

input#phoneRadio {
    padding: 0px;
    margin: 10px 5px;
}

.close-icon {
    position: absolute;
    top: -17px;
    right: -17px;
    font-size: 24px;
    cursor: pointer;
    padding: 3px 10px;
    border-radius: 50px;
    color: black;
}

.thankyou-message {
    padding: 0% 0px;
}

.thankyou-heading {
    font-size: 42px;
    font-weight: 500 !important;
    margin-top: 0px;
    margin-bottom: 0px !important;
}

.thankyou-descriptions {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 27px;
}

.footer-reg {
    font-size: 10px;
    text-align: center;
    margin-top: 70px;
    line-height: 19px;
}

.disclaimer a {
    color: white;
    margin-bottom: 10px;
}

.disclaimer {
    margin-top: 50px;
}

.Disclaimer-descriptions {
    width: 50%;
}

.Disclaimer-colum {
    display: grid;
    justify-items: center;
}

.Disclaimer-descriptions {
    width: 50%;
    font-family: 'aptos', sans-serif;
    font-style: italic;
    font-size: 16px;
    text-align: left;
}

.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff00;
    padding: 10px 14px;
}

@media (max-width: 768px) {
    .centered-image-sections {
        height: 85vh;
    }
    .centered-image img {
        width: 160px;
    }
    .Disclaimer-descriptions {
        width: 80%;
        text-align: justify;
    }
    .center-content h4 {
        margin-bottom: 50px !important;
        font-family: 'aptos', sans-serif;
        font-weight: 100;
        letter-spacing: 0px;
        font-size: 18px;
    }
    .video-container {
        height: 100vh;
        /* Fixed height for mobile view */
    }
    .video-container video {
        height: 100%;
        /* Video takes the full height of the container */
    }
}

.bg-color {
    background-color: black;
}

@media (max-width: 767px) {
    .centered-image-sections::after {
        background-image: url('../images/m3m-backgroud-img-versions-mob.png');
        /* Path to the mobile image */
    }
    #desktopVideoSource {
        display: none;
    }
}

/* Hide the mobile video on screens 768px and larger */

@media (min-width: 768px) {
    #mobileVideoSource {
        display: none;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}

.background-container {
    height: 100%;
    width: 100%;
    position: relative;
}

#desktopVideoSource {
    position: fixed;
}

@media screen and (min-width: 1025px) {
    .centered-image img {
        width: 180px;
    }
}