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

body {
  font-family: 'lato', sans-serif;
  min-height: 100vh;
  min-width: 100%;
  background:#ffcc81;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #FFE4BC;
  padding: 3rem 0;
}

h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: 'Fredoka One', sans-serif;
  letter-spacing: 2px;
}

body > img {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -1;
}

form p {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: justify;
  margin: 0 0 2rem 0;
}

form{
  font-size: 1.3;
  position: relative;
  z-index: 1;
  min-width: 600px;
  padding: 2rem;
  background: #36A4F7;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 1rem;
  border: 3px solid #0363AB;
}

form input {
  width: 80%;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  border: 3px solid #0363AB;
  background: #36A4F7;
  margin: 1rem 0;
  font-size: 1.3rem;
}


form input:focus {
  outline: none;
  box-shadow: #0363AB 0 0 0 2px;
}

form input::placeholder {
  color: #FFE4BC;
}

form input[type="submit"] {
  background: #F7544F;
  border: solid 3px #d1322d;
  color:#fff;
}

form p span {
  font-weight: 700;
}

form input[type="submit"]:hover {
  background: #f67671;
  cursor: pointer;
  border: solid 3px #F7544F;
  color:#fff;
}

footer {
  margin-top: 2rem;
}

small a, small a:active , small a:visited {
  color:#0363AB;
  text-decoration: none;
}

.alert {
  color: #F7544F;
  font-weight: 700;
  font-size: 1.6rem;
}

/* About */

.about {
  width: 70%;
  font-size: 1.1;
  position: absolute;
  top: 50%;
  left: -70%;
  transform: translateY(-50%);
  z-index: 3;
  padding: 5rem;
  background: #36A4F7;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 1rem;
  border: 3px solid #0363AB;
  border-radius: 0 10px 10px 0  ;
  transition: 0.3s;
}

.about.active {
  left: 0;
  transition: 0.3s;
  top: 0;
  transform: translateX(0);
}

.about .tab {
  position: absolute;
  left: 100%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: #F7544F;
  border: 3px solid #0363AB;
  padding: 1rem;
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 0 10px 10px 0 ;
}

.about .content {
  font-size: 1.2rem;
  line-height: 1.3;
  text-align: justify;
  margin: 0 0 2rem 0;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  
.about .content .text {
  max-width: 800px;
}
.about.active .tab:after{
  content: ' (x)';
}
.content img{
  margin: 1rem;
  width: 450px;
}

@media only screen and (max-width: 800px) {


  form{
    max-width: 100%;
    min-width: 100%;
  }

  form input {
    font-size: 1rem !important;
  }

  form h1{
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem !important;
  }
  
  .tab{
    font-size: 1rem !important;
  }


  body > img {
    display: none;
  }

  .about.active {
    padding: 1rem;
    width: 100%;
  }
  .about img{
    display: none;
  }

  .about.active .tab{
    left: auto;
    top: auto;
    right: 0;
    bottom: 0;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
  }

  .about.active .tab:after{
    content: ' (x)';
  }

  .about .content .text {
    max-width: 100%;
    min-width: 100%;
  }

  .about.active {
    top: 0 !important;
    left: 0 !important;
    transform: translateY(0) !important;
  }
}


.agb{
  background: #36A4F7;
  padding: 2rem;
  border-radius: 1rem;
  font-size: 1.2rem;
  line-height: 1.5;
  text-align: justify;
}


.agb span{
  color: #642a28;

}