body {
  background-image: url();
  * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a, a:link, a:visited {
  color: inherit;
}


/* ========== PAGE LAYOUT ========== */

body{
  background:#f3f3f3;
}


/* ---------- HEADER ---------- */

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:white;
  height:90px;
  position:relative;
}

/* left blue banner */

.header-left{
  background:#1565b3;
  height:100%;
  width:35%;
  clip-path:polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
}

/* right magenta banner */

.header-right{
  background:#b01674;
  height:100%;
  width:35%;
  clip-path:polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  padding-right:40px;
  color:white;
}



/* - - - - - - - - - DESKTOP NAV - - - - - - - - - */

.desktop-nav {
  display: flex;
  gap: .5rem;
}

.desktop-nav-link {
  padding: .5rem;
  transition: all 500ms;
}

.desktop-nav-link:hover {
  color: green;
}

@media (max-width: 640px) {
  .desktop-nav {
    display: none;
  }
}

/* - - - - - - - - - MOBILE NAV - - - - - - - - - */

.hamburger-icon {
  font-size: 2rem;
  transition: all 500ms;
  
  display: none;
}

.hamburger-icon:hover {
  color: red;
}

@media (max-width: 640px) {
  .hamburger-icon {
    display: block;
  }
}

.mobile-nav-container {
  background-color: #808080;
  color: white;
  font-size: 1.5rem;
  
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  
  display: none;
  justify-content: center;
  align-items: center;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 20px;
}

.mobile-nav-link {
  transition: all 500ms;
}

.mobile-nav-link:hover {
  color: blue;
}

/* - - - - - - - - - CLOSE BUTTON - - - - - - - - - */

.close-button {
  font-size: 2rem;
  transition: all 500ms;

  position: absolute;
  top: 0px;
  right: 0px;
  padding: 20px;
}

.close-button:hover {
  color: red;
}
@media (max-width: 768px){

  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 90px;
    right: 0;
    background: #b01674;
    width: 200px;
    flex-direction: column;
    padding: 20px;
  }

  .nav a {
    padding: 10px 0;
    color: white;
  }

  .nav.active {
    display: flex;
  }
}


/* logo area */

.logo{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
}

.logo img{
  /*height:100px;*/
}


/* ---------- NAV ---------- */

nav ul{
  list-style:none;
  display:flex;
  gap:25px;
  font-size:14px;
}


/* ---------- HERO SECTION ---------- */

.hero{
  background:#a9bfd6;
  height:300px;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.hero img{
  max-width:420px;
}


/* ---------- CATEGORY GRID ---------- */

.categories{
  padding:60px 80px;
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:50px;
  justify-items:center;
}


/* icon cards */

.category{
  background:#eac8dc;
  padding:20px;
  text-align:center;
  width:150px;
}

.category img{
  width:110px;
  margin-bottom:10px;
}

.category p{
  font-size:12px;
  margin-top:5px;
}


/* ---------- RESPONSIVE ---------- */

@media (max-width:900px){

  .category-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media (max-width:500px){

  .category-grid{
    grid-template-columns:1fr;
  }
  
  


footer{
  background:#ffffff;
  color:white;
  text-align:center;
  padding:50px;
  font-size:14px;
  margin-top:60px;
}