﻿
.hero-box {
    width: 100%;
    min-height: 360px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.fade-section {
    opacity: 0;
    transition: opacity 0.8s ease;
}

    .fade-section.is-visible {
        opacity: 1;
    }

.hero-text {
    position: absolute;
    top: 45%;
    right: 8%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 10px;
    padding: 18px 24px;
    max-width: 420px;
    box-sizing: border-box;
    max-height: calc(100% - 40px);
    overflow-y: auto;
}

    .hero-text-h1 {
        margin: 0 0 8px 0;
        color:white;
        font-weight: bold;
    }

   .hero-text a {
        font-size: larger;
        color: white;
        text-decoration: underline;  
   }

.come-from-bottom {
    animation: comeFromBottom 0.8s ease-out forwards;
}

@keyframes comeFromBottom {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news_header {
    vertical-align: top;
    margin: 50px auto 0 auto;
    width: 90%;
    padding: 0;
    background-color: White;
    color: #666666;
    text-align: center;
    text-transform: none;
    font-size: 24pt;
    font-weight: 200;
}

@media all and (max-width:995px) {

    .followus_head_mobile {
        width: 100%;
        display: flex;
        overflow-x: auto;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

        .followus_head_mobile a {
            display: inline-flex;
            align-items: center;
            text-decoration: none;
        }

        .followus_head_mobile img {
            display: block;
        }
}

@media screen and (max-width: 800px) {
    .leidy_menu_container {
        display: none;
    }
}

@media screen and (max-width: 700px) {
    .hero-text {
        width: 80%;
    }
}

@media screen and (min-width: 601px) {
    .news_header {
        margin-top: 125px;
    }
}
@media screen and (max-width: 600px) {

    .news_header {
        margin-top: 50px;
    }
}

    .followus_head_mobile {
        width: 100%;
        display: flex;
        overflow-x: auto;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    
