:root {
  --background-color: rgb(123, 0, 17);
}

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

html {
  width: 100vw;
  height: 100%;
  background: rgb(50, 167, 145);
}

body {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.header {
  width: 100%;
  background-color: rgb(50, 167, 145);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-shadow: 0 5px 5px rgba(50, 167, 145, 0.25);
}

.header #trybewarts-header-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  color: white;
}

.animation-text {
  font-size: 1.2rem;
  text-transform: none;
  transition: all 4s ease;
  border-bottom: 2px solid black;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.05);
}

.header .trybewarts-header-logo {
  width: 80px;
}

.header .trybewarts-login {
  display: flex;
  flex-direction: column;
  margin: 25px;
}

.header .trybewarts-login input,
.header .trybewarts-login button {
  border: 0;
  border-radius: 5px;
  margin: 5px 2px;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  background: url('images/castle.png') 150% 50% no-repeat;
  transition: background 2.5s ease-in-out;
  animation: animateImage 35s ease infinite alternate forwards;
}

/* LINK: https://odamoura.com/2017/03/31/wallpaper-3-minha-casa-em-hogwarts/ */
#evaluation-form {
  display: flex;
  width: 100%;
  height: 98%;
  margin-top: 5px;
  margin-bottom: 5px;
  flex-direction: column;
  box-shadow: 0 10px 5px rgba(0, 0, 0, 0.25);
  padding: 15px;
  border-radius: 25px;
  background: rgba(225, 225, 225, 0.5);
  transition: height 2s ease;
  color: rgb(26, 26, 26);
  font-weight: 500;
}

.transform-form {
  transition: all 2s ease;
  box-shadow: 0 2px 10px rgba(120, 120, 120, 1);
  padding-left: 15px;
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border: 5px double rgba(0, 0, 0, 0.25);
}

#evaluation-form div input,
#evaluation-form div textarea,
#evaluation-form div select {
  border: 0.5px solid rgb(120, 120, 120);
  border-radius: 5px;
  margin: 5px;
  padding: 5px;
}

#evaluation-form #input-name,
#evaluation-form #input-lastname {
  width: 100%;
}

#evaluation-form #input-email {
  width: 100%;
}

.newForm {
  background: rgb(223, 223, 223);
  padding: 2px;
  margin: 5px 0;
  transition: all 5s ease;
}

.house-label {
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  height: 25px;
}

#house {
  width: 100%;
}

.border-bottom-div {
  border-bottom: 2px rgba(225, 225, 225, 0.5) solid;
}

#evaluation-form div {
  display: flex;
  padding: 0 5px;
}

#evaluation-form .ratio {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#container-family-studies {
  display: flex;
}

#evaluation-form #family {
  display: flex;
  flex-direction: column;
  background: none;
  justify-content: center;
  align-items: center;
}

#evaluation-form #studies {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  background: none;
  align-items: center;
  justify-items: center;
}

#evaluation-form .container-textarea {
  flex-direction: column;
  display: flex;
  justify-content: center;
  align-items: center;
}

#evaluation-form .container-textarea textarea {
  width: 100%;
}

#evaluation-form .agreement-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

#evaluation-form .agreement-container #agreement {
  filter: hue-rotate(305deg);
  width: initial;
  height: initial;
  transition: all 0.5s ease;
}

#label-content {
  grid-column: span 3;
}

#evaluation-form input:placeholder-shown {
  text-align: center;
}

#evaluation-form #submit-btn {
  width: 50%;
  margin: 5px auto;
  color: white;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.25);
  text-align: center;
  border: 0;
  background-color: rgb(117, 117, 117);
  border-radius: 25px;
  transition: background-color 0.5s, color 1s, box-shadow 2s;
}

#evaluation-form #submit-btn:disabled {
  background-color: rgba(39, 39, 39, 0.25);
  color: rgba(0, 117, 105, 0.25);
  box-shadow: 0;
}

#trybewarts-forms-logo {
  width: 100%;
  height: 200px;
  filter: drop-shadow(2px 2px 5px rgba(20, 20, 20, 0.5));
}

footer {
  width: 100%;
  height: 100%;
  text-align: center;
  padding: 5px;
  background-color: rgb(20, 20, 20);
  color: white;
  border-top: rgb(50, 167, 145) 5px double;
}

@keyframes animateHouse {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes animateImage {
  0% {
    background-position: 50% 100%;
    /* background-position: 100% 50%; */
  }

  100% {
    background-position: 100% 100%;
    /* background-position: 0% 50%; */
  }
}

@media screen and (min-width: 820px) {
  .header {
    flex-direction: row;
  }

  .header .trybewarts-login {
    flex-direction: row;
    margin: 0;
  }

  .header .trybewarts-login button {
    padding: 10px;
    background: rgb(50, 167, 145);
    border: 2px rgb(120, 120, 120) solid;
    color: white;
  }

  .header .trybewarts-login input {
    margin: 0 2px;
  }

  .header .trybewarts-login input:placeholder-shown {
    text-align: center;
  }

  .main {
    flex-direction: row;
    background-size: 120% 120%;
    animation: animateImage 35s ease infinite alternate forwards;
  }

  #evaluation-form {
    width: 675px;
    flex-direction: column;
    padding: 0;
    transition: 2s ease all;
  }

  #trybewarts-forms-logo {
    width: initial;
    height: 500px;
  }
}
