@font-face {
  font-family: 'Century Gothic';
  /*src: url('grandstander-clean.otf') format('truetype');*/
}

* {
  font-family: 'Century Gothic';
}

h1 {
  margin-bottom: 1rem;
}

p {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

hr {
  color: transparent;
}

.t-center {
  text-align: center !important;
}

.resimOrtala{

  margin: auto !important;
  width: 50% !important;
  height: 50% !important;
}
.top-margin {
  margin-top: 3rem;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}


.speaker{
  /*position: absolute;
  top: 5%;  Sayfanın en üstüne yerleştir */
  width: 2.5rem; /* Buton genişliği */
  height: 2.5rem; /* Buton yüksekliği */
  border: none; /* Çerçeveyi kaldır */
  background-image: url('img/common/speaker.png'); /* Arka plan resmi */
  background-size: cover; /* Resmi butona sığdır */
  background-position: center; /* Resmi ortala */
  background-repeat: no-repeat; /* Resmin tekrarını önle */
  background-color: transparent; /* Arka plan rengi şeffaf */
  cursor: grab; /* İmleç şekli */
  border-radius: 10px; /* Buton kenarlarını yuvarla (isteğe bağlı) */
  margin: 0; /* Varsayılan marginleri kaldır */
  padding: 0; /* Varsayılan paddingleri kaldır */
  
}
.speaker:hover {
  opacity: 0.6;
}
.speaker:active{
  cursor: grabbing;
}
input {
  padding: 1rem;
  font-size: 1.2rem;
  color: #000;
  background-color: #fff;
  border: 4px solid #000;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  outline: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 5px 5px 0 #000, 10px 10px 0 #e8e6b8;
  margin-bottom: 1.5rem;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  60% {
    transform: translate(2px, 2px);
  }

  80% {
    transform: translate(2px, -2px);
  }

  100% {
    transform: translate(0);
  }
}

input:focus {
  animation: glitch 0.1s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-color: #e8e6b8;
}

input::placeholder {
  color: #888;
  transition: color 0.3s ease;
}

input:focus::placeholder {
  color: transparent;
}


/* General styles */
.sheet>.front,
.sheet>.back {
  background-size: cover;
}

.flex-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}

.flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-justify {
  display: flex;
  flex-direction: column;
  align-content: stretch;
  justify-content: space-between;
}

/* .prev-page-button {
  width: 3rem;
  height: 3rem;
  background-image: url(img/common/arrow.svg);
} */

.prev-page-button>img {
  width: 2.5rem;
  height: 2.5rem;
}

.prev-page-button {
  /* transition: transform 0.2s ease-in-out; */
  height: auto;
}

.prev-page-button:active>img {
  transform: scale(0.9);
}


.next-page-button {
  position: relative;
  background-color: transparent;
  border: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 100%;
}

.button-big {
  aspect-ratio: 8/3;
  width: 20rem;
  height: 2.75rem;
}

.button-small {
  aspect-ratio: 5/2;
  width: 6rem;
  height: 3rem;
}

.button-small:before,
.button-small:after,
.button-big:before,
.button-big:after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.button-small:before {
  content: url(img/common/button-small-back.svg);
  margin: 0.5rem 0 0 0.5rem;
}

.button-small:after {
  content: url(img/common/button-small-front.svg);
}

.absolute {
  position: absolute;
  bottom: 2rem;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  /* width: 20rem;
  height: 2.75rem;
  background-color: transparent;
  border: none;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  line-height: 100%; */
}

/* .next-page-button.absolute:before,
.next-page-button.absolute:after {
  width: 20rem;
  height: 2.5rem;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
} */



.button-big:before {
  content: url(img/common/button-big-back.svg);
  margin: 0.5rem 0 0 0.5rem;
}

.button-big:after {
  content: url(img/common/button-big-front.svg);
}


.button-small:active:before,
.button-big:active:before {
  margin: 0.25rem 0 0 0.25rem;
}

.button-small:active:after,
.button-big:active:after {
  top: 0.25rem;
  left: 0.25rem;
}

.character>img {
  width: 10rem;
  height: auto;
}

.character>img.big {
  width: 14rem;
  height: auto;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated {
  opacity: 0;
}

p.big {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.animated.show {
  animation: fadeIn 1s forwards;
}

p.headline {
  font-size: 2.5rem;
  text-align: center;
  margin: auto 0;
}

h1.headline {
  font-size: 3rem;
  text-align: center;
  margin: 5rem 0 1rem;
}


@keyframes shake {

  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-10px);
  }

  75% {
    transform: translateY(10px);
  }
}



/* Page backgrounds */
#page_1 {
  background-image: url(img/bg/main_page.jpg);
}

#page_6 {
  background-image: url(img/bg/clean_env.jpg);
}

#page_7 {
  background-image: url(img/bg/right.jpg);
}

#page_8 {
  background-image: url(pics/park1-left.jpg);
}

#page_9 {
  background-image: url(pics/park1-right.jpg);
}

/* #page_10 {
  background-image: url(pics/park2-left.jpg);
} */

#page_16 {
  background-image: url(img/bg/recycle.jpg);
}

#page_17 {
  background-image: url(img/bg/right.jpg);
}

#page_32 {
  background-image: url(img/bg/saving.jpg);
}

#page_33 {
  background-image: url(img/bg/right.jpg);
}

#page_36 {
  background-image: url(img/bg/bathroom-left.jpg);
}

#page_37 {
  background-image: url(img/bg/bathroom-right.jpg);
}

#page_40 {
  background-image: url(img/bg/living-left.jpg);
}

#page_41 {
  background-image: url(img/bg/living-right.jpg);
}

#page_44 {
  background-image: url(img/bg/kitchen-left.jpg);
}

#page_45 {
  background-image: url(img/bg/kitchen-right.jpg);
}

/* Waste items positioning */
.waste {
  position: absolute;
}

.waste>img {
  height: 75%;
  width: 75%;
}

/* Park waste positions */
#park-waste1 {
  left: 24px;
  bottom: 62px;
}

#park-waste2 {
  left: 119px;
  bottom: 86px;
}

#park-waste3 {
  left: 168px;
  bottom: 24px;
}

#park-waste4 {
  left: 202px;
  bottom: 71px;
}

#park-waste5 {
  left: 253px;
  bottom: 7px;
}

#park-waste6 {
  left: 334px;
  bottom: 110px;
}



/* Grid layouts */
.items-grid,
.items-grid-23,
.items-grid2,
.badge-items-grid-23 {
  gap: 5rem;
  margin: auto;
  text-align: center;
}

.items-grid,
.items-grid-kitchen {
  grid-template-columns: repeat(3, 1fr);
}

.items-grid-23,
.badge-items-grid-23 {
  grid-template-columns: repeat(3, 1fr);
}

.items-grid2 {
  grid-template-columns: repeat(2, 1fr);
}




/* Grid items */
.page_13_item,
.item-rc,
.item-rc2,
.item-rc-kithcen,
.badge-item {
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000, 6px 6px 0 #e8e6b8;
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #ffffff5c;
  transition: all 0.3s ease;
}

.page_13_item.active,
.item-rc-kithcen.selected {
  border-color: #4caf50;
  background: #e8f5e9;
}


.items-container,
.bins-container {
  padding: 1rem;
  display: grid;
  max-width: 100%;
  font-size: 0.9rem;
  gap: 1rem;
}

.bins-container {
  grid-template-columns: repeat(2, 1fr);
}

.bins-container h3 {
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #717171;
}

.items-container {
  border: 2px dashed #ccc;
  grid-template-columns: repeat(3, 1fr);

}

.items-container>.item {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0.4rem;
}



/* Draggable items */
.item,
.draggable-item-name {
  padding: 0.6rem;
  background: #fff;
  border: 1px solid #ddd;
  cursor: move;
}

.dragging {
  opacity: 0.5;
}

/* Drop zones */
.bin {
  min-height: 100px;
  padding: 10px;
  border: 2px solid #4CAF50;
  background: #e8f5e9;
}

.bin[data-type="non-recyclable"] {
  border-color: #f44336;
  background: #ffebee;
}

.name-drop-area {
  min-height: 2.5rem;
  border: 2px dashed #ffffff5c;
  background-color: #ffffff5c;
  margin-top: 0.5rem;
  padding: 0.5rem;
  width: 100%;
}

/* Lists */
.list-image-left {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-image-left li {
  display: flex;
  align-items: center;
  background-color: #ffffff5c;
  border: 1px solid #ffffff5c;
  margin-bottom: 10px;
}

.list-image-left li img {
  width: auto;
  height: 4.5rem;
}

/* Mentions */
.bathroom-mention,
.living-mention,
.kitchen-mention {
  margin: 0.5rem;
  padding: 0.6rem;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #ffffff5c;
  border: 4px solid #000;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  outline: none;
  box-shadow: 3px 3px 0 #000, 6px 6px 0 #e8e6b8;
}

/* Room-specific waste positions */
#bathroom-waste1 {
  left: 91px;
  top: 215px;
  height: 43px;
  width: 67px;
}

#bathroom-waste2 {
  left: 318px;
  top: 286px;
  background: skyblue;
  height: 26px;
  width: 6px;
}

#bathroom-waste3 {
  left: 409px;
  top: 240px;
  height: 35px;
  width: 23px;
}

#living-waste1 {
  left: 280px;
  top: 236px;
  width: 119px;
  height: 160px;
}

#living-waste2 {
  left: 360px;
  top: 340px;
  width: 75px;
  height: 164px;
}

#living-waste3 {
  left: -35px;
  top: 197px;
  width: 284px;
  height: 166px;
}

#kitchen-waste1 {
  left: 278px;
  top: 327px;
  width: 116px;
  height: 146px;
}

#kitchen-waste2 {
  left: 285px;
  top: 246px;
  width: 137px;
  height: 72px;
}

#kitchen-waste3,
#kitchen-waste3-img {
  position: absolute;
  left: 185px;
  top: 258px;
  width: 65px;
  height: 66px;
}

#kitchen-waste3 {
  z-index: 20;
}

/* Images */
/* .waste-in-container img, */
#living-waste1>img,
#living-waste2>img,
#living-waste3>img,
#kitchen-waste1>img,
#kitchen-waste2>img,
#kitchen-waste3>img {
  width: 100%;
  height: auto;
}

.badge-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
}

img.recycle-item-img {
  width: 5rem;
  height: auto;
}

div.option,
div.bathroom-option,
div.living-option,
div.kitchen-option {
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  padding: 0.6rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border: 4px solid #000;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  outline: none;
  box-shadow: 3px 3px 0 #000, 6px 6px 0 #e8e6b8;
}

div.option.wrong,
div.bathroom-option.wrong,
div.living-option.wrong,
div.kitchen-option.wrong {
  background-color: darkred;
  color: white;
  animation: glitch 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

div.option.correct,
div.bathroom-option.correct,
div.living-option.correct,
div.kitchen-option.correct {
  background-color: #4CAF50 !important;
  color: white !important;
  animation: shake 1s cubic-bezier(0.86, 0, 0.07, 1) !important;
}


div.option:active,
div.bathroom-option:active,
div.living-option:active,
div.kitchen-option:active {
  border-color: #e8e6b8;
  box-shadow: 1px 1px 0 #000, 3px 3px 0 #e8e6b8;
}


#page_13_grid {
  display: grid;
  gap: 1.25rem;
  margin: 1rem;
  /* margin: 20px; */
  grid-template-columns: repeat(2, 1fr);
}

.page_13_item.wrong,
.item-rc.wrong {
  border-color: darkred;
  background-color: darkred;
  animation: glitch 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.page_13_item.correct,
.item-rc.correct {
  border-color: #4CAF50;
  box-shadow: 3px 3px 0 #000, 6px 6px 0 #4CAF50;
  animation: shake 1s cubic-bezier(0.86, 0, 0.07, 1) !important;
}


.sticker {
  transform-style: preserve-3d;
  position: relative;
  width: 14rem;
  height: 14rem;
  /* animation: h 1s both; */
  transform-origin: center bottom;
  opacity: 1;
  margin-bottom: 1rem;
}

@keyframes h {
  from {
    transform: rotate(-45deg)
  }

  to {
    transform: rotate(-35deg)
  }
}

#sticker_1:before {
  background: url(img/badge/clean.png) no-repeat center center / contain;
}

#sticker_2:before {
  background: url(img/badge/recycle.png) no-repeat center center / contain;
}

#sticker_3:before {
  background: url(img/badge/saving.png) no-repeat center center / contain;
}

.sticker:before {
  display: block;
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  animation: front 2.8s both;
}

@keyframes front {
  from {
    clip-path: inset(0 80% 0 0);
  }

  50%,
  to {
    clip-path: inset(0 0% 0 0);
  }
}

.sticker:after {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #e8e8e8;
  border-radius: 50%;
  content: "";
  /*   filter: brightness(0.1); */
  transform: rotateY(-180deg);
  animation: back 2.8s both;
}

@keyframes back {
  from {
    clip-path: inset(0 0 0 20%);
    transform-origin: 20% 0;
  }

  50%,
  to {
    clip-path: inset(0 0 0 100%);
    transform-origin: 100% 0;
  }
}

#page_19 .item-rc {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}



.page_23_item {
  display: flex;
  align-items: center;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  justify-content: center;
}

.page_23_item>p {
  font-size: 0.9rem;
  margin-bottom: 0;
}




#page_27 .drag-drop-container,
#page_29 .drag-drop-waste {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: stretch;
  width: 100%;
  gap: 1rem;
}

.draggable-list-name,
.draggable-list-waste,
.waste-in-container,
.waste-of-container {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
  flex: 1;
}

.waste-in-container>div {
  display: flex;
  flex-direction: row;
}

.waste-in-container img {
  width: 4rem;
}

.draggable-item-name,
.draggable-item-waste {
  list-style: none;
  font-size: 0.8rem;
  text-align: center;
  padding: 0.4rem;
}


.waste-drop-area {
  background-size: contain;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
}

.waste-drop-area li img {
  opacity: 0;
}

#page_19 .item-rc>p,
div.option>p,
div.bathroom-option>p,
div.living-option>p,
div.kitchen-option>p,
.bathroom-mention>p,
.list-image-left li p {
  margin-bottom: 0;
  font-size: 0.9rem;

}

.bathroom-item {
  position: absolute;
  bottom: 10%;
  z-index: -1;
}

.bathroom-waste1 {
  content: url(img/saving/bath1.png);
  left: 50%;
  left: 10%;
  width: 80%;
}

.bathroom-waste2 {
  content: url(img/saving/bath2.png);
  right: 14%;
  width: 40%;
}

.bathroom-waste3 {
  content: url(img/saving/bath3.png);
  right: 4%;
  width: 60%;
  bottom: 50%;
}


.bathroom-waste1.after {
  content: url(img/saving/bath1-after.png);
}

.bathroom-waste2.after {
  content: url(img/saving/bath2-after.png);
}

.bathroom-waste3.after {
  content: url(img/saving/bath3-after.png);
}


.living-item {
  position: absolute;
  z-index: -1;
}

.living-waste1 {
  content: url(img/saving/living1.png);
  right: 00%;
  bottom: 0%;
  width: 70%;
}

.living-waste2 {
  content: url(img/saving/living2.png);
  left: 12%;
  bottom: 16%;
  width: 40%;
}

.living-waste3 {
  right: 0;
  width: 50%;
  top: 0;
  overflow: hidden;
}

.living-waste3.after>img {
  margin-left: 80%;
  transition: margin-left 2s ease;
}

.living-waste1.after {
  content: url(img/saving/living1-after.png);
}

.living-waste2.after {
  content: url(img/saving/living2-after.png);
}


.kitchen-item {
  position: absolute;
  z-index: -1;
}

.kitchen-waste1 {
  content: url(img/saving/kitchen1.png);
  left: 10%;
  top: 3%;
  width: 25%;
}

.kitchen-waste2 {
  content: url(img/saving/kitchen2.png);
  right: 1%;
  bottom: 4%;
  width: 36%;
}

.kitchen-waste3 {
  content: url(img/saving/kitchen3.png);
  left: 18%;
  width: 30%;
  bottom: 25%;
}

.kitchen-waste3.after {
  visibility: hidden;
}

.kitchen-waste1.after {
  content: url(img/saving/kitchen1-after.png);
}

.kitchen-waste2.after {
  content: url(img/saving/kitchen2-after.png);
}
