body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 16px;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: url('https://source.unsplash.com/1600x900/?nature,water');*/
	background-image: url('https://picsum.photos/1600/900/');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    padding: 0 20px;
    opacity: 0.8;
}

.login-container {
    width: 90%;
    max-width: 400px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.header {
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.footer {
    padding: 2px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

a {
    color: #3f51b5;
    text-decoration: none;
}

input[type="submit"] {
    background-color: #3f51b5;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    margin-left: auto;
}

button[type="submit"]:hover {
    background-color: #2c3e50;
}

.weather-box {
    padding: 2%;
    width: 60%;
    max-width: 210px;
    height: auto;
    background-color: #fff;
    position: absolute;
    left: 1%;
    top: 1%;
    z-index: 2;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
}

.local-news-box {
    padding: 2%;
    width: 90%;
    max-width: 200px;
    height: auto;
    background-color: #fff;
    position: absolute;
    left: 10%;
    top: 50%;
    z-index: 1;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
}

.weather-box h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.weather-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.weather-icon {
    margin-right: 20px;
}

.weather-icon img {
    width: 80px;
    height: 80px;
}

.weather-details p {
    margin-bottom: 5px;
    font-size: 16px;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }
    .login-container {
        margin-left: 20px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0;
    }
    .login-container {
        margin-top: 50px;
    }
    .weather-box {
        display: none;
    }
}

.alert-message {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translate(-50%,-150%);
    border-radius: 6px;
    padding: 10px 20px;
    width: 450px;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    background: #1FB6FF;
    transition: all .2s;
    transition-delay: .2s;
    transition-timing-function: ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(31,45,61,.15)
}

.alert-message span.close {
    display: inline-block;
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.65);
    content: "\00d7";
    font-weight: bold;
    font-size: 23px;
    position: absolute;
    right: 5px;
    top: 3px;
    cursor: pointer;
}

.alert-message span.close.hover {
    color: white;
}

.alert-message.active   { transform: translate(-50%,0); }

.alert-message.primary  { background-color: #1FB6FF; }
.alert-message.positive { background-color: #13CE66; }
.alert-message.negative { background-color: #FF4949; }
.alert-message.warning  { background-color: #FFC82C; }