   * {box-sizing: border-box;}

   body {
     background: #ffffff;
     margin-top: 20px;
     margin-left: auto;
     }


    .wrapper {
        display: grid;
        grid-gap: 12px;
        align-items: center;
        grid-template-columns:repeat(auto-fit, minmax(310px, 1fr));
        grid-template-areas:
       "hd hd hd" /*class="Main-head"*/
       "nv nv nv"  /* class="main-nav"*/
       "cc cc cc"  /* class="xmas"*/
       "ct ct ct"  /*class="content"*/
       "aa aa aa"  /*class="rings"*/
       "pp pp pp" /*paywithpaypal*/
       "dd dd dd"  /*class="rings1*/
       "bb bb bb" /*class="design"*/

       /*margin: 0 auto;
        font: 1.2em Helvetica, arial, sans-serif;*/
    }

    .wrapper > * {
        border: 1px solid #cccccc;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 4px 4px 4px #666666;
        padding: 10px;
        max-width: 1024px;
        margin: auto;
        font-family: arial, sans-serif;
    }

.main-head {
  grid-area: hd;
  width: 100%;
  border: none;
  box-shadow: none;
}

.nav {
  grid-area: nv;
  width: 100%;
  text-align: center;
  font-size: 18pt;
  padding: 40px;
}

.xmas21 {
  grid-area: cc;
  width: 100%;
  text-align: left;
  font-size: 18pt;
  padding: 40px;
  border: 1px solid #ff0000;
  box-shadow: 4px 4px 4px #ff0000;
}

.nuffield {
  grid-area: cc;
  width: 100%;
  text-align: left;
  font-size: 18pt;
  padding: 40px;
  border: 1px solid #ff0000;
  box-shadow: 4px 4px 4px #ff0000;
}

.highlight {
    font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
    text-align: left;
    font-size: 24pt;
    font-weight: bold;
    font-style: italic;
    color: #9900ff;
 }

p {
    font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
    font-size: 25pt;
    font-weight: bold;
    font-style: normal;
    color: #666666;
    background-color: #ffffff;
}

.content {
  grid-area: ct;
  /*width: 100%;*/
  color: #666666;
  padding: 5px;
}

.rings  {
  grid-area: aa;
  color: #666666;
}

.paywithpaypal {
  grid-area: pp;
  width: 100%;
  text-align: left;
  font-size: 18pt;
  padding: 40px;
  border: 1px solid #666666;
  box-shadow: 4px 4px 4px #666666;
 }


.rings1  {
  grid-area: dd;
  color: #666666;
}

.design  {
  grid-area: bb;
  width: 100%;
  color: #666666;
  font-size: 15pt;
  text-align: center;
  }

  #design {
    font-family: Helvetica, Geneva, Arial, SunSans-Regular, sans-serif;
    font-size: 15pt;
    font-weight: bold;
    font-style: normal;
    color: #CCCCCC;
    background-color: #ffffff;
}

img {          /*Ring pics*/
    width:100%;
    border-radius: 15px;
    padding: 0px;
}

.nav ul {
      background-color: #ffffff;
      text-align: center;
      padding: 0;
      margin: 0;
      }

    .nav li {
      display: inline-block;
      padding: 17px;
      list-style: none;
      font-family: arial, sans-serif;
      font-size: 1.2em;
      line-height: 40px;
      height: 40px;
      /*border-bottom: 1px solid #888;*/
      }

      li {
      list-style-type: none;
      }

   a  {
     text-decoration: none;
     /*color: #666666;*/
     }

    a.one:link {color:#666666; padding: 5px;  border: 1px solid #666666; border-radius: 5px; box-shadow: 4px 4px 4px;}
    a.one:visited {color:#9966cc;}
    a.one:hover {color:#33FF00; font-size: 100%;}

    /*a.two:link {color:#666666; padding: 5px;  border: 1px solid #666666; border-radius: 5px; box-shadow: 4px 4px 4px;}
    a.two:visited {color:#9966cc;}
    a.two:hover {color:#33FF00; font-size: 100%;}

    a.three:link {color:#ff6633; padding: 5px;  border: 1px solid #666666; border-radius: 5px; box-shadow: 4px 4px 4px;}
    a.three:visited {color:#9966cc;}
    a.three:hover {color:#33FF00; font-size: 100%;}

    a.four:link {color:#ff6633; padding: 5px;  border: 1px solid #666666; border-radius: 5px; box-shadow: 4px 4px 4px;}
    a.four:visited {color:#9966cc;}
    a.four:hover {color:#33FF00; font-size: 100%;}

    a.five:link {color:#ff6633; padding: 5px;  border: 1px solid #666666; border-radius: 5px; box-shadow: 4px 4px 4px;}
    a.five:visited {color:#9966cc;}
    a.five:hover {color:#33FF00; font-size: 100%;} */

    #shadow {
      box-shadow:  5px 5px 5px #666666;
      }

    /* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


    /*Start of Ring gallery photos formatting*/
    #center {
    text-align: center;
}

    div.gallery {
    margin: 10px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    float: left;
    width: 314px; /*Width of card*/
    border-radius: 10px;
    box-shadow: 4px 4px 4px;
    height: 900px; /*Height of the ring card.*/
}

    div.gallery img {
    width: 100%;
    height: 550px; /*Was 600*/
    border-radius: 10px;
    color: #ffffff;

}

    div.gallery1 {
    margin: 10px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    float: left;
    width: 314px; /*Width of card*/
    border-radius: 10px;
    box-shadow: 4px 4px 4px;
    height: 1250px; /*Height of the ring card.*/
}

    div.gallery1 img {
    width: 100%;
    height: 550px; /*Was 600*/
    border-radius: 10px;
    color: #ffffff;

}


.paypal {
      font-size: 18pt;
      font-weight: normal;
      font-style: normal;
      color: #666666;
      text-align: center;
      }


.reason {
    padding: 5px;
    text-align: left;
    font-weight: normal;
    font-style: normal;
    font-size: 15pt;
    color: #666666;
}

.comments {
    padding: 5px;
    text-align: left;
    font-weight: normal;
    font-style: normal;
    font-size: 15pt;
    color: #666666;
}

.ordering {
    padding: 5px;
    text-align: left;
    font-weight: bold;
    font-style: italic;
    font-size: 15pt;
    color: #9900ff;
}

.after-ordering {
    padding: 5px;
    text-align: left;
    font-weight: bold;
    font-style: italic;
    font-size: 15pt;
    color: #9900ff;
}

 #ringnumber {
     text-align: left;
      font-size: 24pt;
      font-weight: bold;
      font-style: italic;
      color: #9900ff;
      }

 #ringdescription {
     text-align: center;
      font-size: 18pt;
      font-weight: normal;
      font-style: italic;
      color: #9900ff;
      }

 #priceandpost {
     text-align: center;
      font-size: 18pt;
      font-weight: normal;
      font-style: italic;
      color: #9900ff;
      }

.email  {
    text-align: center;
}



@media only screen and (max-width: 320px) {

 .wrapper {
        display: grid;
        grid-gap: 12px;
        align-items: center;
        /*grid-template-columns:repeat(auto-fit, minmax(310px, 1fr));*/
        grid-template-areas:
       "hd" /*class="Main-head"*/
       "nv"  /* class="main-nav"*/
       "cc"  /* class="xmas"*/
       "ct"  /*class="content"*/
       "aa"  /*class="rings"*/
       "pp"  /*class="paywithpaypal"*/
       "dd" /*class="rings2*/
       "bb" /*class="design"*/

        /*margin: 0 auto;
        font: 1.2em Helvetica, arial, sans-serif;*/
    }

    .wrapper > * {
        border: 1px solid #cccccc;
        background-color: #ffffff;
        border-radius: 10px;
        box-shadow: 4px 4px 4px #666666;
        padding: 10px;
        max-width: auto;
        margin: auto;
        font-family: arial, sans-serif;
    }


    div.gallery {
    margin: 10px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    float: left;
    width: auto; /*Width of card*/
    border-radius: 10px;
    box-shadow: 4px 4px 4px;
    height: 900px; /*Height of the ring card.*/
}

div.gallery1 {
    margin: 10px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    float: left;
    width: auto; /*Width of card*/
    border-radius: 10px;
    box-shadow: 4px 4px 4px;
    height: 1250px; /*Height of the ring card.*/
}

 ul{
    flex-direction: column;
  }

  /* deletes margin on top or bottom of the a tag*/
  li{
    margin: 0;
  }*/
 /* makes sure that the a tag will take the entire screen*/
  a{
    display: block;
  }

    }


@media only screen and (max-width:600px) and (min-width: 400px) {

  ul{
    flex-direction: column;
  }

  /* deletes margin on top or bottom of the a tag*/
  li{
    margin: 0;
  }*/
 /* makes sure that the a tag will take the entire screen*/
  a{
    display: block;
  }
}





