/********** Header **********/

header {
    margin: 0px;
    background-color: white;
    /* position: absolute; */
    display: flex;
    /* gap: 10px; */
    justify-content: space-around;
    height: 3rem;
    align-items: center;
    text-align: center;
    /* top: 0;
    position: sticky; */
}

header * {
    flex-grow: 1;
}
header img {
    flex-grow: 0;
}

.dmenu-item a {
    transition: 0.1s transform;
    display: block; /* to get scale to work */
}

#space-left {
    flex-grow: 2;
}

#space-right {
    flex-grow: 2;
}

button.donate {
    border: 0;
    background-color: var(--deep-blue);
    font: inherit;
    padding: 0.6rem 2rem;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.5s transform;
}

/* button.donate:hover { */
    /* transform: scale(1.25); */
    /* happens instantly */
    /* font-size: 1.25rem; */
/* } */

/********** Hamburger Menu **********/
#hmenu-nav {
    display: none;
}

.hmenu-icon {
    width: 50px;
    height: 50px;
    display: none;
}

.hmenu-icon.show {
    display: block;
}

.slide-in {
    z-index: 10; /* to position it in front of the other content */
    position: absolute;
    overflow: hidden; /* to prevent scrollbar appearing */
}

.slide-in.from-right {
    right: 0;
}

.slide-in-content {
    background-color: white;
    /* width: fit-content; */
    /* position: absolute; */
    /* right: 10px;
    top: 55px; */
    padding: 15px;
    font-size: 3rem;
    line-height: 3.5rem;
    /* border-radius: 5px; */
    transition: transfrom 0.5s ease, background-color 0.5s ease;
}

.slide-in.from-right .slide-in-content {
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
}


.slide-in.showSlideIn .slide-in-content {
    transform: translateX(0);
    -webkit-transform: translateX(0);
    /* background-color: red; */
}


img.subpage-banner {
    z-index: -1;
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: 75% 50%;
    /* box-shadow: inset 0px 20px 5px rgba(0, 0, 0, 0.5); */
}

.subpage-title {
    text-align: center;
}

.subpage-title h1 {
    margin: 0;
    font-size: 6rem;

    /* position: relative;
    top: -4rem; */
    font-style: italic;
    color: var(--deep-blue);
    /* -webkit-text-stroke: 1px #090a0a; */
    /* color: transparent; */
    /* text-shadow: 2px 2px 0px var(--deep-blue); */

    animation: bounceInUp 1s;
    animation-play-state: running;
}

@media screen and (width <= 600px) {
    .subpage-title h1 {
        font-size: 15vw;
    }
}

@media screen and (width <= 500px) {
    .dmenu-item {
        display: none;
    }
    #hmenu-nav {
        display: block;
    }
}