.simulation {
    display: grid;
    grid-template-columns: 60%;
    grid-template-rows: auto auto 20px;
    justify-content: center;
    font-family: 'medium';
}

.simulation-title {
    font-family: 'Altone-Regular';
    font-size: 2.625rem;
    text-align: center;
    margin-top: 20px;
}

.simulation-descr {
    font-size: 0.9375rem;
    font-family: Altone-Regular;
    text-align: center;
}

.form-text {
    width: 100%;
    height: 50px;
    font-family: Altone-Regular;
    padding: 10px;
    font-size: 0.9375rem;
}

.simulation-form form {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: auto auto auto auto;
    gap: 10px;
}

.form-simul-button {
    grid-column: 1 / span 2;
    width: 30%;
    margin: auto;
    padding: 10px;
    background-color: var(--cor-cinza);
    color: white;
    font-weight: bold;
    border: 0;
}

.simulation-form {
    margin-top: 10px;
}

.simulation input:focus {
    outline-color: #00B4DB;

}

.simulation select:focus {
    outline-color: #00B4DB;

}


.form-register-simulacao input::placeholder {
    padding: 5px;
}

.form-register-simulacao input {
    border: 1px solid;
}


.simulation-form select {
    width: 100%;
    height: 50px;
    padding: 10px;
    font-family: Altone-Regular;

}

.simulation-form select::-webkit-inner-spin-button {
    margin: 20px;
}


.animated-border {
    width: 100%;
    height: auto;
    padding: 20px;
    border: 5px solid transparent;
    position: relative;
    overflow: hidden;
    font-size: 20px;
    color: #333;
    margin-bottom: 50px;
    margin-top: 50px;
}

.animated-border::before,
.animated-border::after {
    content: "";
    position: absolute;
    width: 0;
    height: 5px;
    background: linear-gradient(to right, var(--cor-azul), var(--cor-preta));
    transition: all 2s;
}

.animated-border::before {
    top: 0;
    left: 0;
}

.animated-border::after {
    bottom: 0;
    right: 0;
}

.animated-border:hover::before,
.animated-border:hover::after {
    width: 100%;
}


.form-simul-button {
    border: none;
    padding: 12px 40px;
    background-color: #c47135;
    color: white;
    font-family: 'BenchNine';
    font-size: 22px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
  }
  
  .form-simul-button:before {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    top: -5px;
    left: -5px;
    border-top: 2px solid #c47135;
    border-left: 2px solid #c47135;
    transition: all 0.25s;
  }
  
  .form-simul-button:hover:before,
  .form-simul-button:hover:after {
    height: 100%;
    width: 100%;
    border-color: rgb(82, 3, 3);
  }

  .form-simul-button:hover {
    background-color: rgb(82, 3, 3);
  }
  
  .form-simul-button:after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    bottom: -5px;
    right: -5px;
    border-bottom: 2px solid #c47135;
    border-right: 2px solid #c47135;
    transition: all 0.25s;
  
  }


  .simulado-text{
    font-size: 1.2rem;
  }

  .text-simulado{
    font-size: 1.2rem;
  }

  .text-simulado-2{
    margin-bottom: 20px;
    margin-top: 20px;
  }

  .simulation-descr{
    margin-top: 20px;

  }

  .img-simulacao img{
    width: 40%;
    height: auto;
  }

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

    .simulation {
        display: grid;
        grid-template-columns: 90%;
        grid-template-rows: auto auto auto auto auto auto auto auto 20px;
        justify-content: center;
    }

    .simulation-title {
        font-family: 'Altone-Regular';
        font-size: 1.5rem;
        text-align: center;
        margin-top: 20px;
    }

    .text-simulado{
        font-size: 1rem;
      }
    

    .simulation-descr {
        font-size: 0.8rem;
        font-family: Altone-Regular;
        text-align: center;
    }

    .simulation-form select {
        width: 100%;
        height: 40px;
        padding: 10px;
        font-family: Altone-Regular;
        font-size: 0.6rem;

    }

    .simulation-form select::-webkit-inner-spin-button {
        margin: 20px;
    }


}