
#grid {
    background-image: url("../media/ornament.jpg");
    grid-template-rows: 100px calc(100vh - 20vh) auto;
    grid-template-areas:    "nav"
                            "main"
                            "footer";
}


.introduction {
    max-width: 600px;
    margin: 5vh 0 0 0;
    color: var(--clr-txt);
}

h1 {
    color: var(--clr-txt);
}

.buttons button {
    width: 30%;
    min-height: 80px;
    margin: 40px 3% 0 0;
    border: 0;
    background: var(--clr-tert);
    font-size: 1.5rem;
    border-radius: 16px;
    font-weight: bold;
    transition: all 400ms ease-in-out;
    text-align: center;
    outline: none;
}

.buttons button:hover {
    background: var(--clr-sec);
    color: var(--clr-bg);
    transform: scale(1.08);
    transition: all 200ms ease-in-out;
    cursor: pointer;
}

#article{
    display: none;
}


/* Mobile queries */
@media only screen and (max-height: 900px) {

    .introduction {
        margin: 0;
    }

    h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        line-height: 3rem;
    }

}


@media only screen and (max-width: 720px) {

    body {
        background-image: url("../media/ornament.jpg");
        background-size: 2800px;
        background-repeat: no-repeat;
        background-position: -1275px top;
        background-attachment: scroll;
    }

    h1 {
        font-size: 2rem;
        line-height: 2rem;
    }

    #grid {
        grid-template-rows: 80px auto auto;
        background-image: none;
    }

    .introduction {
        margin: 64px 0 24px 0;
    }

    .buttons button {
        width: 100%;
        margin: 0 0 24px 0;
    }

}
