.myTransition {
    animation: transitionIn 1s;
}

.myTransitionLeft {
    animation: transitionLeft 1s;
}

@keyframes transitionIn {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes transitionLeft {
    from {
        opacity: 0;
        transform: translateX(-300px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.topNav {
    overflow: hidden;
    background-color: #333;
}

.topNav a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 18px;
}

.topNav a:hover {
    background-color: #ddd;
    color: black;
}

.topNav a.active {
    background-color: #fe4f18;
    color: white;
}

.welcome {
    line-height: 1.8;
    text-align: left;
    padding: 100px;
    position: absolute;
    font-size: 32px;
    color: #fe4f18;
}

.mainform {
    width: 300px;
    padding: 30px;
    margin-bottom: 35px;
    position: absolute;
    top: 24%;
    left: 70%;
    background-color: #333;
    text-align: center;
    border-radius: 1rem;
    color: rgb(255, 255, 255);
}

.mainform input[type="email"],
.mainform input[type="password"] {
    border: 0;
    background: none;
    display: block;
    margin: 20px auto;
    text-align: center;
    border: 2px solid rgb(175, 10, 10);
    padding: 20px;
    width: 200px;
    outline: none;
    color: rgb(255, 255, 255);
    border-radius: 2rem;
}

.mainform input[type="email"]:focus,
.mainform input[type="password"]:focus {
    width: 280px;
    border-color: rgb(235, 59, 15);
}

#regiText {
    font-size: 20px;
    float: left;
    padding-top: 15px;
}

.mainform input[type="submit"] {
    border: 0;
    background: none;
    display: block;
    width: 150px;
    margin: 0px auto;
    text-align: center;
    padding: 15px 25px;
    outline: none;
    color: rgb(255, 255, 255);
    font-size: 20px;
    border-radius: 2rem;
    transition: 0.5s;
    cursor: pointer;
    float: right;
}

.mainform input[type="button"] {
    border: 0;
    background: none;
    display: block;
    width: 150px;
    margin: 10px auto;
    text-align: center;
    padding: 20px 10px;
    outline: none;
    color: rgb(255, 255, 255);
    font-size: 20px;
    border-radius: 2rem;
    transition: 0.5s;
    cursor: pointer;
    float: right;
    font-family: 'Kumbh Sans', sans-serif;
}

.mainform input[type="submit"]:hover {
    color: rgb(255, 255, 255);
    background-color: #fe4f18;
    box-shadow: 0 0 10px #fe4f18, 0 0 40px #fe4f18, 0 0 80px #fe4f18;
}

.mainform input[type="button"]:hover {
    color: rgb(255, 255, 255);
    background-color: #fe4f18;
    box-shadow: 0 0 10px #fe4f18, 0 0 40px #fe4f18, 0 0 80px #fe4f18;
}