body{
    background: lightblue;
}

.container{
    display: grid;
    height: 100vh;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: .5fr  .5fr 1fr 1fr  .5fr 1fr 1fr .5fr ;
    grid-template-areas: 
    "nav nav nav nav"
    "smart smart smart smart"
    "iphone iphone andro andro"
    "iphone iphone andro andro"
    "comp comp comp comp"
    "mac mac wind wind"
    "mac mac wind wind"
    "foo foo foo foo";
    grid-gap: 20px;
    text-align: center;
    background: rgb(206, 199, 199);
    margin: 0% 7%;
    padding:20px;
    border-radius: 10px;

}

nav {
    background: rgb(32, 32, 49);
    font-size:2em;
    padding: 20px;
    color:beige;
}

nav {
    grid-area: nav;
    border-radius: 10px;
}

#smart{
    background: ghostwhite;
    grid-area: smart;
    border-radius: 30px;
    font-size: 2em;
    padding: 20px;
    font-weight: 700;
}

#iphone{

    background: lightcyan;
    grid-area: iphone;
    border-radius: 20px;
    font-size: 1.5em;
    padding-top: 20px;
}
#andro{
    background: lightcyan;
    grid-area:andro;
    border-radius: 20px;
    font-size: 1.5em;
    padding-top: 20px;
}

#comp{
    background: ghostwhite;
    grid-area: comp;
    border-radius: 30px;
    font-size:2em;
    padding: 20px;
    font-weight: 700;
}
#mac{
    background: lightgreen!important;
    background: lightcyan!important;
    grid-area: mac;
    border-radius: 20px;
    font-size: 1.5em;
    padding-top: 20px;
}
#wind{
    background: lightcyan;
    grid-area: wind;
    border-radius: 30px;
    font-size: 1.5em;
    padding-top: 20px;
}

#footer{
    background: rgb(0, 0, 0);
    grid-area: foo;
    border-radius: 10px;
    color: white;
    padding-top: 10px;
}

@media only screen 
and (min-width: 320px)
and (max-width: 480px){
    .container{
    grid-template-columns: 1fr;
    grid-template-rows: .3fr .3fr 1fr 1fr .3fr 1fr 1fr .3fr;
grid-template-areas: 
"nav"
"smart"
"iphone"
"andro"
"comp"
"mac"
"wind"
"foo";
background: rgb(206, 199, 199);
}
nav{
    background: rgb(32, 32, 49);
    grid-area: nav;
}

#smart{
    background: ghostwhite;
    grid-area: smart;
    border-radius: 10px;
    font-size: 2em;
    padding: 20px;
    font-weight: 700;
}

#iphone{

    background: lightcyan;
    grid-area: iphone;
    border-radius: 10px;
    font-size: 1.5em;
    padding-top: 20px;
}
#andro{
    background: lightcyan;
    grid-area:andro;
    border-radius: 10px;
    font-size: 1.5em;
    padding-top: 20px;
}

#comp{
    background: ghostwhite;
    grid-area: comp;
    border-radius: 10px;
    font-size:2em;
    padding: 20px;
    font-weight: 700;
}
#mac{
    background: lightgreen!important;
    background: lightcyan!important;
    grid-area: mac;
    border-radius: 10px;
    font-size: 1.5em;
    padding-top: 20px;
}
#wind{
    background: lightcyan;
    grid-area: wind;
    border-radius: 10px;
    font-size: 1.5em;
    padding-top: 20px;
}

#footer{
    background: grey;
    grid-area: foo;
    border-radius: 10px;
    color: white;
}
#smart, #comp {
    font-size: 1.25em;
}
#iphone, #andro, #mac, #wind {
    font-size: 1.25em;
}
}