body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #e1e0e0;
}

.main-div {
    background-color: #F3F2F1;
    padding: 35px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 3%) 0px 10px 20px, rgba(0, 0, 0, 4%) 0px 6px 6px;
    width: 40%;
}


.inner-div {
    position: relative;
    width: 100%;
}

input {
    height: 100%;
    width: 100%;
    border: none;
    border-bottom: 2px solid silver;
    font-size: 17px;
    background-color: transparent;
    margin-bottom: .5rem;
    margin-top: .75rem;
}

button {
    height: 34px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    background: #107C41;
    border: unset;
    width: 67%;
    color: white;
    border-width: 0px;
}

input:focus {
    outline: none;
}

button:focus {
    outline: none;
}

input:focus~label,
input:valid~label {
    transform: translateY(-1.3rem);
    color: rgb(153, 153, 153);
    font-size: 11px;

}

label {
    color: rgb(32, 31, 31);
    position: absolute;
    bottom: 0.8rem;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    left: 0 !important;
}
.label_transitions{
    transform: translateY(-1.3rem);
    color: rgb(153, 153, 153);
    font-size: 11px;
}

.underline {
    position: absolute;
    bottom: 17%;
    left: 0;
    height: 2px;
    width: 100%;
}

.underline:before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    background: #107C41;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

input:focus~.underline:before,
input:valid~.underline:before {
    transform: scaleX(1);
}

.proxy-lable {
    bottom: 55%;
}

.switch-inner-div {
    position: relative;
    margin-top: 5%;
    display: block;
}

.switch {
    position: relative;
    display: inline-block;
    vertical-align: top;
    height: auto;
    padding: 1px;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 54%;
}

.switch-input {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.switch-label {
    align-items: center;
    background-color: #d6d6d6;
    position: relative;
    display: block;
    height: 25px;
    width: 56px;
    font-size: 10px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12), inset 0 0 2px rgba(0, 0, 0, 0.15);
    border-radius: 18px;
}

.switch-label:before,
.switch-label:after {
    position: absolute;
    top: 50%;
    margin-top: -.5em;
    line-height: 1;
    transition: inherit;
}

.switch-label:before {
    right: 25px;
    color: #787878;
    text-shadow: 0 1px rgba(255, 255, 255, 0.5);
    font-size: 11px;
    top: 12px;
}

.switch-label:after {
    left: 25px;
    color: black;
    opacity: 0;
    font-size: 12px;
    top: 12px;
}

.switch-input:checked~.switch-label {
    background: #107C41;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}

.switch-input:unchecked~.switch-label {
    background: rgba(76, 73, 66, 0.9);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15), inset 0 0 3px rgba(0, 0, 0, 0.2);
}


.switch-input:checked~.switch-label:before {
    opacity: 0;
}

.switch-input:checked~.switch-label:after {
    opacity: 1;
}

.switch-handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 17px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    background-image: linear-gradient(to bottom, white 40%, #f0f0f0);
    transition: left 0.15s ease-out;
}

.switch-input:checked~.switch-handle {
    left: 32px;
    height: 20px;
    width: 20px;
    border-radius: 17px;
}

.switch-green>.switch-input:checked~.switch-label {
    background: #4fb845;
}

.informationSection {
    text-align: center;
    margin-top: 6px;
}

.displayMessage {
    animation: skew-x-shake 2s infinite;
    display: inline-block;
}

@keyframes skew-x-shake {
    0% {
        transform: skewX(-10deg);
    }

    5% {
        transform: skewX(10deg);
    }

    10% {
        transform: skewX(-10deg);
    }

    15% {
        transform: skewX(10deg);
    }

    20% {
        transform: skewX(0deg);
    }

    100% {
        transform: skewX(0deg);
    }
}

.testButton {
    text-align: center;
    margin-top: 10px;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .main-div {
        width: 60%;
    }
}

@media only screen and (max-width: 300px) {
    .main-div {
        width: 45%;
    }

    .inner-div {
        width: auto;
    }

    label {
        color: rgb(32, 31, 31);
        position: absolute;
        bottom: 0.8rem;
        transition: all 0.3s ease;
        width: auto;
        font-size: 15px;
    }

    .inner-div {
        position: relative;
        width: 100%;
    }

    input {
        height: 100%;
        width: 100%;
        border: none;
        border-bottom: 2px solid silver;
        background-color: transparent;
        margin-bottom: .5rem;
        margin-top: .75rem;
    }

    .switch-inner-div {
        position: relative;
        margin-top: 5%;
        display: block;
    }

    .switch {
        position: relative;
        display: inline-block;
        vertical-align: top;
        height: auto;
        padding: 1px;
        border-radius: 3px;
        cursor: pointer;
        margin-left: 0%;
        margin-top: 50%;
    }

    input:focus~label,
    input:valid~label {
        transform: translateY(-1.3rem);
        color: rgb(153, 153, 153);
        font-size: 9px;
    }

    .proxy-lable {
        top: 0%;
    }

    button {
        padding: 4px;
        font-size: 10px;
        width: 120%;
    }
}