@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    font-family: 'Poppins', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
}

.left-container,
.right-container {
    width: 40%;
    height: 100%;
    padding: 20px 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-container {
    width: 60%;
    background: #32689b;
    overflow-y: scroll;
    color: #fff;
}


.company-logo {
    position: absolute;
    top: 15px;
    left: 40px;
    width: 35%;
    height: max-content;
    display: flex;
    justify-content: flex-start;
}

.company-logo a img {
    cursor: pointer;
    width: 150px;
    height: auto;
}

.content {
    width: 100%;
    padding: 10px 12px;
    height: max-content;
}

.content h1,
.content h3 {
    width: 100%;
    margin: 20px auto;
    font-size: 2.6em;
    text-align: center;
}

.content h3 {
    font-weight: 400;
    font-size: 1em;
    letter-spacing: 0.3px;
}

.illustrations {
    display: flex;
    width: 100%;
    height: max-content;
    justify-content: space-evenly;
    align-items: center;
    margin: 20px auto;
    flex-wrap: wrap;
}

.illustration {
    width: 25%;
    height: max-content;
}

.illustration img {
    width: 100%;
    height: auto;
}

.inputField {
    position: relative;
    margin: 15px auto;
    /* margin-bottom: 40px; */
}

.right-container form {
    width: 90%;
    height: 100%;
}

.section {
    width: 100%;
    padding: 10px 12px;
    margin: 15px auto;
    height: max-content;
}

.section h2 {
    width: 100%;
    font-weight: 400;
    padding: 10px 0px;
    margin: 10px auto;
    margin-bottom: 50px;
    border-bottom: 2px solid #fff;
}

.section h3 {
    margin: 10px auto;
    font-size: 18px;
    font-weight: 500;
}

.section h4 {
    font-weight: 400;
    padding: 10px 12px;
}

.inputField input,
.inputField textarea {
    width: 100%;
    padding: 10px 20px;
    height: 60px;
    font-size: 18px;
    border: none;
    background: #ECF0F5;
    outline: none;
    border-radius: 10px;
}

.inputField textarea {
    height: 120px;
    overflow-y: scroll;
}

.inputField .error-message{
    display: block;
    color: red;
}

.inputField label {
    /* position: absolute; */
    left: 8px;
    top: -15px;
    /* color: #fff; */
    /* transform: translateY(-50%); */
    /* font-size: 18px; */
    pointer-events: none;
    transition: all 0.4s ease-in-out;
}

.inputField span::before {
    content: "";
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    height: 5px;
    transition: all 0.4s ease-in-out;
}

.textarea::before {
    top: 115px !important;
}

.inputField input:focus~span::before,
.inputField textarea:focus~span::before {
    background-color: #72bf44;
    transition: all 0.4s ease-in-out;
}

.inputField textarea:focus~.gap,
.inputField textarea:valid~.gap {
    top: -30px;
}

input[type="submit"],
.submit a {
    padding: 10px 12px;
    font-size: 1.1em;
    text-decoration: none;
    border: 1px solid #fff;
    color: #fff;
    cursor: pointer;
    border-radius: 10px;
    background: transparent;
}

label span,
h3 span {
    color: red;
    font-size: 22px;
}

select {
    width: 60%;
    height: max-content;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 15px;
    margin: 10px 0px;
}

.selectGap {
    margin: 20px 0px;
}

.wrapInputs {
    width: 100%;
    height: max-content;
    display: flex;
    flex-wrap: wrap;
    margin-bottom:20px;
    justify-content: space-between;
}

.wrapInputs .inputField {
    width: 47%;
    margin: 0;
    /* margin-bottom: 30px; */
}

.radioBtns {
    width: 100%;
    height: max-content;
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
}

.radioBtn {
    display: flex;
    align-items: center;
    margin: 10px;
}

.radioBtn input {
    margin: auto 5px;
    cursor: pointer;
}

.questions {
    margin: 10px auto;
}

.submit {
    display: flex;
    justify-content: flex-end;
    padding: 20px 22px;
}

.block {
    display: none;
}

.radioGap .radioBtn {
    margin: 10px 0px;
}

.range {
    position: relative;
    width: max-content;
}

#view {
    position: absolute;
    top: 2px;
    left: 501px;
    padding: 2px;
    width: 85px;
    background: #72bf44;
    color: #fff;
    text-align: center;
}

#view::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    left: -5px;
    width: 10px;
    height: 10px;
    background: #72bf44;
}

input[type="range"] {
    width: 500px;
    height: 2px;
    -webkit-appearance: none;
    outline: none;
    border-radius: 2px;
}

.first h4 {
    padding: 0px 12px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #72bf44;
}

#company h2 {
    margin-bottom: 0px;
}

#output {
    padding: 20px 12px;
}

#reg {
    margin: 30px auto;
}

.first {
    margin: 40px auto;
}

.version {
    flex-direction: column;
    width: 50%;
    align-items: normal;
}

.version .radioBtn {
    width: 100%;
}

.radioBtn div {
    display: flex;
    align-items: center;
    margin: 5px;
    width: 37%;
}

.version input[type="text"] {
    width: 100%;
    padding: 10px 20px;
    height: 45px;
    font-size: 15px;
    border: none;
    background: #ECF0F5;
    outline: none;
    border-radius: 10px;
    cursor: initial;
}

.notification {
    display: none;
    position: absolute;
    top: 40%;
    left: 30%;
    z-index: 10;
    width: 40%;
    height: max-content;
    box-shadow: 0px 0px 20px 1px #000;
    border-radius: 10px;
    background: #fff;
    transition: all 0.5s ease-in-out;
}

.notify_open {
    display:block;
}

.notify_header {
    width: 100%;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 2px 5px -3px #000;
}

.notify_header h4 {
    width: 80%;
    padding: 5px 6px;
    font-size: 28px;
    text-align: center;
}

.notify_header ion-icon {
    font-size: 25px;
    cursor: pointer;
}

.notify_header button {
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


.notify_body p {
    padding: 15px 30px;
}

.state {
    padding: 15px 20px;
    width: 100%;
    font-size: 18px;
    margin: 0;
}

@media (max-width: 820px) and (min-width: 767px) {
    .illustration {
        width: 70%;
    }

    .right-container form {
        width: 100%;
    }
}

@media (max-width: 766px) {

    .left-container,
    .right-container {
        width: 100%;
        height: max-content;
        padding: 10px 12px;
    }

    .left-container {
        justify-content: unset;
        flex-wrap: wrap;
    }

    .company-logo {
        position: static;
        width: max-content;
    }

    .illustration {
        width: 40%;
    }

    .right-container form {
        width: 100%;
    }

    .radioBtn {
        margin: 10px;
    }

    input[type="range"] {
        width: 200px;
    }

    #view {
        left: 201px;
    }

    .version {
        width: 80%;
    }

    .radioBtn div {
        width: 55%;
    }
}