

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
    background: radial-gradient(circle, rgb(68, 61, 104) 0%, rgb(45, 36, 92) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

a {
    color: white;
    font-size: small;
}

.container {
    max-width: 600px;
    padding: 20px;
    margin: auto;
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 0.4em;
    font-weight: 700;
    
}

button {
    background-color: white;
    color: rgb(92, 77, 158);
    border: none;
    padding: 1em 2em;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.out-button {
    background-color: transparent;
    color: white
}

.out-button:hover {
    background-color: lightgray;
    color: rgb(92, 77, 158);
}

button:hover {
    background-color: lightgray;
}

.styled-button {
    background-color: white;
    color: rgb(92, 77, 158);
    border: none;
    padding: 1em 2em;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.styled-button:hover {
    background-color: lightgray;
}

header p {
    font-size: 1.8em;
    margin-bottom: 1em;
    font-weight: 300;
    
}

.form-div {
    display: flex;
    justify-content: space-between;
    width: 300px;
    justify-self: center;
}

.inputs-div {
    display: grid;
    padding-bottom: 20px;
}

.registration-form {
    align-content: center;
    text-align: center;
    align-items: center;
}

.login-form {
    align-content: center;
    text-align: center;
    align-items: center;
}

.parent-form-div{
    text-align: center;
    align-items: center;
    align-content: center;
    width: 100%;
}

footer {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.footer-image {
    width: 50%;
    bottom: 0;
    left: 0;
    position: relative;
    animation: moveLeftRight 10s linear infinite;
}

@keyframes moveLeftRight {
    0% { transform: translateX(-20vw); }
    50% { transform: translateX(20vw); }
    100% { transform: translateX(-20vw); }
}

.scrolling-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.scrolling-text span {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    animation: scroll-text 5s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

<style>
#movetxt {animation: moving 5s infinite;}

@keyframes moving {
    from {top: 0px;}
    to {top: 200px;}
}
</style>

<div id="movetxt">move from top to bottom</div>

@media only screen and (max-width: 600px) {
    header h1 {
        font-size: 1.5em;
    }

    header p {
        font-size: 1em;
    }

    button {
        padding: 0.8em 1.5em;
        font-size: 0.8em;
    }
}
