:root{
  --background: #f4f4f4;
  --accent: #c00;
  --secondColor: #999;
  --thirdColor: white;
  --fontcolor: #555;
  --shadow: #bebebe;
  --inactive: #aaa;
}

a {
  text-decoration: none;
  color: var(--accent);
}

.wrapper {
    color:  var(--fontcolor);
    width: 500px;
    height: 100vh;
    display: grid;
    grid-template-rows: auto minmax(500px, 100%) auto;
    grid-template-columns: 100%;
    grid-template-areas: ". content .";
}

body {
    font-family: Segoe UI Emoji;
    display: grid;
    grid-template-rows: 40px auto;
    margin: 0;
    font-family: Arial;
    background-color:  var(--background);
  
    word-break: break-word;
    /*white-space: pre-wrap;*/
    /*-moz-white-space: pre-wrap;*/
    /* -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none; */
  }

.container{
    box-sizing: border-box;
    box-shadow: 2px 2px 3px 1px var(--shadow);
    border-radius: 10px;
    background-color: var(--thirdColor);
    color: var(--fontcolor);
    padding: 1px 50px 50px 50px ;
    width: 100%;
    height: 100%;
}

#content {
    padding: 50px 5% 50px 5%;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    align-self: center;
    display: grid;
    grid-template-columns: 100%;
}

#login {
    text-align: center;
}

input, select{
    width: 100%;
    height: 30px;
    box-sizing: border-box;
    border-radius: 15px;
    border: 0px;
    margin-bottom: 20px;
    padding-left: 10px;
    box-shadow: 0px 0px 5px 1px var(--shadow);
    background-color: white;
}

form{
    width: 100%;
}

input[type=submit] {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid var(--fontcolor);
    background: rgb(0, 0, 0, 0);
    margin-bottom: 20px;
    margin-top: 100px;
    color: var(--fontcolor);
    font-size: 1.2em;
    font-weight: 600;
}

input[type=submit]:hover {
   cursor: pointer;
   color: var(--accent);
   border: 2px solid var(--accent);
}

label {
    margin-left: 20px;
}

h2 {
    color: var(--accent);
    font-family: Arial;
    font-weight: 100;
    font-size: 3.5em;
    /* margin-top: 100px; */
}

.help-block{
    color: var(--inactive);
}

@media only screen and (max-width: 500px) {
    
    h2{
        margin-top: 10px;
    }
    
    .wrapper {
        padding: 0;
        width: 100%;
        height: 100vh;
        grid-template-rows: 100%;
        grid-template-areas: "content";
        
    }
    #content{
        padding: 0;
        width: 100%;
        height: 100%;
    }
    
    .container{
        padding: 10px 30px 0px 30px;
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-rows: auto auto auto auto;
        position: relative;
        
    }
    /*
    h2{
        border: 2px solid red;
        position: absolute;
        bottom: 0;
    }*/
}
