* {
    box-sizing: border-box;
}

#homehero {
    height: 300px;
    grid-area: 2 / 1 / 4 / 9;
    background-image: url(homehero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: solid #ffcd68;
    border-bottom: solid #ffcd68;
}

#logo {
    grid-area: 1 / 2 / 2 / 3;
    background-image: url(logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

#gridimage {
    width: 300px;
    aspect-ratio: auto 300 / 200;
    height: 200px;
    border-bottom: solid #ffcd68;
}

#navbar {
    grid-area: 1 / 1 / 2 / 9;
    background-color: #ffffff;
}

#wrapper {
    display: grid;
    grid-auto-rows: mixmax(0px, auto);
    grid-template-columns: minmax(0px, 1fr) repeat(6, minmax(0px, 175px)) minmax(0px, 1fr);
}

body {
    background-color: #859AA0;
    margin: 0px;
    background-attachment: fixed;
}

div.transbox {
    margin: 30px;
    background: rgba(133, 154, 160, 0.38);
}

div.transbox p {
    padding: 2rem;
    font-weight: bold;
    color:#000000;
    border-bottom: solid;
}

main {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2rem;
    grid-area: 4 / 2 / 5 / 8;
    background-color: #ffffffba;
    border-bottom: solid #000000;
    border-top: solid #000000;
}

nav {
    grid-area: 1 / 3 / 2 / 8;
    font-style: normal;
    background-color: #ffffff;
    position: relative;
}

nav a {
    color:#000000;
    padding: 1rem;
    text-align: center;
    text-decoration: none;
}

nav a:hover {
    background-color: #77c1c1;
    color:#ffcd68;
    transition: ease-in-out .5s;
}

nav ul {
    list-style-type: none;
    font-size: 24px;
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-flow: row;
    flex-wrap: none;
}

nav ul li {
    width: 100%;
    text-align: center;
}

footer {
    grid-area: 5 / -8 / 6 / -2;
    background-color: #ffcd68a7;
}


.desc ul li {
    list-style-type: circle;
}

.grid-container {
    display: grid;
    column-gap: 10px;
    grid-template-columns: auto auto auto;
    padding: 10px; 
    justify-content: center;
  }

.grid-item {
    padding: 0rem;
  }

div.desc {
    height: 200px;
    width: 300px;
    text-align: left;
    background: rgba(133, 154, 160, 0.38);
    margin-bottom: 2rem;
    border-bottom: solid;
  }

  .footer {
    display:grid;
    grid-template-columns: auto auto auto auto;
    column-gap: 0rem;
    justify-content: space-evenly;
    border-top: solid #ffcd68;
    border-bottom: solid #ffcd68;
  }

  h2 {
    font-size: 30px;
    font-family: "Lucida Handwriting", cursive;
    color:#ffcd68;
    text-align: center;
    width: 165px;
    height: 50px;
    transform: rotate(-16deg);
    background: #8eb3bde6;
    border-bottom: solid #000000;
  }


    

    @media only screen and (max-width: 900px) {

        nav {
            grid-area: 1 / 3 / 2 / 9;
            font-style: normal;
            background-color: #ffffff;
            position: relative;
        }
    
        nav ul {
            flex-flow: row;
        }

        #homehero {
            height: 300px;
            grid-area: 2 / 1 / 4 / 9;
            background-image: url(homehero.jpg);
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-top: solid #ffcd68;
            border-bottom: solid #ffcd68;
        }
        
        body {
      background-color: #859AA0;
    }

    main {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 2rem;
        grid-area: 4 / 2 / 5 / 8;
        background-color: #ffffffba;
    }

    h2 {
        font-size: 30px;
        font-family: "Lucida Handwriting", cursive;
        color:rgb(255, 205, 104);
        text-align: center;
        width: 165px;
        height: 50px;
        transform: rotate(0deg);
        background-color: #ffffffba;
      }
    
    .grid-container {
        display: grid;
        column-gap: 10px;
        grid-template-columns: auto;
        padding: 10px; 
        justify-content: center;
      }

      div.transbox {
        margin: 30px;
        background-color: #ffffffba;
    }

    div.desc {
        height: 150px;
        width: 300px;
        text-align: left;
        background-color: #ffffffba;
        margin-bottom: 2rem;
      }
      

    .footer {
        display:grid;
        grid-template-columns: auto;
        column-gap: 0rem;
        justify-content: space-evenly;
        border-top: solid #ffcd68;
        border-bottom: solid #ffcd68;
      }


}

@media only screen and (max-width: 786px) {

    nav {
        grid-area: 1 / 1 / 2 / 5;
        position: relative;
        padding-bottom: 1em;
    }

    nav ul {
        flex-flow: column nowrap;
    }

    nav a:hover {
        background-color: #ffffff00;
        color:#ffcd68;
    }
    
    body {
  background-color: #859AA0;
}

main {
    padding-left: 2rem;
    padding-right: 2rem;
    padding-top: 2rem;
    grid-area: 4 / 2 / 5 / 8;
    background-color: #ffffffba;
}

h2 {
    font-size: 30px;
    font-family: "Lucida Handwriting", cursive;
    color:rgb(255, 205, 104);
    text-align: center;
    width: 165px;
    height: 50px;
    transform: rotate(0deg);
    background-color: #ffffffba;
  }

.grid-container {
    display: grid;
    column-gap: 10px;
    grid-template-columns: auto;
    padding: 10px; 
    justify-content: center;
  }



  div.transbox {
    margin: 30px;
    background-color: #ffffffba;
}

div.desc {
    height: 150px;
    width: 300px;
    text-align: left;
    background-color: #ffffffba;
    margin-bottom: 1rem;
  }

  #homehero {
    height: auto;
    grid-area: 1 / 5 / 2 / 9;
    background-image: url(homehero.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-top: solid #ffcd68;
    border-bottom: solid #ffcd68;
  }

#logo {
    background-image: none;
}

.footer {
    display:grid;
    grid-template-columns: auto;
    column-gap: 0rem;
    justify-content: space-evenly;
    border-top: solid #ffcd68;
    border-bottom: solid #ffcd68;
  }
}