* { 
    font-family:sans-serif;
}

body{
    background-color: f2f2f2;
}

#banner{
    width:100%;
    height: 125px;
    padding: none;
    display: block;
    object-fit: cover;
}

#navbar {
    position: relative;
    top:0;
    overflow: hidden;
    background-color: black;
    margin: none;
    border: 3px solid black;
}

#navbar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition-duration: 0.4s;
}

#navbar a:hover {
    background-color: white;
    color: black;
}

#container{
    height: 90%;
    margin:2%;
    border-left: 2px solid black;
    padding-left: 10px;
}

#regfield{
    margin:5px;
}

#regfield label{
    margin-right: 20px;
}

#regfield input{
    border: 1px solid grey;
    width:100%;
    margin-bottom: 10px;
}

#regform{
    margin:none;
}

#regform input#submit{
    margin-left:5px;
    display: block;
    color: white;
    background-color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition-duration: 0.4s;
    border:none;
    border: 3px solid black;
}

#regform input#submit:hover{
    background-color: white;
    color: black;
}

#foot{
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 5%;
    padding: 1%;
}

#foot img{
    float: left;
    width: auto;
    height: 100%;
    margin-right:15px;
}

#foottext{
    float:left;
    height:30%;
    margin-top: 15px;
}

#foottext small{
    color:white;
    position: relative;
}

#invalid{
    color:red;
}

#preview {
    position: relative;
    border: 1px solid black;
    background-color: lightgrey;
    padding:1%;
    height: 200px;
    margin-top: 2%;
    margin-bottom: 2%;
}

#previewimgcontainer{
    height: 100%;
    width:auto;
    margin:none;
    float: left;
    margin-right:2%;
}

#previewimg{
    width:auto;
    height:100%;
}

#previewsmall{
    width: auto;
}

#previewtext{
    height:80%;
    width: auto;
}

#previewlink{
    float:right;
    display: block;
    color: white;
    background-color: black;
    text-align: center;
    padding: 5px 5px;
    text-decoration: none;
    transition-duration: 0.4s;
}
#previewlink:hover{
    background-color: white;
    color: black;
}