@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");

* {
  transition: 0.3s;
  box-sizing: border-box;
}

.light-theme {
  --background-color: #f3f5fc;
  --color: #0a3871;
  --button-encrypt-background: #0a3871;
  --button-decrypt-background: #d8dfe8;
  --text: #495057;
}

.dark-theme {
  --background-color: #0a3871;
  --color: #f3f5fc;
  --button-decrypt-background: #0a3871;
  --button-encrypt-background: #d8dfe8;
  --text: #fff;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background-color);
  color: var(--color);
  box-sizing: border-box;
  width: 100%;
}

header {
  display: flex;
  padding: 20px 5%;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 3.5rem;
  font-style: italic;
}

header button {
  border: 1px solid transparent;
  border-radius: 7px;
  background-color: var(--background-color);
  cursor: pointer;
  font-size: 2rem;
  color: var(--color);
}

header button:hover {
  border: 1px solid var(--color);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 71vh;
  width: 100%;
  gap: 30px;
}

.infoPlayer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

main h2 {
  font-size: 1.75rem;
  font-weight: 700;
}

.infoPlayer h3 {
  font-weight: 700;
  font-size: 1.5rem;
  padding-bottom: 20px;
  color: var(--color);
}

.infoPlayer input {
  border: 1px solid var(--color);
  border-radius: 10px;
  background-color: var(--background-color);
  width: 240px;
  height: 45px;
  font-size: 1.25rem;
  color: var(--color);
}

.infoPlayer input::placeholder {
  padding-left: 5px;
}

.infoPlayer button {
  height: 35px;
  cursor: pointer;
  border-radius: 15px;
  background-color: var(--color);
  color: var(--background-color);
  font-size: 1.1rem;
  border: none;
  width: 140px;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding: 10px 25px;
  margin-top: 30px;
  font-weight: 600;
  width: 100%;
}

footer div {
  display: flex;
  gap: 15px;
  justify-content: center;
  font-size: 1.75rem;
}

footer div a {
  color: var(--color);
}

footer div a:hover {
  font-size: 1.9rem;
  transform: translate(0,-3px);
  opacity: 0.8;
}

.notAppear {
  display: none;
}

.modal-info {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.modal-info > div {
  width: 80%;
  min-width: 300px;
  max-width: 600px;
  border-radius: 7px;
  background-color: var(--background-color);
  color: var(--color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  padding: 15px;
  height: 120px;
  font-size: 1.2rem;
}

.modal-info button {
  border: none;
  border-radius: 5px;
  width: 60px;
  height: 30px;
  margin-right: 15px;
  margin-left: 15px;
  background-color: var(--color);
  color: var(--background-color);
  font-weight: 700;
  cursor: pointer;
}
