@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0F2027, #203A43, #2C5364);
}

.container {
  width: 700px;
  height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.container { 
  background: rgba(15, 32, 39, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid #6DD5FA;
}
#Translate {
  background: linear-gradient(to right, #6DD5FA, #FF758C);
  box-shadow: 0 0 10px #6DD5FA;
}
#Translate:hover {
  background: linear-gradient(to right, #5CC5EA, #FF647A);
  box-shadow: 0 0 15px #6DD5FA;
}
.selectionArea {
  background: linear-gradient(to right, #654EA3, #EAAFC8);
}

.Text {
  width: 100%;
  height: 300px;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

#inputText, #outputText {
  width: 100%;
  height: 100%;
  padding: 20px;
  font-size: 18px;
  border-radius: 10px;
  background-color: #f8f9fa;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#inputText:focus, #outputText:focus {
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 2px rgba(0, 149, 255, 0.2);
}

.selectionArea {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  padding: 0 10px;
  margin: 20px 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.select1, .select2 {
  width: 48%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#selected1, #selected2 {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #f8f9fa;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

#selected1:hover, #selected2:hover {
  background-color: #e9ecef;
}

#Translate {
  width: 220px;
  height: 55px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 30px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#Translate:hover {
  transform: translateY(-2px);
}