h1,
h2 {
    text-transform: none;
    color: #E50815;
    margin: 50px;
}

#product_maison,
#product_bureau,
#product_tiny_house,
#product_extension {
    display: none;
}

form {
    width: 80%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.custom_select {
    width: 85%;
    height: 50px;
    position: relative;
    margin: 10px;
}

select {
    width: 100%;
    height: 100%;
    color: #E50815;
    border: solid 2px #E50815;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
}

.arrow_select {
    content: "";
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid #E50815;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    transition-duration: 0.2s;
    transform-origin: center;
}

select:focus+.arrow_select {
    transform: rotate(180deg);
}

#renseignements {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.renseignement {
    position: relative;
    width: 40%;
    margin: 20px;
    height: 100%;
    overflow: hidden;
}

.renseignement>input {
    width: 100%;
    height: 100%;
    color: #595f6e;
    padding-top: 50px;
    padding-bottom: 10px;
    font-size: 20px;
    border: none;
    outline: none;
}

.label-name {
    position: absolute;
    bottom: 0px;
    left: 0%;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-bottom: 1px solid #E50815;
}

.label-name::after {
    content: '';
    position: absolute;
    left: 0px;
    bottom: -1px;
    height: 100%;
    width: 100%;
    border-bottom: 3px solid black;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.content-name {
    position: absolute;
    font-size: 24px;
    bottom: 5px;
    left: 0px;
    transition: all 0.3s ease;
    text-align: left;
    color: #E50815;
}

.renseignement>input:focus+.label-name .content-name,
.renseignement>input:valid+.label-name .content-name {
    transform: translateY(-150%);
    font-size: 20px;
    color: black;
}

.renseignement>input:focus+.label-name::after,
.renseignement>input:valid+.label-name::after {
    transform: translateX(0%);
}

#adresse {
    width: 85%;
}

textarea {
    margin-top: 50px;
    resize: none;
    width: 85%;
    border: solid 1px black;
    height: 150px;
}

.button_form {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.call-to-action {
    background-color: #E50815;
    color: white;
    margin-bottom: 100px;
}

.call-back_container {
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, .5);
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 150;
    align-items: center;
    justify-content: center;
}

.call-back_card {
    position: relative;
    cursor: pointer;
    background-color: #E50815;
    width: 90%;
    max-width: 700px;
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.call-back_card h2{
    z-index: 1;
}

.call-back_card p,
.call-back_card h1 {
    z-index: 1;
    padding: 10px;
}

.background_path {
    position: absolute;
    background-color: white;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    -webkit-clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
    clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}