﻿.video-container {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
}

    .video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.overlay-text {
    position: absolute;
    color: white;
    font-size: 3em; 
    text-align: center;
    z-index: 100; 
    transition: color 3s; 
}

.overlay-text span {
    color: inherit;
    transition: color 3s;
}

.overlay-line {
    position: absolute;
    top: 31%;
    left: 18%;
    width: 8px; 
    height: 30%;
    background: #cda274; 
    z-index: 100; 
}

#myTextLogo::before {
    content: url('../images/maplogo2.png'); 

    top: 30%; 
    left: 19%; 
    vertical-align: middle;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
}

#myTextLogo {
    top: 30%; 
    left: 19%; 
    font-size: 1.5em; 
    color: #cda274;
    text-align: center ;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5); 
}

#myText1 {
    top: 50%; 
    left: 19%; 
    font-size: 3.5em; 
}

#myText2 {
    top: 40%; 
    left: 20%; 
    font-size: 6.5em; 
    font-weight: 700;
}

#myText3 {
    top: 50%; 
    left: 19%; 
    font-size: 2.0em; 
    font-weight: 400;
    text-align: left;
}

#myButtonContainer {
    position: absolute;
    top: 60%; 
    left: 22.5%; 
    transform: translate(-50%, -50%); 
}

#myButton {
    background-color: #cda274; 
    border: solid;
    border-width: 1px;
    color: white;
    padding: 12px 28px;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 4px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19); 
}

.fade-in {
    opacity: 0;
    animation: fadeIn ease 2s forwards; 
    -webkit-animation: fadeIn ease 2s forwards; 
    -moz-animation: fadeIn ease 2s forwards; 
    -o-animation: fadeIn ease 2s forwards; 
    -ms-animation: fadeIn ease 2s forwards; 
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in-on-scroll {
    opacity: 0;
}

@media (max-width: 800px) {
    #myText2 {
        top: 40%; 
        left: 20%; 
        font-size: 3.5em; 
        font-weight: 500;
    }

    @media (max-width: 800px) {
        #myText3 {
            top: 50%; 
            left: 19%; 
            font-size: 1.0em; 
            font-weight: 400;
            text-align: left;
        }
    }
}
@keyframes slideIn {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.slide-in-text {
    position: absolute;
    color: white;
    font-size: 3em; 
    text-align: center;
    z-index: 100; 
    animation: slideIn 1.0s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
}
/* Extra small devices (phones, less than 600px */
@media (max-width: 600px) {
    #myText1 {
        font-size: 2.0em;
        left: 20%;
        top: 47%;
    }

    #myLine {
        top: 31%;
        left: 15%;
        width: 8px;
        height: 28%;
        background: #cda274;
        z-index: 100;
    }
}
/*Small devices (portrait tablets and large phones, 600px and up */
@media (min-width: 600px) {
    #myText1 {
        font-size: 2.5em;
        left: 20%;
        top: 47%;
    }

    #myLine {
        top: 31%;
        left: 15%;
        width: 8px;
        height: 28%;
        background: #cda274;
        z-index: 100;
    }
}

@media (min-width: 768px) {
    #myText1 {
        font-size: 3.0em;
        left: 19%;
        top: 48%;
    }

    #myLine {
        top: 31%;
        left: 15%;
        width: 8px;
        height: 28%;
        background: #cda274;
        z-index: 100;
    }
}
/* Large devices (laptops/desktops, 992px and up */
@media (min-width: 992px) {
    #myText1 {
        font-size: 3.5em;
        left: 19%;
        top: 49%;
    }

    #myLine {
        top: 31%;
        left: 15%;
        width: 8px;
        height: 31%;
        background: #cda274;
        z-index: 100;
    }
}

@media (min-width: 1200px) {
    #myText1 {
        font-size: 4.0em;
        left: 20%;
        top: 49%;
    }

    #myLine {
        top: 31%;
        left: 18%;
        width: 8px;
        height: 28%;
        background: #cda274;
        z-index: 100;
    }
}

