/* v7 */
body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 14px;
    height: 100%;
    margin: 0;
    padding: 0;
}

#menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px; /* space between rows and columns */
    align-items: center;
    max-width: 100%;
    margin: 0 auto; /* centers the container horizontally */
    height: 70px;
    background-color: #fafafa;
    border-bottom: 1px solid #f0f0f0;

    > div > img {
        height: 25px;
        width: 25px;
    }

    > div > a {
        color: #006838;
        border: none;
        font-size: clamp(0.9rem, 1vw, 1.1rem);
        font-weight: bold;
        text-decoration: none;
        cursor: pointer;
        text-transform: uppercase;
        text-decoration: none;
        transition-duration: .3s;
    }

    > #instagram-link {
        display: flex;
        align-items: center;
        justify-content: right;
        gap: 7px;
        padding-right: 20px;
    }

    > #etsy-link {
        display: flex;
        align-items: center;
        justify-content: left;
        gap: 7px;
        padding-left: 20px;
    }

    > div > a:hover {
        color: #85c446;
    }
}

#logo {
    margin: 25px auto 15px auto;
    width: 300px;
    height: 300px;
    position: relative;

    img {
        /* display: none; */
        width: 100%;
        height: 100%;
        position: relative;
        z-index: 1;
    }

    div {
        width: 300px;
        height: 300px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 0;
    }

    > #fade-gradient-mask {
        background-image: linear-gradient(to top, rgba(0,104,56,1), rgba(0,104,56,0) 50%);
        z-index: 1;
    }

    > #fade-bg {
        z-index: -1;
        background-image: radial-gradient(circle at 50% 0%, #aff525, #006838);
    }

/* animation: name duration iteration-count timing-function fill-mode */
/* radial-gradient(<size> <circle at <pos> <pos>>, <color <stop>>, <color <stop>>), */

    > #fade-01 {
        animation: fade01 5s infinite linear forwards;
        background-image: radial-gradient(circle at 0% 0%, #c8fa02, #006838);
    }
    > #fade-02 {
        animation: fade02 5s infinite linear forwards;
        background-image: radial-gradient(circle at 0% 50%, #6fc40e, #006838);
    }
    > #fade-03 {
        animation: fade03 5s infinite linear forwards;
        background-image: radial-gradient(circle at 0% 100%, #6fc40e 60%, #006838);
    }
    > #fade-04 {
        animation: fade04 5s infinite linear forwards;
        background-image: radial-gradient(circle at 50% 100%, #6fc40e 60%, #006838);
    }
    > #fade-05 {
        animation: fade05 5s infinite linear forwards;
        background-image: radial-gradient(circle at 100% 100%, #97d909 60%, #006838);
    }
    > #fade-06 {
        animation: fade06 5s infinite linear forwards;
        background-image: radial-gradient(circle at 100% 50%, #acd130 60%, #006838);
    }
    > #fade-07 {
        animation: fade07 5s infinite linear forwards;
        background-image: radial-gradient(circle at 100% 0%, #aede3e, #006838);
    }
    > #fade-08 {
        animation: fade08 5s infinite linear forwards;
        background-image: radial-gradient(circle at 50% 0%, #aff525, #006838);
    }
}

@keyframes fade01 {
    0%    { opacity: 1; }
    87.5% { opacity: 1; }
    100%  { opacity: 0; }
}
@keyframes fade02 {
    0%    { opacity: 1; }
    75%   { opacity: 1; }
    87.5% { opacity: 0; }
    100%  { opacity: 0; }
}
@keyframes fade03 {
    0%    { opacity: 1; }
    62.5% { opacity: 1; }
    75%   { opacity: 0; }
    100%  { opacity: 0; }
}
@keyframes fade04 {
    0%    { opacity: 1; }
    50%   { opacity: 1; }
    62.5% { opacity: 0; }
    100%  { opacity: 0; }
}
@keyframes fade05 {
    0%    { opacity: 1; }
    37.5% { opacity: 1; }
    50%   { opacity: 0; }
    100%  { opacity: 0; }
}
@keyframes fade06 {
    0%    { opacity: 1; }
    25%   { opacity: 1; }
    37.5% { opacity: 0; }
    100%  { opacity: 0; }
}
@keyframes fade07 {
    0%    { opacity: 1; }
    12.5% { opacity: 1; }
    25%   { opacity: 0; }
    100%  { opacity: 0; }
}
@keyframes fade08 {
    0%    { opacity: 1; }
    12.5% { opacity: 0; }
    100%  { opacity: 0; }
}

#dugouts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 10px; /* space between rows and columns */
    max-width: 1030px; /* layout stops growing past this */
    margin: 0 auto; /* centers the container horizontally */
    padding: 10px;

    > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        border-radius: 10px;
    }
}

footer {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #424242;

    > a {
        display: block;
        width: 150px;
        height: 150px;
        margin: 0 auto 35px auto;
        border-radius: 50%;
        background-color: #006838;
        cursor: pointer;
        transition-duration: .3s;

        > img {
            width: 150px;
            margin-bottom: 15px;
        }
    }

    > a:hover {
        background-color: #85c446;
    }
}
