@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600,800&display=swap");
body {
  margin: 0;
  padding: 0;
}

a {
  color: white;
  text-decoration: none;
}
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 64vh;
  font-family: "Poppins", sans-serif;
  background: #161515;
}

.container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 900px;
  height: 500px;
  background: #fff;
  margin: 20px;
}

.container .imgBx {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 100%;
  background: #212121;
  transition: 0.3s linear;
}

.container .imgBx img {
  position: relative;
  max-width: 500px; /* Set the maximum width to 500 pixels */
  height: auto; /* Automatically adjust the height based on the aspect ratio */
  /* transform: rotate(-30deg); */
  left: -50px;
  transition: 0.9s linear;
}

.container .details {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  padding: 40px;
}

.container .details h2 {
  margin: 0;
  padding: 0;
  font-size: 1.4em;
  line-height: 1.2em;
  color: #444;
  padding-top: 30px;
}

.container .details p {
  max-width: 85%;
  margin-left: 5%;
  color: #333;
  font-size: 15px;
  margin-bottom: 36px;
}

.container .details h3 {
  margin: 0;
  padding: 0;
  font-size: 2.5em;
  color: #a2a2a2;
  float: left;
}
.container .details button {
  background: #000;
  color: #fff;
  border: none;
  outline: none;
  padding: 15px 20px;
  margin-top: 5px;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 40px;
  float: right;
}

.product-colors span {
  width: 26px;
  height: 26px;
  top: 7px;
  margin-right: 12px;
  left: 10px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.product-colors .active:after {
  content: "";
  width: 36px;
  height: 36px;
  border: 2px solid #000;
  position: absolute;
  border-radius: 50%;
  box-sizing: border-box;
  left: -5px;
  top: -5px;
}
.logo {
  background: #161515;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: 20vh;
  flex-wrap: wrap;
}
.logo img {
  height: 200px;
}

.logo .pagehead a {
  font-size: 1.6rem;
  text-decoration: underline;
}
/* responsive */
@media (max-width: 1080px) {
  .container {
    height: auto;
  }
  .container .imgBx {
    padding: 40px;
    box-sizing: border-box;
    width: 100% !important;
    height: auto;
    text-align: center;
    overflow: hidden;
  }
  .container .imgBx img {
    left: initial;
    max-width: 100%;
    transform: rotate(0deg);
  }
  .details {
    width: 100% !important;
    height: auto;
    padding: 20px;
  }
  .container .details p {
    margin-left: 0;
    max-width: 100%;
  }
}

footer {
  position: fixed;
  right: 16px;
  bottom: 1px;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  background: black;

}
.message{
  padding-top: 10rem;
  text-align: center;
  font-size: 3rem;
  font-family: "Poppins", sans-serif;
}
#search-bar {
  position: fixed;
  left: 42.7%;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  z-index: 99;
}

#search-bar::placeholder {
  color: #999;
}

#search-bar:focus {
  outline: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
@media (max-width: 620px) {
  .logo img {
    height: 150px;
  }

  #search-bar {
  position: fixed;
  top: 20%;
  left: 20.7%;

  z-index: 99;
}
}