﻿body
{
    margin: 0;
    padding: 0;
    font-family: "Open Sans" , sans-serif;
	height: 100vh;
	background: url("../img/anime.jpg") 51% fixed;
	background-color: beige;
	background-size: cover;
	z-index=0;
}

    .wrapper{ 
        background: rgba(26, 137, 204, 0.3);
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        z-index=1;
    }  

.box
{
    top: 50%;
    left: 50%;
    width: 100%;
    position: absolute;   
    padding: 20px;
    transform: translate(-50%, -50%);
    text-align: center;
}

.box h4
{
    text-align: left;
    color: #333333;
    margin-top: 15px;
    margin-left: 25px;
    margin-bottom: -5px;

}

.box input[type = "text"], .box input[type = "password"]{
	border: 0;
	outline: none;
	display: block;
	border: 2px solid #3498db;
	margin: 10px auto;
	padding: 14px 10px;
	text-align: center;
	width: 90%;
	color: #333333;
	border-radius: 5px;
	transition: 0.25s;
}

.box input[type = "text"]:focus, .box input[type = "password"]:focus{
	border-color: #2ecc71;
}

.box input[type = "submit"]{
	border: 0;
	background: none;
	outline: none;
	display: block;
	background-color:#1355ac;
	border: 2px solid #1355ac;
	margin: 10px auto;
	padding: 14px 40px;
	text-align: center;
	color: #FFFFFF;
	border-radius: 5px;
	transition: 0.25s;
}

.box input[type = "submit"]:hover{
	background-color:#2ecc71;
	border: 2px solid #2ecc71;
}

@media screen and (min-width: 480px){
	body {
	    height: 100vh;
	    background: url("../img/anime.jpg") 51% fixed;
	    background-color: beige;
	    background-size: cover;
	}
   
	.box
    {
        width: 340px;
        text-align: center;
        position: relative;
     }

	.box input[type = "text"], .box input[type = "password"]{
		width: 250px;
	}
}