@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root{
  --nav-footer-color:#de4c9b;
  --primary-button-color:#098c2e;
  --secondary-button-color:black;
  
}

* {
  margin: 0;
  padding: 0;
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
 
}

.header {
  background: var(--nav-footer-color);
}

nav ul li a {
  color: white;
  font-weight: 500;
  margin: 0 5px;
  padding: 5px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
nav ul li a:hover {
  color: var(--primary-button-color);
}
nav ul li .active {
  color: #098c2e;
}
.hero {
  align-content: center;
  height: 100vh;
  background-image:url("../images/hero-background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
text-align: center;
}

.hero .container {
  padding: 50px 100px;
  
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  max-width: 80%;
}

.hero .container h1 {
  font-size: 80px;
}

.hero .container .btn {
  margin: 20px 10px;
  padding: 10px 15px;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  transition: all 0.3s ease-in-out;
}

.hero .container .btn:hover {
  background: var(--secondary-button-color);
}

.hero .container .volun {
  background: var(--nav-footer-color);
}

.hero .container .org {
  background: #098c2e;
}
h2 {
  text-align: center;
  font-weight: bold;
}
.about h2 {
  font-size: 40px;
  font-weight: 700;
}

.about h3 {
  font-size: 25px;
  font-weight: 700;
  max-width: 450px;
  margin: 25px auto;
}


.about p {
  font-size: 18px;
  font-weight: 500;
  max-width: 450px;
  margin: 5px auto;
}

.about .row .col img {
  max-width: 100%;
  margin: auto;
}

.team {
  background: #fee2c3;
}
#team h2 {
  font-size: 40px;
  font-weight: 700;
}

.team img {
  max-width: 100%;
  border-radius: 7px;
}

.team p {
  margin: 15px 0;
  font-weight: 500;
}

.howtouse {
  padding: 25px 30px;
  background: #fee2c3;
}

#howtouse h2 {
  font-size: 40px;
  font-weight: 700;
}
.howtouse ul li {
  font-weight: 500;
}

.howtouse ul li::marker {
  color: #098c2e;
  font-size: 25px;
}

.howtouse ul li .htu-list {
  font-weight: 700;
  font-size: 18px;
}
/* Form styles */
form {
  max-width: 600px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
}

form label {
  display: block;
  margin-bottom: 5px;
}

form input[type="text"],
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

form input[type="text"] {
  height: 40px;
}

form textarea {
  height: 100px;
}

form input[type="submit"] {
  display: block;
  width: 100%;
  padding: 10px;

  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form input[type="submit"] {
  background-color: var(--primary-button-color);
  display: block;
  width: 150px;
  padding: 10px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  margin: auto;
}
form input[type="submit"]:hover {
  background-color: var(--secondary-button-color);
  color: #fff;
}
.profiles {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
}
.profile {
  text-align: center;
  margin: 10px;
}
.profile img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}
.profile p {
  margin: 10px 0;
}

.profile a {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #098c2e; /* Button background color */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}
.profile a:hover {
  background-color: #555; /* Button hover color */
}

.logo {
  font-size: 2em;
  line-height: 0.8; /* Adjust line height for stacked text */
}

.footer {
  background: var(--nav-footer-color);
  text-align: center;
  color: #fff;
  padding: 20px 0 15px;
 
}

.footer .footer-cont {
  font-size: 18px;
  font-weight: 600;
}

/*User Profile styling */
.btn,#profile .btn{
  background: var(--primary-button-color);
   color: #fff;

}
#profile .btn {
  background: var(--primary-button-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 35px;
  display: block;
  max-width: 400px;
  margin: 15px auto;
  transition: all 0.3s ease-in-out;
}
#profile .btn:hover{
  background:var(--secondary-button-color);
}
.profile img{
  width: 100%;
  max-width: 200px;
}
.profile p {
  max-width: 650px;
  margin:auto;
  height: auto;
  border-radius: 50%;
 
}

.badges {
  max-width: 800px;
  margin: 40px auto;
  background: #d9d9d9;
  padding: 20px;
}
.badge-earned-text{
  color: black;
  font-size: 16px;
}
/*Styling for sign-up page */
form {
  background: #fee2c3;
  max-width: 400px;
  margin: 10px auto;
  padding: 40px;
  border: solid 1px #098c2e;
  border-radius: 7px;
}
form .btn {
  display: block;
  background: var(--primary-button-color);
  color: #fff;
  font-weight: 600;
  padding: 10px 15px;
}

/* Styling for volunteer-Feed*/
.posts,.cv-section {
  background: #e3dddd;
  padding: 20px 30px;
  border-radius: 10px;
  
}

post, .shortcourses-post {
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
 
}

.job-posted .apply,.shortcourses-post .apply {
  background: var(--primary-button-color);
  padding: 10px 30px;
  font-weight: 600;
  color: #fff;
}
.job-posted .apply:hover,.shortcourses-post .apply:hover {
  background: var(--secondary-button-color);
  color: #fff;
}
.build h2 {
  font-weight: 700;
}
.cv-builder button {
  display: block;
  margin: 20px auto;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
}


/*Stlying for volunteer profiles */



/*Media Query for smaller devices*/
@media(max-width:576px){
  .hero .container h1{
    font-size: 40px;
  }
 .about h2,#team h2,#howtouse h2{
font-size:30px;
 }
.hero{
  
  height: auto;
  padding: 20px;
}
.hero.container{
  padding:20px;
}
.team img{
  margin-bottom:20px;
}
.team .row .col{
  margin-bottom:20px;
}
 .about p{
  font-size: 14px;
  font-weight: 500;
  max-width: 350px;
  margin: 0 auto;
 }
 
}