/*

*/

body {
    padding: 10px;
    font-size: 36px;
    font-family: "Lucida Grande", Arial, Helvetica, sans-serif;
    background-color: antiquewhite;
    /*background-image: url('../images/pana_2.png');
    background-repeat: no-repeat;*/ /* Prevent repetition */
    /*background-size: cover;*/ /* Cover the entire element */
    /*background-position: center;*/ /* Center the image */
    /*background-attachment: fixed;*/ /* Keep image fixed during scroll */
}

#butAudio {
    position: absolute;
    top: 10vh;
    left: 13vw;
    z-index: 25;
}

#volume {
    background-color: yellow;
    position: absolute;
    top: .3vh;
    height: 2vh;
}

audio {
    position: absolute;
    top: .2vh;
    width: 200px;
    height: 15px; /* Note: height might not affect the controls themselves, but the overall element box */
}

video {
    border: 5px solid green;
    width: 100%;
    height: auto;
    max-width: 800px;
    object-position: center;
    object-fit: contain;
}

.modal_dialog {
    position: absolute;
    right: 2vw;
    top: 5vh;
    background-color: lightgreen;
    border-radius: 10px;
    font-size: 14px;
    width: 100%;
    max-width: 250px;
}

    .modal_dialog::backdrop {
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
        backdrop-filter: blur(5px); /* Optional: apply a blur effect to content behind the backdrop */
    }

.modal_dialog2 {
    position: absolute;
    right: 2vw;
    background-color: lightgreen;
    border-radius: 20px;
    font-size: 14px;
    width: 100%;
    max-width: 300px;
}

    .modal_dialog2::backdrop {
        background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
        backdrop-filter: blur(5px); /* Optional: apply a blur effect to content behind the backdrop */
    }


/*#menu {
    padding: 0px;
    font-size: 24px;
}*/

a {
    color: #00B7FF;
}

#folderlist {
    font-size: 18px;
}

#folders table {
    border: 3px solid blue;
}

#folders table tr:nth-child(odd) {
    background: lightgrey;
}
/* range slider */
.rangeslider {
    -webkit-appearance: none;
    position: absolute;
    bottom: 6vh;
    left: 13vw;
    right: 5vw;
    height: 15px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    z-index: 10;
    max-width: 1000px;
}

    .rangeslider:hover {
        opacity: 1;
    }

    .rangeslider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 15px;
        height: 15px;
        background: #04AA6D;
        cursor: pointer;
    }



/* this class is parent of class numbers */
.numslider {
    background-color: yellow;
    position: fixed;
    height: 2vh;
    bottom: 15vh;
    left: 13vw;
    right: 5vw;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    z-index: 5;
    max-width: 1000px;
}
    /* the parent class is numslider above */
    .numslider .numbers {
        position: absolute;
        top: auto;
        bottom: 0vh;
        overflow: hidden;
        display: flex;
        z-index: 5;
    }

.tinyNum {
    font-size: 10px;
    color: black;
    text-align: center;
    width: 64.3px;
    left: 13vw;
    display: block;
    animation-name: none;
    z-index: 5;
}
/* this class is for tiny images */
.tinyslider {
    background-color: aqua;
    color: red;
    position: fixed;
    height: 7vh;
    bottom: 10vh;
    left: 13vw;
    right: 5vw;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    font-size: 10px;
}
/* parent class is tinyslider above */
.tinysliderImg {
    background-color: blue;
    width: 100%;
    height: auto;
    max-width: 60px;
    object-fit: contain; /* or cover, fill, none, scale-down */
    left: 13vw;
    display: block;
    margin: 2px;
    padding: 2px;
    animation-name: none;
}

.videoV {
    background-color: transparent;
    position: absolute;
    top: 10vh;
    bottom: 10vh;
    left: 0vw;
    right: 0vw;
    z-index: 10;
    /*    height: auto;
    width: 100%;
    max-width: 1000px;*/
}


.slider {
    background-color: black;
    position: absolute;
    top: 5vh;
    bottom: 7vh;
    left: 13vw;
    right: 5vw;
    overflow: hidden;
    z-index: 10;
    height: auto;
    width: 100%;
    max-width: 1000px;

    display: flex;
    justify-content: center; /* Centers horizontally */
    align-items: center; /* Centers vertically */
}

    /*    main photos slide area */
    .slider .slides {
        position: absolute;
        top: 0vh;
        bottom: 0vh;
        left: 7vw;
        overflow: hidden;
    }

        .slider .slides .Img {
            padding: 10px;
            background-color: green;
            width: 100%;
            height: auto;
            max-width: 1000px;
            object-fit: contain; /* or cover, fill, none, scale-down */
            animation-name: move;
            animation-duration: 2s;
            display: none;
        }


    .slider button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2rem;
        padding: 10px 15px;
        background-color: transparent;
        color: white;
        border: none;
        cursor: pointer;
    }

.prev {
    left: 0;
}

.next {
    right: 0;
}

@keyframes fade {
    from {
        opacity: .5
    }

    to {
        opacity: 1
    }
}

@keyframes move {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-100%);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes moveR {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(100vw);
        opacity: 1;
    }

    100% {
        transform: translateX(0);
    }
}
/*
    Portrait for all devices
*/
@media screen and (orientation:portrait) {

    body {
        font-size: 24px;
        max-width: 1300px;
    }

    #folderlist {
        font-size: 14px;
    }

    #pause {
        font-size: 10px;
    }

    .slider {
        top: 15%;
    }

        .slider .slides {
            top: 30%;
            left: 2vw;
            right: 2vw;
        }

            .slider .slides .Img {
                padding: 5px;
            }
}

@media screen and (max-device-width : 2048px) and (orientation: landscape) {

    body {
        background-color: navajowhite;
        font-size: 36px;
    }

    .slider {
        top: 0vh;
    }
}
/*
    IPad Pro
*/
@media screen and (max-device-width : 1366px) and (orientation: landscape) {

    body {
        background-color: burlywood;
        font-size: 54px;
    }

    video {
        max-width: 1300px;
    }

    .rangeslider {
        max-width: 1300px;
    }

    .numslider {
        max-width: 1300px;
    }

    .slider {
        left: 2vw;
        max-width: 1300px;
    }

    #folderlist {
        font-size: 28px;
    }
}
/*
    IPad Air
*/
@media screen and (max-device-width : 1180px) and (orientation: landscape) {

    body {
        background-color: pink;
    }

    .slider {
        left: 0vw;
    }

        .slider .slides .Img {
            width: 80%;
        }
}
/*
    IPad mini
*/
@media screen and (max-device-width : 1024px) and (orientation: landscape) {

    body {
        background-color: lightblue;
        font-size: 36px;
    }

    #folderlist {
        font-size: 24px;
    }

    .slider {
        left: 1vw;
        top: 8vh;
    }

        .slider .slides .Img {
            width: 100%;
        }
}


@media screen and (max-device-width : 962px) and (max-device-height: 601px) {
    body {
        background-color: azure;
    }

    .rangeslider {
        bottom: 6.5vh;
    }

    .slider {
        top: 13vh;
        bottom: 8.5vh;
    }
}


/*
    IPhone XR, iPhone 12 Pro, iPhone 14 Pro Max, Pixel 7
    Galaxy S8+, Galaxy S20 Ultra
*/
@media screen and (max-device-width : 932px) and (orientation: landscape) {

    body {
        background-color: white;
        font-size: 24px;
    }

    #folderlist {
        font-size: 18px;
    }

    #pause {
        font-size: 10px;
    }
    /* above is for SE landscape*/

    .rangeslider {
        bottom: 4vh;
    }

    .slider {
        top: 0vh;
        bottom: 0vh;
    }

        .slider .slides .Img {
            padding: 5px;
            max-width: 850px;
        }


    .numslider {
        bottom: 6vh;
        height: 2.5vh;
    }

    .tinyNum {
        font-size: 3px;
        width: 35px;
    }

    .tinyslider {
        bottom: 1vh;
        height: 5vh;
    }

    .tinysliderImg {
        max-width: 30px;
        animation-name: none;
    }

    .rangeslider {
        bottom: 0vh;
    }
}

/*
    iphone 15
*/
@media screen and (max-device-width : 896x) and (max-device-height: 414px) {

    body {
        background-color: yellow;
        font-size: 24px;
    }

    #folderlist {
        font-size: 16px;
    }

    .slider {
        top: 15%;
        bottom: 10%;
    }

        .slider .slides .Img {
            width: 100%;
            height: auto;
            padding: 5px;
        }
}
/*
    Iphone SE ONLY
*/
@media screen and (max-device-width : 667px) and (max-device-height: 375px) {

    body {
        background-color: aqua;
        font-size: 21px;
    }

    #folderlist {
        font-size: 14px;
    }

    .slider {
        top: 0%;
        left: 0vw;
        bottom: 10%;
    }

        .slider .slides .Img {
            width: 100%;
            height: auto;
            padding: 5px;
        }

    .rangeslider {
        bottom: 7vh;
    }

    .numslider {
        bottom: 5vh;
    }

    .tinyNum {
        font-size: 3px;
        width: 35px;
    }

    .tinyslider {
        bottom: 1vh;
    }

    .tinysliderImg {
        max-width: 30px;
        animation-name: none;
    }
}

@media screen and (orientation: landscape) {
    /*
    body {
         background-color: antiquewhite;
    }
    .tinyslider, .numslider {
        background-color: black;
    }
    .tinyNum{
        color:white;
    }
*/
}
