/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Ensure navigation focus outlines are never clipped by W3.CSS containers */
.nav-link:focus,
header a:focus {
    outline: 2px solid #990000 !important;
    outline-offset: -2px !important;
    /* Pulls outline inside the link box so overflow won't hide it */
    /*
    background-color: #ffffff !important; Provides instant visual background contrast
    */
    position: relative !important;
    z-index: 9999 !important;
}

/* skips to main content - bypass nav */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 8px;   
    z-index: 1000;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
    left: 10px;
}

a:focus {
    outline: 2px solid #c5050c;
    outline-offset: 4px;
}


body {
    padding: 0;
    margin: 0;
    font-size: 18px;
    background-color: #fff;
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.link {
    color: #3333FF;
    text-decoration: none;
}

/* hero container */
.hero {
    height: 40vh;
    width: 100%;
    overflow: auto;
    background-image: url('images/hero-bigrose.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Centering the content inside */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-transform: uppercase;
}

.quote {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1em;
    padding:20px 50px;
    /* text-shadow: 2px 2px 0 #222; */
}


/* header */
.nav-link {
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    text-decoration: none;
}


/* nav logo */
.nav-logo {
    height: 35px;
    width: auto;
    padding: 0 !important;
}

.right-start {
    margin-left: auto;
    /* Pushes this item and everything after it to the far right */
}

.custom-bar {
    display: flex;
    align-items: center;
}

/* ACCORDIAN */

.accordion {
    background-color: #fff;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: 0.4s;
}

.active,
.accordion:hover {
    background-color: #ccc;
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.active:after {
    content: "\2212";
}

.accordionPanel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    /* border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd; */
    border-bottom: 1px solid #efefef;
}

/* People */

.image-90 {
    width: 90%;
    height: auto;
}

.people-container {
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}

.people-container>div {
    width: 23%;
    margin: 1%;
    overflow-wrap: break-word;
}

.square-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    aspect-ratio: 1;
}

/* Typography & Content */
.hero-content {
    max-width: 800px;
}

.hero-h1 {
    font-weight: 800;
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 5px #222
}

.open-sane-section-header {
    font-family: "Open Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}

.hero-tag {
    text-transform: uppercase;
    max-width: 500px;
    font-size: .95rem;
    padding: 4px 20px;
    margin: 0 auto;
}

.hero-logo {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.hero-img-container {
    margin: 0 auto;
}

.main-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* footer */
.footer-content {
    font-size: .85rem;
}

.text-at-bottom {
    font-size: .75rem;
}

.socials {
    height: 25px;
    width: auto;
}

.footer-links{
    margin: 0;
    padding: 0;
}

.footer-links li{
    padding:4px 0;
    list-style: none;
}

/* image formatting */

.container-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.width-40 {
    width: 40%;
}

.img-100 {
    width: 100%;
    height: auto;
}


/* PUBS */

.pubAuthor {
    font-size: .9rem;
}

.pubs-flex {
    width: 100%;
    margin: 50px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.pubs-flex>div {
    margin: 0 1%;
    width: 31%;
}

.pubs-flex>div:hover {
    background-color: aliceblue;
}



.yr {
    font-weight: 800;
    color: #555;
}

/* people */
.people-flex {
    width: 100%;
    margin: 50px auto 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.people-flex>div {
    margin: 0 1%;
    width: 23%;
}

/* mobile responsiveness */
@media (max-width: 768px) {


    /* people */
    .people-flex>div {
        flex-direction: column;
        width: 100%;
        font-size: 1.25rem;
        margin: 1% 0;

    }


    /* PUBS */
    .pubs-flex {
        width: 94%;
    }

    .pubs-flex>div {
        flex-direction: column;
        width: 100%;
        font-size: 1rem;
        border: none;
        border-radius: 0;
        padding: 25px 1%;
        margin: 0 auto;
        border: none;
        border-bottom: 1px solid #eaeaea;

    }

    .pubs-flex>div:last-child {
        border: none;
    }


    .yr {
        font-weight: 800;
        color: #555;
        font-size: 1.5rem;
    }

    .pubJournal {
        font-size: 1.25rem;
        border: none;
    }

    /* nav logo */
    .nav-logo {
        height: 30px;
        width: auto;
        margin: 2%;
    }


    .hero {
        height: 50vh;
        /* Shorter height on phones */
    }

    .quote {
        font-size: 3rem;
        padding:10px;
    }

    .hero_nav_dark_gray {
        background: linear-gradient(to bottom, rgb(255, 255, 255), rgba(100, 100, 100, 0.05));
        height: 300px;
        width: 100%;
    }

    .hero-logo {
        max-width: 80%;
        height: auto;
    }

    .hero-h1 {
        font-size: 2rem;
    }

    .hero-tag {
        text-transform: uppercase;
        max-width: 75% !important;
        font-size: .85rem;
        padding: 4px 20px;
        margin: 0 auto;
    }

    .footer-content {
        font-size: 1rem;
    }

    .footer-content div {
        margin: 5% auto;
    }

    .footer-boxes {
        text-align: center;
    }

}