@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}

#particles-js {
    width: 100%;
    height: 100vh;
    background: linear-gradient(450deg, #012743, #014c49);
    overflow: hidden;
}

.box {
    margin: auto;
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 10px;
}

.logo {
    width: 130px;
    margin: 0 auto;

}

.logo img {
    width: 100%;
    margin: 15px auto;
}

.box h1 {
    color: #ef0804;
    font-size: 24px;
    text-align: center;
    padding: 0 5px;
    font-weight: 900;
    text-shadow: 3px 2px 3px #f8f85b;
}

.box h2 {
    font-size: 20px;
    text-align: center;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid silver;
}

.box form {
    padding: 0 40px;
    box-sizing: border-box;
}

.box form label {
    display: block;
    padding: 10px 0;
    font-size: 1.2rem;
}

.box form input {
    display: block;
    width: 100%;
    padding: 0px 5px;
    font-size: 20px;
    border: none;
    background: none;
    outline: none;
    border-bottom: 2px solid silver;
}

.box form input:focus {
    border-color: #4400ff;
}

.box form input[type="submit"] {
    margin-top: 20px;
    padding: 10px;
    color: white;
    background: royalblue;
    border: none;
    border-radius: 50px;
    margin-bottom: 20px;
    cursor: pointer;
}

.box form input[type="submit"]:hover {
    background: #3157cb;
    border: none;
}

/* responsive */
@media screen and (max-width:430px) {
    .box {
        width: 350px;
    }

    .box h1 {
        font-size: 20px;
    }
}

@media screen and (max-width:350px) {
    .box {
        width: 250px;
    }

    .box h1 {
        font-size: 15px;
    }

    .box h2 {
        font-size: 16px;
    }
}