/* background */
body {
    background: linear-gradient(-45deg, #1b1e23, #000000, #1b1e23, #000000);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 100vh;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* modal blur */
.cascading-right {
    margin-right: -50px;
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(30px);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.text-white {
    color: white;
}

@media (max-width: 991.98px) {
    .cascading-right {
        margin-right: 0;
    }
}

/* inputs */

.group {
    position: relative;
    margin-bottom: 45px;
}

input:not([type="date"]) {
    color: #fff;
}

input {
    font-size: 18px;
    padding: 10px 10px 10px 5px;
    display: block;
    width: 300px;
    border: none;
    border-bottom: 1px solid #757575;
    width: 100%;
    background: transparent;
}

input:focus {
    outline: none;
}

/* input active */
input.active {
    outline: none;
}

/* LABEL ======================================= */
label {
    color: #999;
    font-size: 18px;
    font-weight: normal;
    position: absolute;
    pointer-events: none;
    left: 5px;
    top: 10px;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

/* active state */
input:focus~label,
input:valid~label {
    top: -20px;
    font-size: 14px;
    color: var(--default-bg-color);
}

/* input active */
input.active~label,
input.active~label {
    top: -20px;
    font-size: 14px;
    color: var(--default-bg-color);
}

/* BOTTOM BARS ================================= */
.bar {
    position: relative;
    display: block;
    width: 100%;
}

.bar:before,
.bar:after {
    content: '';
    height: 2px;
    width: 0;
    bottom: 1px;
    position: absolute;
    background: var(--default-bg-color);
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}

.bar:before {
    left: 50%;
}

.bar:after {
    right: 50%;
}

/* active state */
input:focus~.bar:before,
input:focus~.bar:after {
    width: 50%;
}

/* input active */
input.active~.bar:before,
input.active~.bar:after {
    width: 50%;
}

/* HIGHLIGHTER ================================== */
.highlight {
    position: absolute;
    height: 60%;
    width: 100px;
    top: 25%;
    left: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* active state */
input:focus~.highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* input active */
input.active~.highlight {
    -webkit-animation: inputHighlighter 0.3s ease;
    -moz-animation: inputHighlighter 0.3s ease;
    animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
    from {
        background: var(--default-bg-color);
    }

    to {
        width: 0;
        background: transparent;
    }
}

@-moz-keyframes inputHighlighter {
    from {
        background: var(--default-bg-color);
    }

    to {
        width: 0;
        background: transparent;
    }
}

@keyframes inputHighlighter {
    from {
        background: var(--default-bg-color);
    }

    to {
        width: 0;
        background: transparent;
    }
}

/* quadrado do modal blur */

.position-square {
    right: 0;
    left: -10px;
    top: -10px;
    bottom: 0;
}

.container-square {
    border-radius: 12px;
    width: 50px;
    height: 50px;
    position: fixed;
    background: hsla(354, 85%, 47%, .5);
    backdrop-filter: blur(100px);
    box-shadow: rgba(255, 0, 0, 0.35) 0px 5px 15px;
}

.overlap-square {
    background: hsla(0, 0%, 100%, 0.1);
    backdrop-filter: blur(30px);
    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
}

/* button */

.btn-primary,
.btn-primary:hover {
    background: var(--default-bg-color) !important;
    border: 1px solid var(--default-bg-color) !important;
}

.btn-submit {
    width: 100%;
}

/* text */

.text-link {
    text-decoration: none;
}

/* banner vertical logo */

.card-logo {
    height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: black;
    border-radius: 10px;
}

.card-logo img {
    width: 300px !important;
    height: 300px;
}

/* input tipo date */
input[type="date" i] {
    filter: grayscale(100%) invert(1);
}
