@font-face {
    font-family: "Universe-light";
    src:url("fonts/UniversLTStd-LightCn.otf") format("opentype");
}

@font-face {
    font-family: "Gotham-bold";
    src: url("fonts/gotham-extra-narrow-bold.otf") format("opentype"),
    url("fonts/gotham-extra-narrow-bold.woff") format("woff"),
}

body {
    background-color: #fdb817;
    padding-left: 10px;
    padding-right:10px;
}




.transcript {
    font-size: 1.2rem;
    font-family: "Universe-light";
}

.image-container-carousel {
    max-width: 100%; /* Ensures responsiveness */
    height: 50vh;
    overflow: hidden; /* Prevents overflow */
}

.image-container-carousel img {
    height: 500px; /* Set height */
    width: 100%; /* Maintain full width */
    object-fit: cover; /* Ensures the image fills the space without distortion */
}





h6 {
    font-family: "Universe-light";
    font-size: 0.9rem;
    margin: 0;
}

h5 {
    font-family: 'Gotham-bold';
    font-size: 1.4rem;
    margin: 0;
}

span{
    font-family: 'Universe-light';
    font-size: 1.2rem;
}

.button-span{
    font-family: 'Universe-light';
    font-size: 1.2rem;
}

/* Adjust map icon size responsively */
.map-icon {
    width: 50px;
    height: 50px;
}

.picture-icon {
    width: 35px;
    height: 35px;
}

.custom-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    padding: 0;
}

.custom-button img {
    width: 35px;
    height: 35px;
}

.custom-button span {
    font-size: 0.6rem;
    /* Adjust as needed */
}

.custom-button:hover {
    color: #000;
}

.text-icon {
    width: 35px;
    height: 35px;
    height: 35px;    font-size: 0.9rem;

}

.button-span{
    font-size: 0.9rem;
}

.current{
    font-size: 0.9rem;

}

.duration{
    font-size: 0.9rem;

}



.trans-title {
    font-size: 0.9rem;
    font-weight: bold;
}


.image-container {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.building-photo {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

.route-name{
    font-size: 0.9rem;
}

#seek-bar {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 5px;
    height: 5px;
    background: black;
}

/* Style the thumb */
#seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: black;
    cursor: pointer;
    transition: transform 0.01s linear; 

}

#seek-bar::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: black;
    cursor: pointer;
    border: none;
    transition: transform 0.01s linear;
}


@media (max-width:576px){

    .carousel-control-prev,
    .carousel-control-next {
        bottom: 20%;
        
        height: auto;
    }



    .uni-title{
        transform: translateX(-5%);
    }

    .st-title{
        transform: translateX(-4%);
    }
}



@media (min-width: 768px) {

    #play-button{
        transform: translateX(45%);
    }

    h6 {
        font-size: 1.5rem;
        /* Adjust for medium screens */
        font-family: "Universe-light";
    }

    h5 {
        font-size: 3.0rem;
        /* Adjust for medium screens */
        font-family: 'Gotham-bold';

    }

    span{
        font-size: 1.5rem;
    }


    .map-icon {
        width: 75px;
        height: 75px;
    }

    .trans-title {
        font-size: 0.9rem;
        font-weight: bold;
    }

    .picture-icon {
        width: 75px;
        height: 75px;
    }

    .route-name{
        font-size: 1.5rem;
    }



    .text-icon {
        width: 35px;
        height: 35px;
    }

    .current {
        font-size: 1.2rem;
    }

    .duration {
        font-size: 1.2rem;
    }

    

    .custom-button img {
        width: 50px;
        height: 50px;
    }

    .custom-button span {
        font-size: 1.2rem;
        /* Adjust as needed */
    }

    .uni-title{
        transform: translateX(-5%);
    }

    .st-title{
        transform: translateX(-4%);
    }

    .trans-title {
        font-size: 1.5rem;
        font-weight: bold;
    }

    #back-button{
        transform:translate(100%, -5px);
        text-decoration: none;
    }


    #forward-button{
        transform:translate(-50%, -5px);
        text-decoration: none;
    }
}

@media (min-width: 992px) {
    h6 {
        font-size: 1.5rem;
        /* Adjust for large screens */
        font-family: "Universe-light";
    }

    h5 {
        font-size: 1.9rem;
        /* Adjust for large screens */
        font-family: 'Gotham-bold';

    }

    .map-icon {
        width: 50px;
        height: 50px;
        transform: translateX(15px);
    }

    .picture-icon {
        width: 50px;
        height: 50px;
    }

    .text-icon {
        width: 50px;
        height: 50px;
    }

    .current {
        font-size: 1.5rem;
        font-family: "Universe-light";
    }

    .duration
    {
        font-size: 1.5rem;
        font-family: "Universe-light";
    }

    .custom-button img {
        width: 50px;
        height: 50px;
    }

    .custom-button span {
        font-size: 1.0rem;
        /* Adjust as needed */
    }


    .image-container {
        position: relative;
        height: 50vh;
        width: 100%;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    
    .image-container-carousel {
        max-width: 55vh; /* Ensures responsiveness */
        height: 60vh;
        overflow: hidden; /* Prevents overflow */
        transform: translateX(80%);
    }

    
    
    .building-photo {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 500px;
        height: 500px;
        object-fit: cover;
        margin: 0;
        padding: 0;
    }

    #play-button{
        transform: translateX(5%);
    }


    #back-button{
        transform:translate(290%, -5px);
    }

   

    #forward-button{
        transform:translate(-240%, -5px);
    }


    .uni-title{
        font-size: 1.2rem;
        transform: translateX(8%);
    }

    .st-title{
        font-size: 2.0rem;
        transform: translateX(5%);
    }
    
    #credit-button{
        transform:translate(-300%, -5px);
    }

}


.vertical-center-line {
    position: absolute;
    left: 50%;
    height: 100vh;
    width: 1px;
    background-color: red;
    transform: translateX(-50%);
}

.horizontal-center-line {
    position: absolute;
    top: 50%;
    height: 1px;
    width: 100vw;
    background-color: red;
    transform: translateY(-50%);
}