body, html {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: black;
    padding: 0;
    border: 0;
    margin: 0;
    height: 100vh;
    min-height: 100vh;
    min-width: 550px;
}

.flex-wrapper {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.container {
    width: 90%;
    max-width: 1500px;
    min-width: 550px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    flex: 1;
}

.item {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.content {
    flex: 1; 
    display: block; 
    width: 100%;
}

.banner {
    width: 90%;
    max-width: 1500px;
    min-width: 550px;
    position: relative;
    height: 22vh;
    background-image: url(./images/alpha321_header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.banner-content {
    width: 100%;
    max-width: 1500px;
    min-width: 550px;
}

.banner-text {
    background-color: #121212;
    text-align: center;
    position: absolute;
    margin: 0;
    bottom: 0;
}

.right-aligned {
    text-align: right;
    color: #121212;
    user-select: none;
}

h1.banner-title {
    color: #E0E0E0;
    margin: 20px;
}

.tab {
    overflow: hidden;
    background-color: #121212;
    border-top: 3px solid #C80000;
    border-bottom: 3px solid #C80000;
}

.tab button {
    background-color: #121212;
    color: #E0E0E0;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 0px;
    transition: 0.3s;
    font-size: 20px;
    width: 33.333%;
}

.tab button:hover {
    background-color: #C80000;
    color: white;
}

.tab button.active {
    background-color: #8B0000;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
}

.announcement {
    overflow: hidden;
    background-color: #121212;
    border-bottom: 3px solid #C80000;
    border-top: 0px; 
    color:#E0E0E0; 
    text-align: center; 
    font-weight: bold;
}

.announcement p {
    margin: 5px;
}

input[type=text], select {
    width: 100%;
    padding: 12px 20px;
    margin: 10px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 20px;
}

input[type=submit] {
    width: 100%;
    background-color: #8B0000;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

input[type=submit]:hover {
    background-color: #C80000;
}

.enlistFrom {
    border-radius: 5px;
    background-color: #ddd;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
    max-width: 500px;
    margin: 0 auto;
    min-width: 390px;
}

.enlistFrom form {
    margin-bottom: 0;
}

.enlistIntro {
    margin: 0 auto;
    max-width: 550px;
    color: #E0E0E0;
    font-size: 20px;
    font-weight: normal;
    min-width: 360px;
    text-align: center;
}

.enlistOutro {
    margin: 10px auto;
    color: #E0E0E0;
    font-size: 20px;
    font-weight: normal;
    min-width: 360px;
    text-align: center;
    width: 90%;
}


.disclaimer {
    width: 90%;
    max-width: 1500px;
    min-width: 360px;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin: 10px auto;
    color: #E0E0E0;
    font-size: 20px;
    font-weight: normal;
    text-align: center;
}

.enlistOutro h4, .disclaimer h4{
    margin: 10px;
}

.enlistOutro p, .disclaimer p{
    margin: 10px auto;
    font-size: 16px;
}

.enlistOutro a, .disclaimer a {
    text-decoration: none;
    color: red; 
    vertical-align: middle; 
    font-size: 16px;
}

.enlistOutro a:visited, .disclaimer a:visited {
    text-decoration: none;
    color: red; 
}

.enlistOutro a:hover, .disclaimer a:hover {
    text-decoration: none;
    color: #ff6666; 
}

.enlistButton {
    background-color: #8B0000;
    color: white;
    padding: 10px 20px;
    margin: 15px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
}

.enlistButton:hover {
    background-color: #C80000;
}

.changeButton {
    background-color: #191970;
    color: white;
    padding: 10px 20px;
    margin: 15px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    float: right;
}

.changeButton:hover {
    background-color: #4169E1;
}

#custom-tooltip {
    display: none;
    background-color: green;
    padding: 2px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
}

#custom-tooltip2 {
    display: none;
    background-color: green;
    padding: 2px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
}

#custom-tooltip-noReferral {
    display: none;
    background-color: #C80000;
    padding: 2px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
}

#custom-tooltip-noReferral2 {
    display: none;
    background-color: #C80000;
    padding: 2px 12px;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
}

input {
    -webkit-appearance: none;
    -webkit-border-radius: 0px;
}

footer {
    width: 90%;
    max-width: 1500px;
    min-width: 550px;
    text-align: center;
    color: #E0E0E0;
    margin: 0 auto;
    bottom: 0;
    padding: 0;
    font-size: 16px;
    vertical-align: middle;
    line-height: 1.5;
}

footer a {
    text-decoration: none;
    color: #C80000; 
    vertical-align: middle; 
    font-size: 18px;
}

footer a:visited {
    text-decoration: none;
    color: #C80000; 
}

footer a:hover {
    text-decoration: none;
    color: red; 
}

hr {
    border: none; 
    height: 3px; 
    background-color: #C80000; 
    width: 100%;
    margin: 0;
}

footer p {
    margin: 10px auto;
}

.footer-nav {
    margin: 10px auto;
}

.footer-nav a {
    color: #E0E0E0 !important;
    margin: auto 10px;
}

.footer-nav a:hover {
    color: red !important;
}