@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  font-style: normal;
}

section {
  background-color: #6220ef;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background-color: #ffffff;
  padding: 30px;
  width: 90%;
  max-width: 600px;
  margin: auto;
  border-radius: 20px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.translateFrom,
.translateoutput {
  height: 200px;
}

textarea {
  width: 100%;
  height: 100%;
  padding: 10px;
  font-size: 20px;
}

textarea:focus {
  outline: none;
}

.selectLang {
  border: 1px solid black;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin: 10px 0px;
}

select {
  width: calc(50% - 10px);
  margin-bottom: 10px;
  outline: none;
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  padding: 10px 15px;
}

.translateTo {
  border: 1px solid black;
  width: 100%;
  height: 100%;
  padding: 10px;
  font-size: 20px;
  overflow-y: scroll;
}

button {
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  border: none;
  background-color: #6220ef;
  color: white;
  font-size: 20px;
}

.icon-container{
  font-size: 13px;
}

.show{
  display: none;
}

@media only screen and (max-width: 600px) {
  .selectLang {
    flex-direction: column;
  }
  select{
    width: 100%;
  }
  .icon-container{
    margin: 5px 0px;
  }
}
