/* FONT APIs */
@import url("https://fonts.cdnfonts.com/css/segoe-ui-4");

@import "./pages.css";
@import "./p1-home-page.css";
@import "./p2-about-company.css";
@import "./p3-vision-mission.css";
@import "./p4-creative-development.css";
@import "./p5-our-services.css";
@import "./p6-about-us.css";
@import "./page7-contact-us.css";

/* VARIABLES */
:root {
  --color-red: #f13a11;
  --color-black: #171819;
}

/* UNIVERSAL STYLING */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
  scroll-behavior: smooth;
}

body {
  width: 100% !important;
}

.flex-row {
  display: flex;
  align-items: center;
}

/* START FROM HERE */

/* NAVBAR STYLING */
.nav-container {
  width: 100%;
  height: 70px;
  background-color: var(--color-black);
  color: #fff;
}

/* Branding */
.branding img {
  width: 60px;
}

.branding .name a {
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}

/* Navbar */

header {
  z-index: 111;
  position: sticky;
  top: 0;
  background-color: var(--color-black);
  box-shadow: 2px 2px 10px rgba(128, 128, 128, 0.671);
}

.nav-menu li {
  list-style: none;
  border-left: 1px rgba(128, 128, 128, 0.432) solid;
}

.nav-menu #first {
  border-left: none;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  cursor: pointer;
  font-size: 17px;
  padding: 20px 15px;
}

.nav-menu li :hover {
  color: var(--color-red);

  /* background-color: lightgray; */
}

.nav-container {
  max-width: 1224px;
  width: 92%;
  margin: 0 auto;
}

.navbar {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-branding {
  font-size: 2rem;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 30px; */
}

.nav-link {
  transition: 0.3s ease-out;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: white;
}

@media (max-width: 1024px) {
  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    gap: 25px;
    flex-direction: column;
    background-color: #262626f1;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 30px;
  }

  .nav-item {
    margin: 16px 0;
  }

  .nav-menu li:hover {
    font-weight: 600;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    border-left: none;
  }

  footer {
    flex-direction: column;
    gap: 12px;
  }

  .codebustler a {
    font-size: small;
  }
}

footer {
  background-color: var(--color-black);
  width: 100%;
  margin: 20px auto auto auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px;
}

footer a {
  text-decoration: none;
  color: grey;
  font-weight: 200;
}

