@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ===================================================== */
.dropdown .dropbtn {
  font-size: 16px;
  /* font-family: 'Poppins', sans-serif; */
  border: none;
  outline: none;
  color: white;

  background-color: inherit;
  font-family: inherit;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  padding: -3px 16px;
  border-radius: 5px;
  letter-spacing: 1px;
}

.navbar a:hover,
.dropdown:hover .dropbtn {
  background-color: #f9f9f9;
  color: #111;
  border-radius: 5px;
}

.dropdown-content {
  display: none;
  border-radius: 5px;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 3px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  color: white;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
}

.dropdown-content a:hover {
  background-color: white;
  padding: 3px 16px;
  /* text-align: center; */
  color: #1b1b1b;
}

.dropdown:hover .dropdown-content {
  display: block;
  background-color: #1b1b1b;
}

/* ======================================================== */
nav {
  display: flex;
  height: 80px;
  position: fixed;
  width: 100%;
  background: #1b1b1b;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px 0 100px;
  flex-wrap: wrap;
}

nav .logo {
  color: #fff;
  font-size: 35px;
  font-weight: 600;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

nav ul li {
  margin: 0 5px;
}

nav ul li a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

nav ul li a.active,
nav ul li a:hover {
  color: #111;
  background: #fff;
}

nav .menu-btn i {
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}

input[type="checkbox"] {
  display: none;
}

@media (max-width: 1000px) {
  nav {
    padding: 0 40px 0 50px;
    height: 132px;
  }

  .logo {
    /* text-align: center; */
    /* margin-right: 190px; */
    font-size: 4px;
  }
}

@media (max-width: 920px) {
  nav .menu-btn i {
    display: block;
  }

  #click:checked~.menu-btn i:before {
    content: "\f00d";
  }

  nav ul {
    position: fixed;
    top: 80px;
    left: -100%;
    background: #111;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }

  #click:checked~ul {
    left: 0;
  }

  nav ul li {
    width: 100%;
    margin: 40px 0;
  }

  nav ul li a {
    width: 100%;
    margin-left: -100%;
    display: block;
    font-size: 20px;
    transition: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  #click:checked~ul li a {
    margin-left: 0px;
  }

  nav ul li a.active,
  nav ul li a:hover {
    background: none;
    color: cyan;
  }
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: -1;
  width: 100%;
  padding: 0 30px;
  color: #1b1b1b;
}

.content div {
  font-size: 40px;
  font-weight: 700;
}

/* ul {
    list-style-type: none;
    display: flex;
    margin: 1px 4px;
    padding: 0px 530px;
    font-size: 1.2rem;
    text-decoration: none;
    color: #1F2833;
}

ul :hover {
    /* list-style-type: none;
    display: flex;
    margin: 1px 4px;
    padding: 0px 530px;
    font-size: 1.2rem; 
    color: yellow;
    border-color: yellow;
}

li a {
    padding: 10px 10px;
    color: white;
    text-align: center;
    text-decoration: none;
}

li a:hover {
    /* padding: 0px 20px; 
    color: yellow;
    border-color: yellow;
} */
header {
  /* background-color: #0B0C10; */
  color: #F4F4F4;
  padding: 20px;
  text-align: center;
}

h1 {
  margin: 0;
}

.colors {
  display: flex;
  flex-wrap: wrap;

  padding: 20px;
  justify-content: center;
  /* Add this property */
  align-items: center;
  /* Add this property */
  text-align: center;
}


h2 {
  margin-top: 0;
  margin-bottom: 20px;
}


.color {
  margin: 10px;
}

.color-box {
  width: 150px;
  height: 150px;
  border-radius: 5px;
  /* transition: all 0.3s ease; */
  box-shadow: 2px 2px 5px rgba(0.59, 0.50, 0.99, 0.1);
  /* Add this property */
}

.color-box:hover {
  /* border: 0.7px solid #333; */
  /* transform: scale(1.1);    */
  box-shadow: 3px 3px 8px rgba(1, 1, 1.10, 0.2);
  /* Add this property */
}


footer {
  background-color: #1F2833;
  color: #F4F4F4;
  padding: 8px;
  text-align: center;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: #555;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
}

#myBtn:hover {
  background-color: black;
}

#myBtn svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: white;
}