*{
    /*box-sizing: border-box;*/
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(187, 149, 223);
    font-size: large;
    height: 100vh;
    
}

#container{
    width: 50%;
    background-color: white;
    border: 2px solid rgb(176, 101, 246);
    border-radius: 20px;
    

}


h1{
    text-align: center;
    color: rgb(176, 101, 246);
    border: 3px double rgb(176, 101, 246);
    border-radius: 20px;
    display: inline-block;
    width: 350px;
    margin: 20px auto 0;
}

p {
    text-align: center;
    color: rgba(79, 50, 105, 0.537);
    font-size: 12px;
    margin-top: -0.2%;
    position: absolute;
    left: 49.5%;
    padding: 5px;
}

.p2{
    line-height: 0.1px;
}

form{
    padding: 10px;
}

label{
    color: blueviolet;
}

div .block{
    position: relative;
}

div .input{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    
}

input{
    border: 1px solid rgb(176, 101, 246);
    border-radius: 10px;
    width: 50%;
    height: 30px;
    padding-left: 10px;
    
}

div{
    text-align: center;
    margin: 0;
}
 
div.block{
    
    display: block; 
    width: 70%;
    margin: 0 auto;
    
}

.genre{
    display: flex;
    justify-content: space-between;
}
.genre div{
    margin-top: 0;
    width: 40%;
    margin-right: 0;
    display: flex;
    justify-content: space-evenly;
}

.genre input{
    color: rgb(176, 101, 246);
    height: 12px;
    width: 12px;
    
}

.genre label#sexe{
    font-size: 15px;
    /* padding-bottom: 5px; */
}

select{
    color: blueviolet;
    border: 1px solid blueviolet;
    border-radius: 20px;
    width: 100%;
    height: 25px;
    margin-top: 30px;
    
}

.checkbox{
    width: 75%;
    display: flex;
    align-items: center;
    
}

.checkbox input{
    width: 15px;
}

textarea{
    resize: none;
    width: 100%;
    border: 1px solid rgb(176, 101, 246);
    border-radius: 10px;
}
button{
    display: block;
    width: 200px;
    margin: 25px auto;
    border-radius: 20px;
    border: 1px solid rgb(176, 101, 246);
    background-color: rgb(187, 149, 223) ;
    color: white;
    transition: all 0.2s;
    box-shadow: 1px 1px 2px;
}
button:hover{
    background-color: white;
    color:  rgb(179, 141, 215);
    border-bottom: 1px solid rgb(179, 141, 215);
}

button:active{

    transform: translate(0px,5px);
    -webkit-transform: translate(0px,5px);
    box-shadow: 2px 0px 5px;
    
}

