@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

:root {
    --main-color: linear-gradient(140deg, rgba(246, 149, 153,1) 0%, rgba(89, 190, 201,1) 100%);
    --secondary-color:-webkit-linear-gradient(right, #F69599, #F69599, #F69599, #F69599);
    --color-dark: #1D2231;
    --text-grey: #8390A2;
}

*{
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

header {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background: #fff;
    height: 100px;
    padding: 0rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    transition: left 500ms;
}

.logo img{
    width:70%;
}

.log-in {
    display: flex;
    position: absolute;
    right: 50px;
}
.log-in button{
    background: #F69599;
    color: #fff;
    border: 1px solid #F69599;
    border-radius: 10px;
    padding: .4rem 1rem;
}
.log-in button:hover{
    background: #c97b7e;
    color: #fff;
    border: 1px solid #c97b7e;
    border-radius: 10px;
    padding: .4rem 1rem;
}
.log-in h4{
    padding-right: 10px;
    margin-top:5px;
}

body{
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px;
    background: var(--main-color);
}
.container{
    max-width: 800px;
    margin-top: 100px;
    background: #fff;
    width: 800px;
    padding: 25px 40px 10px 40px;
    border-radius: 50px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}
.container .text{
    text-align: center;
    font-size: 35px;
    font-weight: 600;
    background: var(--main-color);
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
}

/*.container form{*/
/*    padding: 30px 0 0 0;*/
/*    !*margin: 0 20px;*!*/
/*}*/
/*.container form .form-row{*/
/*    display: flex;*/
/*    margin: 32px 0;*/
/*}*/
/*form .form-row .input-data{*/
/*    width: 100%;*/
/*    height: 40px;*/
/*    margin: 0 20px;*/
/*    !*padding-right: 10px;*!*/
/*    position: relative;*/
/*}*/

.container form{
    padding: 5px 0 5px 0;
    margin: 0 20px;
}
.container form .form-row{
    display: flex;
    margin: 32px 0;
}
form .form-row .input-data{
    width: 100%;
    /*height: 40px;*/
    margin-right: 20px;
    /*padding-right: 10px;*/
    position: relative;
}
form .form-row .textarea{
    height: 70px;
}
.input-data input,
.textarea textarea{
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    font-size: 17px;
    border-bottom: 2px solid rgba(0,0,0, 0.12);
}
.input-data input:focus ~ label, .textarea textarea:focus ~ label,
.input-data input:valid ~ label, .textarea textarea:valid ~ label{
    transform: translateY(-20px);
    font-size: 14px;
    color: #24aba0;
}
.textarea textarea{
    resize: none;
    padding-top: 10px;
}
.input-data label{
    position: absolute;
    pointer-events: none;
    bottom: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}
.textarea label{
    width: 100%;
    bottom: 40px;
    background: #fff;
}
/*.input-data .underline{*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    height: 2px;*/
/*    width: 100%;*/
/*}*/
/*.input-data .underline:before{*/
/*    position: absolute;*/
/*    content: "";*/
/*    height: 2px;*/
/*    width: 100%;*/
/*    background: #24aba0;*/
/*    transform: scaleX(0);*/
/*    transform-origin: center;*/
/*    transition: transform 0.3s ease;*/
/*}*/
.input-data input:focus ~ .underline:before,
.input-data input:valid ~ .underline:before,
.textarea textarea:focus ~ .underline:before,
.textarea textarea:valid ~ .underline:before{
    transform: scale(1);
}
.submit-btn .input-data{
    overflow: hidden;
    height: 45px!important;
    width: 25%!important;
    border-radius: 20px;
    margin-top: 20px;
}
.submit-btn .input-data .inner{
    height: 100%;
    width: 300%;
    position: absolute;
    left: -100%;
    background: var(--secondary-color);
    transition: all 0.4s;
}
.submit-btn .input-data:hover .inner{
    left: 0;
}
.submit-btn .input-data input{
    background: none;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

form input[type="checkbox"] {
    height: 15px;
    width: 15px;
    background-color: #24aba0;
    margin-right: 3px;
}

form input[type="radio"]{
    display: none;
}
form .title-details .title-title{
    font-size: 20px;
    font-weight: 500;
}
form .category{
    display: flex;
    width: 80%;
    margin: 14px 0 ;
    justify-content: space-between;
}

form .category label{
    display: flex;
    align-items: center;
    cursor: pointer;
}

form .category label .dot{
    height: 18px;
    width: 18px;
    border-radius: 50%;
    margin-right: 10px;
    background: #d9d9d9;
    border: 5px solid transparent;
    transition: all 0.3s ease;
}

#dot-1:checked ~ .category label .one,
#dot-2:checked ~ .category label .two,
#dot-3:checked ~ .category label .three{
    background: #24aba0;
    border-color: #d9d9d9;
}

select{
    max-width: 380px;
    background-color: #f0f0f0;
    height: 55px;
    border-radius: 20px;
    border:0px;
    outline:0px;
    grid-template-columns: 15% 85%;
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    margin: 5px;
}
.form select {
    background-color: #f1f5f9;
}

div.message {
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    color: #18ab17;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    /*height: 50px;*/
    line-height: 2.5em;
    text-align: center;
}

div.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    padding: 23px 0px 14px 7px;
    content: "√";
}

div.message.error {
    color: #c3232d;
}

div.message.error:before {
    padding: 20px 0px 14px 7px;
    color: #c3232d;
    content: "x";
}

div.message.hidden {
    height: 0;
}

.form .error-message {
    font-size: 0.75rem;
    color: #c3232d;
}

div.error-message {
    font-size: 0.75rem;
    font-weight: 200;
    color: #cf3038;
}

div.error-message ul {
    list-style: none;
}

@media (max-width: 700px) {
    .container {
        padding: 20px 20px 10px 20px;
    }
    .container .text{
        font-size: 30px;
    }
    .container form{
        padding: 10px 0 0 0;
    }
    .container form .form-row{
        display: block;
    }
    form .form-row .input-data{
        margin: 35px 0!important;
    }
    .submit-btn .input-data{
        width: 40%!important;
        min-width: 100px;
    }

    form .category{
        width: 100%;
    }
}

@media(max-width: 459px){
    .category{
        flex-direction: column;
    }
}
