* {
    box-sizing: border-box; /* Ensures padding and borders are included in width/height */
}

body{
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('https://source.unsplash.com/1600x900/?technology,abstract') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

main{
    display: flex; /* Use flexbox for layout */
    flex-direction: column;
    width: 100%;
    height: 100%; /* Full height for both sections */
    padding-left: 25%;
    padding-right: 25%;
    padding-bottom: 2%;
    padding-top:2%;
}
.container{
    margin:5px 5px 20px 5px;
}

.form-container {
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 5px 5px 10px 5px;
    height: 100%; /* Set a height for the container */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    
}

/* Hide scrollbar for Webkit browsers (Chrome, Safari) */
.form-container::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
}

/* Hide scrollbar for Firefox */
.form-container {
    scrollbar-width: none; /* For Firefox */
}



header {
    text-align: center;
    margin-bottom: 5px;
    margin-top: 30px;
}

.logo {
    width: 50%; /* Adjust size as needed */
    max-width: 100px; /* Maximum width for larger screens */
    margin-bottom: 3px; /* Space below the logo */
}

header h1 {
    margin: 0;
    color: darkblue; /* Main heading color */
}

header p {
    color: darkgoldenrod; /* Subheading color */
}

.registration-form{
    display:flex;
    flex-direction: column;
    width:100%;
    height:100%;
    
}


.input-group {
    margin-bottom: 15px;
}
input {
    width: 100%;
    /*width: calc(100% - 24px); !* Full width minus padding *!*/
    padding: 12px 12px 12px 40px; /* Added padding for icon */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    transition: border-color 0.3s;
}

input:focus {
    border-color: darkblue;
    outline: none;
}



label {
    display: block;
    margin-bottom: 5px;
}


button {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 255, 0.705);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px; /* Space between buttons */
    font-weight: 600;
}

button:hover {
    background:  darkblue;

}
a{
    text-decoration: none;
    text-align: center;
    margin-bottom: 20px;
}

textarea { 
    max-width: 100%; 
    padding: 10px; 
    box-sizing: border-box; /* Includes padding in width/height */
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    transition: border-color 0.3s;
}

textarea:focus{
    border-color: darkblue;
    outline: none;
}