@keyframes hatch {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 10px 10px;
    }
}

body {
    background: rgb(155,220,255);
    color: black;
    font-family: 'Overpass', sans-serif;
}

.mapdiv {
    width: 85%;
    margin: auto;
}

.mapdiv path {
    stroke: #ffffff;
    stroke-width: 1.2px;
    transition: fill 0.3s;
}

.al, .ar, .ca, .de, .ky, .mo, .ms, .nc, .nj, .ny, .pa, .sc, .tn, .va, .wi, .wv {
    fill: #ff0000;
    background-size: 10px 10px;
    animation: hatch 1s infinite linear;
}

.ct, .ma, .md, .ok, .ri, .ga {
    fill: #ba00f2;
}

.in, .ks, .oh, .tx {
    fill: #0C00C5;
}

.nv {
    fill: #F2D600;
}

.dccircle {
    fill: #ba00f2;
    stroke: #ffffff;
    stroke-width: 2px;
}
.stickybar {
    position: sticky;
    top: 0;
    margin-left: -8px;
    margin-right: -8px;
    background: linear-gradient(#4977B4, #081BCB, #0062EA);
    color: #fff;
    padding: 8px;
    z-index: 999;
    text-align: center;
}

.stickybar a {
    color: white;
    margin: 0 8px;
    padding: 12px 8px 8px;
    text-decoration: none;
    font-weight: bold
}

.stickybar a:hover {
    background-color: rgba(186, 0, 242, 0.35);
}

.dropdown {
    display: inline-block;
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 125%;
    left: 0;
    min-width: 180px;
    background: linear-gradient(#4977B4, #081BCB, #0062EA);
    border: 2px solid #558cc3;
    border-radius: 8px 8px 8px 8px;
    z-index: 1000;
}

.dropdown-content a {
    display: block;
    padding: 10px 14px;
    margin: 0;
    color: white;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
}

.dropdown-content a:hover {
    background-color: rgba(186, 0, 242, 0.35);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.text-content {
    margin-left: 35px;
    margin-right: 35px;
    font-family: 'Overpass', sans-serif;
}

.responsive-image img {
    max-width: 99%;
    height: auto;
}

.c50 {
    width: 33%;
    margin: 0 auto;
    font-family: 'Overpass', sans-serif;
    padding: 1rem;
    text-align: left;
}

.container {
    display: flex;
    gap: 10px;
    max-width: 1100px;
    margin: 20px auto;
}

.box {
    flex: 1;
    background-color: #89c0ff;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid #558cc3;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box:hover {
    border-color: #BA00F2;
}

.box p {
    font-size: 18px;
    color: #000000;
}

.box-2 {
    flex: 1;
    background-color: #ffafa9;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid #558cc3;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-2:hover {
    border-color: #BA00F2;
}

.box-2 p {
    font-size: 18px;
    color: #000000;
}

.flickr-slideshow {
    position: relative;
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 3 / 2;
    margin: auto;
    overflow: hidden;
    background: #111;
}

.slides-container {
    display: flex;
    height: 100%;
    transition: transform .8s ease;
}

.slides-container img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: white;
    font-size: 28px;
    cursor: pointer;
    z-index: 5;
    opacity: .75;
}

.arrow:hover {
    background: rgba(0, 0, 0);
    opacity: 1;
}

.arrow.prev {
    left: 25px;
}

.arrow.next {
    right: 14px;
}

.dots {
    position: absolute;
    bottom: 22px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
}

.dot:hover {
    background: rgba(255, 255, 255, .8);
}

.dot.active {
    background: white;
    transform: scale(1.25);
}

.caption-panel {
    max-width: 1000px;
    margin: 20px auto 20px;
    text-align: center;
    line-height: 0.5;
    font-family: Overpass, sans-serif;
    font-style: italic;
    font-size: 14px;
}

#new::before,
#roads::before,
#weatherradio::before,
#other::before,
[id]::before {
    content: "";
    display: block;
    height: 60px;
    margin-top: -60px;
    visibility: hidden;
    pointer-events: none;
}

@media only screen and (max-width: 1500px) {
    .c50 {
        min-width: 300px;
        width: 50%;
        padding: 0.5rem;
        text-align: left;
        font-family: 'Overpass', sans-serif;
    }

    .arrow {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .dots {
        bottom: 15px;
    }

    .caption-panel h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .stickybar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        padding: 8px 6px;
    }

    .stickybar a {
        margin: 0;
        padding: 8px 6px;
        font-size: 0.9rem;
    }

    .stickybar a:hover,
    .dropdown-content a:hover {
        background: transparent;
    }

    .dropdown-content {
        min-width: 150px;
    }

    .caption-panel {
        line-height: 1.4;
        padding: 0 16px;
    }

    .caption-panel p {
        margin: 10px 0;
    }

    .caption-panel h2,
    .caption-panel h3 {
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .box,
    .box-2 {
        width: 100%;
        max-width: 400px;
        padding: 10px;
        box-sizing: border-box;
    }
    
    #new::before,
    #roads::before,
    #weatherradio::before,
    #other::before,
    [id]::before {
        content: "";
        display: block;
        height: 90px;
        margin-top: -90px;
        visibility: hidden;
        pointer-events: none;
    }
}

body {
    font-family: 'Overpass', sans-serif;
    font-size: 14pt;
}