* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: #fdf6e3;
  color: #333;
  background-image: radial-gradient(#d6c6aa 1px, transparent 1px);
  background-size: 20px 20px;
  
}

.container {
  position: relative;
  max-width:600px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.strike {
  text-decoration: line-through;
  color: gray;
  margin-right: 8px;
}

.translator-box {
  width:100%;
  padding: 20px;
}

.input-label {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

textarea {
  width:100%;
  height: 100px;
  margin: 10px 0;
  padding: 12px;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 10px;
  resize: none;
  background-color: #fff8dc;
  outline: none;
  overflow:hidden;
}


.arrow {
  font-size: 1.2rem;
  margin: 12px 0;
}


.emoji-floating {
  position: absolute;
  animation: floatUp 5s infinite ease-in-out;
  font-size: 4rem;
  opacity: 0.8;
  z-index: 0;
}

.emoji-floating.one {
  left: 10%;
  top: 80px;
}

.emoji-floating.two {
  left: 75%;
  top: 70px;
}


@keyframes floatUp {
  0% { transform: translateY(0); opacity: 0.8; }
  50% { transform: translateY(-30px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.8; }
}

.footer{
    text-align:center;
    padding:2px;
}

.footer-text{
    font-size:11px;
    color:black;
    font-weight:bold;
    opacity:0.33;
}

#copyBtn {
  margin-top: 5px;
  padding: 4px 16px;
  font-size: 0.8rem;
  background-color: #fdd835;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#copyBtn:hover {
  background-color: #fbc02d;
}


@media (max-width: 600px) {
  .title {
    font-size: 1.6rem;
  }

  .arrow {
    font-size: 1rem;
  }

  textarea {
    font-size: 0.95rem;
    height:80px;
  }

  .emoji-floating {
    font-size: 2rem;
  }
}

/* @media (max-width:475px){
    textarea{
      width:240px;
    }
}

@media (max-width:315px){
  textarea{
    width:100%;
    height:90px;
  }
} */