form{
    width: 100%;
    height: max-content;
    padding: 10px 5px;
    border-top: 1px solid rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
    box-sizing: border-box;
}
.form_row{
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-sizing: border-box;
    padding: 10px 5px;
    margin: 50px 0;
}
.form_title{
    padding: 0 5px;
}
input{
    border: none;
    outline: none;
    padding: 5px 3px;
    text-align: center;
    z-index: 1;
    width: 80%;
    font-size: 16px;
    background: transparent;
    color: black;
    transition: all 0.3s;
}
input:focus,textarea:focus{
    background: white;
}
.input_border{
    width: 80%;
    height: 1px;
    background: rgb(255, 255, 255);
    position: relative;
}
.input_border::before,.input_border::after{
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    background: rgb(255, 255, 255);
    transition: 0.25s;
    transition-delay: 0.25s;
}
.input_border::before{
    bottom: 0;
    left: 0;
}
.input_border::after{
    bottom: 0;
    right: 0;
}
#input_name:focus + .input_border::before,#input_name:focus + .input_border::after,#input_company:focus + .input_border::before,#input_company:focus + .input_border::after,#input_telephone:focus + .input_border::before,#input_telephone:focus + .input_border::after,#input_mail:focus + .input_border::before,#input_mail:focus + .input_border::after,#input_form:focus + .input_border::before,#input_form:focus + .input_border::after{
    width: 50%;
}
.form_title{
    position: absolute;
    transition: 0.25s;
    color: rgb(255, 255, 255);
    padding: 20px 0;
    bottom: 0;
    text-align: center;
}
.form_title span{
    font-size: 4px;
}
.form_title p{
    font-size: 16px;
    line-height: 16px;
}
textarea{
    width: 80%;
    height: max-content;
    border: none;
    outline: none;
    z-index: 1;
    font-size: 16px;
    background: transparent;
    text-align: justify;
    color: black;
    transition: all 0.3s;
}
.go_up{
    transform: translate(0,-40px);
    color: rgb(225, 225, 225);
    font-size: 16px;
}

.form_button{
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    transition: 0.25s;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid white;
}

.form_button span{
    font-size: 24px;
    color: rgb(255, 255, 255);
    transition: 0.25s;
}

@media all and (min-width:900px){
    .form_button::before,.form_button:after{
        position: absolute;
        content: "";
        transition: 0.25s;
        background: rgba(255, 255, 255, 0.3);
        top: 0;
        height: 100%;
        width: 0;
    }
    .form_button::before{
        left: 0;
    }
    .form_button:after{
        right: 0;
    }
    .form_button:hover::before,.form_button:hover::after{
        width: 50%;
    }
    .form_button:hover span{
        color: rgb(0, 0, 0);
    }
}
.opacity{
    opacity: 0;
}

.for_check{
    text-align: center;
    color: white;
}
.for_check p span{
    color: white;
    background: transparent;
    border-bottom: 1px solid white;
    cursor: pointer;
}

.privacy_section{
    width: 100%;
    height: max-content;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: bottom;
    transform: scale(1,0);
    background: white;
    z-index: 10;
    opacity: 0;
    transition: 0.25s;
    color: black;
}

.show_privacy{
    transform: scale(1,1);
    opacity: 1;
}
.privacy_close{
    position: absolute;
    width: 30px;
    height: 30px;
    color: black;
    top: 5px;
    right: 5px;
    border: 1px solid black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: white;
}
.privacy_text_box{
    width: 95%;
    height: 60vh;
    box-sizing: border-box;
    padding: 5px;
    border: 1px solid black;
    overflow-y: scroll;
    text-align: justify;
}
/* .privacy_text_box::-webkit-scrollbar{
    display: none;
} */
.privacy_text_box p{
    font-size: 12px;
    padding: 5px;
}
@media all and (min-width:900px){
    input,textarea,.input_border{
        width: 50%;
    }
    .privacy_section{
        height: 100%;
    }
    .privacy_text_box{
        height: 95%;
    }
}
