@import url('https://fonts.googleapis.com/css2?family=Oxygen&display=swap');
html, body {
    margin:0;
    padding:0;
}
body {
    height: 100vh;
    margin: auto;
    font-family: 'Oxygen', sans-serif;
    padding: 1px;
}
span {
    font-size: 28px;
}

#navbar {
	transition: 0.6s;
}
h2 {
    font-size: 34px;
    margin: 0 0 8px;
    border-bottom: solid;
    text-align: center;
}
ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: fixed;
	width: 100%;
	z-index: 5;
}
ul.active{
	background-color: black;
}
.overlay {
	height: 100%;
	width: 0;
	position: fixed;
	z-index: 10;
	top: 0;
	left: 0;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0, 0.9);
	overflow-x: hidden;
	transition: 0.5s;
} 
.overlay-content {
	position: relative;
	top: 25%;
	width: 100%;
	text-align: center;
	margin-top: 30px;
} 
.overlay a {
	padding: 8px;
	text-decoration: none;
	font-size: 36px;
	color: #818181;
	display: block;
	transition: 0.3s;
}
.overlay a:hover, .overlay a:focus {
	color: #f1f1f1;
}
.overlay .closebtn {
	position: absolute;
	top: 20px;
	right: 45px;
	font-size: 60px;
}
#navbar span {
	display: block;
	color: black;
	text-align: center;
	padding: 8px 14px;
	text-decoration: none;
	font-size: 40px;
	cursor: pointer;
}
.top-layer {
    width:100%;
    min-height: 30vh;
    display:flex;
    justify-content: center;
}
#top {
    display: flex;
    width: 64%;
    margin: 0 auto 0;
    padding: 10% 0 2%;
}
#bottom {
    display: flex;

    justify-content: center;;
}
.top-layer .form-group {
    width: 100%;
    text-align: right;
}
input {
    padding:10px;
    border-radius:10px;
    border-style: solid;
    text-align: center;
    cursor: pointer;
}
input:invalid {
    border: 2px dashed red;
    background-color: #ffc3c3;
}

#permission-number, #permission-text {
    height: 100%;
    font-size: 25px;
    outline: none;
    cursor: text;
}
#center {
    width: 100%;
    padding: 1px;

}
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}
footer span {
    height: 28px;
    margin: 0 3px;
}

@media only screen and (max-width: 1000px) {
    body {
        display: flex;
        justify-content: center;
    }
    #center {
        margin: auto;
    }
    #top {
        padding: 0;
    }
}
@media only screen and (max-width: 800px) {
    span {
        text-align: center;
    }
}
@media only screen and (max-width: 500px) {
    body {
        width: 100%;
    }
    #top {
        width: 100%;
    }
    span {
        font-size: 20px;
    }
    input {
        padding: 8px;
    }
    .top-layer {
        min-height: 0;
        padding: 20px 0;
    }
}