/* board.css */

/* banner */

#banner .container.image {
    height: 400px;
    box-sizing: border-box;
    overflow: hidden;
}

#banner .content.image {
    height: 100%;
    justify-content: center;
    align-items: start;
}

#banner img {
    position: relative;
    width: 100%;
    height: auto;
    max-width: none;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
    background-color: var(--lightBlue);
}

#banner .container.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: rgba(0, 255, 0, 0.0);
    z-index: 2;
}

#banner .content.overlay {
    position: relative;
    justify-content: flex-start;
    align-items: center;
    margin-top: 20px;
    background-color: rgba(255, 0, 0, 0.0);
}

#banner .content.overlay h4 {
    font-size: 3.0rem;
    color: var(--navy);
    background-color: rgba(255, 0, 255, 0.0);
}

#banner .content.overlay h5 {
    font-size: 1.5rem;
    color: var(--navy);
    background-color: rgba(255, 0, 255, 0.0);
}

/* welcome */

#welcome .content.articles {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: -180px;
    background-color: rgba(255, 0, 0, 0.0);
}

#welcome article {
    margin: 10px;
    margin-top: 0px;
    width: calc((100% / 3) - 20px);
    background-color: rgba(255, 255, 0, 0.0);
}

#welcome article.center {
    order: 2;
    margin: 0px;
    height: auto;
    background-color: rgba(255, 0, 0, 0.0);
    overflow: visible;
}

#welcome article.center .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
    border-radius: 35px;
    z-index: 0;
}

#welcome article.center .bkg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--goldShine);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    z-index: 0;
}

#welcome article.center .content.card {
    position: relative;
    margin: 1px;
    width: calc(100% - 2px);
    background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 30%, var(--darkBlue) 100%);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    z-index: 1;
}

#welcome article .content.card {
    height: 100%;
}

#welcome article.center .container.image {
    margin: 20px 0;
    width: calc(100% - 20px);
    height: auto;
    background-color: rgba(0, 255, 0, 0.0);
}

#welcome article.center .container.image .shadow {
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    -webkit-mask-image: url('../images/logo/large.webp');
    mask-image: url('../images/logo/large.webp');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    filter: blur(20px);
    z-index: 0;
    overflow: hidden;
}

#welcome article.center .content.image {
    aspect-ratio: 2 / 1;
    height: auto;
    background: var(--goldShine);
    -webkit-mask-image: url('../images/logo/large.webp');
    mask-image: url('../images/logo/large.webp');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
}

#welcome article.center .content.image img {
    visibility: hidden;
}

/* board */
#board .content.articles {
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 10px 20px;
    width: calc(100% - 40px);
    background-color: rgba(255, 0, 0, 0.0);
}

#board article {
    margin: 10px;
    width: calc((100% / 3) - 20px);
    aspect-ratio: 2.5 / 1;
    height: auto;
    background-color: rgba(255, 255, 0, 0.0);
}

#board article .shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
    border-radius: 40px;
    z-index: 0;
}

#board article .bkg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--goldShine);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    z-index: 0;
}

#board .content.card {
    position: relative;
    flex-direction: row;
    margin: 1px;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    background: linear-gradient(150deg, var(--blue) 0%, var(--navy) 30%, var(--darkBlue) 100%);
    clip-path: polygon(20px 0, calc(100% - 20px) 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px), 0 20px);
    z-index: 1;
}

#board article .content.left {
    align-items: center;
    margin-left: 20px;
    width: auto;
}

#board article .content.right {
    align-items: flex-start;
    margin: 20px;
}

#board .container.icon .bkg {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    border-radius: 50%; 
    background: var(--goldShine); 
}

#board h3 {
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    background: var(--goldShine);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

#board .content.card h5 {
    margin-top: 2px;
    font-size: 0.9rem;
    color: white;
}

#board .content.card p {
    margin-top: 2px;
    font-size: 0.9rem;
    color: var(--lightBlue);
}

/* responsive sizing */
@media
only screen and (min-width: 300px) and (max-width: 575px){

    #welcome .content.articles {
        margin-top: -100px;
    }

    #welcome article {
        width: calc((100% / 1) - 20px);
    }

    #welcome article .content.card {
        margin-top: 20px;
        height: 100%;
    }

    #welcome article.left {
        order: 2;
    }
    
    #welcome article.center {
        margin: 10px 50px;
        order: 1;
    }

    #welcome article h3 {
        font-size: 2.0rem;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
    
    #welcome article p {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    #welcome article.center h2 {
        font-size: 1.25rem;
    }

    #welcome article.center p {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    #welcome .container.button.more {
        margin: 20px;
    }

    #welcome .content.button.more {
        font-size: 1.25rem;
    }

    #board .content.articles {
        gap: 10px;
    }
    
    #board article {
        margin: 10px 0;
        width: calc((100% / 1) - 0px);
        aspect-ratio: 2.5 / 1;
        height: auto;
        background-color: rgba(255, 255, 0, 0.0);
    }

}

@media
only screen and (min-width: 576px) and (max-width: 935px){

    #welcome .content.articles {
        margin-top: -250px;
    }

    #welcome article {
        width: calc((100% / 2) - 20px);
    }

    #welcome article .content.card {
        margin-top: 10px;
        height: 100%;
    }

    #welcome article.left {
        order: 2;
    }
    
    #welcome article.center {
        margin: 10px 50px;
        order: 1;
    }

    #welcome article h3 {
        font-size: 1.0rem;
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
    }
    
    #welcome article p {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    #welcome article.center h3 {
        font-size: 1.25rem;
    }

}