@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}
body{background: #f0f2f5;}
:root{
    --mainColor:#1877f2;
    --buttonColor:#42b72a; /* Fixed typo */
}
.container{
    padding: 0 10px;
    margin: auto;
    margin-top: 50px;
    text-align: center;
}
/* text */
.text h1{
    font-size: 4.5em;
    color: #1877f2;
}
.text p{
    font-size: 2em;
    margin-left: 10px;
    text-wrap: nowrap;
}
/* forms */
.input{
    border: 1px solid;
    text-align: center;
    background: #ffffff;
    max-width: 400px;
    width: 100%;
    margin-top: 40px;
    border-radius: 10px;
    margin: auto;
    border: none;
    box-shadow: 0 0 10px 2px rgb(0,0,0,.2);
}
form{
    margin: 15px 19px;
    padding: 10px;
}
form input,button{
    width: 100%;
    margin: 10px 0;
    transition: all .2s;
}
form input{
    font-size: 16px;
    padding: 13px;
    border-radius: 10px;
    border: 1px solid rgb(0,0,0,0.3);
    outline: none;  
}
form input:focus{
    border: 2px solid #1877f2;
}
form input::placeholder{
    text-transform: capitalize;
    font-size: 18px;
}
form .login{
    padding: 15px;
    font-size: 20px;
    border-radius: 15px;
    border: none;
    background: #1877f2;
    color: white;
    font-weight: 600;

}
form .login:hover{
    background: #0a65db;
}
a{
    color: #1877f2;
    font-size: 18px;
    margin: 15px 0;
    text-decoration: none;
    text-transform: capitalize;
    display: block;
}
a:hover{
    text-decoration: underline #0a65db;
}

form .create{
    max-width: 250px;
    padding: 10px;
    border-radius: 10px;
    border: none;
    background: #42b72a;
    display: block;
    margin: auto;
    color: white;
    font-size: 18px;
    margin-top: 20px;
}
form .create:hover{
    background: #369722;
}
/* small size */
@media (max-width:540px) {.text p{display: none;}  }
/* Responsive font sizes for smaller screens */
@media (max-width: 540px) {
    .text h1 {
        font-size: 2.5em;
    }
    .text p {
        display: none;
    }
}
/* tablet and above */
@media (min-width:768px){
    .container{
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80vh;
        text-align: left;
        width: 85%;
    }
    .input{margin: 0;}
}