* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #ffffff;
    font-family: Source Sans Pro, sans-serif;
}

.flex {
    display: -webkit-box;
    display: flex;

    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;

    padding: 20px;
}

form {
    width: 600px;
    background: rgba(255, 255, 255, 1);
    border-radius: 6px;
    box-shadow: 0 4px 24px -2px rgba(18, 22, 33, .1);
    position: relative;

    padding: 4rem 3rem 1rem;
}

input,
textarea,
select,
button,
a {
    outline: 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    font-style: normal;
    text-decoration: none;
}

label {
    font-weight: 500;
    transition: background-color .25s, color .25s;
}

input,
textarea,
select {
    padding: .75rem;
    border: 1px solid rgba(0, 0, 0, 0.25);
	border-radius: 5px;
    transition: border .25s;
}

textarea {
    max-width: 100%;
    min-width: 100%;
    min-height: 200px;
    max-height: 200px;
}

textarea + label {
    align-self: flex-start;
    padding: 0.35rem 0.75rem;
    color: rgba(0, 0, 0, 1);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin-bottom: .5rem;
}

input:focus,
textarea:focus,
select:focus {
    border-bottom: 1px solid rgba(86, 40, 238, 1);
}

input:focus + label,
select:focus + label{
    color: #3f93ef;
}

textarea:focus + label {
    color: rgba(255, 255, 255, 1);
    background-color: #3f93ef;
}

button,
.button {
    text-align: center;
    display: inline-block;
    padding: .75rem 1.5rem;
    border-radius: 0.25rem;
    cursor: pointer;
    color: #ffffff;
    background-color: #3f93ef;
}

.form-group {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 3rem;
}

.info {
    display: inline-block;
    vertical-align: middle;
    margin-left: .5rem;
    width: 15px;
    height: 15px;
    background-image: url('../images/info.svg');
    background-size: contain;
    background-position: center center;
}

.for-switch {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin: 0 1rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: rgba(86, 40, 238, 1);
}

input:focus + .slider {
    box-shadow: 0 0 1px rgba(86, 40, 238, 1);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}


input, textarea, .uneditable-input {
    width: 100%;
}

select, input[type="file"] {
    height: 50px;
}