.elementor-8677 .elementor-element.elementor-element-03bc8bd{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:50px;--margin-bottom:100px;--margin-left:0px;--margin-right:0px;}.elementor-8677 .elementor-element.elementor-element-6447efd{text-align:center;}.elementor-8677 .elementor-element.elementor-element-6447efd .elementor-heading-title{font-family:"Black Diamond", Sans-serif;font-size:5em;color:#222222;}.elementor-8677 .elementor-element.elementor-element-d6d90b1{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(max-width:1024px){.elementor-8677 .elementor-element.elementor-element-6447efd > .elementor-widget-container{margin:50px 0px 0px 0px;}}@media(max-width:767px){.elementor-8677 .elementor-element.elementor-element-6447efd > .elementor-widget-container{margin:0px 0px 0px 0px;}}/* Start custom CSS for heading, class: .elementor-element-6447efd */.rotate-left,
.rotate-right {
  display: inline-block; 
  background-color: #b66ca4;
  color: #fff;
  padding: 10px 14px;
  font-size: 3.8rem;
}

.rotate-left {
  transform: rotate(-4deg);
}

.rotate-right {
  transform: rotate(3deg);
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-f436393 */.bag-game {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

/* ITEMS */
.items {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 15px;
}

.item {
  position: relative;
  width: 120px;
  height: 120px;
  cursor: grab;
  border-radius: 12px;
  overflow: hidden;
}

/* overlay layer */
.overlay {
  position: absolute;
  inset: 0; /* full cover */
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 48px;
  font-weight: bold;

  opacity: 0;
  pointer-events: none;

  background: rgba(255,255,255,0.6); /* optional blur feel */
  transition: 0.2s;
}

/* CORRECT */
.item.correct .overlay {
  opacity: 1;
  color: green;
}

.item.correct .overlay::after {
  content: "✔";
}

/* WRONG */
.item.wrong .overlay {
  opacity: 1;
  color: red;
}

.item.wrong .overlay::after {
  content: "✖";
}




/* BAG */
.bag-dropzone {
  position: relative;
  width: 260px;
}

.bag-img {
  width: 100%;
  display: block;
}

/* invisible drop area πάνω στην τσάντα */
.bag-inside {
  position: absolute;
  top: 30%;
  left: 15%;
  width: 70%;
  height: 50%;
}

/* inside items */
.bag-inside .item {
  width: 60px;
  height: 60px;
}
/* =========================
   FULL SCREEN OVERLAY
========================= */
/* =========================
   SUCCESS OVERLAY
========================= */
.success-screen {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  z-index: 9999;
}

.success-screen.active {
  opacity: 1;
  pointer-events: all;
}

/* =========================
   CARD
========================= */
.success-content {
  position: relative;
  background: #fff;
  padding: 60px 40px 40px;
  border-radius: 24px;
  width: 420px;

  display: flex;
  flex-direction: column;
  align-items: center;

  transform: scale(0.9);
  opacity: 0;
  transition: 0.4s;
}

.success-screen.active .success-content {
  transform: scale(1);
  opacity: 1;
}

/* =========================
   IVI + SPEECH WRAPPER
========================= */
.ivi-wrapper {
   display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Ήβη */
.ivi-character {
  width: 170px;
  display: block;
}

.success-screen.active .ivi-character {
  transform: translateY(0);
  opacity: 1;
}

/* =========================
   SPEECH (ΔΕΜΕΝΟ ΣΤΗΝ IVI)
========================= */
.speechiv {
  position: relative;

  background: #C61B1A;
  color: #fff;

  padding: 16px 26px;
  border-radius: 20px;

  font-weight: bold;
  font-size: 16px;
  line-height: 1.4;

  max-width: 360px;   /* 👈 μεγαλύτερο */
  min-width: 260px;   /* 👈 κρατάει σχήμα */

  box-shadow: 0 12px 30px rgba(0,0,0,0.25);

  text-align: left;
  margin-left: -40px;
    margin-right: 10px;
}

/* Arrow */
.speechiv::after {
  content: "";
  position: absolute;

  left: -10px;
  top: 45%;   /* 👈 πιο φυσικό alignment */

  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #C61B1A;
}

/* =========================
   BUTTON
========================= */
.restart-btn {
  margin-top: 30px;
  padding: 12px 24px;
  border: none;
  background: #C61B1A;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}

.restart-btn:hover {
  transform: translateY(-2px);
}

.item {
  touch-action: none;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'Black Diamond';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://digital.web2social.gr/wp-content/uploads/2026/03/Black-Diamond.ttf') format('truetype');
}
@font-face {
	font-family: 'Black Diamond';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://digital.web2social.gr/wp-content/uploads/2026/03/Black-Diamond.woff') format('woff');
}
/* End Custom Fonts CSS */