html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-image: url(registeration.jfif);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0.2);
    background-blend-mode: lighten;
    transition: all 0.5s ease-in-out;
}

header {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h1 {
    text-shadow: 3px 3px black;
    font-size: 2.5rem;
    transition: transform 0.3s ease-in-out;
}

h1:hover {
    transform: scale(1.05);
}

main {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.frm1 {
    max-width: 600px;
    padding: 25px;
    text-align: center;
    background: rgba(79, 142, 214, 0.6);
    border: double black 5px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.frm1:hover {
    transform: translateY(-5px);
}

.hd1 {
    text-align: center;
    font-weight: bold;
    color: aqua;
    font-size: 36px;
    margin-bottom: 20px;
    transition: color 0.3s ease-in-out;
}

.hd1:hover {
    color: #ffcc00;
}

.inp1 {
    width: 80%;
    margin-bottom: 15px;
    padding: 12px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.inp1:focus {
    border: 2px solid aqua;
    box-shadow: 0 0 10px aqua;
    outline: none;
}

.s1 {
    width: 120px;
    padding: 12px;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.s1:hover {
    background: #555;
    transform: scale(1.05);
}

.s1:active {
    transform: scale(0.95);
}

.cnd1 h3 {
    font-size: 30px;
    color: rgb(164, 197, 238);
    background-color: rgba(221, 212, 212, 0.2);
    padding: 10px;
    border-radius: 10px;
    text-shadow: 2px 2px black;
    transition: background 0.3s ease-in-out;
}

.cnd1 h3:hover {
    background-color: rgba(221, 212, 212, 0.4);
}

footer {
    background-color: rgba(148, 140, 140, 0.3);
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: 36px;
    font-size: 20px;
}

a {
    transition: color 0.3s ease-in-out;
}

a:link {color: rgb(138, 131, 231);}

a:visited {color: rgb(210, 210, 252);}

a:hover {color: rgb(61, 61, 235);}

a:active {color: red;}

input[type="checkbox"]:checked {
    accent-color: blue;
}
