﻿.hero {
     height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

    .hero h1 {
        font-size: 2rem;
    }

.section-title {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.search-container {
    margin-bottom: 2rem;
}


#modalAbstract{
    max-height:90%!important
}
    #modalAbstract .modal-footer {
        height: 75px !important;
        padding-right: 30px !important;
        padding-bottom: 30px !important;
    }

#modAbs {
    max-height: 55vh;
    overflow-y: auto;
}

 @media (max-width: 600px) {
    #modAbs {
        max-height: 80vh; 
    }
}

nav {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.card-content {
    text-align: justify;
}

a {
    color: #0071bc;
    text-decoration: none;
}

    

.material-icons-outlined.abstr {
    position: relative!important;
    top: 5px!important;  
    }

.material-icons-outlined.abstrSm {
    position: relative !important;
    font-size: 1.1rem !important;
    top: 2px !important;
}

.video-container{
    margin-bottom   :20px;
}



.video-container {
    position: relative;
    width: 100%; /* Make the container take up full width of the parent */
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    cursor:pointer;
}

.thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the container */
    cursor: pointer;
}

.highlight {
    background-color: yellow; /* Highlight color */
    font-weight: bold;
}

.btn {
    min-width:140px;
}


.responsive-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem; /* Space between text and image */
}

.responsive-image {
    flex: 0 0 auto;
    max-width: 250px;
    height: auto;
    margin-right: 1rem;
    float: left;
    margin-top: 0rem;
    border-radius: 9px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 14px 22px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 14px 22px;
}

.responsive-text {
    flex: 1;
    text-align: justify;
}

@media (max-width: 768px) {
    .responsive-wrapper {
        flex-direction: column;
    }

    .responsive-image {
        float: none; /* Stops text wrapping */
        margin-right: 0;
        margin-bottom: 1rem; /* Adds spacing for smaller screens */
      
        border-radius: 9px;
        -webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 14px 22px;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 14px 22px;
    }
}
 
    nav, nav .nav-wrapper i, nav a.sidenav-trigger, nav a.sidenav-trigger i {
        height: 64px!important;
        line-height: 64px!important;
    }


.sidenav-trigger {
    display: block !important; /* Ensure it's visible on all screens */
}

@media only screen and (max-width: 992px) {
    nav .brand-logo {
        left: 0;
        -webkit-transform: translateX(0%);
        transform: translateX(0%);
    }
}