/* Rochester for drop caps. */
@import url('https://fonts.googleapis.com/css?family=Rochester');

body, html {
    height: 100%;
    margin: 0;
  }

.bg {
    /* The image used */
    background-image: url("https://nerdalert.alexanderbajic.de/src/style/login_bg.jpg");
  
    /* Full height */
    height: 100%;
  
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media only screen and (min-device-width: 813px) {
    .parent {
        position: absolute;

        width: 400px;
        height: 400px;

        /* Center form on page horizontally & vertically */
        top: 50%;
        left: 50%;
        margin-top: -200px;
        margin-left: -200px;
    }

    .form_login {
        width: 360px;
        height: 360px;
        background: #f1eedb;
        border-radius: 10px;
        margin: 0;
        padding: 20px;
        font-family: 'Rochester';
        font-size: 25px;
    }

     /* Full-width inputs */
    input[type=email], input[type=password] {
        width: 100%;
        padding: 6px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        font-family: 'Rochester';
        font-size: 20px;
    }

    /* Set a style for all buttons */
    button {
        background-color: #c61717;
        color: white;
        padding: 8px 20px;
        margin-top: 20px;
        border: none;
        cursor: pointer;
        width: 100%;
        font-family: 'Rochester';
        font-size: 25px;
    }
}

@media only screen and (max-device-width: 812px) {
    .parent {
        position: absolute;

        width: 90%;
        height: 600px;

        /* Center form on page horizontally & vertically */
        top: 50%;
        left: 5%;
        margin-top: -300px;
    }

    .form_login {
        width: 90%;
        height: 90%;
        background: #f1eedb;
        border-radius: 10px;
        margin: 0;
        padding: 5%;
        font-family: 'Rochester';
        font-size: 50px;
    }

     /* Full-width inputs */
    input[type=email], input[type=password] {
        width: 100%;
        padding: 6px 20px;
        margin: 8px 0;
        display: inline-block;
        border: 1px solid #ccc;
        box-sizing: border-box;
        font-family: 'Rochester';
        font-size: 40px;
    }

    /* Set a style for all buttons */
    button {
        background-color: #c61717;
        color: white;
        padding: 8px 20px;
        margin-top: 20px;
        border: none;
        cursor: pointer;
        width: 100%;
        font-family: 'Rochester';
        font-size: 50px;
    }
}

/* Add a hover effect for buttons */
button:hover {
opacity: 0.8;
}