@keyframes bounceSquash {
  0%, 100% {
    transform: translateY(0) scaleY(1) scaleX(1);
  }
  30% {
    transform: translateY(-7px) scaleY(1.2) scaleX(0.8); /* Stretch upward */
  }
  50% {
    transform: translateY(0) scaleY(0.8) scaleX(1.2);     /* Squash on landing */
  }
  70% {
    transform: translateY(-2px) scaleY(1.1) scaleX(0.9);   /* Smaller rebound */
  }
}

* {
    transition: 0.3s ease-in-out;
}


html {
    background-color: black;
    color: white;
}

main {
    width: 100vw;
}

#title {
    padding-left: 10px;
}

#dot {
    position: relative;
    display: inline-block;
    animation: bounceSquash 0.8s ease-in-out infinite;
    transform-origin: bottom center;
}

h3 {
    color: rgb(0, 255, 0);
    letter-spacing: 5px;
}

label {
    font-weight: bold;
}

form {
    display: flex;
    width: 50%;
    gap: 10px;
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
}

.hidden {
    display: none;
}

.sign-or-login {
    font-size: 15px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 15px;
}

.show-forgot {
    display: flex;
}

.forgot-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot {
    width: 30%;
}

#form-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}


input {
    border: 1px solid rgb(0, 230, 0);
    background-color: #666;
    color: white;
    height: 25px;
    border-radius: 10px;
    padding: 5px;
    font-weight: bold;
    font-size: 15px;
}

input::placeholder {
    color: white;
    font-size: medium;
    opacity: 50%;
    text-align: center;
}

span i a {
    color: whitesmoke;
    opacity: 50%;
    text-decoration: none;
}

span i a:hover,
span i a:focus {
    opacity: 100%;
    color: rgb(0, 255, 0);
}

span i a:focus {
    outline: none;
}

#result-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}


p {
    text-align: center;
}

button {
    background-color: rgb(0, 200, 0);
    color: white;
    width: 50%;
    height: 30px;
    outline: none;
    border: none;
    border-radius: 9999px;
    margin-left: auto;
    margin-right: auto;
    font-weight: bold;
}

#forgot-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

#forgot-password {
    color: whitesmoke;
    opacity: 50%;
    outline: none !important;
    border: none !important;
    background: none;
    font-style: italic;
}

#forgot-password:hover,
#forgot-password:focus {
    opacity: 100%;
    color: rgb(0, 200, 0);
}

@media (max-width: 425px) {
    body {
        width: 100vw;
    }

    form {
        width: 90%;
    }

    input::placeholder {
        font-size: smaller;
    }

    h2 {
        font-size: 20px;
    }

}