:root {
  --text-color: black;
  --background-color: rgb(255, 255, 255);
  --alt-background-color: rgb(179, 218, 255);
 
}
.logo{
  width: 300px;
  height: auto;
}
.header {background-color: var(--head-color); text-align: center;}
.body {background-color: var(--background-color);}
.foot {
  background-color: #3498db36; 
  color: rgb(0, 0, 0); 
  text-align: center; 
  padding: 15px; 
  font-size: 16px; 
  font-family: Arial, sans-serif; 
  
  bottom: 0; 
  left: 0;
  width: 100%; 
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); 
}

.foot a {
  color: #f0a500;
  text-decoration: none; 
}

.foot a:hover {
  text-decoration: underline; 
}

h2 {
  width: 90%; 
  max-width: 500px; 
  height: auto;
  padding: 10px; 
  margin: 10px auto; 
  text-align: center;
  background-color: #3498db36;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2vw; 
  min-height: 50px; 
}

.container-big-promo {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap; 
}

.big-promo-img {
  position: relative;
  width: 50%; 
  max-width: 800px; 
  text-align: center;
}

.imgShopNow {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 30px;
}

.shopNow {
  width: 150px;
  padding: 10px 20px;
  font-size: 16px;
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
  border: 2px solid black;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.5s;
}

.shopNow:hover {
  color: white;
  border: 2px solid white;
  background-color: black;
}

@media (max-width: 768px) {
  .container-big-promo {
    gap: 10px;
  }

  h2 {
    font-size: 20px; 
    width: 90%;
    padding: 10px;
  }

  .big-promo-img {
    max-width: 90%; 
  }

  .imgShopNow {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
  }

  .shopNow {
    width: 130px;
    font-size: 14px;
    padding: 8px 15px;
    bottom: 15px;
  }
}
.navigation {
  width: 100%;
  background-color: #3498db36; 
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.nav-container > div {
  color: #1b1919;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.nav-container a {
  color: #1b1919;
  text-decoration: none;
}

.nav-container img {
  width: 16px;
  height: auto;
  margin-left: 5px;
}

@media (max-width: 768px) {
  .nav-container {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 1fr); 
    text-align: center;
  }

  .nav-container > div {
    padding: 10px 0;
    font-size: 14px; 
  }
}

@media (max-width: 480px) {
  .nav-container {
    grid-template-columns: 1fr 1fr 1fr; 
  }

  .nav-container > div {
    padding: 8px 0;
    font-size: 12px; 
  }
}
.container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  grid-template-rows: repeat(2, auto); 
  gap: 15px; 
  max-width: 1300px; 
  margin: 0 auto; 
  padding: 20px;
}

.grid-promo-img {
  position: relative;
  width: 100%;
  overflow: hidden; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.grid-promo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1; 
  border-radius: 20px; 
  transition: transform 0.3s ease;
}

.grid-promo-img:hover img {
  transform: scale(1.1); 
}

.text-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6); 
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.grid-promo-img:hover .text-overlay {
  opacity: 1; 
}
h1{
  text-align: center;
  width:100%;
  background-color: antiquewhite;
  border-radius: 10px;
}
.container-fancy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  grid-template-rows: repeat(3, 200px); 
  gap: 10px;
  width: 80%;
  margin:  50px auto;
}



.div1 {
  grid-column: span 2; 
}

.div2 {
  grid-column: span 1; 
}

.div3 {
  grid-column: span 1;
}

.div4 {
  grid-column: span 2;
}

.div5 {
  grid-column: span 2;
}

.div6 {
  grid-column: span 1; 
}

.container-fancy-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-section {
  flex: 1;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  min-width: 280px; 
  max-width: 300px; 
  height: auto; 
}

.search-section label,
.search-section select,
.search-section input,
.search-section button {
  display: block;
  width: 100%;
  margin: 10px 0;
  padding: 10px;
  font-size: 16px;
}

.search-section button {
  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
}

.search-section button:hover {
  background-color: #0056b3;
}

.main-container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.video-section {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  justify-content: center;
}

.video-section div {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
  border: 1px solid #ccc;
  text-align: center;
  max-width: 400px;
  width: 100%;
}

.video-section img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.video-section a {
  display: block;
  margin-top: 10px;
  color: #007BFF;
  text-decoration: none;
}

.video-section a:hover {
  text-decoration: underline;
}

.wordpress-section {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 20px;
  background-color: rgb(179, 218, 255);
  
}
#wordpressContainer {
  text-align: center; 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

#wordpressContainer div {
  width: 80%; 
  max-width: 600px; 
  margin: 10px auto; 
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}
#wordpressContainer h3 {
  word-wrap: break-word; 
  max-width: 100%; 
  margin-bottom: 15px; 
}

#wordpressContainer h3 a {
  text-overflow: ellipsis; 
  overflow: hidden; 
  white-space: nowrap; 
  display: block; 
}
.wordpress-section div {
  background-color: #fdfdfd;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #ddd;
  text-align: left;
  margin: 10px !important;
}

.wordpress-section h3 {
  margin-bottom: 10px;
}

.wordpress-section h4 a {
  font-size: 16px;
  font-weight: bold;
  color: #007BFF;
  text-decoration: none;
}

.wordpress-section h4 a:hover {
  text-decoration: underline;
}

.wordpress-section img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 5px;
}
.craftsy-section {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding: 20px;
  background-color: #f3f3f3;
  border-radius: 8px;
}
.link{
  font-size: 12px;
}
.craftsy-section a {
  font-size: 18px;
  font-weight: bold;
  color: #007BFF;
  text-decoration: none;
}

.craftsy-section a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .main-container {
    flex-direction: column;
    align-items: center;
  }

  .search-section {
    width: 100%;
    max-width: 500px;
  }

  .video-section {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .wordpress-section {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 600px) {
  .video-section {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .wordpress-section {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .search-section {
    width: 100%;
    max-width: 100%;
  }

  .craftsy-section {
    padding: 15px;
  }
}
.main-content1 {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.sidebar {
  width: 250px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
}

.sidebar select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.products-container {
  flex: 1; 
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h2 {
  font-size: 18px;
  color: #333;
  margin: 10px auto;
}

.product-card p {
  font-size: 14px;
  color: #666;
}


.product-card p:last-of-type {
  font-weight: bold;
  color: #000;
}

.product-card button {
  background-color: #ff6f61;
  color: white;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.product-card button:hover {
  background-color: #e65c50;
}

@media (max-width: 1024px) {
  .products-container {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-content {
      flex-direction: column; 
  }

  .products-container {
      grid-template-columns: repeat(1, 1fr); 
  }
}
