/* embed.css */

/* General body styling */
body.embed-body {
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', sans-serif;
  background-color: #F3F1EC;
}

/* Main container styling */
main.embed-main {
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
}

/* Outer container styling with responsive adjustments */
.outer-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.3125rem; /* 5px */
}

@media (min-width: 640px) {
  .outer-container {
    margin-bottom: 1.875rem; /* 30px */
  }
}

.section-items {
  gap: 1.5rem;
  align-items: center;
  flex-direction: column;
  display: flex;
}

/* Canva embed container */
.canva-embed-container {
  margin-bottom: 1rem;
  width: 100%;
  padding-left: 0.5rem; /* sm:px-0 */
  padding-right: 0.5rem; /* sm:px-0 */
}

@media (min-width: 640px) {
  .canva-embed-container {
    width: 75%; /* sm:w-3/4 */
    margin-top: 2rem; /* sm:mt-0 */
  }
}

@media (min-width: 1024px) {
  .canva-embed-container {
    width: 50%; /* lg:w-1/2 */
  }
}

/* Screenshot container (hidden on small screens, shown on large) */
#screenshot {
  padding: 1rem;
  z-index: 9999;
  display: block;
}

@media (min-width: 640px) {
  #screenshot {
    display: none; /* sm:hidden */
  }
}

/* Image tag styling */
img.screenshot-image {
  width: auto;
  height: auto;
  display: block;
  max-width: 100%;
}

.guide-container {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  border-radius: 40px;
  display: none;
}

.guide-container.items-center {
  justify-items: center;
}

#guide-title {
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
}

.guide-section {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.guide-section-title {
  position: absolute;
  top: 0;
  font-size: 1.5rem;
  font-weight: 600;
  width: 100%;
  text-align: center;
}

.section-container {
  gap: 1rem;
  flex-direction: column;
  display: flex
  margin-bottom: 2rem;
}

.section-title {
  font-family: Impact;
  font-weight: 700;
  text-align: center;
}

.guide-items-container {
  position: relative;
}

.guide-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  height: 100%;
}

.guide-item .aspect-w-4.aspect-h-5 {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.guide-item a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  cursor: pointer;
}

.product-image {
  max-width: 100%;
  object-fit: contain;
  max-height: 250px;
}

.guide-item .absolute {
  position: absolute;
}

.guide-item .absolute.bg-black {
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transition: opacity 0.3s;
}

.guide-item .group:hover .absolute.bg-black {
  opacity: 1;
}

.guide-item .interaction-icon {
  width: 20px;
  height: 20px;
}

.guide-item .info-item {
  font-size: 0.875rem;
}

#guide-panel {
  display: block;
  top: 0;
  right: 0;
  height: 100%;
  width: 300px;
  margin-top: 10px;
}

.guide-panel-items-container {
  padding: 1rem;
  height: calc(100vh - 50px);
}

.max-w-200 {
  max-width: 200px;
}

#panel-title {
  font-weight: 600;
  text-align: center;
}

#panel-title .line-text {
  text-decoration: underline;
}

/* Media Queries */
@media (min-width: 640px) {
  .guide-container {
    display: block;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 768px) {
  /* Additional larger screen styles can be defined here if needed */
}

@media (min-width: 1024px) {
  /* For even larger screens, if needed */
}
