﻿.spotlightContainer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: no-wrap;
    padding: 2em 1em;
    gap: 5%;
    width: 90%;
}

    .spotlightContainer h3:first-child {
        transition: transform 0.3s ease;
    }

    .spotlightContainer article.spotlightInfo {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        /* height: stretch; */
        max-height: 35rem;
        padding: 1rem;
        /* margin: 1em; */
        overflow: hidden;
        border-radius: 3rem; /*changed from 3px per judge feedback*/
        border-top-left-radius: .1rem;
        background: #fff;
        box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.5);
        overflow: hidden;
        flex: 0 1 50%;
        border: 5px solid #222;
    }

        .spotlightContainer article.spotlightInfo:hover,
        .spotlightContainer article.spotlightInfo:focus {
            text-decoration: none;
            box-shadow: none;
            /* border: 1px solid #ccc; */
            background: #fefefe;
            border-color: var(--cc-yellowAccent);
        }

    .spotlightContainer .spotlightInfo .spotlightImg {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        /* height: 100%; */
        width: 40%;
        min-width: 20rem;
        max-width: 20rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        /* padding: .25em; */
        border-radius: 3rem;
        border-top-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

        .spotlightContainer .spotlightInfo .spotlightImg .spotDate {
            color: rgb(255, 255, 255);
            font-size: .75rem;
            background: rgba(0, 0, 0, 0.8);
            padding: 5px 5px 0px 5px;
            margin: .75em 0;
            border-radius: 3px;
        }

    .spotlightContainer .spotlightInfo h3 {
        font-size: 1.5rem !important;
        color: #333;
        margin: 1.5rem 0;
        letter-spacing: 1px;
    }

    .spotlightContainer .spotlightInfo .spotText {
        display: block;
        width: 60%;
        padding: 1rem;
    }

.spotlightInfo .getItLink {
    text-align: right;
    width: 100%;
    display: block;
}

.spotlightInfo .getItLink a.findOut {
    background: #e3f0fd;
    padding: .35rem .75rem .2rem .75rem;
    border-radius: 5rem;
    border: 1px solid #97a0a8;
    font-weight: bold;
    letter-spacing: .025rem 0.4px;
    color: #333;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.25);
}

    .spotlightInfo a.findOut:hover, .spotlightInfo a.findOut:focus {
        box-shadow: inset 1px 1px 5px rgba(0, 0, 0, 0.25);
    }

.spotlightInfo .spotTag {
    /* padding-top: .5rem; */
}

    .spotlightInfo .spotTag .cctag {
        /* background: #3c6da430; */
        border-bottom: 1px solid #ffc107;
        padding: .5rem 1rem 0 1rem;
        line-height: 1;
        /* border-radius: .25rem; */
        font-size: .95rem;
        letter-spacing: 1px;
    }

.spotlightContainer .spotlightInfo ul {
    list-style: none;
    padding-left: 0.5em;
}

    .spotlightContainer .spotlightInfo ul li {
        padding: 0.25em 0 0.25em 0.25em;
        border-left: 1px solid transparent;
    }

.spotlightContainer .spotlightInfo li:hover {
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

section#spotlightBlock {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
    background-image: url('../images/backgroundimg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

    /* solid color overlay */
    section#spotlightBlock::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgb(32 60 94 / 90%); /* solid color overlay */
        z-index: 1;
        backdrop-filter: blur(4px);
    }

    /* make content sit above overlay */
    section#spotlightBlock > * {
        position: relative;
        z-index: 2;
    }

    section#spotlightBlock h2 {
        color: #fff !important;
        border-bottom: 2px solid var(--cc-yellowAccent);
        width: 25%;
        font-size: 2rem;
        letter-spacing: 1px;
        text-align: center;
    }

#spotlightBlock .social-follow {
    display: flex;
    flex-direction: column;
}
/* Extra large desktops */
@media (max-width: 1500px) {
    .spotlightContainer article.spotlightInfo {
        flex: 0 1 60%;
    }
}

@media (max-width: 1366) {
    section#spotlightBlock h2 {
        width: 30%;
    }
}

/*Unconventional break*/
@media (max-width: 1304) {
    .spotlightContainer article.spotlightInfo {
        flex: 0 1 60%;
    }

    .spotlightContainer {
        gap: 2%;
        width: 95%;
    }
}
/* Large desktops */
@media (max-width: 1080px) {
    section#spotlightBlock h2 {
        width: 50%;
    }

    .spotlightContainer .spotlightInfo .spotlightImg {
        min-width: 40%;
    }
}

/* Small desktops / large tablets */
@media (max-width: 992px) {
    section#spotlightBlock h2 {
        width: 45%;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .spotlightContainer {
        flex-wrap: wrap;
        padding: 1rem 0;
    }

        .spotlightContainer article.spotlightInfo {
            flex: 1 1 100%;
        }

    section#spotlightBlock h2 {
        width: 80%;
    }
}

/* Large phones */
@media (max-width: 576px) {
    .spotlightContainer article.spotlightInfo {
        border: 2px solid #222;
        padding: .25rem;
        flex-direction: column;
        position: relative;
        border-radius: .25rem;
    }

    .spotlightContainer .spotlightInfo .spotText {
        display: block;
        width: 100%;
        padding: 1rem;
        z-index: 1;
    }

    .spotlightContainer .spotlightInfo .spotlightImg {
        height: 98%;
        width: 98%;
        position: absolute;
        opacity: .15;
        border-radius: .25rem;
        min-width: 98%;
    }
}

/* Small phones */
@media (max-width: 480px) {
}

/* Very small devices */
@media (max-width: 360px) {
}
