@import '../../../assets/Styles/app.scss';

$border_radius: .3rem; 

* {
    margin: 0;
    padding: 0;
}

main{
    height: 100dvh;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: $font_color_secondary;
    font-family: "Poppins", sans-serif;
    background-image: url('https://www.1zoom.me/big2/98/292598-alexfas01.jpg');

    .main-margin {
        width: 100%;
        height: 100vh;
        max-width: 1600px;
        margin: 0 auto; 
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        overflow: visible;
        
        .left-viewpoint {
            display: block;
            width: fit-content;
            padding: 0 25px;
            min-width: 50%;
            flex-grow: 1;
        }
     }
  }

form {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    min-width: 200px;
    min-height: 300px;
    height: fit-content;
    border-radius:  8px;
    text-align: center;
    font-size: $font_medium;
    padding: 4vw 2vw ;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, .75);
    backdrop-filter: blur(20px);
    transition: .8s;
    overflow: auto;
    animation: fadeIn .6s linear forwards;
    box-shadow: 
        8px 8px 16px rgba(0,0,0, .12), 
        4px 4px 4px rgba(0,0,0, .12);

    span{
        color: $font_color;
        font-size: $font_large;
    }

    .goback {
      display: flex;
      align-self: flex-start;
      justify-content: center;
      gap: 10px;
      cursor: pointer;
      opacity: 0.5; 
      img {
        height: 15px
      }
      p {
        font-size: 12px;
        text-decoration: underline;
      }
    }

    .input_validation {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        flex-direction: column;
    }
    
    .logo-control {
        margin-bottom: 30px;
        width: 100%;
        height: 85px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
    height: auto;
    max-height: 85px;
    max-width: 75%;
    min-width: 50px;
    justify-content: end;
    border-radius: 20%;
    }

    .logo-reg {
      max-width: 50%;
    }

    .section-title {
        margin-bottom: 25px;
        font-size: $font_small;
    }

    .register-fst-title {
      margin-bottom: 50px;
    }
}

@keyframes fadeIn {
  0%{
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

  section {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;

    span {
    min-width: 300px;
    max-width: 500px;
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: end;
    }
    
  }

  .load-controler {
    position: absolute;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: end;
    justify-self: end;
    width: fit-content;
    width: 30%;
  }

.estado_cidade .estado_cidade-controler {
  max-width: 75%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;


  .field:nth-child(1){
    flex-shrink: 1;
  }
  .field:nth-child(2){
    flex-shrink: 2;
  }
}

.aware-container {
    height: 25px;
    width: 100%;
    position: relative;
    margin-bottom: 15px;
    .text-aware{
        position: relative;
        display: flex;
        justify-content: center;
        span{
            top: 10px;
            width: inherit;
            color: red;
            font-size: small;
            font-weight: 700;
            position: absolute;
        }
    }
}

  .terms_control {
    max-width: 1000px;
    display: flex;
    align-items: start;
    width: 80%;

    label {
        margin-top: 2px;
        margin-right: 10px;
    }

    p{
        font-size: small;
        text-align: start;
    }
  }

  .ilustration {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .ilustration-vetor {
      width: 100%;
    }

    .ilu-text {
      font-size: $font_medium;
      color: rgba(22, 53, 119, .4);
      margin-bottom: -20px;
      margin-top: 20px;

    }
  }

  #register-snd-title{
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-self: flex-start;
    #register-title{
      font-size: $font_medium;
      margin-left: 10%;
      margin-top: 20px;
    }
    #snd-img {
      margin-right: 10%;
    }
  }

  @media(max-width: 650px) {
    .left-viewpoint {
        text-align: center;
    }

    #register-snd-title{
      align-self: center;
      margin-left: 0%;
      flex-wrap: wrap;
      flex-direction: column-reverse;
      margin-bottom: 50px;

      #register-title{
        margin-left: 0;
        white-space: nowrap;
        margin-top: 0;
      }
      .logo-reg {
        min-width: 60%;
        align-self: center;
        margin-bottom: 0;

      }
    }

  }