@font-face {
    font-family: 'FSBenjaminBold';
    src: url('../fonts/FSBenjaminBold.otf') format('opentype');
}

@font-face {
    font-family: 'FSMillbankLight';
    src: url('../fonts/FSMillbankLight.otf') format('opentype');
}

@font-face {
    font-family: 'FSMillbankBold';
    src: url('../fonts/FSMillbankBold.otf') format('opentype');
}

:root {
    /* colors */
    --text-color: #006242;
    --button-bg-color: #006242;
    --button-text-color: #FFFFFF;
    --default-bg-color: #FFFFFF;
    --blurred-bg-color: #E2E2E2;
    --carousel-dot-color: #00624134;
    --carousel-dot-selected-color: #006241;
}

html, body {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0;
}

h1 {
    font-family: FSBenjaminBold;
    font-size: 11vw;
    text-align: center;
    margin: 15px 0px 15px 0px;
    color: var(--text-color);
}

h2 {
    font-family: FSMillbankLight;
    font-weight: normal;
    font-size: 5vw;
    text-align: center;
    margin: 15px 0px 15px 0px;
    width: 70vw;
    color: var(--text-color);
}

h3 {
    font-family: FSMillbankBold;
    font-size: 5.5vw;
    text-align: center;
    color: var(--button-text-color);
}

h4 {
    font-family: FSMillbankBold;
    font-weight: bold;
    font-size: 14px;
    margin: 2px;
    color: var(--text-color);
}

p {
    font-family: FSMillbankLight;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    color: var(--text-color);
}

#main-container, #bg-container {
    width: 100%;
    height: 100%;
}

#main-container {
    background-color: var(--default-bg-color);
    transition: background-color 1s;
}

#bg-container {
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -o-filter: blur(0px);
    -ms-filter: blur(0px);
    filter: blur(0px);
    transition: 1s;
}

#text-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#donate-button {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    width: 55vw;
    height: 25vw;
    background-color: var(--button-bg-color);
    border-radius: 30vw;
    margin: 20px 0px 0px 0px;
}

#guardians-button {
    text-align: center;
    color: var(--text-color);
    margin: 40px 0px 40px 0px;
    font-family: FSMillbankLight;
    font-size: 4vw;
    font-weight: normal;
    text-decoration: underline;
}

#image-container {
    position: absolute;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    pointer-events: none;
}

#image-container-top {
    display: flex;
    flex: 2;
}

#image-container-mid {
    display: flex;
    flex: 3;
    min-height: 17vh;
}

#image-container-bottom {
    display: flex;
    flex: 2;
}

.full-width {
    width: 100%;
}

#logo-container {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 10px;
}

#logo-image {
    width: 33vw;
}

.showing {
    bottom: 0% !important;
}

#popup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 87%;
    position: absolute;
    background-color: var(--default-bg-color);
    border-radius: 50px 50px 0px 0px;
    bottom: -100%;
    transition: bottom 0.6s;
}

#popup-title {
    position: absolute;
    top: 41px;
    font-family: FSBenjaminBold;
    font-size: 14px;
    color: var(--text-color);
}

#popup-container-top {
    flex: 1;
    display: flex;
    align-items: flex-start;
    width: 100%;
    justify-content: space-between;
    max-height: 58px;
}

#popup-container-main {
    flex: 5;
    align-items: center;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    overflow-y: scroll;
}

#popup-container-bot {
    flex: 1;
    display: flex;
    align-items: center;
}

#close-button-image {
    margin: 40px;
}

#vines-image {
    scale: 0.8;
    transform: translate(-18px, -14px);
    border-radius: 62px 0px 0px 0px;
}

.blur {
    -webkit-filter: blur(5px) !important;
    -moz-filter: blur(5px) !important;
    -o-filter: blur(5px) !important;
    -ms-filter: blur(5px) !important;
    filter: blur(5px) !important;
}

.grey {
    background-color: var(--blurred-bg-color) !important;
}

.carousel-width {
    width: 67%;
}

#rive-canvas {
    width: 95%;
    max-width: 400px;
    margin: 0px 0px 10px 0px;
}

#carousel {
    display: flex;
    align-items: center;
    flex-direction: column;
    align-content: center;
    justify-content: center;
}

#carousel-top {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}

#carousel-title {
    font-family: FSBenjaminBold;
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

#carousel-subtitle, #carousel-text {
    text-align: center;
}

#carousel-text {
    min-height: 195px;
}

#carousel-arrow-left, #carousel-arrow-right {
    width: 100px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#carousel-arrow-left {
    position: absolute;
    right: 76%;
    top: 33%;
}

#carousel-arrow-right {
    position: absolute;
    left: 76%;
    top: 33%;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background-color: var(--carousel-dot-color);
    border-radius: 5px;
    margin: 7px;
}

.carousel-dot-selected {
    background-color: var(--carousel-dot-selected-color);
}

@media only screen and (min-width: 650px) {
    h1 {
        font-size: 5vw;
    }

    h2 {
        font-size: 2vw;
    }

    h3 {
        font-size: 2.5vw;
    }

    #donate-button {
        width: 28vw;
        height: 7vw;
    }

    #logo-image {
        width: 19vw;
    }

    #guardians-button {
        font-size: 2vw;
    }

    #popup-container {
        width: 70%;
        left: 15%;
    }
}