@import "variables.css";
@import url(fonts.css);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background: linear-gradient(45deg, #010758, #490d61);
  display: flex;
  align-items: center;
  color: #fff;
  flex-direction: column;
  font-size: var(--font-size-default);
  font-family: Poppins, sans-serif;
  padding: var(--size-value-big);
}

h1 {
  font-weight: 500;
  margin-bottom: 1rem;
}

.h1Text {
  color: #ff2963;
}

textarea.text-to-speech {
  width: 90%;
  height: 250px;
  background: #403d84;
  color: #fff;
  border: 0;
  outline: 0;
  padding: 20px;
  border-radius: 10px;
  resize: none;
  margin-bottom: 30px;
  font-family: inherit;
}

textarea.text-to-speech::placeholder {
  color: #fff;
}

.row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 2.5vw;
  justify-content: center;
}

button.listenButton {
  background: #ff2963;
  color: #fff;
  border-radius: var(--border-radius-circle);
  border: 0;
  outline: 0;
  cursor: pointer;
  font: inherit;
  font-size: 1.155rem;
  width: 46.5px;
  aspect-ratio: 1;
  height: 46.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.languageSelector {
  display: flex;
  width: 100%;
  position: relative;
}

select.languageSelect {
  flex: 1;
  color: #fff;
  background: #403d8460;
  height: 50px;
  padding: 0 20px;
  outline: 0;
  border: 0;
  border-radius: 35px;
  appearance: none;
  width: 100%;
  position: relative;
  z-index: 1;
}

.dropdownArrow {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  right: 2.5%;
  z-index: -1;
}

@media (min-width: 0) {
  body {
    padding-inline: var(--size-value-tiny);
  }
  .row {
    width: 100%;
  }
}

@media (min-width: 565px) {
  .row {
    width: 80%;
  }
}

@media (min-width: 768px) {
  textarea.text-to-speech {
    width: 50%;
  }
  .row {
    width: 50%;
  }
}
