:root{
    --yolk: #ffbf00;
    --richYolk: #ec8e00;
}
body {
    margin: 0;
    background-image: url("assets/eggSeamlessBackground.jpg");
    background-color: #ffffff;
    /*https://stackoverflow.com/questions/2949606/repeat-css-background-image-a-set-number-of-times*/
    background-repeat: repeat-x;
    /*https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat*/
}

.background-gradient{
    position: absolute;
    background-image: linear-gradient(#ffffff00, #ffffff);
    background-repeat: no-repeat;
    height: 70vh;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: -1;
}

h1, h2, h3 {
    font-family: 'Dokdo', sans-serif;
}
h1 {
    font-size: 4rem;
}
h2 {
    font-size: 2rem;
}
h3 {
    font-size: 1.3rem;
}
p, li {
    font-family: 'Indie Flower', sans-serif;
    font-size: 1.2rem;
    margin: 2em 0;
}

.subtitle-TopBorder {
     border-top: 1px solid var(--yolk);
     padding-top: 1em;
}

.content {
    margin: 0em 16rem;
    padding: 3rem 12rem;
    background-color: white;

    img {
        display: block;
        margin-left: auto;
        margin-right: auto;
        /*https://www.w3schools.com/howto/howto_css_image_center.asp*/
        margin-bottom: 2rem;
        width: 100%;
    }
    .title, .paragraph {
        display: flex;
        justify-content: center;
    }

    .card-row{
        display: flex;
        border-bottom: 1px solid var(--yolk);
    }
    .card {   
        .card-header {
            &:hover {
                color: var(--yolk);
            }
        }
        .card-content {
            height: 0;
            overflow: hidden;
            transition: all 200ms;
        }
        &.open {
            .card-header {
                color: var(--yolk);
            }
            .card-content {
                height: auto;
            }
        }
    }
}


.jsonSort {
    display: flex;
    padding: 2em;
    justify-content: center;
}
.buttonColumn{
    margin: 1em 5em 1em 1em;

    #mashedEggs{
        background: var(--yolk);
        padding: 1em 2em;
        margin-bottom: 2em;
        &:hover{
            filter: brightness(0.8);
        }
    }

    #slicedEggs{
        background-color: var(--richYolk);
        padding: 1em 2em;
        &:hover{
            filter: brightness(0.8);
        }
    }
}
.jsonColumn {
    padding: 1em;

    .egg-item{
        margin-bottom: 1.5em;
        .jsonH3, .jsonp {
        margin: 0;
        }
    }
}

@media screen and (max-width: 1300px){
    h1 {
    font-size: 4rem;
    }
    h2 {
        font-size: 2rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    p, li {
        font-size: 1.2rem;
    }

    .content {
    margin: 0em 10rem;
    padding: 1rem 6rem;
    background-color: white
    }
}

@media screen and (max-width: 900px){
    h1 {
    font-size: 2.8rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    p, li {
        font-size: 1rem;
    }

    .content {
    margin: 0em 2rem;
    padding: 0.5rem 3rem;
    background-color: white
    }

    .background-gradient {
        height: 80vh;
    }
}