@font-face {
    font-family: Header-Font;
    src: url(src/fonts/Sriracha-Regular.ttf);
}

@font-face {
    font-family: Paragraph-Font;
    src: url(src/fonts/Itim-Regular.ttf);
}

@media screen and (min-aspect-ratio: 1/1) {
    .tabbedCenterContentContainer {
        width: 70%;
    }
    .visitorPopupRibbon
    {
        width: 70%;
    }
    .charityGridItem {
        width: 20vw;
        height: auto;
        max-width: 20vw;
    }
    .charityItem {
        width: 20vw;
        height: 20vw;
        max-width: 20vw;
        max-height: 20vw;
    }
    .charityButton {
        width: 20vw;
        height: 20vw;
        max-width: 20vw;
        max-height: 20vw;
    }
}

@media screen and (max-aspect-ratio: 1/1) {
    .tabbedCenterContentContainer {
        width: 80%;
    }
    .visitorPopupRibbon
    {
        width: 80%;
    }
    .charityGridItem {
        width: 30vw;
        height: auto;
        max-width: 30vw;
    }
    .charityItem {
        width: 30vw;
        height: 30vw;
        max-width: 35vw;
        max-height: 35vw;
    }
    .charityButton {
        width: 30vw;
        height: 30vw;
        max-width: 35vw;
        max-height: 35vw;
    }
}

.outreachTabButton {
    position: relative;
    max-width: 100%;
    max-height: 100%;
    font-size: 2.2vmin;
    font-family: Header-Font;
    float: left;
    cursor: pointer;
    border: none;
    justify-content: center;
    align-items: center;
    width: 16vh;
    height: 5.5vh;
    background-color: rgba(222, 251, 255, .9);
    border-style: solid solid none solid;
    opacity: .5;
    border-style: none;
    top: .5vh;
}

.outreachTabButton:hover {
    background-color: rgba(175, 175, 175, .9);
}

.outreachTabButton.active {
    background-color: rgba(222, 251, 255, .9);
    border-style: solid solid none solid;
    border-color: rgba(255, 255, 255, .8);
    width: 16vh;
    height: 6vh;
    opacity: 1;
    top: 0;
}

.centerContentContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    margin: 0 auto;
    min-height: 80vh;
    background-image: url("src/Lumins_Flower_No_Text_60_Opacity.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.gradientContainer {
    background-image: linear-gradient(rgba(222, 251, 255, .0), rgba(222, 251, 255, 0.8), rgba(222, 251, 255, 0.9), rgba(222, 251, 255, 0.8), rgba(222, 251, 255, 0.0));
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    min-height: 80vh;
}

.gradientContainer p {
    margin-top: 50px;
    margin-left: 20px;
    margin-right: 20px;
    font-family: Header-Font, cursive;
    font-size: 1.1vmax;
}

.tabContainer {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.charityDisplayGrid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
}

.charityItem {
    background: url("src/outreachResources/TestIcon.png");
    background-size: cover;
    background-repeat: no-repeat;
    display: block;
    cursor: pointer;
    border: none;
    margin: 10px;
    text-align: center;
    margin-top: auto;
}

.charityItem:hover {
    background-color: rgba(222, 251, 255, 0.95);
}

.charityGridItem {
    margin: 10px;
    align-self: stretch;
    display: inline-block;
}

.charityButton:hover {
    background-color: rgba(222, 251, 255, 0.95);
}

.charityGridItem p {
    margin-top: 0px;
    margin-left: 0px;
    margin-right: 0px;
    font-size: calc(1.1vmin + .4em);
    font-family: Paragraph-Font, cursive;
    color: black;
}

.charityButton
{
    background: none;
    background-color: rgba(222, 251, 255, .6);
    border-radius: 15px;
    cursor: pointer;
    border: none;
    display: flex;
    position: relative;
    width: 100%;
}
.charityButton img
{
    width: 100%;
    background: none;
    opacity: .35;
}

.titleContainer
{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Header-Font, cursive;
    font-size: 1.4vmax;
    color: black;
}

.votingPopupScreen
{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(54, 54, 54, 0.45);
    z-index: 4;
}
.votingPopupRibbon
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    min-height: 40%;
    height: auto;
    border-radius: 40px;
    background:linear-gradient(rgba(222, 251, 255, 0.4), rgba(222, 251, 255, 0.7), rgba(222, 251, 255, 0.8), rgba(222, 251, 255, 0.9), rgba(222, 251, 255, 0.8), 
    rgba(222, 251, 255, 0.7), rgba(222, 251, 255, 0.4));
    z-index: 5;
}

.votingPopupRibbon p
{
    text-align: center;   
    font-family: Header-Font, cursive;
    font-size: calc(1.2vmin + .6em);
    margin-left: 30px;
    margin-right: 30px;
}

.votingPopupButtonContainer
{
    margin: 20px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.visitorPopupScreen
{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgba(54, 54, 54, 0.45);
    z-index: 4;
}

.visitorPopupRibbon
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 60%;
    height: auto;
    border-radius: 20px;
    background:linear-gradient(rgba(222, 251, 255, 0.9), rgba(222, 251, 255, 0.9), rgba(222, 251, 255, 0.9), rgba(222, 251, 255, 0.95), rgba(222, 251, 255, 0.9), 
    rgba(222, 251, 255, 0.9), rgba(222, 251, 255, 0.9));
    z-index: 5;
}
.visitorPopupRibbon p
{
    text-align: center;   
    font-family: Header-Font, cursive;
    font-size: calc(1.2vmin + .6em);
    margin-left: 30px;
    margin-right: 30px;
}

.visitorPopupRibbon img
{
    width: 25vmin;
    height: auto;
}

.popupButton
{
    background-color: rgba(62, 180, 228, 0.85);
    border: none;
    text-align: center;
    cursor: pointer;
    grid-row: 2;
    height: 7.5vmin;
    width: 30%;
    font-family: Header-Font, cursive;
    font-size: calc(1.6vmin + .6em);
    border-radius: 30px;
    margin-left: 5vmin;
    margin-right: 5vmin;
}

.popupButton:hover
{
    background-color: rgba(115, 169, 177, 0.6);
}