html
{
    margin: 0;
    padding: 0;
    height: 100%;
}
body
{
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: linear-gradient(28deg, rgba(116,84,137,1) 26%, rgba(46,157,176,1) 78%);
}

form
{
    width: 70vw;
    height: 80%;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 0 10px 2px rgba(37, 37, 37, 0.336);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.autre
{
    height: 100%;
    width: 100%;
    /* background-color: beige; */
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
}

.autre::after
{
    position: absolute;
    top: 50%;
    content: "";
    width: 3px;
    height: 60%;
    background-color: rgba(202, 202, 202, 0.521);
    transform: translateY(-50%);
    border-radius: 25px;
}

.autre img
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail
{
    height: 100%;
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10%;
    flex-direction: column;
}

.detail h1
{
    position: relative;
    top: 0%;
}

.wrapper
{
    width: 100%;
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.wrapper input
{
    border-radius: 50px;
    height: 40px;
    font-size: large;
    padding: 0 10px;
    border: 2px solid rgba(202, 202, 202, 0.521);
    margin: 0;
}

.wrapper input:focus-visible:not(input[type="submit"])
{
    outline: 2px solid rgba(46,157,176,1);
    outline-offset: -2px;
}

.wrapper input[type="submit"]
{
    background: rgba(46,157,176,1);
    border: none;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.wrapper input[type="submit"]:hover
{
    background: rgba(116,84,137,1);
}

.container
{
    position: relative;
    height: 100svh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error
{
    display: none;
    background-color: rgb(255, 197, 197);
    color: red;
    padding: 10px;
    border-radius: 10px;
    width: calc(100% - 20px);
}

.active
{
    display: block;
}

form .detail a
{
    color: rgba(46,157,176,1);
    text-decoration: none;
    text-align: center;
}

form .detail a:hover
{
    color: rgba(116,84,137,1);
}

.detail .mdp
{
    color: rgba(70, 70, 70, 0.705);
}

.squiggle{
    stroke-dasharray: 450;
    stroke-dashoffset: 450;
    animation: draw 2s linear forwards;
}

.fail {
    background-color: rgba(255, 0, 0, 0.248);
    color: red;
    padding: 10px;
    border-radius: 10px;
}

.fail h2 {
    margin: 0;
}

@keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
}

@media only screen and (max-height: 700px){
    .detail h1 {
        top: 20%;
    }
}

@media only screen and (max-width: 800px){
    .detail h1 {
        position: relative;
        top: 0;
    }
    
    .autre {
        display: none;
    }

    form {
        grid-template-columns: 1fr;
        width: 90vw;
        height: auto;
    }

    .wrapper {
        margin-bottom: 30px;
    }
}
  