@import url("https://fonts.googleapis.com/css2?family=Nunito&family=Open+Sans&display=swap");
/* 
Font Usage:
font-family: 'Nunito', sans-serif;
font-family: 'Open Sans', sans-serif;
*/

/* Universal Resets */
:root {
  --primary-color: #3069b0;
  --secondary-color: #e5e40d;
  --tri-color: #fcfcfc;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* WEBSITE STYLING */

/* -- NAVBAR -- */
.navbar {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgb(248, 249, 251);
}

.brand-logo {
  width: 200px;
  height: 80px;
  object-fit: contain;
  margin-left: 40px;
}

.nav-items {
  display: flex;
  flex-direction: row;
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.nav-link {
  margin: 0px 15px;
  font-family: Nunito, sans-serif;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  transition: all 250ms;
}

.nav-cta {
  color: #fff;
  background-color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 35px;
}

.nav-hover {
  width: 0px;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 250ms;
}

.nav-link:hover + .nav-hover {
  width: 60px;
  transition: all 250ms;
}

.fa-angle-down {
  margin-left: 5px;
}

/* Drop Down */

.drop-down {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.drop-down-menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 300px;
  /* padding: 30px; */
  border-radius: 15px;
  top: 30px;
  display: none;
}

.dropdown-link {
  font-family: nunito;
  /* margin: 10px 0px; */
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: all 250ms;
  font-size: 16px;
  border-top: 0.7px solid rgba(0, 0, 0, 0.24);
  padding: 20px;
}

.drop-down-link-no-border {
  border-top: 0;
}

.dropdown-link:hover {
  color: var(--primary-color);
}

.service-link:focus + .drop-down-menu {
  display: flex;
  color: var(--primary-color);
}

.service-link:hover + .drop-down-menu {
  display: flex;
  color: var(--primary-color);
}
.service-link + .drop-down-menu:hover {
  display: flex;
  color: var(--primary-color);
}

/* -- SIDENAV -- */
.sidenav-trigger {
  color: #000;
  text-decoration: none;
  display: none;
}

.sidenav {
  position: fixed;
  top: 0;
  left: -250px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: var(--primary-color);
  height: 100%;
  width: 250px;
  transition: all 250ms;
}

.sidenav-items {
  list-style: none;
}

.sidenav-link {
  color: rgba(255, 255, 255, 0.8);
  font-family: nunito;
  text-decoration: none;
  font-size: 2em;
}

.sidenav-link:focus {
  color: #fff;
}

.sidenav-item {
  text-align: center;
  margin: 30px 0px;
}

.fa-times {
  color: crimson;
  font-size: 2em;
  text-decoration: none;
}

/* -- DISPLAY SECTION -- */
.display-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  padding: 30px;
  background: url(/imgs/security-display-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  gap: 30px;
}

.display-img {
  width: 700px;
  height: 550px;
  object-fit: contain;
}

.display-info {
  max-width: 500px;
}

.display-section-heading {
  font-family: nunito;
  font-weight: bold;
  font-size: 2.5em;
  color: var(--primary-color);
}

.display-section-desc {
  font-family: open sans;
  line-height: 1.6em;
  margin: 10px 0px;
}

/* Camera's Section */
.cameras-section {
  background-color: var(--tri-color);
}

.camera-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  padding: 20px;
}

.camera-item {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin: 15px;
  /* gap: 30px; */
  width: 900px;
}

.camera-img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.camera-info {
  max-width: 500px;
  list-style: none;
}

.camera-heading {
  font-family: nunito;
  font-size: 1.4em;
  letter-spacing: 0.2em;
  font-weight: bold;
  color: var(--primary-color);
}

.camera-desc {
  font-family: open sans;
  line-height: 1.6em;
  max-width: 400px;
}

.camera-info-item {
  margin: 15px 0px;
}

/* FOOTER */
.footer-section {
  padding: 30px;
  background-color: var(--primary-color);
}

.upper-footer {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}

.footer-links {
  list-style: none;
}

.footer-links-heading {
  font-family: nunito, sans-serif;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-family: open sans;
  transition: 250ms all;
}

.footer-link:hover {
  color: #fff;
}

.footer-logo {
  width: 303px;
  height: 102px;
  background-color: #fff;
  padding: 30px;
  border-radius: 15px;
  object-fit: contain;
}

.lower-footer {
  text-align: center;
  border-top: solid 0.7px rgba(255, 255, 255, 0.7);
  padding-top: 15px;
  font-family: nunito;
  font-size: 18px;
  margin-top: 20px;
  color: #fff;
}

/* MEDIA QUERIES */

/* NAVBAR RESPONSIVENESS */
@media (max-width: 780px) {
  .nav-items {
    display: none;
  }

  .sidenav-trigger {
    display: inline-flex;
  }
}

@media (max-width: 375px) {
  .brand-logo {
    width: 150px;
    height: 70px;
    object-fit: contain;
    margin-left: 10px;
  }
}

/* DISPLAY SECTION RESPONSIVENESS */
@media (max-width: 1100px) {
  .display-img {
    width: 600px;
    height: 450px;
    object-fit: contain;
  }
}
@media (max-width: 950px) {
  .display-img {
    width: 500px;
    height: 350px;
    object-fit: contain;
  }
}
@media (max-width: 750px) {
  .display-img {
    width: 500px;
    height: 350px;
    object-fit: contain;
  }

  .display-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: none;
    height: 100%;
  }

  .display-info {
    text-align: center;
  }
}
@media (max-width: 526px) {
  .display-img {
    width: 400px;
    height: 250px;
    object-fit: contain;
    display: none;
  }
}

/* CAMERAS SECTION RESPONSIVENESS */
@media (max-width: 900px) {
  .camera-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }

  .camera-info {
    text-align: center;
    order: 2;
  }

  .camera-img {
    order: 1;
  }
}
@media (max-width: 430px) {
  .camera-img {
    width: 300px;
    height: 300px;
  }
}

/* FOOTER SECTION RESPONSIVENESS */
@media (max-width: 850px) {
  .upper-footer {
    flex-wrap: wrap;
  }

  .footer-links-heading {
    text-align: center;
  }

  .footer-links {
    text-align: center;
    margin: 10px 0px;
  }
}
