* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
}

.video-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%; 
    max-width: 100%;
    overflow: hidden;
    z-index: 1; 
}
   .video-container video {
    /* Make video at least 100% wide and tall */
    min-height: 100%; 
    min-width: 100%;
      /* Center the video */
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
       /* Use object-fit to control the size of the video */
    object-fit: cover;
    z-index: 2; 
}


h2.title {
    margin-top: 5px;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
    color: #ffffff;
}


.formContainer {
    position: absolute;
    background-color: rgba(0,0,0,0);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* For Safari */   
    border: 10px solid rgba(242,242,243,0.2);
    border-radius: 20px;
    min-height: 250px;
    padding: 20px;
    width: 300px;
    z-index: 40;
    /* Translate the element to the center */
    transform: translate(-50%, -50%);
    /* Set top and left to 50% to work with transform for centering */
    top: 50%;
    left: 50%;
}

input[type=text]{
    background-color:rgba(242,242,243,0.2);
    border: 1px solid rgba(242,242,243,0.2);
    border-radius: 5px;
    height: 40px; /* Corrected typo */
    padding: 0 10px;
    outline-color: rgba(255, 255, 255, 0.8); /* Corrected RGBA syntax */
    width: 100%;
    z-index: 40;
}


input[type=submit] {
    background-color: rgba(242,242,243,0.2);
    border: none;
    border-radius: 5px;
    color: #ffffff;
    height: 40px;
    margin-top: 30px;
    width: 100%;
    cursor: pointer;
    z-index: 40;
}
input[type=submit]:hover{
    opacity: 0.7;
    z-index: 40;
}

.link {
    font-size: small;
    margin-top: 30px;
    text-align: center;
    z-index: 40;
}

a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}


.notes{
    font-style: italic;  
    margin-bottom: 30px;
    z-index: 40;  
}
.errorMsg{
    font-size: small;
    color: #ff0000;
    border-radius: 5px;
    padding: 10px;
    z-index: 40;
    width: 50%;
}

.successMsg{
    font-size: small;
    background-color: #2ecc71;
    color: #ffffff;
    border-radius: 5px;
    padding: 10px;
    z-index: 40;
}