* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html, body {
	font-family: Arial, sans-serif;
	background-color: #f4f4f4;
	width: 100%;
	height: 100%;
}
body {
	min-height: 100vh;
}

#mobile {
	display: none;
}

header {
	background-color: #ffffff;
	padding: 0 1.25rem;
	height: 4rem;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.birthday-widget {
	width: 100%;
	padding: 0.625rem;
	border: 0.0625rem solid #ccc;
	border-radius: 0.25rem;
	background-color: #f9f9f9;
}



footer {
	display: block;
	padding: 0;
	text-align: right;
	position: relative;
	width: 100%;
	margin: 0;
	align-items: center;
	flex-wrap: wrap;
	box-shadow: 0 -0.125rem 0.25rem rgba(0, 0, 0, 0.05);

}

.birthday-widget:focus {
	border-color: rgb(39, 170, 88);
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(145, 255, 128, 0.95);
}

.errorlist {
	list-style: none;
	color: #d32f2f;
}

.logo {
	font-weight: bold;
	display: inline-block;
	float: left;
}

main {
	padding: 1.25rem;
}

.hero {
	text-align: center;
	padding: 2rem 25rem;
	background-color: #ffffff;
	box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
	border-radius: 0.75rem;
	height:auto;
	width: 100%;
	}


@media (max-width: 1500px) {
  .hero{
	  padding: 2rem 10rem;
  }
}
@media (max-width: 912px) {
  .hero{
	  padding: 2rem ;
  }
}


.hero h1 {
	font-size: 3rem;
	color: #333333;
	font-family: cursive;;
}

p{
	text-align: left;
	display:flex;
	flex-direction: column;
	align-items: center;
}
.hero p {
	text-align: left; display:flex; flex-direction: column; align-items: center;
	font-size: 1.2rem;
	color: #666666;
	margin-top: 1.25rem;
}

form {
	background-color: #ffffff;
	margin: auto;
}

table {
	text-align: left;
	margin: auto;
}
table td{
        max-width: 250px;
    }

input[type="number"], input[type="text"], input[type="email"], input[type="password"], textarea {
	width: 250px;
	padding: 0.625rem;
	margin: 0;
	border: 0.0625rem solid #ccc;
	border-radius: 0.25rem;
	background-color: #f9f9f9;
}

input:focus {
	border-color: rgb(39, 170, 88);
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(145, 255, 128, 0.95);
}

a.button, button, input[type="submit"] {
	background-color: rgb(21 128 61);
	color: white;
	padding: 0.625rem 0.9375rem;
	border: none;
	border-radius: 0.25rem;
	cursor: pointer;
	font-size: 1rem;
	transition: background-color 0.3s ease;
	margin: 0.625rem;
}

a.button:hover, button:hover, input[type="submit"]:hover {
	background-color: rgb(39, 170, 88);
}


button:disabled, input[type="submit"]:disabled {
    background-color: rgb(180, 180, 180); 
    cursor: not-allowed;
    color: rgb(100, 100, 100);
}

label {
	display: block;
	margin-right: 1.25rem;
	font-weight: bold;
	color: #333;
}

.error-message {
	color: #d32f2f;
	margin-top: -0.625rem;
	margin-bottom: 0.625rem;
	font-size: 0.875rem;
}

form h1, form h2, form h3 {
	color: #333;
	margin-bottom: 1.25rem;
	font-family: cursive;
}

.reco {
	background: transparent;
	border: 0.0625rem solid #c5c5c5;
	border-radius: 0.625rem;
}

nav {
	background-color: transparent;
	float: right;
	margin: 0.40rem;
	padding: 0.40rem;
}

nav ul {
	list-style: none;
	display: flex;
}

nav ul li {
	position: relative;
}

nav ul li a {
	text-decoration: none;
	color: #333;
	padding: 0.625rem 1.25rem;
	display: block;
}

nav ul li:hover > a {
	background-color: #e9ecef;
	border-radius: 0.25rem;
}

nav ul li .dropdown-content {
	display: none;
	position: absolute;
	background-color: #ffffff;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
	min-width: 12.5rem;
	z-index: 1;
}

nav ul li:hover .dropdown-content {
	display: block;
}

select {
	width: 100%;
	min-width: 200px;
	padding: 0.625rem;
	margin: 0.125rem 0;
	border: 0.0625rem solid #ccc;
	border-radius: 0.25rem;
	background-color: #f9f9f9;
	color: #333;
	appearance: none;
	background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" fill="gray" viewBox="0 0 16 16"><path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
	background-repeat: no-repeat;
	background-position: right 0.625rem center;
	background-size: 0.8125rem 0.8125rem;
}



.helptext {
	list-style-type: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.25rem;
	max-width: 125rem;
	margin: 1.25rem auto;
}

.card {
	background-color: #ffffff;
	border: 0.0625rem solid #e0e0e0;
	border-radius: 0.5rem;
	box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
	padding: 1.25rem;
	width: 15.625rem;
	text-align: center;
	margin: 0.625rem;
}

.card-content h2 {
	font-size: 1.25rem;
	color: #333;
	margin-top: 0.9375rem;
	margin-bottom: 0.625rem;
	font-family: cursive;
}

h2{
	font-family: cursive;
}
.card-content p {
	font-size: 0.875rem;
	color: #666;
	line-height: 1.5;
}

input[type="file"] {
	width: 100%;
	border: 0.125rem solid rgb(21 128 61);
	border-radius: 0.3125rem;
	background-color: #ffffff;
	color: #000000;
	cursor: pointer;
	padding: 0;
	text-align: center;
}

input[type="file"]::file-selector-button {
	padding: 0 0.9375rem;
	background-color: rgb(21 128 61);
	color: #ffffff;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}

input[type="file"]::file-selector-button:hover {
	background-color: rgb(39, 170, 88);
}

input[type="checkbox"] {
	width: 1.25rem;
	height: 1.25rem;
	border: 0.125rem solid #ccc;
	border-radius: 0.25rem;
	background-color: #f9f9f9;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 0.625rem 0;
}

input[type="checkbox"]:checked {
	background-color: rgb(21,128, 61);
	border-color: rgb(21, 128 ,61);
}

input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.5rem;
	height: 0.875rem;
	border: solid white;
	border-width: 0 0.125rem 0.125rem 0;
	transform: translate(-50%, -50%) rotate(45deg);
}

input[type="checkbox"]:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(145, 255, 128, 0.95);
}

a {
	text-decoration: none;
	color: #129851;
	/*padding: 0.625rem 1.25rem;*/
	display: block;
	text-align: center;
}

.menu-toggle {
	display: none;
}
nav ul li .dropdown-content a {
    color: #333;
    padding: 0.625rem 1.25rem;
    display: block;
}

nav ul li .dropdown-content a:hover {
    background-color: #e9ecef;
}
@media (max-width: 912px) {

    nav {
        display: none;
        position: fixed;
        top: 4.1rem;
        right: 0;
        width: 100%;
        height: auto;
        background-color: #ffffff;
        box-shadow: -0.125rem 0 0.3125rem rgba(0, 0, 0, 0.3); /* Shadow effect */
        z-index: 10;
        overflow-y: auto;
        transition: transform 0.3s ease;
        transform: translateX(100%);
        padding:0;
        margin : 0;
    }


    nav.active {
        display: block;
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
        font-size: 1.875rem;
        position: absolute;
        top: 0.8rem;
        right: 1.25rem;
        z-index: 15;
    }

    nav ul {
        list-style: none;
        padding: 1rem;
        margin: 0;
        display: flex;
        flex-direction: column;
		height: 400px;
    }

    nav ul li {
        margin-top: 0.4.69rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }

    nav ul li a {
        text-decoration: none;
        color: #333;
        padding: 0.625rem;
        display: block;
        border-radius: 0.25rem;
        transition: background-color 0.2s;
		text-align: left;

    }
    nav ul li a:hover {
        background-color: #e9ecef;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #ffffff;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        z-index: 1;
		left: 40%;
    }

    nav ul li:hover .dropdown-content {
        display: block;

    }

	.project-info-section {
		display: flex;
		gap: 30px;
		margin: 0;
	}

	.project-info-section__element {
		flex: 1;
		display: flex;
		justify-content: center;
		align-items: center;
		margin: 0;
		flex-direction: column;
	}

	.project-info-section__text {
		padding: 40px;
		text-align: left;
		height: max-content;
	}

	.project-info-section__text p {
		font-size: 1.2rem;
		color: #444444;
		margin-top: 1.25rem;
		display: block;
	}

	.project-info-section__text p a {
		display: inline;
	}





}


@media (max-width: 523px) {

    table {
        display: block;
        width: 100%;
    }

    table tr {
        display: block;
        margin-bottom: 1rem;
    }

    table td {
        display: block;
        width: 100%;
    }


    table td label {
        margin-bottom: 0.5rem;
    }

    table td input, table td textarea, table td select {
        width: 100%;
    }

}
