/* Informative Blurb Grid :D */
#SillieExplanationGrid {
    display: grid;
    grid-template: auto / 20% 60% 20%;
    align-items: center;
    justify-items: center;
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}
#SillieExplanationGrid img {
    width: 100%;
}
#SillieExplanationGrid p {
    width: 80%;
}

/* The idividual sillies grid   (grid big)*/
#SillieGrid {
    display: grid;
    grid-template: 1fr 1fr / 33% 33% 33%;
    grid-template-areas:
    "Base Pepper Azul"
    "Alien Conesine Hearth";
    gap: 25px;
    width: 80%;
    margin: auto;
}

#SillieGrid div {
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 10px;
    box-shadow: 0px 0px 10px 2px rgb(173, 173, 173);
    position: relative;
}
#SillieGrid div img:first-child {
    height: auto;
    width: 90%;
    max-width: 400px;
}
#SillieGrid div h2 {
    margin-bottom: 10px;
}
#SillieGrid div p {
    width: 90%;
    line-height: 30px;
}
#SillieGrid div p:first-of-type {
    text-align: center;
}
.SillieGridLikes {
    font-weight: bold;
    text-decoration: underline green;
}
.SillieGridDislikes {
    font-weight: bold;
    text-decoration: underline rgb(110, 20, 0);
}

#BasicGridItem {
    grid-area: Base;
    background-color: rgb(230, 230, 230);
}
#PepperGridItem {
    grid-area: Pepper;
    background-color: rgb(255, 204, 204);
}
#AzulGridItem {
    grid-area: Azul;
    background-color: rgb(209, 209, 255);
}
#AlienGridItem {
    grid-area: Alien;
    background-color: rgb(200, 255, 200);
}
#ConesineGridItem {
    grid-area: Conesine;
    background-color: rgb(255, 230, 185);
}
#HearthGridItem {
    grid-area: Hearth;
    background-color: rgb(190, 162, 153);
}
.SillieIcon {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 70px;
}

footer {
    position: relative;
}
#idiat {
    position: absolute;
    right: 10px;
    bottom: 10px;
}
#idiat:hover {
    box-shadow: 0 0 10px 2px rgb(0, 109, 117); 
}
#idiat img {
    width: 40px;
    height: 40px;
}

@media screen and (max-width: 640px) {
    #SillieExplanationGrid {
        display: grid;
        grid-template: auto / auto;
        align-items: center;
        justify-items: center;
        width: 80%;
        margin: auto;
        margin-bottom: 20px;
    }
    #SillieExplanationGrid img {
        display: none;
    }
    
    #SillieGrid {
        grid-template: auto / 50% 50%;
        grid-template-areas:
        "Base Pepper"
        "Alien Azul"
        "Conesine Hearth";
        gap: 25px;
        width: 80%;
        margin: auto;
        justify-content: center;
    } 
    .SillieIcon {
        position: absolute;
        bottom: 2px;
        right: 2px;
        width: 40px;
    }
}

/* Sillie Grid is changed to a 1x6 because of the amount of information the cards have.*/
@media screen and (max-width: 450px) {
    #SillieGrid {
        grid-template: auto / 100%;
        grid-template-areas:
        "Base"
        "Pepper"
        "Azul"
        "Alien"
        "Conesine"
        "Hearth";
        gap: 25px;
        width: 80%;
        margin: auto;
        justify-content: center;
    } 
    #SillieGrid div p {
        line-height: 20px;
    }
}

