* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    margin: 0;
}

.bg {
    /* The image used */
    background-image: url("/img/background.jpeg");

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

.bg img {
    width: 65%;
    height: auto;
}

.transparent-bg {
    background-color: rgba(255, 255, 255, 0.8); /* 80% transparent white */
}

/* .bg ul {
    margin-top: 20px;
    color: white;
    
    background-color: rgb(255, 255, 255);
    text-align: center;
    padding: 12px;
}

.bg ul li {
    display: inline-block;
    text-align: right;
}

.bg ul li a {
    padding: 20px 40px 20px 40px;
    text-decoration: none;
    color: black;

}

.bg ul li a:hover {
    color: rgb(0, 110, 255);
} */

/* ------------------------------------------------------------registration form---------------------------------------------------------------------- */
.bg form {
    background-color: #ffffffb0;
    margin: -1px;
    margin-left: 460px;
    padding: 20px;
    height: 537px;
    width: 984px;
    border-radius: 20px;
    
}

.bg h1 {
    text-align: center;
    color: rgb(0, 0, 0);
}

.registration {
    padding: 45px;
}

.name {
    width: 282px;
    padding: 6px;
    border: none;
    border-bottom: 2px solid #b7b7b778;
    background-color: #cfd7d44a;
}

.name:hover {
    border-color: rgb(67, 149, 255);
}

.first {
    padding: 12px;
    margin-top: 13px;
    font-weight: 600;

}
.mail{
    width: 282px;
    padding: 6px;
    margin-left: 41px;
    border: none;
    border-bottom: 2px solid #b7b7b778;
    background-color: #cfd7d44a; 
}

.mail:hover{
    border-color: rgb(67, 149, 255);
}

.date{
    width: 282px;
    padding: 6px;
    margin-left: 50px;
    border: none;
    border-bottom: 2px solid #b7b7b778;
    background-color: #cfd7d44a; 
    font-weight: 600;
}

.gname {
    margin-top: 13px;
    margin-left: 12px;
    font-weight: 600;
}

.ginput {
    margin-top: 24px;
    margin-left: 12px;
}
.cname{
    font-weight: 600;
}

.address {
    margin-top: 13px;
    margin-left: 12px;
    background-color: #cfd7d44a;
}

.submit{
    margin-top: 15px;
    margin-left: 13px;
    padding: 11px;
    width: 323px;
    border: solid 1px #7a787869;
    background-color: rgb(67, 149, 255);
    color: white;
    border-radius: 18px;
    font-weight: bolder;
}

.submit:hover{
    background-color: rgb(0 88 201);
    font-weight: bolder;
}

@media (max-width: 768px) {
    .shadow-lg {
        margin-top: 20px;
    }

    h2 {
        margin: 20px 0;
    }

    .footer {
        margin-right: 0;
        margin-left: 0;
        padding: 12px;
    }
}

.footer {
    margin-top: 20px;
    padding: 12px;
    background-color: rgb(255, 255, 255);
    text-align: center;
    border-radius: 10px;
}

.footer li {
    display: inline-block;
}

.footer li a {
    padding: 10px 20px;
    color: black;
}

.footer li a:hover {
    color: rgb(0, 110, 255);
}