:root {
    --light-blue: #8ECAE6;
    --med-blue: #219EBC;
    --dark-blue: #023047;
    --yellow: #FFB703;
    --orange: #FB8500;
    --bg: var(--dark-blue);
    --fg: white;
}

/* @media (max-width: 1200px) { */
/*     .card{ */
/*         width: 90%; */
/*         padding: 1em; */
/*         min-width: 300px; */
/*     } */
/* } */
/**/
/* @media (min-width: 1201px) { */
/*     .card{ */
/*         width: 60%; */
/*         padding: 1em; */
/*     } */
/* } */

html {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    color: var(--fg);
    background-color: white;
    min-height: 100%;
}

body {
    min-height: 100vh;
    overflow: hidden;
}

#site-container, #background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#container {
    position: relative;
    z-index: 10;
}

#background {
    /* background-image: url("/images/pierogi_banner.png"); */
    /* background-size: 45em; */
    /* padding: 1em; */
    z-index: 0;
    height: 103%;
    overflow: hidden;
}

.content-container {
    position: relative;
    margin-top: 160px; /* Space for initial card header */
    height: calc(100vh - 160px);
    overflow: hidden;
    width: 100%;
    /* transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
    /* transition: margin-top 0.4s, height 0.4s; */
}

.pierogi {
    position: absolute;
    width: 100px;
    transition: 
        transform 10s;
}

.content-container.scrolled {
    margin-top: 80px; /* Height of collapsed header */
    height: calc(100vh - 80px);
}

.content-mask {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    /* Create a gradient mask that hides content just below the top */
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0px, 
        transparent 10px, 
        black 20px, 
        black 100%);
    mask-image: linear-gradient(to bottom, 
        transparent 0px, 
        transparent 10px, 
        black 20px, 
        black 100%);
}

.content-mask::-webkit-scrollbar {
    display: none;
    width: 100%;
}

.content {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    margin: 1.5em 0;
    background-color: var(--bg);
    border-radius: 15px;
    padding: 1rem;
    opacity: 95%;
}

#header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    background: var(--bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 1000;
    opacity: 95%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); */
    transition: all 0.4s ease-out;
}

#header.scrolled {
    top: 0;
    left: 0;
    transform: translateX(0);
    width: 100%;
    max-width: none;
    height: 80px;
    padding: 0 0.5em;
    border-radius: 0;
    border: none;
    background: var(--bg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#header > img {
    width: 10em;
    margin: 0.5em;
}

#header.scrolled > img {
    width: 5em;
    margin: 0.5em;
}

#nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

h1 {
    font-weight: 0;
    margin-top: 0;
}

a {
    color: var(--light-blue);
}

/* .flavor-card { */
/*     border-radius: 10px; */
/*     margin: 0.5em 0; */
/*     font-size: 30px; */
/* } */
/**/
/* .flavor-card p { */
/*     margin: 1em; */
/* } */
/**/
/* .flavor-card-heading { */
/*     background-size: cover; */
/*     background-position: center;  */
/*     border-radius: 10px; */
/*     width: 100%; */
/*     min-height: 100px; */
/* } */
/**/
/* .flavor-card-heading h1 { */
/*     margin-top: 0px; */
/*     font-size: 40px; */
/* } */

/* Responsive design */
@media (max-width: 768px) {
    /* #header { */
    /*     width: 80%; */
    /*     top: 10px; */
    /* } */
    
    /* #header.scrolled { */
    /*     padding: 0 1rem; */
    /*     height: 70px; */
    /* } */

    #content {
        padding: 1rem;
        margin: 0 auto;
    }

    /* .content-container { */
    /*     margin-top: 120px; */
    /*     height: calc(100vh - 120px); */
    /* } */
    /**/
    /* .content-container.scrolled { */
    /*     margin-top: 100px; */
    /*     height: calc(100vh - 70px); */
    /* } */
}
