body {
    font-family: Arial, Helvetica, sans-serif;
    display: grid;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    align-items: center;
}

form {
    box-shadow: 3px 3px 10px rgba(0,0,0,.2);
    width: 500px;
    padding: 24px 0 24px 0;
} 
 	
input:invalid{
  border-color: none;
  outline: none;
  background-color: #F1E5E5;
}

li:focus-within :is(label, input)  {
  outline: 2px solid #000000;
  border-radius: 2px;
}

  	
li.accept {
    display:none !important;
}
  	
.container {
    padding: 0 15px 15px 15px;
  	display: flex;
  	flex-wrap: wrap;
  	justify-content: center;
}
.container label {
  	display: flex;
  	justify-content: center;
  	align-items: center;
  	width: 50px;
  	height: 50px;
  	background-color: #000000;
  	color: #ffffff;
  	margin: 8px 0;
}


.icon {
    background-color: white;
    height: 16px;
    width: 16px;
    position: relative;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.icon.user {
    -webkit-mask-image: url("/static/envelope-solid.svg");
    mask-image: url("/static/envelope-solid.svg");
}
.icon.pass {
    -webkit-mask-image: url("/static/lock-solid.svg");
    mask-image: url("/static/lock-solid.svg");
}


h1  {
    text-align: center;
    color: rgb(36, 41, 46);
    font-size: 2em;
    font-weight: normal;
    font-family: "Inter", "Helvetica", "Arial", sans-serif;
}

h2, h3 {
    color: rgb(36, 41, 46);
    text-align: center;
    font-weight: normal;
}

.imgcontainer {
  text-align: center;
  /*margin: 24px 0 12px 0;
  height: 60px;*/
}

img.avatar {
  width: 66%;
  max-width: 100px;
}

.container ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.container ul li {
    display: flex;
    justify-content: center;
}



input[type=text], input[type=password] {
  width: 372px;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #000000;
  box-sizing: border-box;
}

button {
/*
  background-color: #001a2f;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
*/  
    margin: 32px 0 16px 0;
    font-size: 1.4em;
    font-weight: 500;
    background-color: #000000;
    color: white;
    border-radius: 10px;
    padding: 12.5px 17.5px;
    -webkit-transition: .5s ease;
    transition: .5s ease;
    text-transform: uppercase;
    text-decoration: none;
    width: 410px;
    
    box-shadow: inset -25px -25px 40px rgba(0,0,0,.2),3px 3px 1px rgba(0,0,0,.1);
background-image: -webkit-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
background-image: -moz-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
background-image: -o-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
background-image: -ms-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
border-color: lightgray;
}

button:hover {
/*  opacity: 0.8;*/
    text-shadow: 3px 3px 2px rgba(0,0,0,0.3);
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-transition: .5s ease;
    transition: .5s ease;
    background: #000000;
        background-image: none;
color: white;
box-shadow: inset -25px -25px 40px rgba(0,0,0,.2),3px 3px 1px rgba(0,0,0,.1);
background-image: -webkit-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
background-image: -moz-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
background-image: -o-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
background-image: -ms-linear-gradient(-45deg,rgba(255,255,220,.4) 0,transparent 100%);
}

#reg-button {
    margin: 8px 0 16px 0;
}

button:disabled {
    background-color: gray;
    text-shadow: none;
    -webkit-transform: none;
    transform: none;
    color:#232858;
}

.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #eba70e ;
}

.cancelbtn:hover {
  -webkit-transform: scale(1.1);
    transform: scale(1.1);
}



a {
  color: #eba70e;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.2);
  display: inline-block;
  transition: 200ms ease;
  -webkit-transition: 200ms ease;
  text-decoration: none;
  padding: 0 25px;
}
a:hover {
    color: #eba70e;
    text-shadow: 3px 3px 2px rgba(255,255,255,0.4);
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    transition: 200ms ease;
    -webkit-transition: 200ms ease;
}
/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 500px) {
    input[type=text], input[type=password] {
        width: 100%;
    }
    img.avatar {
        width: 88%;
    }
}

@media screen and (max-width: 55em) {
    body, .container { display: block; }
    .login-menu, .container.forgot {
        padding: 0 20px;
    }
    form {
        display: block;
        margin: 1em 1em 0 1em;
        width: auto;
        padding: 1em 0 1em 0;
    }
    a {
        padding:0;
    }

}

