/* General Styles */
body, main {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

main {
  margin-bottom: 3rem;
}

/* Containers */
.mcontainer{
  width: 100%; /* Adjust width as per preference */
  max-width: 1000px; /* Optional, to restrict maximum width */
  background: rgb(245,239,240);
  background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(197, 5, 5, 0.1);
  margin: 2rem auto; /* Center align and add spacing */
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center; 
}
.top_content,
.opportunities_container,
.container {
  width: 90%; /* Adjust width as per preference */
  max-width: 1000px; /* Optional, to restrict maximum width */
  background: rgb(245,239,240);
  background: radial-gradient(circle, rgba(245,239,240,1) 3%, rgba(176,185,231,1) 100%);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(197, 5, 5, 0.1);
  margin: 2rem auto; /* Center align and add spacing */
  padding: 20px;
  display: block; /* Ensures they stack vertically */
  
}

/* Row and Columns */
.row {
  margin: 20px 0;

}
label{
  font-size: large;
}
.col-25, .col-75 {
  margin-top: 1.5rem;
  width: 100%; /* Ensure full width */
}

/* Inline styles for nested elements */
.inline .col-75 {
  width: 100%; /* Full width */
}

.inline input[type="text"] {
  width: 100%; /* Full width */
  padding: 10px;
  border: 1px solid #ad2626;
  border-radius: 3px;
  box-sizing: border-box;
}

/* Form Elements */
textarea {
  border: 1px solid #09090a;
  border-radius: 3%;
  max-height: 250px;
  min-height: 50px;
  max-width: 100%;
  min-width: 100%;
}

input[type="text"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #1a0e0e;
  border-radius: 3px;
  box-sizing: border-box;
  margin: auto;
}

input[type="submit"] {
  width: 100%;
  padding: 10px 20px;
  background-color: #007bff;
  color: #0c0808;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0c0808;
  color: #219150;
}

/* Captcha and Key */
.h-captcha {
  width: 100%;
  margin: 2rem 0;
}

#key {
  font-weight: bold;
  color: rgb(30, 150, 30);
}

/* Image and Icon */
#image {
  width: 100px;
  height: 4rem;
  background-color: white;
  margin-top: 10px;
  font-size: 2.5rem;
}

.fas.fa-sync {
  color: #0c0b0b;
  cursor: pointer;
  font-size: 3rem;
}

/* Submit Button */
#submit {
  border: 1px solid #0e0b0b;
  padding: 10px;
  width: 100%;
  font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .mcontainer, .top_content, .opportunities_container, .container {
    width: calc(100% - 40px);
    margin: 2rem 20px;
    height: fit-content;
  }
}
