@font-face{
    font-family: kinetika;
    src:url("../fonts/Kinetika-Regular.ttf");
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: kinetika !important;
}
body{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height: 100vh;
    background: #ffffff;
    flex-direction: column;

}

.box{
    position:relative;
    width:370px;
    height:520px;
    background: #ffffff;
    border-radius:50px 5px;
    overflow: hidden;
}
.box::before{
    content:'';
    position:absolute;
    top:-50%;
    left: -50%;
    width: 370px;
    height:450px;
    background: linear-gradient(60deg,transparent,#CC9E6A, #CC9E6A);
    transform-origin: bottom right;
    animation: animate 6s linear infinite;
}
.box::after{
    content:'';
    position:absolute;
    top:-50%;
    left: -50%;
    width: 370px;
    height:450px;
    background: linear-gradient(60deg,transparent,#000000, #000000);
    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:2px;
    border-radius: 50px 5px;
    background: #ffffff;
    z-index:10;
    padding: 30px 30px;
    display: flex;
    flex-direction:column;
}
h2{
    font-size: 35px;
    font-weight: 500;
    text-align:center;
    color: #0000000;
}

.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: #000000;
    font-size: 1em;
    letter-spacing: 0.05em;
    z-index: 10;
}

input[type="submit"]{
    font-size: 20px;
    border:none;
    outline:none;
    color: #000000;
    background: #CC9E6A;
    padding:5px;
    margin-top: 40px;
    border-radius: 90px;
    font-weight: 600;
    cursor: pointer;
}

input[type="submit"]:active{
    background: linear-gradient(90deg,#CC9E6A,#CC9E6A);
    opacity: 0.8;
}

.inputBox span{
    position: absolute;
    left:0;
    padding: 20px 10px 10px;
    font-size: 1em;
    color: #000000;
    pointer-events:none;
    letter-spacing: 0.05em;
    transition:0.5s;
}

.inputBox input:valid ~ span,
.inputBox input:focus ~ span{
    color: #000000;
    transform: translateX(-10px) translateY(-30px);
    font-size: 0.75em;
}

.inputBox i{
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height:2px;
    background: #CC9E6A;
    border-radius: 4px;
    transition: 0.5s;
    pointer-events: none;
    z-index: 9;
}

.inputBox input:valid ~ i,
.inputBox input:focus ~ i{
    height: 44px;
}

.links{
    display: flex;
    justify-content:space-between;
}

.links a{
    margin: 25px 0;
    font-size: 1em;
    color:#000000;
    text-decoration: none;
}

.links a:hover,
.links a:nth-child(2){
    text-decoration: underline 2px;
    text-underline-offset: 5px;
}

.logo{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 25%;
    padding-bottom: 10px;
}

.error{
    background: #F2DEDE;
    color:#A94442;   
    padding:10px;
    width:95%;
    border-radius:5px;
}

@media only screen and (max-width: 700px) {
 .box{
    position:relative;
    width:370px;
    height:520px;
    background: #ffffff;
    border-radius:50px 5px;
    overflow: auto;
}
}
