﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Sans-Serif;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    position: relative;
    user-select: none;
}

#body {
    width: 100%;
    padding: 5px 50px;
}

#header
{
    min-height: 80px;
    width: 100%;
    background-image: linear-gradient(#097FBD, #00A3F8);
    position: relative;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    user-select: none;
}

#logo
{
    color: #fff;
    font-size: 40px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 700;
    letter-spacing: 4px;
}

#body .status {
    width: 100%;
    padding: 5px 5px;
    background: #ccc;
}

#content {
    position: relative;
    width: 100%;
    min-height: 400px;
    margin: 5px auto 30px;
    padding: 10px 22% 30px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 15px 2px rgba(0, 0, 0, .3);
}

#title {
    margin: 0px auto 30px;
    text-align: center;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 700;
}

.row {
    display: flex;
    margin: -20px auto;
}

.form {
    border-radius: 4px;
    padding: 5px 0px 4%;
}

.tag {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px dashed #ccc;
    margin-bottom: 10px;
}

.data {
    margin: 15px auto;
}

.input-box {
    position: relative;
    width: 100%;
    margin: 20px auto;
}

.input-box small {
    position: absolute;
    bottom: -16px;
    left: 1px;
    color: Red;
}

.input-box.half {
    width: 48%;
}

.half:first-child {
    margin-right: 2%;
}

.half:nth-child(2) {
    margin-left: 2%;
}

.input-box .input {
    width: 100%;
    height: 55px;
    padding: 13px 15px;
    font-size: 16px;
    color: #000;
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: 0;
}

.input-box label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.input-box .label-name .icon {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
}

.input-box .label-name .content-name {
    position: absolute;
    bottom: 18px;
    left: 16px;
    color: #595f6e;
    transition: all .2s ease;
}

.input-box .input:focus+.label-name .content-name {
    transform: translateX(-5px) translateY(-28px);
    font-size: 14px;
    color: #1A73E8;
    background-color: #fff;
    padding: 0px 3px 0px 3px;
}

.input-box .input:valid+.label-name .content-name {
    transform: translateX(-3px) translateY(-30px);
    font-size: 14px;
    color: #1A73E8;
    background-color: #fff;
    padding: 0px 3px 0px 3px;
    transition: all 0s ease;
}

.input-box .input:focus:valid+.label-name .content-name {
    transform: translateX(-5px) translateY(-28px);
}

.input-box .input:focus+.label-name {
    border: 2px solid #1A73E8;
    border-radius: 4px;
}

.input-box .input:focus+.label-name .icon {
    right: 73px;
}

.input-box .label-name .btn {
    position: absolute;
    right: 0px;
    font-size: 20px;
    text-decoration: none;
    pointer-events: auto;
    cursor: pointer;
    width: 60px;
    height: 100%;
    background-color: #ccc;
    color: #fff;
    border: 0;
    border-right: 2px solid #ccc;
    border-radius: 0 4px 4px 0;
    outline: 0;
}

.input-box .label-name .btn i {
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.input-box .label-name .btn:hover {
    background-color: #1A73E8;
    border-right: 2px solid #1A73E8;
}

.input-box .input:focus+.label-name .btn {
    right: -2px;
    background-color: #1A73E8;
    color: #fff;
    border-right: 2px solid #1A73E8;
}

#error {
    color: Red;
    font-size: 18px;
}

#success {
    color: Green;
    font-size: 18px;
}

.check {
    width: 100%;
    margin: 20px auto;
}

.check label {
    cursor: pointer;
}

.check label a {
    text-decoration: none;
    color: #000;
}

.check label a:hover {
    text-decoration: underline;
    color: #1A73E8;
}

.btnContainer {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.btnContainer .btn {
    padding: 10px 30px;
    font-family: Sans-Serif;
    font-size: 20px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    background-color: #1A73E8;
    color: #ccc;
    border: 0;
    border-radius: 4px;
    outline: none;
}

.btn:hover {
    color: #fff;
    text-decoration: underline;
}

@media (min-width: 600px) and (max-width: 900px) {
    #content {
        padding: 20px 10%;
    }
}


/*-------------Mobile-------------*/

@media (min-width: 300px) and (max-width: 600px) {
    #header {
        min-height: 50px;
        padding: 0 5px;
    }
    #logo span {
        font-size: 30px;
        letter-spacing: .5px;
    }
    #body {
        padding: 5px 8px;
    }
    #content {
        margin: 5px auto;
        padding: 4px 10px;
    }
    #title {
        width: 100%;
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        margin: 10px auto 20px;
    }
    .data {
        font-size: 14px;
    }
    .row {
        display: block;
        margin: 20px auto;
    }
    .input-box {
        width: 100%;
        margin: 20px auto;
    }
    .input-box.half {
        width: 100%;
    }
    .half:first-child {
        margin-right: 0px;
    }
    .half:nth-child(2) {
        margin-left: 0px;
    }
    .msg {
        width: 100%;
        font-size: 14px;
        line-height: 25px;
        margin: 10px auto;
        text-align: justify;
    }
    .check {
        width: 100%;
        margin: 10px auto;
        font-size: 13px;
    }
    .btnContainer {
        margin: 20px auto 10px;
    }
    .btnContainer .btn {
        padding: 8px 20px;
        font-size: 18px;
        text-transform: capitalize;
    }
}