/*Riley Hochevar Final Project*/

#introtext
{
    width: 100%;
    margin: 50px 0 50px 0;
    padding: 10px 0 10px 0;
}

#introimg
{
    display: none;
}

#title
{
    margin: 5% auto 5% auto;
    width: fit-content;
}

.imgGrid /*Grid Layout pg(353)*/
{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-gap: 20px;
}

.Mush
{
    position: relative;
    margin: 2% auto;
    max-width: 400px;
}

.Mush > .edible
{
    width: 400px;
    height: 400px;
    border: 2px solid rgb(1, 168, 1);
}
.Mush > .toxic
{
    width: 400px;
    height: 400px;
    border: 2px solid rgb(221, 0, 0);
}

.Mush > figcaption
{
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.50);
    padding: 15px 0 15px 0;
    text-align: center;
    font-size: 1.5em;
}

#mobileE, #mobileT
{
    display: none;
}

/*Styles for mobile viewport*/
@media only screen and (min-width: 320px) and (max-width: 768px)
{   
    .imgGrid
    {
        display: block;
        grid-template-columns: 0;
        grid-gap: 0;
        width: 100%;
    }

    .Mush
    {
        position: unset;
        display: block;
        max-width: 100%;
        width: 100%;
        margin: 50px 0 50px 0;
    }

    .Mush > .edible
    {
        border: 0px solid transparent;
        width: 100%;
    }

    .Mush > .toxic
    {
        border: 0px solid transparent;
        width: 100%;
    }

    .Mush > img
    {
        width: 100%;
    }

    .Mush > figcaption
    {
        position: relative;
        width: 100%;
        margin: 0;
    }

    #mobileE
    {
        display: block;
        margin: 15% 40% 0 40%;
        width: fit-content;
        text-decoration: underline;
        text-decoration-color: rgb(1, 168, 1);
    }

    #mobileT
    {
        display: block;
        margin: 15% 40% 0 40%;
        width: fit-content;
        text-decoration: underline;
        text-decoration-color: rgb(221, 0, 0);
    }
}