.instagram-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 440px;
  margin: auto;
  overflow: hidden;
}

.instagram-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.youtube-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
  margin: auto;
  overflow: hidden;
}

.youtube-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.youtube-embed-wrapper:hover .floating-buttons {
  opacity: 1;
  pointer-events: auto;
}

.float-two-btn{display:flex;flex-direaction:row;justify-content:center;gap:20px;}
/* Buttons container */
.floating-buttons {
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 100%;
  height:12%;
 
  display: flex;
   
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.instagram-embed-wrapper:hover .floating-buttons {
  opacity: 1;
  pointer-events: auto;
}

/* Individual button styles */
.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  
  justify-content: center;
  align-items: center;
  background-color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Button Colors */
.red-btn {
  background-color: #b30000;
}
.red-btn:hover {
  background-color: #800000;
}

.green-btn {
  background-color: #006400;
}
.green-btn:hover {
  background-color: #004d00;
}

/* Responsive for smaller devices */
@media (max-width: 480px) {
  .instagram-embed-wrapper {
    height: 420px;
  }
  .youtube-embed-wrapper {
    height: 450px;
  }


  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn svg {
    width: 20px;
    height: 20px;
  }
}
