.hero {
    display: grid;
    /* sets up the layout of the grid */
    grid-template-areas:
    "img" "text";

    /* sets up the size of the rows */
    grid-template-rows: 1fr;
    
    /* sets up the size of the columns */
    grid-template-columns: 1fr 2fr;

    margin-left: 10%;
    margin-right: 10%;

    column-gap: 0px;
    row-gap: 0px;
}
.heroimg{
    grid-area: img;
}
.herotext{
    grid-area: text;
}
.heroimg{
    width: 500px;
    height: auto;
}