* {
    margin: 0;
    padding: 10px 5px;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-image: url("images/ncc.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px;
}


h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

form {
    background-color: rgba(255,255,255,0.3);
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #444;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

input[type="text"]:valid {
    background-color: lawngreen;
}
input[type="text"]:invalid {
    background-color: lightpink;
}

input[type="email"]:valid {
    background-color: lawngreen;
}
input[type="email"]:invalid {
    background-color: lightpink;
}
textarea:valid {
    background-color: lawngreen;
}
textarea:invalid {
    background-color: lightpink;
}



textarea {
    resize: vertical;
}

input[type="submit"] {
    margin-top: 20px;
    width: 100%;
    background-color: #007bff;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}
input[type="submit"]:hover {
    background-color: limegreen;
}
.link1{
    text-decoration:none;
    font-weight: bold;
    font-size: 30px;
    text-align: center;
    font-family: Courier;
    color: darkolivegreen;
    padding: 2px;
    border-radius: 4px;
    cursor: pointer;
    display:block;

}
.link1:hover {
    background-color: limegreen;
}
.link2{
    background: none;
    color: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}