﻿.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: 27%;
    left: 19%;
    width: 8px; 
    height: 20%;
    background: #cda274; 
    z-index: 100; 
}

#myTextLogo::before {
    content: url('../images/maplogo2.png'); 

    top: 15%; 
    left: 19%; 
    vertical-align: middle;
}

#myTextLogo {
    top: 19%; 
    left: 19%; 
    font-size: 1.5em; 
    color: #cda274;
    text-align: center
}

#myText1 {
    top: 30%; 
    left: 20%; 
    font-size: 4.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 5s forwards; 
    -webkit-animation: fadeIn ease 5s forwards; 
    -moz-animation: fadeIn ease 5s forwards; 
    -o-animation: fadeIn ease 5s forwards; 
    -ms-animation: fadeIn ease 5s 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;
}


@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-image {
    animation: fadeInLeft 1s ease-out forwards;
}
.image-zoom {
    transition: transform 0.3s ease-in-out;
}

.image-zoom:hover {
    transform: scale(1.05);
}

/* Screens smaller than 380px */
@media (max-width: 380px) {
    /* Add your CSS adjustments here. For example: */
    #myText2 {
        font-size: 2em;
        left: 22%;
        top: 30%;
    }

    #myText1 {
        font-size: 1.5em;
        left: 22%;
        top: 25%;
    }

    #myText3 {
        top: 35%;
        left: 22%;
        font-size: 1.5em;
        font-weight: 400;
        text-align: left;
    }
    #myLine{
        top: 24%;
        left: 19%;
        width: 4px;
        height: 17%;
        background: #cda274;
        z-index: 100;
    }
    #myButtonContainer{
        top: 52%;
        left: 55%;
        transform: translate(-50%, -50%);
        width:130px;
        height: 50px;
        
    }
    #myButton {
        top: 52%;
        left: 55%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
        font-size: 14px;
    }
    #myTextLogo{
        top: 15%;
        left: 17%;
        font-size: 1.5em;
    }

    #scroll-container {
        border-radius: 5px;
        height: 390px;
        width: 270px;
        overflow: hidden;
        background-image: url('../images/TestPoemPic4.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .gallery {
        --s: 80px;
        --g: 10px;
        --f: 1.5;
        display: grid;
        gap: var(--g);
        width: calc(3*var(--s) + 2*var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3,auto);
    }
    /* Continue with other adjustments as needed */
}



/* Extra small devices (phones, less than 600px */
@media (min-width: 381px) and (max-width: 600px) {
    #myText2 {
        font-size: 3.5em;
        left: 22%;
        top: 31%;
    }

    #myText1 {
        font-size: 2.5em;
        left: 22%;
        top:25%;
    }

    #myText3 {
        top: 37%;
        left: 22%;
        font-size: 1.7em;
        font-weight: 400;
        text-align: left;
    }

    p.mb-0.font-size-32.fontweight-bold span {
        font-size: 8px; /* Change this to the size you want */
    }

    p.mb-0.font-size-32.fontweight-bold span {
        font-size: 32px;
    }

    #scroll-container {
        border-radius: 5px;
        height: 390px;
        width: 320px;
        overflow: hidden;
        background-image: url('../images/TestPoemPic4.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .gallery {
        --s: 150px;
        --g: 10px;
        --f: 1.5;
        display: grid;
        gap: var(--g);
        width: calc(3*var(--s) + 2*var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3,auto);
    }
    #myTextLogo {
        top: 14%;
        left: 17%;
        font-size: 1.5em;
    }
    #myLine {
        top: 24%;
        left: 19%;
        width: 6px;
        height: 19%;
        background: #cda274;
        z-index: 100;
    }
    #myButtonContainer {
        top: 50%;
        left: 49%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
    }

    #myButton {
        top: 50%;
        left: 49%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
        font-size: 14px;
    }
}



/*Small devices (portrait tablets and large phones, 600px and up */
@media (min-width: 601px) and (max-width: 768px) {
    #myText2 {
        font-size: 4.5em;
        left: 22%;
        top: 34%;
    }

    #myText1 {
        font-size: 2.5em;
        left: 22%;
        top:27%;
    }

    #myText3 {
        top: 40%;
        left: 22%;
        font-size: 2.0em;
        font-weight: 400;
        text-align: left;
    }

    p.mb-0.font-size-32.fontweight-bold span {
        font-size: 8px; /* Change this to the size you want */
    }

    p.mb-0.font-size-32.fontweight-bold span {
        font-size: 32px;
    }

    #scroll-container {
        border-radius: 5px;
        height: 390px;
        width: 320px;
        overflow: hidden;
        background-image: url('../images/TestPoemPic4.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .gallery {
        --s: 150px;
        --g: 10px;
        --f: 1.5;
        display: grid;
        gap: var(--g);
        width: calc(3*var(--s) + 2*var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3,auto);
    }
    #myButtonContainer {
        top: 53%;
        left: 39%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
    }

    #myButton {
        top: 53%;
        left: 39%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
        font-size: 14px;
    }
    #myTextLogo {
        top: 14%;
        left: 17%;
        font-size: 1.5em;
    }
}

/*Medium devices (landscape tablets, 768px and up */
@media (min-width: 769px) and (max-width: 992px) {
    #myText2 {
        font-size: 5.5em;
        left: 22%;
        top: 36%;
    }

    #myText1 {
        font-size: 3.5em;
        left: 22%;
        top:27%;
    }

    #myText3 {
        top: 43%;
        left: 22%;
        font-size: 2.0em;
        font-weight: 400;
        text-align: left;
    }

    p.mb-0.font-size-32.fontweight-bold span {
        font-size: 38px;
    }

    #scroll-container {
        /*border: 3px solid black;*/
        border-radius: 5px;
        height: 390px;
        width: 320px;
        overflow: hidden;
        background-image: url('../images/TestPoemPic4.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .gallery {
        --s: 200px;
        --g: 10px;
        --f: 1.5;
        display: grid;
        gap: var(--g);
        width: calc(3*var(--s) + 2*var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3,auto);
    }
    #myButtonContainer {
        top: 56%;
        left: 36%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
    }

    #myButton {
        top: 56%;
        left: 36%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
        font-size: 14px;
    }
    #myTextLogo {
        top: 14%;
        left: 17%;
        font-size: 1.5em;
    }
    #myLine {
        top: 26%;
        left: 19%;
        width: 8px;
        height: 23%;
        background: #cda274;
        z-index: 100;
    }
}
/* Large devices (laptops/desktops, 992px and up */
@media (min-width: 993px) and (max-width: 1200px) {
    #myText2 {
        font-size: 5.5em;
        top: 37%;
        left: 21%;
    }

    #myText1 {
        font-size: 4.5em;
        top: 27%;
        left: 21%;
    }

    #myText3 {
        top: 45%;
        left: 21%;
        font-size: 2.0em;
        font-weight: 400;
        text-align: left;
    }

    p.mb-0.font-size-32.fontweight-bold span {
        font-size: 40px;
    }

    #scroll-container {
        /*border: 3px solid black;*/
        border-radius: 5px;
        height: 490px;
        width: 420px;
        overflow: hidden;
        background-image: url('../images/TestPoemPic4.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .gallery {
        --s: 200px;
        --g: 10px;
        --f: 1.5;
        display: grid;
        gap: var(--g);
        width: calc(3*var(--s) + 2*var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3,auto);
    }
    #myButtonContainer {
        top: 59%;
        left: 32%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
    }

    #myButton {
        top: 59%;
        left: 32%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
        font-size: 14px;
    }

    #myTextLogo {
        top: 14%;
        left: 18%;
        font-size: 1.5em;
    }

    #myLine {
        top: 26%;
        left: 19%;
        width: 8px;
        height: 25%;
        background: #cda274;
        z-index: 100;
    }
}
/* Extra large devices (large laptops and desktops, 1200px and up*/
@media (min-width: 1201px) {
    #myText2 {
        font-size: 6.5em;
        top: 38%;
    }
    #myText1 {
        font-size: 4.5em;
        top:27%;
    }
    #myText3 {
        top: 47%; 
        left: 20%; 
        font-size: 2.0em; 
        font-weight: 400;
        text-align: left;
    }
    p.mb-0.font-size-32.fontweight-bold span {
        font-size: 48px;
    }
    #scroll-container {
        border-radius: 5px;
        height:590px;
        width: 520px;
        overflow: hidden;
        background-image: url('../images/TestPoemPic4.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }
    .gallery {
        --s: 200px;
        --g: 10px;
        --f: 1.5;
        display: grid;
        gap: var(--g);
        width: calc(3*var(--s) + 2*var(--g));
        aspect-ratio: 1;
        grid-template-columns: repeat(3,auto);
    }
    #myButtonContainer {
        top: 62%;
        left: 25.5%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
    }

    #myButton {
        top: 62%;
        left: 25.5%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 50px;
        font-size: 14px;
    }

    #myTextLogo {
        top: 14%;
        left: 18%;
        font-size: 1.5em;
    }

    #myLine {
        top: 26%;
        left: 19%;
        width: 8px;
        height: 28%;
        background: #cda274;
        z-index: 100;
    }

}



