@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #23242a;
}
.box{
    position: relative;
    width: 380px;
    height: 420px;
    background: #1c1c1c;
    border-radius: 5px;
    overflow: hidden;
}
.mode1 {
    border: none;
    border-radius: 100%;
    cursor: pointer;
    height: 0px;
    margin-top: -120px;
    right: -305px;
    top: -45px;
    color: rgba(231, 231, 231, 0.89);
    align-items: center;
    justify-content: center;
    text-align: center;
    display: center;
    width: 0px;
    margin-left: center;
    font-size: 100px;
    margin-right: 30px;
    background-color: #242424;
    position: relative;
}    
.box::before{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg,transparent, #ea00ff,
    #45f3ff);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}
.box::after
{
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 380px;
    height: 420px;
    background: linear-gradient(0deg,transparent, #00a2ff,
    #45f3ff);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
    animation-delay: 3s;
}

@keyframes animate
{
    0%
    {   
        transform: rotate(0deg);
    }
    100%
    {
        transform: rotate(360deg);
    }
}  


.form
{
    position: absolute;
    inset: 3px;
    background: #28292d;
    border-radius: 8px;
    z-index: 10;
    padding: 50px 40px;
    display: block;
    flex-direction: column;
}
.form h2
{
    color: white;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
}
.inputBox
{
    position: relative;
    width: 300px;
    margin-top: 35px;
}
.inputBox input
{
    position: relative;
    width: 100%;
    padding: 20px 10px 10px;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1em;
    letter-spacing: 0.05em;
    z-index: 10;

}
div.inputBox label 
{
    position: absolute;
    padding: 20px 0px 10px;
    left: 0;
    font-size: 1em;
    color: #8f8f8f;
    pointer-events: none;
    letter-spacing: 0.05em;
    transition: 0.5s;
}
div.inputBox input:valid ~ label,
div.inputBox input:focus ~ label
{
    color: #0099ff;
    transform: translateX(0px) translateY(-30px);
    font-size: 15px;
}
.inputBox  i
{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #b700ffef;
    border-radius: 8px;
    transition: 0.5s;
    pointer-events: none;
}

{
    height: 44px;
}
.links
{
    display: flex;
    justify-content: space-between;
}
.links a
{
    margin: 10px 0;
    font-size: 0.75em;
    color: #8f8f8f;
    text-decoration: none;
    display: block;
}
.links a:hover,
.links a:nth-child(3)
{
    color: #0084ffe7;
    transition: 0.3s;
    text-decoration: underline #0084ffe7;
    font-size: 15px;
    display: block;
}
input[type="submit"] 
{
    border: none;
    outline: none;
    background: #00aeff;
    padding: 11px 125px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
    display: block;
    box-shadow: 0px 0px 20px  #1a98ff;
    cursor: pointer;
    transition: 0.2s;
    display: block;
    justify-content: space-between;
    text-decoration: none;
    
}
input[type="submit"]:active
{
    opacity: 0.9;
    color: #000000;
    transition: 0.5s;
}
.input body1 {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    display: block;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background: rgb(255, 255, 255);
}

.glow-on-hover {
    width: 290px;
    height: 45px;
    border: none;
    outline: none;
    color: #fff;
    background: #00aeff;
    box-shadow: 0px 0px 40px  #1a98ff;
    cursor: pointer;
    position: relative;
    z-index: 0;
    display: block;
    left: 5px;
    top: 20px;
    border-radius: 10px;
}

.glow-on-hover:before {
    content: '';
    background: linear-gradient(300deg, #00a2ff, #00a2ff, #ff00ff , #0077ff,  #ae00ff , #00a2ff, #00a2ff);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 350%;
    z-index: -1;
    filter: blur(0px);
    filter: brightness(95%);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 75s linear infinite;
    box-shadow: 0px 0px 0px #0077ff;
    opacity: 0;
    transition: opacity 0.9s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: rgb(184, 184, 184)
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: relative;
    width: 100%;
    height: 100%;
    background: #111;
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 800% 0; }
    100% { background-position: 0 0; }
}

/*MENU/*

.square {
    border: 1px solid #ffffff;
    height: 26px;
    width: 26px;
    display: block;
    margin: 40px auto;
    transform: rotate(45deg);
    overflow: hidden;
    
-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
-moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
 -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
    transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
}


.square .burgerwrap {
    height: 18px;
    width: 21px;
    transform: rotate(-45deg);
    padding-left: 5px;
    padding-top: 8px;

    
-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
-moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
 -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
    transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
}

.square:hover {
    transform: rotate(135deg);
    border: 1px solid #fff;
}

.square:hover .burgerwrap {
    transform: rotate(-135deg)
}

.square span {
    height: 2px;
    width: 14px;
    background: #ffffff;
    display: block;
    margin-bottom: 2px;
    
-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
-moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
 -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
    transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
}

.square span:after {
    content: "";
    height: 2px;
    width: 14px;
    position: absolute;
    background: #fff;
    left: -19px;
    
-webkit-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
-moz-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
 -o-transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); 
    transition: all 500ms cubic-bezier(0.970, 0.000, 0.395, 0.995); /* custom */
}

.square:hover span {
    margin-left: 26px;
}

.square:hover span:after {
    left: 5px;
}

.square span:nth-of-type(1),
.square span:nth-of-type(1):after {
    transition-delay: 0.1s;
}

.square span:nth-of-type(2),
.square span:nth-of-type(2):after {
    transition-delay: 0.2s;
}

.square span:nth-of-type(3),
.square span:nth-of-type(3):after {
    transition-delay: 0.3s;
}