body, header, nav, main, footer, h1, div, img, ul, figure, figcaption, section, article, aside, audio, video {
	margin: 0em 0em;
	padding: 0em;
	border: 0em;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #fff7ad, #ffa9f9), rgba(0,0,0,0.2);
    max-width: 100%;
    overflow-x: hidden;
}

#header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header img {
    height: 80px;
    margin-left: 40px;
}

.logo {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

#nav {
    background-color: #333;
    padding: 20px;
    text-align: center;
}

#nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#nav li {
    display: inline-block;
    margin-right: 20px;
    border-top: none;
}

#nav li a {
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    width: 150px;
    color: black;
    text-align: center;
    border: 2px solid lightgray;
    background: linear-gradient(to right, #a6a6a6, #ffffff), rgba(0,0,0,0.2);
    border-radius: 15px;
    opacity: 0.5;
}

#main {
    width: 100%;
    background: linear-gradient(to right, #fff7ad, #ffa9f9), rgba(0,0,0,0.2);
    padding: 20px;
    font-size: 18px;
    float: left;
}

.video video {
    width: 320px;
    height: 120px;
    margin: 0 auto;
    display: block;
}

audio {
  margin-top: 20px; /* add some space between audio and video */
  border: 1px solid #ccc; /* add a border around the audio */
  border-radius: 5px; /* add a rounded corner to the audio */
}

/*style rules for table*/
.table {
    border-collapse: collapse;
    margin: 40px;
    width: 80%;
    border: 1px solid #ccc;
  }

  table caption {
    font-size: 18px;
    color: #333;
    padding: 10px;
    text-align: center;
  }
  
  .table th, .table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
  }
  
  .table th {
    background-color: #333;
    color: #fff;
    font-weight: bold;
  }

  table tr:nth-child(even) {
    background-color: #fff;
  }

  table.table tr:nth-child(odd) {
    background-color: #f9f9f9;
  }
  
  table.table tr:nth-child(even) {
    background-color: #fff;
  }

.highlight {
    background-color: #ffffcc; /* light yellow background */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.action {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.external-link {
    text-decoration: none;
    color: #337ab7;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    justify-content: center;
    margin: 0 40px;
    padding: 20px;
}

.products img {
    width: 100%;
    border-radius: 10px;
    height: 13em;
    padding: auto;
    margin: 10px;
}

.products figure {
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0;
  }
  
.products figcaption {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin-top: 5px;
  }

.hero-image {
  width: 80%;
  margin: 0 auto;
  padding: 0 10%;
}

.hours {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hours li {
    margin-bottom: 10px;
}

.map {
    width: 600px;
    height: 450px;
    margin: 20px auto;
    border: none;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.socials img {
    width: 14px;
    height: 14px;
}

.socials ul {
    list-style: none;
    padding: 0;
    margin: 0;
    
    justify-content: space-between;
}

#contact {
    background-color: #fff;
    padding: 20px;
}

#contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#contact li {
    margin-bottom: 10px;
}

#footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    clear: both;
}

/* Style rules for different viewports */

/* Tablet viewport(768px - 1023px) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    body {
        overflow-x: hidden;
    }
    .products {
      flex-direction: row;
    }
    
    .products img {
        border-radius: 10px;
      width: 45%; 
      margin: 15px;
    }
    .mobile {
        display: none;
    }
  }

@media only screen and (min-width: 768px) {
    .form {
        width: 70%;
    }
.mobile {
    display: none;
    }
  }

/* mobile viewports */
@media only screen and (max-width: 767px) {
    body {
        width: 100vw;
        overflow-x: hidden;
        max-width: 100%;
    }
    .hero-image {
        display: none;
    }
    #nav {
        display: none;
    }
    header h1 {
        display: none;
    }

    video {
        width: 100%;
    }

    .desktop {
        display: none;
    }
    .location img {
        width: 14px;
        height: 14px;
    }
}

/*form styles*/
.form {
    max-width: 80%;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  .form label {
    display: block;
    margin-bottom: 10px;
  }
  
  .form input, .form textarea, .form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
  }

  input[type="text"] {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 250px;
  }

  input[type="text"]::placeholder {
    color: #666;
    font-size: 16px;
  }

  .form[type="text"]:focus {
    border-color: #aaa;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  
  
  .form input[type="submit"] {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .form input[type="submit"]:hover {
    background-color: #3e8e41;
  }

  input[type="checkbox"] {
    margin-right: 10px;
    vertical-align: middle;
  }