body {
    background-color: #eee;
    background: url('bg.jpg') no-repeat center center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


#regFormContainer {
    background-color: #ffffff;
    opacity: 0.9;
    margin-top: 2em;
    margin-bottom: 2em;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}
#regForm {
    opacity: 1;
    margin: 0px auto;
    font-family: Raleway;
    padding: 40px;
    
    word-wrap: break-word;
    
}

#register {
    color: #6A1B9A
}

h1 {
    text-align: center;
    font-size: 2rem;
}
h2 {
    text-align: center;
    font-size: 1.7rem;
}

input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
    border-radius: 10px;
    -webkit-appearance: none
}

.tab input:focus {
    border: 1px solid #6a1b9a !important;
    outline: none
}

input.invalid {
    border: 5px solid #e03a0666
}


button {
    background-color: #6A1B9A;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    padding: 10px 20px;
    font-size: 17px;
    font-family: Raleway;
    cursor: pointer
}

button:hover {
    opacity: 0.8
}

button:focus {
    outline: none !important
}


.thanks-message {
    display: none;
    margin-top:3em;
}
.center {
    margin: auto;
    width: 50%;
    border: 3px solid green;
    padding: 10px;
  }



.boxmargin{
    margin-top:3em;
}

.alert{
    margin-top:99em;
    display:contents;
}


.dontshow {
    display:none
}
.flagselection {
    font-size: 100px;
    text-align: center;
}