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

body {
  font-family: 'Inknut Antiqua', sans-serif;
  background-color: rgb(241, 241, 241);
}

.header {
  display: flex;
  background-color: rgb(50, 167, 145);
  justify-content: space-between;
  color: white;
  padding-left: 15px;
}

.header img {
  max-height: 65px;
  align-self: center;
}

#menu, .menu-login {
  display: none !important;
}

#login-container {
  display: flex;
}

.trybewarts-login {
  display: flex;
  margin-right: 20px;
  gap: 15px;
  align-items: center;
}

.trybewarts-login input {
  width: 150px;
}

.container {
  display: flex;
  justify-content: space-evenly;
  max-width: 80%;
  margin: 10px auto;
}

.middle-container {
  display: flex;
  margin-top: 20px;
  padding: 5px 0px;
  border-top: 1px solid grey;
  border-bottom: 1px solid grey;
}

.familia, .check-container{
  width: 50%;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
}

#evaluation-form {
  display: flex;
  flex-direction: column;
  max-width: 620px;
}

#trybewarts-forms-logo {
  height: 500px;
  align-self: center;
}

.input-box{
  border-radius: 7px;
  border: none;
  padding: 3px 10px;
  font-family: 'Inknut Antiqua', sans-serif;
  font-weight: 600;
  width: 100%;
}

.login-btn{
  width: 150px;
  border-radius: 7px;
  border: none;
  padding: 3px 10px;
  background-color: #38016b;
  color: white;
  font-family: 'Inknut Antiqua', sans-serif;
  font-weight: 600;
}

.input-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
}

.input-line {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  width: 100%;
}

#house-container {
  display: flex;
  gap: 5px;
  width: 100%;
}

select {
  width: 100%;
  background-color: white;
}

.check-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: 11px;
}

.familia {
  display: flex;
  flex-direction: column;
}

#textarea-container {
  position: relative;
}

textarea {
  width: 100%;
  font-family: inherit;
  padding: 0 10px;
}

#counter {
  position: absolute;
  right: 15px;
  bottom: 20px;
  color: rgb(95, 95, 95);
  font-size: 0.9rem;
}

footer {
  background-color: rgb(95, 95, 95);
  color: white;
  text-align: center;
  font-size: 1.3rem;
  margin-top: 30px;
}

#submit-btn{
  width: 100%;
  border-radius: 7px;
  border: none;
  padding: 3px 10px;
  background-color: #38016b;
  color: white;
  font-family: 'Inknut Antiqua', sans-serif;
  font-weight: 600;
}

.rate-container {
  display: flex;
  flex-wrap: wrap ;
  gap: 12px;
}

input[type='radio'], input[type='checkbox'] {
  margin-right: 4px;
}

@media (max-width: 1024px) {

  .container {
    max-width: 95%;
  }

  #trybewarts-forms-logo {
    height: 350px;
  }

  #evaluation-form {
    max-width: 550px;
  }

}

@media (max-width: 820px) {

  header {
    position: relative;
    z-index: 2;
  }

  .trybewarts-login {
    display: none;
  }

  .menu-login {
    display: block !important;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    justify-content: center;
    padding: 20px 10px;
    margin-right: 0;
    background-color: rgb(255, 255, 255);
    transition: all .5s ease-out;
    z-index: 1;
  }

  .move-in {
    top: 82px;
    animation: menu-in .7s;
  }

  .move-out {
    top: 0;
    animation: menu-out .7s;
  }

  .menu-input {
    border: 1px solid rgb(95, 95, 95);
  }

  #menu {
    display: block !important;
    font-size: 2rem;
    width: 35px;
    margin-right: 20px;
    position: relative;
    color: #333333;
    text-align: center;
  }

  #menu::after {
    content: '';
    padding: 20px 25px;
    background-color: rgb(241, 241, 241);
    display: inline;
    position: absolute;
    top: 17px;
    left: -7px;
    bottom: 15px;
    z-index: -1;
    border-radius: 7px;
  }

  .menu-open {
    animation: menu-open .7s;
  }

  .menu-close {
    animation: menu-close .7s;
  }


  #trybewarts-forms-logo {
    display: none;
  }

  #evaluation-form {
    background-color: rgba(241, 241, 241, 0.85);
    max-width: 600px;
  }

  #mobile-background {
    background-image: url('./images/trybewarts-colored.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
  }

  @keyframes menu-in {
    from {opacity: 0;}
    to {opacity: 1;}
  }

  @keyframes menu-out {
    from {opacity: 1;}
    to {opacity: 0;}
  }

  @keyframes menu-open {
    0% {color: #33333300;}
    100% {color: #333333;}
  }

  @keyframes menu-close {
    0% {color: #33333300;}
    100% {color: #333333;}
  }
}

@media (max-width: 480px) {

  body, footer {
    font-size: 0.9rem;
  }

  .container {
    max-width: 90%;
  }

  .menu-login {
    top: -200px;
    line-height: 50px;
  }

  .move-in {
    top: 80px;
  }

  .input-line {
    flex-direction: column;
  }

  .middle-container {
    flex-direction: column;
    gap: 20px;
  }

  .familia, .check-container{
    width: 100%;
  }

  .check-container {
    justify-content: flex-start;
  }

}
