

/* Apply custom font to all elements */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f1f6fd;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h2 {
    text-align: center;
    color: #333;
}

form {
    max-width: 400px;
    margin: 0px auto;
    background: transparent;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

/* General form element styles */
input[type="password"],
input[type="text"],
input[type="email"],
input[type="file"],
input[type="date"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border-radius: 10px;
    outline: none;
    border: 1px solid #a5b5e2;
}

input[type="submit"] {
    background: #03c6ed;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

input[type="submit"]:hover {
    background: #ff0404;
}

#myVideo {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    background: url(vid/rain.mp4);
    background-size: cover;
}

.fullname {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 5px;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 0px;
    }
    
    .modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    max-height: 80vh;
    overflow-y: auto;
            }
    
    .close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/* Responsive layout */
@media (max-width: 600px) {
    form {
        width: 80%;
    }
}
@media (max-width: 400px) {
    form {
        width: 80%;
    }
}
