@import url('https://fonts.cdnfonts.com/css/metropolis-2');

* {
    box-sizing: border-box;
    font-family: 'Metropolis', sans-serif;
}

:root {
    --primary-color: 0, 0%, 100%; 
    --secondary-color: 0, 0%, 80%; 
    --third-color: 195, 31%, 55%;
}

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


body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('gente_tomando_Cerveza.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.full-screen {
    height: 100%;
    width: 100wh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    --color: hsl(var(--secondary-color), .6); /*shadow around login box*/
    background-color: hsl(var(--secondary-color), .8); /*Color of login box*/
    box-shadow: 0 0 15px 0 var(--primary-color);
    padding: 40px 30px;
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
}

.img-container img {
	width: 70%;
	
}

.img-container {
	text-align: center;
}

.login-title {
    margin: 0;
    color: #1c2f76;
    text-align: center;
    font-size: 2.5rem;
    font-family: 'Metropolis', sans-serif;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.input-group label {
    color: #000 ; /*Email & Password color*/
}

.input-group input {
    font-size: 1.25rem;
	font-weight: bold;
    padding: .5em;
    background-color: hsl(var(--primary-color), .5); /*text box  */
    border: none;
    outline: none;
    border-radius: .25rem;
	color:  #000  ;
}

.input-group .message {
    display: none;
    font-size: .75rem;
}

.input-group.success .message,
.input-group.error .message {
    display: block;
}

.input-group.success .message {
    color: hsl(var(--success-color));
}

.input-group.error .message {
    color: hsl(var(--error-color));
}

#login-button {
    width: fit-content; /*makes button smaller*/
    margin: auto; /*center button to container*/
    padding: .5em 1em;
    font-size: 1.5rem;
	font-weight: bold;
    color: #000; /*Submit Text*/
    background-color: hsl(var(--primary-color), .25);
    border: 1px solid hsl(var(--primary-color));
    border-radius: .25em;
    outline: none;
    cursor: pointer;
}

#login-button:hover,
#login-button:focus {
    background-color: hsl(var(--primary-color), .4);
}

#msg {
    text-align: center;
	text-decoration: none;
	
}


@media screen and (max-width: 1300px) {
	.login-container {
		width : 70%;
	}
	
	.img-container img {
		width : 50%;
		
	}
	
	.login-title {
		font-size: 1.8em;
	}
	
	form {
		margin-top: 0.625em;	
	}
	
	#login-button {
		font-size: 1.2rem;
	}
}