﻿@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-image: url(../../dist/img/back.jpg);
    background-repeat: no-repeat;
    width: 100%;
    background-size: 100% 100%;
}

section {
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    overflow: hidden;
}

    section span {
        position: relative;
        display: block;
        width: calc(4.25vw - 2px);
        height: calc(4.25vw - 2px);
        background: #e1e8ee1a;
        z-index: 2;
        transition: 1.5s;
    }

    section::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(#e1e8ee00, #4472c400, #e1e8ee14);
        animation: animate 5s linear infinite;
    }

@keyframes animate {
    0% {
        transform: translateY(-100%);
    }

    1000% {
        transform: translateY(100%);
    }
}

section span:hover {
    background: #4472c4;
    transition: 0s;
}

section .signin {
    position: absolute;
    width: 400px;
    background: #ffffff91;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

    section .signin .content {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 40px;
    }

        section .signin .content h2 {
            font-size: 2em;
            color: #4472c4;
            text-transform: uppercase;
        }

        section .signin .content .form {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

            section .signin .content .form .inputBx {
                position: relative;
                width: 100%;
            }

                section .signin .content .form .inputBx input {
                    position: relative;
                    width: 100%;
                    background: #4472c4;
                    border: none;
                    outline: none;
                    padding: 12px 8px 5.5px;
                    border-radius: 10px;
                    color: #fff;
                    font-weight: 500;
                    font-size: 22px;
                }

                section .signin .content .form .inputBx i {
                    position: absolute;
                    left: 0;
                    padding: 15px 10px;
                    font-style: normal;
                    color: #fff;
                    transition: 0.5s;
                    pointer-events: none;
                }

                section .signin .content .form .inputBx input:focus ~ i,
                section .signin .content .form .inputBx input:valid ~ i {
                    transform: translateY(-7.5px);
                    font-size: 0.8em;
                    color: #fff;
                }

.signin .content .form .links {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

    .signin .content .form .links a {
        color: #fff;
        text-decoration: none;
    }

        .signin .content .form .links a:nth-child(2) {
            color: #4472c4;
            font-weight: 600;
        }

section .signin .content .form .inputBx input[type="submit"] {
    padding: 10px;
    background: #4472c4;
    color: #fff;
    font-weight: 600;
    font-size: 1.25em;
    letter-spacing: 0.05em;
    cursor: pointer;
}

@media (max-width: 900px) {
    section span {
        width: calc(10vw - 2px);
        height: calc(10vw - 2px);
    }
}

@media (max-width: 900px) {
    section span {
        width: calc(20vw - 2px);
        height: calc(20vw - 2px);
    }
}

.btn {
    padding: 10px;
    background: #4472c4;
    color: #fff;
    font-weight: 600;
    font-size: 1.25em;
    letter-spacing: 0.05em;
    cursor: pointer;
    BORDER-COLOR: #e1e8ee;
    border-radius: 10px;
}
    .btn:hover {
        padding: 10px;
        background: #e8f0fe;
        color: #4472c4;
        font-weight: 600;
        font-size: 1.25em;
        letter-spacing: 0.05em;
        cursor: pointer;
        border-radius: 10px;
    }
h3 {
    color: #fff;
    text-transform: uppercase;
    background-color: #4472c4;
}
img {
    height: 200px;
    width: auto;
}
.inputBx::placeholder {
    color: #fff; /* Change text color */
    font-family: Quicksand, sans-serif;
    font-size: 22px; /* Change the font size */
    opacity: 1; /* Make sure the placeholder text is fully visible (default is 0.5) */
}
/*.signin {
    position: absolute;
    width: 400px;
    background: #ffffff91;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
*/