* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

/* 1 - NAV */

/* OVERALL */

nav {
  position: fixed;
  width: 100%;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 3em;
  background-color: #111;
  z-index: 1;
}

/* LOGO */

.logo {
  letter-spacing: 3px;
}

.logo a {
  font-family: "Catamaran", sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}

/* MENU - MOBILE */

.mobile-menu,
.desktop-menu {
  list-style: none;
}

.mobile-menu {
  position: absolute;
  right: 0;
  top: 3em;
  height: calc(100vh - 3em);
  background-color: #111;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 50%;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-x: hidden;
  opacity: 0.95;
}

.mobile-menu li {
  opacity: 0;
}

.mobile-menu li a {
  opacity: 1;
}

.desktop-menu {
  display: flex;
  justify-content: space-around;
  width: 50%;
  display: none;
}

.mobile-menu li a,
.desktop-menu li a {
  font-family: "Catamaran", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
}

/* BURGER - MOBILE */

.hamburger {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.hamburger:focus {
  outline: none;
}

.hamburger div {
  width: 25px;
  height: 2px;
  background-color: #fff;
  margin: 5px;
  transition: all 0.3s ease;
}

/* JS Functions - MENU */

.menu-active {
  transform: translateX(0%);
}

@keyframes mbMenuLxFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.burger-x .line1 {
  transform: rotate(-45deg) translate(-5px, 5px);
}

.burger-x .line2 {
  opacity: 0;
}

.burger-x .line3 {
  transform: rotate(45deg) translate(-5px, -5px);
}

/* NAV & MENU - DESKTOP */

@media only screen and (min-width: 768px) {
  nav {
    padding: 0;
  }

  .desktop-nav-wrapper {
    display: flex;
    width: 100vw;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw;
  }

  .mobile-menu {
    display: none;
  }

  .desktop-menu {
    display: flex;
    width: fit-content;
  }

  nav ul li {
    padding: 0 0 0 5vw;
  }

  .hamburger {
    display: none;
  }
}

/* 2 - MAIN */
/* MAIN - A */

/* MAIN - B */

.prod-cards {
  display: grid;
  padding: calc(3vh + 3em) 10vw 3vh;
  grid-gap: 2em;
  border-radius: 18px;
}

.card-box {
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
  border-radius: 18px;
  text-align: center;
  transition: 0.2s ease;
}

.card-box:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

.card-links {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 160px 90px 56px;
  grid-template-areas:
    "card-img"
    "card-desc"
    "card-text";
}

.card-img {
  grid-area: card-img;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #eee;
  background-blend-mode: multiply;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  height: 100%;
  width: 100%;
}

.img-1 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_transformers/PLC-60-12@0.2x.png");
}
.img-2 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_transformers/PLC-100-12@0.2x.png");
}
.img-3 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_transformers/PLC-150-12@0.2x.png");
}
.img-4 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_transformers/PLC-200-12@0.2x.png");
}
.img-5 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_transformers/PLC-250-12@0.2x.png");
}
.img-6 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_transformers/PLC-320-12@0.2x.png");
}
.img-7 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_led_modules/edgelit_sidebeam3_b@0.33x.png");
}
.img-8 {
  background-image: url("http://webthings.ap-south-1.linodeobjects.com/images/lby/lby_led_modules/edgelit_sideray3_b@0.33x.png");
}

.card-desc {
  grid-area: card-desc;
  align-self: center;
}

.card-desc h3 {
  font-family: "Catamaran", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #111;
  text-transform: uppercase;
}

.card-desc p {
  color: #787878;
}

.card-text {
  grid-area: card-text;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: #333;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.type {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 10px;
  color: #fff;
}

.config {
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
}

.value {
  font-size: 20px;
  font-weight: 500;
}

.value sup {
  font-size: 11px;
}

.border {
  border-left: 0.5px solid #777;
  border-right: 0.5px solid #777;
}

/* DESKTOP VIEW - MAIN */

@media only screen and (min-width: 768px) {
  .prod-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* 3 - FOOTER */
footer {
  display: flex;
  flex-direction: column;
  height: 5em;
  width: 100%;
  background-color: #111;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  padding: 0.7em 0;
}

footer {
  font-family: "Catamaran", sans-serif;
  font-size: 14px;
  color: #fff;
}

.menu-lot li a {
  font-family: "Catamaran", sans-serif;
  font-size: 14px;
  color: #fff;
}

.menu-lot ul {
  display: flex;
}

.menu-lot ul li {
  padding: 0 15px;
  list-style: none;
}

@media only screen and (min-width: 768px) {
  footer {
    flex-direction: row;
    height: 3em;
    padding: 0 5vw;
  }

  .menu-lot {
    width: fit-content;
    float: left;
    order: 2;
  }

  .menu-lot li {
    padding: 0 0 0 5vw;
  }

  .copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 1;
  }
}
