a  {
    background-color: white;
    padding: 5px;
    width: 200px;
    height: 200px;
    text-shadow: 5px;
    border-radius: 5px;
    margin: auto;
    align-content: flex-end;
    box-shadow: 0 0 2px 2px #C9C9C9;
}



button  {
    background-color: #0499af;
    color: white;
    height: 30px;
    width: 175px;
    border: none;
    margin: 20px 0 0 0;
}



a:hover {
  background-color: white;
  opacity: 0.8;
}



section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  grid-gap: 1em 1em;
  text-align: center;
}

section  {
    margin: 10px 0 10px 0;
}



img  {
    max-width: 200px;
    max-height: 200px;
    margin: auto;
}



main h2  {
    text-align: center;
    margin: 50px 0 50px 0;
}





/*this is the header*/
header  {
    height: 50vh;
    margin: 0 0 10px 0;
    box-shadow: 0 0 20px gray;
    background-image: linear-gradient(45deg, #0499af, #74c429);
}

/*This is the Main Header Grid and all things in it*/
#main-header  {
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 5vh 10vh 35vh;
    grid-template-areas:
        "top top top"
        "nav nav nav"
        "main main main"
}

#main-header .top  {
    background-color: #0499af;
    grid-area: top;
    align-content: center;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
}

#main-header .nav  {
    background-color: white;
    grid-area: nav;
    align-content: center;
}


#main-header .main  {
    align-content: center;
    text-align: center;
    color: white;
    font-size: 40px;
    padding: 0px 100 0 100px;
    font-family: cursive;
}




/*This is the main footer*/
footer  {
    background-image: linear-gradient(45deg, #0499af, #74c429);
    height: 30vh;
    margin-top: auto;
}



@media only screen and (min-height: 800px) and (orientation: portrait) {

header  {
    height: 25vh;
}

/*This is the Main Header Grid and all things in it*/
#main-header  {
    display: grid;
    height: 100%;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 2.5vh 5vh 17.5vh;
    grid-template-areas:
        "top top top"
        "nav nav nav"
        "main main main"
}

footer  {
    height: 10vh;
}
    }


















