@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Varela Round", sans-serif;
  color: #2d334a;
  background-color: #fffffe;
}

nav {
  font-size: 18px;
  align-self: right;
}

nav a:link {
  text-decoration: none;
  color: inherit;
}

header div {
  padding: 40px 40px;
  box-sizing: border-box;
  max-width: 1600px;
  margin: 0 auto;
}

header {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 15px;
}

header h1,
header a:link {
  color: #272343;
}

header div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav {
  display: flex;
  gap: 50px;
  justify-content: space-between;
  align-items: center;
}

article {
  font-family: "Passion one", sans-serif;
}

h2 {
  font-size: 48px;
  line-height: 1.5;
  margin-bottom: 24px;
}

h3 {
  font-size: 36px;
  line-height: 1.5;
  margin-bottom: 24px;
}

p {
  font-size: 20px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.container {
  padding: 30px 30px 40px 30px;
  margin-bottom: 20px;
  display: flex;
  width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  align-items: center;
  background-color: #fffffe;
}

.giving_img {
  width: 42%;
  height: 42%;
  object-fit: cover;
  border-radius: 10px;
}
.arrow {
  width: 24px;
  height: 18px;
  margin: 0 auto;
  display: inline-block;
  align-self: center;
}
.donate_btn {
  background-color: #ffd803;
  color: #272343;
  padding: 18px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 40px 0px 10px 50px;
  border: none;
  display: flex;
  cursor: pointer;
  gap: 10px;
}

.donate_btn:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.background {
  height: 600px;
  padding: 50px 40px;
  box-sizing: border-box;
  background-color: #e3f6f5;
}

.donation_info {
  max-width: 1600px;
  margin: 62px auto 80px auto;
  padding: 0px 40px;
  box-sizing: border-box;
}

.pros {
  margin-bottom: 0;
  line-height: 1;
}

.pros_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

.footer-homepage {
  height: 600px;
  padding: 40px 40px;
  box-sizing: border-box;
  background-color: #272343;
  color: #fffffe;
}

.footer_container {
  max-width: 1600px;
  margin: 40px auto;
  display: flex;
  gap: 40px;
  /* padding: 0px 40px; */
}

.feedback {
  min-width: 500px;
  min-height: 200px;
  background-color: #fffffe;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  color: #272343;
}

#feedback {
  width: 100%;
  border: none;
  resize: none;
  min-height: 200px;
}

#feedback:focus {
  outline: none;
}

.send_btn {
  background-color: #bae8e8;
  color: #272343;
  padding: 5px 14px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  border: none;
  float: right;
}

.founder {
  width: 325px;
  height: 390px;
}

.meet-founder {
  display: flex;
  gap: 20px;
}

.about {
  margin-bottom: 96px;
  width: 1100px;
  margin: 64px auto;
}

.founder-container {
  background-color: #bae8e8;
  padding: 64px 0px 64px 0px;
}

.meet-founder {
  /* background-color: #bae8e8; */
  width: 1100px;
  margin: auto;
}

.search-form {
  display: flex;
  align-items: center;
  padding: 20px 20px 20px 0px;
}

.search-input {
  width: 60%;
  border-radius: 35px 0 0 35px;
  background-color: #f5f5f5;
}

.search-button {
  width: 80px;
  border-radius: 0 35px 35px 0;
  background-color: #ffd803;
}

.search-button:hover {
  transform: scale(1.05);
  cursor: pointer;
  background-color: #ffd803;
}

.search-button,
.search-input {
  padding: 15px;
  border: none;
}

.search-cards {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0px 40px;
}

.filterbuttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  /* padding: 0 20px; */
}

.filter-button {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background-color: #bae8e8;
}

.filter-button:hover {
  background-color: #ffd803;
  color: #272343;
  transform: scale(1.05);
  cursor: pointer;
}

.donation-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 96px;
  margin: 64px 0;
  padding: 0px;
}

.flex-item {
  flex: 1 1 300px; /* Flex-grow, flex-shrink, and flex-basis */
}

.site {
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  background-color: #272343;
  color: #fffffe;
  /* max-width: 450px; */
  min-height: 200px;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  transition: max-height 0.4s ease;
  overflow: hidden;
}

.description.collapsed {
  max-height: 150px;
}

.description.expanded {
  max-height: 1000px; /* Large enough to fit full content */
}

.show-more-button {
  background-color: transparent;
  color: #fffffe;
  border: none;
  /* padding: 6px 12px; */
  /* margin-bottom: 16px; */
  cursor: pointer;
  /* border-radius: 4px; */
  font-size: 14px;
  float: right;
  margin-top: -20px;
  text-decoration: underline;
}

.show-more-button:hover {
  text-decoration: none;
}

.site-h2 {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 18px;
}

.site p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.donate-button {
  background-color: #ffd803;
  padding: 15px;
  border: none;
  border-radius: 25px;
}

.content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Section styling */
.why-donate {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.why-donate h1 {
  font-size: 2rem;
  color: #444;
  margin-bottom: 15px;
}

.why-donate p {
  margin-bottom: 15px;
}

.why-donate ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.why-donate ul li {
  margin-bottom: 10px;
}

.donate_btn {
  background-color: #ffd803;
  color: #272343;
  padding: 18px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 40px 0px 10px 50px;
  border: none;
  display: flex;
  cursor: pointer;
  gap: 10px;
}

.donate_btn:hover {
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* make login form beautiful with css */

.login-form {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  max-height: fit-content;
  margin: auto;
  margin-top: 80px;
}
.login-form h2 {
  text-align: center;
  margin-bottom: 20px;
}
.login-form input[type="email"],
.login-form input[type="password"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.login-form button {
  width: 100%;
  padding: 10px;
  background-color: #272343;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.login-form button:hover {
  background-color: #ffd803;
  color: #272343;
  transition: background-color 0.3s ease;
}
.login-form .g_id_signin {
  margin-top: 20px;
  text-align: center;
}
.login-form .g_id_signin button {
  width: 100%;
  padding: 10px;
  background-color: #4285f4;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.login-form .g_id_signin button:hover {
  background-color: #357ae8;
  transition: background-color 0.3s ease;
}

/* put login with google button inside designed login form */
