*, *::before, *::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

body{
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-family: 'Poppins', sans-serif;
  font-size: 1em;
}

main{
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.container{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

label{
  color: hsla(0, 0%, 0%, 0.3);
}

.input-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* .input-container label{
  position: absolute;
  margin-bottom: 3.5rem;
} */

.upper-container{
  display: flex;
  align-items: center;
  gap: 1rem;
}

.result-container{
  display: flex;
  flex-direction: column;
}

.degree-input, .temp-input{
  border-style: solid;
  border-width: 0.1rem;
  border-color: hsla(0, 0%, 0%, 0.3);
  border-radius: 0.2rem;
  padding: 0.5rem 0.1rem;
}

.temp-input{
  padding: 0.5rem 1.5rem; 
}

.convert-button{
  border: none;
  background-color: #5696f4;
  color: white;
  padding: 0.5rem 1rem;
  margin-top: 1.4rem;
  border-radius: 0.2rem;
  cursor: pointer;
  font-weight: 600;
}

.convert-button:active{
  background-color: hsla(216, 88%, 65%, 0.8);
}

.tmp-result{
  font-weight: 700;
  font-size: 1.5em;
}