@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primaryColor: #2a2438;
  --secondaryColor: #352f44;
  --softGrayColor: #5c5470;
  --lightColor: #dbd8e3;
  --textColor: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  height: 100%;
  width: 100%;
  background-color: var(--softGrayColor);
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  border: 2px solid var(--lightColor);
  box-shadow: var(--secondaryColor) 6px 2px 16px 0px,
    var(--softGrayColor) -6px -2px 16px 0px;
  border-radius: 10px;
  padding: 30px;
  gap: 20px;
}

.input-fields {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 25px;
}

.degree,
.type,
.btn {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.result {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  min-height: 60px; 
}

h3 {
  color: rgb(255, 255, 255);
  min-height: 60px; 
}

label {
  font-size: 1.1vmax;
  font-weight: 400;
  color: var(--secondaryColor);
}

input,
select {
  padding: 5px 30px;
  font-size: 1.2vmax;
}

button {
  padding: 7px 30px;
  font-size: 1.2vmax;
  background-color: royalblue;
  border: transparent;
  color: var(--textColor);
}

button:hover {
  transition: all 300ms ease;
  background-color: #2c3e50;
}

@media (max-width: 600px) {
  .input-fields {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .degree input,
  .type select,
  .btn button {
    width: 100%;
  }
}
