body, html {
    margin: 0;
    padding: 0;
	height: 100%;
}

body {
    background-image: url('img/background.jpg');
    background-position: center;
    background-repeat: no-repeat;
     /* background-size: cover; */
}

.background {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.0); /* Dark overlay for better readability */
}

.overlay {
    margin-top: 5%;
    width: 100%;
}

.logo {
    width: 22%; /* Logo width as per design, adjust as needed */
    display: block;
    margin-left: auto;
    margin-right: auto;
}



.logo img { 
    width: 100%; /* Make the logo image scale within its container */
}

.content-box {
    width: 80%; /* Adjusted width */
    background: rgba(0, 0, 0, 0.0); /* Semi-transparent background */
    padding: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.content {
    color: #c3c3c3;
    font-family: 'Montserrat';
}
button:hover {
    background-color: #b07c2b;
}
.content p {
    overflow: hidden;
    transition: max-height 0.3s ease; /* Smooth transition */
    font-size: 1.4em;
	text-align: justify;
}

@media (max-width: 1100px) {
	.content p {
		font-size: 1.3em;
	}
}

@media (max-width: 800px) {
	.content p {
		font-size: 1.2em;
	}
}

.content p.expanded {
    max-height: none; 
}

h1 {
    font-size: 2em; /* Increased size for better visibility */
    margin-bottom: 5px;
    text-align: center;

}
input[type=email] {
    flex-grow: 0.1;
    margin-right: 10px;
}

button {
    padding: 10px 20px;
    background-color: #80591d;
    color: rgb(195, 195, 195);
    cursor: pointer;
}
form {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type=email], button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-family:'Montserrat';
}
#message {
    text-align: center; /* Center text horizontally */
    min-height: 70px; /* Reserve space for the message */
    display: flex;
    justify-content: center; /* Center content horizontally in the flex container */
    align-items: center; /* Center content vertically in the flex container */
}

.success {
    color: #28a745; /* Success color, adjust as needed */
}

.error {
    color: #dc3545; /* Error color */
}

@media (max-width: 700px) {
    .logo {
        width: 40%; /* Increase width for better visibility */
    }

    .content-box {
        width: 90%; /* Increase width to use more screen space */
    }

    form {
        flex-direction: column; /* Stack form elements vertically */
        align-items: stretch; /* Stretch elements to fill width */
    }

    input[type=email] {
        margin-right: 0;
        padding: 7px 5px;
        margin:5px ;
    }

    button {
        padding: 5px 2px;
        margin: 10px 5px ;
	}
}
