@import url("https://fonts.googleapis.com/css?family=Open+Sans");
body {
  background-color: #ffffff;
  color: #000000;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  font-family: "Open Sans";
  margin-bottom: 0px;
  margin-top: 0px;
}

a:active,
a:link,
a:visited {
  color: #000000;
  text-decoration: none;
}

a:hover {
  color: #0fa0d8;
}

#navbar {
  position: sticky;
  top: 0px;
  background-color: #fff;
}

#banner {
  background-position: center;
}

img {
  vertical-align: middle;
}

h1 {
  font-weight: 900;
}

nav {
  &.primary-navigation {
    margin: 0;
    text-align: center;
    font-size: 16px;

    ul {
      padding-left: 0px;
    }

    ul li {
      list-style: none;
      margin: 0 auto;
      display: inline-block;
      padding-right: 5px;
      padding-left: 0px;
      position: center;
      text-decoration: none;
      text-align: center;
    }

    li a {
      color: black;
    }

    li a:hover {
      color: #0fa0d8;
    }

    li:hover {
      cursor: pointer;
    }

    ul li ul {
      visibility: hidden;
      opacity: 0;
      position: absolute;
      padding-left: 0;
      left: 0;
      display: none;
      background: rgba(255, 255, 255, 0.8);
    }

    ul li:hover > ul,
    ul li ul:hover {
      visibility: visible;
      opacity: 1;
      display: block;
      width: 100%;
      text-align: left;
      padding-top: 20px;
      box-shadow: 0px 3px 5px -1px #ccc;
    }

    ul li ul li {
      clear: both;
      width: 100%;
      text-align: center;
      margin-bottom: 20px;
      border-style: none;
    }
  }
}

@media (min-width: 1000px) {
  nav {
    &.primary-navigation {
      margin: 0 auto;
      display: inline-block;
      text-align: center;
      font-size: 16px;

      ul {
        padding-left: 20px;
      }

      ul li {
        list-style: none;
        margin: 0 auto;
        display: inline-block;
        padding: 0 30px;
        position: relative;
        text-decoration: none;
        text-align: center;
      }

      li a {
        color: black;
      }

      li a:hover {
        color: #0fa0d8;
      }

      li:hover {
        cursor: pointer;
      }

      ul li ul {
        margin-left: -60px;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        padding-left: 0;
        left: 0;
        display: none;
        background: rgba(255, 255, 255, 0.8);
      }

      ul li:hover > ul,
      ul li ul:hover {
        visibility: visible;
        opacity: 1;
        display: block;
        min-width: 280px;
        text-align: left;
        padding-top: 20px;
        box-shadow: 0px 3px 5px -1px #ccc;
      }

      ul li ul li {
        clear: both;
        width: 100%;
        text-align: left;
        margin-bottom: 20px;
        border-style: none;
      }
    }
  }
}
.bg {
  background-image: url(images/mainbg.avif);
  width: 100%;
  height: 393px;
}

.nbg {
  background-image: url(images/networkbg.avif);
  width: 100%;
  height: 350px;
}

.abg {
  background-image: url(images/applebg.avif);
  width: 100%;
  height: 350px;
}

.serverbg {
  background-image: url(images/serverbg.avif);
  width: 100%;
  height: 350px;
}

.cyberbg {
  background-image: url(images/cyberbg.avif);
  width: 100%;
  height: 350px;
}

.survbg {
  background-image: url(images/videosurvbg.avif);
  width: 100%;
  height: 350px;
}

.vaudiobg {
  background-image: url(images/vaudiobg.avif);
  width: 100%;
  height: 350px;
}

.wifibg {
  background-image: url(images/wifibg.avif);
  width: 100%;
  height: 350px;
}

.backupbg {
  background-image: url(images/backupbg.avif);
  width: 100%;
  height: 350px;
}

.printerbg {
  background-image: url(images/printerbg.avif);
  width: 100%;
  height: 350px;
}

.antivirusbg {
  background-image: url(images/antivirusbg.avif);
  width: 100%;
  height: 350px;
}

.internetbg {
  background-image: url(images/internetbg.avif);
  width: 100%;
  height: 350px;
}

.generalbg {
  background-image: url(images/generalbg.avif);
  width: 100%;
  height: 349px;
}

.mainbg {
  margin: auto;
  width: 100%;
  background-color: #f2f2f2;
  padding-top: 10px;
  padding-bottom: 30px;
}

.main {
  margin: auto;
  max-width: 1000px;
  color: #666;
  padding-left: 20px;
  padding-right: 20px;
}

.main li {
  text-align: left;
}

.main p {
  text-align: left;
}

.main h4 {
  text-align: left;
  font-weight: bolder;
  color: #333;
}

.main h1 {
  font-weight: bolder;
  color: #333;
}

.sbg {
  padding: 20px;
  font-size: 0px;
}

.sbg h1 {
  width: 180px;
  margin: auto;
  text-align: center;
  padding: 20px;
}

.s1 {
  vertical-align: top;
  display: inline-block;
  height: 350px;
  width: 300px;
  color: #fff;
  background-color: #0fa0d8;
  font-size: 12px;
  padding-bottom: 15px;
}
.s2 {
  vertical-align: top;
  display: inline-block;
  height: 350px;
  width: 300px;
  color: #333;
  background-color: #ccc;
  font-size: 12px;
  padding-bottom: 15px;
}
.s3 {
  vertical-align: top;
  display: inline-block;
  height: 350px;
  width: 300px;
  color: #333;
  background-color: #f2f2f2;
  font-size: 12px;
  padding-bottom: 15px;
}

.footer {
  background-color: #0fa0d8;
  color: #fff;
  padding: 10px;
}
.footer h4 {
  display: inline-block;
  padding-left: 30px;
  padding-right: 30px;
}

.footer a:active,
.footer a:link,
.footer a:visited {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}
