@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

::selection {
    background-color: rgba(91, 255, 58, 0.781);
    color: white;
}

body {
    overflow-y: hidden;
}

.bg {
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    position: relative;
}

.bg-box-line {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 20%;
}

.bg-box {
    height: 97%;
    width: 5.4%;
    background-color: #161616;
    transition: 0.8s ease;
    z-index: 1;
}

@keyframes bg-animation {
    0% {top: 0%; height: 0%; background-color: #26dd00; box-shadow: 0 0 20px #26dd00, 0 0 40px #26dd00, 0 0 60px #26dd00, 0 0 80px #26dd00, 0 0 100px #26dd00;}
    20% {height: 35%;}
    50% {top: 50%; height: 75%;}
    100% {top: 100%; height: 0%;}
}

.bg-color-animation {
    position: absolute;
    top: 0;
    height: 0;
    width: 100%;
    z-index: 0;
    animation-name: bg-animation;
    animation-duration: 4.5s;
    animation-iteration-count: 1;
    animation-timing-function: linear;
}

.box-color {
    background-color: #26dd00;
}

.form-position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.form {
    width: 550px;
    height: 585px;
    background-color: #242424;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 20px black;
}

.form-header {
    color: #26dd00;
    position: absolute;
    top: 80px;
    font-size: 45px;
}

.form-input-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 22.5px;
    width: 100%;
}

.form-input {
    height: 50px;
    width: 80%;
    background-color: #333333;
    border: none;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 2px;
    transition: 0.1s ease;
    color: #afafaf;
}

.form-input::placeholder {
    color: #888888;
}

.form-input:focus {
    outline: 2px solid #26dd00;
}

.form-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin-top: 20px;

}

.form-link {
    text-decoration: none;
    color: #26dd00;
    font-weight: 500;
    transition: 0.2s ease;
}

.form-link:hover {
    color: #a0a0a0;
}

.form-link-gray {
    color: #a0a0a0;
}

.form-link-gray:hover {
    color: #26dd00;
}

.form-btn {
    width: 80%;
    height: 50px;
    background-color: #26dd00;
    color: #333333;
    font-size: 20px;
    border: none;
    font-weight: 500;
    border-radius: 5px;
    position: absolute;
    bottom: 130px;
    transition: 0.2s ease;
    cursor: pointer;
}

.form-btn:hover {
    background-color: #333333;
    color: #26dd00;
}