@media only screen and (min-width: 601px){


.topline1 {
    border: 2px solid #707070;
    margin-top: 5%;
    margin-left: 2%;
  }

  .bottomline1 {
    display: none;
  }

  .topline2 {
    border: 2px solid #707070;
    margin-left: 0%;
    margin-bottom: 5%;
    text-align: left;
    width: 130%;
  }
    
  .homeline {
    border: 2px solid #707070;
    margin-top: 5%;
    margin-bottom: 5%;
    text-align: left;
    width: 130%;
  }

  
  .row {
    display: table;
    font-family: constantia;
    font-size: 23px;
    text-decoration: none;
    color: #707070;
    text-align: left;
    margin-left: 2%;
  }

  .row ul {
    list-style: none;
    padding: 0;
  
  }

  .grid {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr  ;
    grid-template-rows: 1fr;
  }


  .img {
    grid-column: 2;
    grid-row: 1;
    margin-left: 130px;
  }

  
  .navigation {
    grid-row: 1;
    grid-column: 1;

  }

  .topline3 {
    border: 2px solid #707070;
    text-align: left;
    margin-top: 4.8%;
    margin-bottom: 9.4%;
    width: 315%;
    
  }


  .productname {
    font-family: Bahnschrift;
    font-size: 29px;
    text-decoration: none;
    color: #707070;
    text-align: left;
    grid-column: 3/-2;
    grid-row: 1;
    margin-top: 70px;
    margin-left: 10px;
  }

  .productprice {
    font-family: Bahnschrift;
    font-size: 20px;
    text-decoration: none;
    color: #707070;
    text-align: left;
    grid-column: 3/-2;
    grid-row: 1;
    margin-top: 110px;
    margin-left: 10px;
  }

  .button {
    border: 2px solid #2E2E2E;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    transition-duration: 0.4s;
    grid-column: 3;
    grid-row: 1;
  }
  


  .add-cart {
    background-color: white;
    border: 2px solid #2E2E2E;
    color: #2E2E2E;
    width: 110%;
    height: 6%;
    margin-top: 180px;
    margin-left: 10px;
  }

  .add-cart:hover {
    background-color: #2E2E2E;
    color: white;
  }

  .buy-now {
    background-color: #2E2E2E;
    width: 110%;
    height: 6%;
    margin-top: 240px;
    margin-left: 10px;
  }

  .buy-now:hover {
    background-color: white;
    color: #2E2E2E;
  }

  a{
    text-decoration: none;
    color: #707070;
  }

  li {
    transition-duration: 0.3s;
  }

  .nav:hover {
    font-weight: bold;
  }

  .footertitle {
    font-family: bahnschrift;
    font-size: 18px;
    color: #707070;
    text-align: left;
    font-weight: bold;
    margin-top: 20%;
    margin-bottom: 0%;
    margin-left: 11%;
  }
  
  .footertext {
    font-family: bahnschrift;
    font-size: 15px;
    color: #707070;
    text-align: left;
    margin-top: 0;
    margin-left: 11%;
  }

  .footertext a{
    font-family: bahnschrift;
    text-decoration: none;
    font-size: 15px;
    color: #707070;
    text-align: left;
    margin-top: 0;
  }
}





@media only screen and (max-width: 600px)  {

  .logo {
    text-align: center;
    width: 40%;
  }
  
  .topline1 {
      border: 2px solid #707070;
      margin-top: 5%;
      margin-left: 2%;
    }

    .bottomline1 {
      border: 2px solid #707070;
      margin-top: 5%;
      margin-left: 2%;
      margin-top: 0%;
    }
  
    .topline2 {
      display: none;
    }
      
    .homeline {
      display: none;
    }
  
    .row {
      width: 100%;
      list-style:none;
      margin: 0;
      padding: 0;
      text-align:center; 
    }
  
    .row ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .row li{
      display: inline;
    }
  
    .row a {
      font-family: constantia;
      font-size: 18px;
      text-decoration: none;
      color: #707070;
      width: 100%;
      display: inline;
      padding: 12px;
      text-align: center;
    }

    .grid {
      display:grid;
      grid-template-columns: 1fr ;
      grid-template-rows: 1fr 1fr;
    }
  
  
    .img {
      grid-column: 1;
      grid-row: 1;
      margin-left: 13px;
      margin-top: 10%;
    }
  
    img {
      width: 80%;
      height: auto;
    }

    .navigation {
      grid-row: 1;
      grid-column: 1;
    }
  
    .topline3 {
      border: 2px solid #707070;
      margin-left: 0%;
      margin-bottom: 5%;
    }
  
    .productname {
      font-family: Bahnschrift;
      font-size: 24px;
      text-decoration: none;
      color: #707070;
      text-align: center;
      grid-column: 1;
      grid-row: 2;
      margin-top: 40px;
      margin-left: 10px;
    }
  
    .productprice {
      font-family: Bahnschrift;
      font-size: 15px;
      text-decoration: none;
      color: #707070;
      text-align: center;
      grid-column: 1;
      grid-row: 2;
      margin-top: 80px;
      margin-left: 10px;
    }
  
    .button {
      border: 2px solid #2E2E2E;
      color: white;
      text-align: center;
      text-decoration: none;
      display: inline-block;
      font-size: 13px;
      cursor: pointer;
      text-transform: uppercase;
      transition-duration: 0.4s;
      grid-column: 1;
      grid-row: 2;
    }
    
  
    .add-cart {
      background-color: white;
      border: 2px solid #2E2E2E;
      color: #2E2E2E;
      width: 90%;
      height: 6%;
      margin-top: 180px;
      margin-left: 10px;
    }
  
    .add-cart:hover {
      background-color: #2E2E2E;
      color: white;
    }
  
    .buy-now {
      background-color: #2E2E2E;
      width: 90%;
      height: 6%;
      margin-top: 240px;
      margin-left: 10px;
    }
  
    .buy-now:hover {
      background-color: white;
      color: #2E2E2E;
    }
  
    a{
      text-decoration: none;
      color: #707070;
    }
  
    li {
      transition-duration: 0.3s;
    }
  
    .nav:hover {
      font-weight: bold;
    }

    .footertitle {
      font-family: bahnschrift;
      font-size: 13px;
      color: #707070;
      text-align: left;
      font-weight: bold;
      margin-top: 20%;
      margin-bottom: 0%;
      margin-left: 11%;
    }
    
    .footertext {
      font-family: bahnschrift;
      font-size: 10px;
      color: #707070;
      text-align: left;
      margin-top: 0;
      margin-left: 11%;
    }
    
    .footertext a{
      font-family: bahnschrift;
      text-decoration: none;
      font-size: 10px;
      color: #707070;
      text-align: left;
      margin-top: 0;
    }
    }
