@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;600&family=Playfair+Display:wght@400;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Macondo&family=Noto+Serif:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
:root {
  --color-green: #959c54;
  --color-green-dark: #043324;
  --color-green-light: #a3c2a0;
  --color-red-dark: #660307;
  --color-red: #b92a31;
  --color-tab-bg: #b96c52;
  --color-nude-bg: #f5f1ed;
  --color-text-dark: rgb(7, 2, 20);
  --color-text-muted: #333333;
  --color-text-darker: #000000;
  --color-btn: #012412c5;
  --color-btn-hover: #000705;
  --color-border: #ddddd8;
  --color-shadow: rgba(0, 0, 0, 0.247);
  --primary-font: "Rubik", "Playfair Display", serif;
  --secondary-font: "Lato", sans-serif;
  --social-icon-size: 14rem; /* default size for social icons; tweak as needed */
 
}
html {
  scroll-padding-top: 70px;
}
body {
  background-color: var(--color-nude-bg);
  color: var(--color-text-dark);
  font-family: var(--secondary-font);
}
#navbar {
  background-color: var(--color-green);
}
#navbar .nav-link.active {
  color: var(--color-red-dark) !important;
}
#navbar .nav-link:hover {
  color: var(--color-green-dark) !important;
}
#navbar .nav-link {
  font-weight: 800;
  color: var(--color-red) !important;
}
#navbar .logo {
  width: 30px;
}
#hero-section {
  height: 520px;
  width: 100%;
  background: url("../images/safe_gif.jpg") no-repeat center center/cover;
  position: absolute;
}
main {
  flex: 1 0 auto;
  margin-top: 300px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
h1,
h2,
h3,
h4 {
  font-weight: 900;
  font-family: var(--primary-font);
  color: var(--color-green-dark);
}
header h3 {
  margin: 4rem;
  color: var(--color-text-darker);
}
footer h2,
h3 {
  margin: 1rem;
  color: var(--color-text-darker);
}
h1,
h2 {
  margin: 2rem;

  text-transform: uppercase;
}
#six-principles {
  background: url("../images/six_principles_set.png") no-repeat center
    center/contain;
  height: 90vw;
  width: 90vw;
  max-height: 600px;
  max-width: 600px;
  margin: 2rem auto;
}
footer {
  background-color: var(--color-green);
  color: #fff;
  padding-bottom: 1rem;
  width: auto;
}
#people-needing-safeguarding .card-footer {
  font-weight: bold;
  color: var(--highlight-color);
  background-color: transparent;
}
#people-needing-safeguarding .row > [class*="col-"] {
  display: flex;
  padding: 0.75rem;
}
#people-needing-safeguarding .card {
  margin: 0;
  background-color: var(--color-tab-bg);
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 auto;
}
#people-needing-safeguarding > img * {
  min-height: 50px;
}
.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.card-body p {
  font-weight: 900;
  font-size: large;
}

#people-needing-safeguarding .card-footer {
  margin-top: auto;
  background: transparent;
  border-top: none;
}
.custom-carousel-item > span {
  height: 100px;
  text-align: justify;
}
.custom-carousel-item {
  background-color: var(--color-green-light);
  color: var(--color-text-darker);
  padding: 7px 25px;
  height: 400px;
}
.custom-button-outline {
  border: 3px solid var(--color-green-light);
  background-color: var(--color-green-light);
  color: var(--color-text-darker);
  padding: 7px 25px;
}
.custom-button-outline:hover {
  background-color: var(--color-green-dark);
  color: var(--color-red);
}
#subscribe-btn {
  margin-top: 10px;
  padding: 10px 20px;
}
#subscribe > input[type="email"] {
  padding: 5px;
  width: 50px;
  border: 2px solid var(--color-border);
  border-radius: 5px;
}
/* social icons (easily resize by changing --social-icon-size in :root) */
#social-links .icon {
  color: var(--color-text-darker);
  margin: 0 10px;
  font-size: var(--social-icon-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(var(--social-icon-size) + 20px);
  transition: transform 150ms ease, color 0.3s ease;
}
footer i.fa-facebook {
  font-size: 3rem;
}
footer i.fa-instagram {
  font-size: 3rem;
}
footer i.fa-twitter-square {
  font-size: 3rem;
}
.flat-signs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  margin: 1.5rem 0 2.5rem;
  flex-wrap: wrap;
}
.flat-sign {
  flex: 1 1 160px;
  max-width: 240px;
  background: var(--color-tab-bg);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  box-shadow: 0 2px 6px var(--color-shadow);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.flat-sign:hover,
.flat-sign:focus {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  outline: none;
}
.flat-sign .icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-dark);
  border-radius: 8px;
  color: #fff;
}
.flat-sign .label {
  font-weight: 900;
  font-size: 1rem;
}
.flat-sign .sub {
  font-size: 1rem;
  color: var(--color-green-dark);
}
@media (max-width: 576px) {
  .flat-signs {
    gap: 0.6rem;
  }
  .flat-sign {
    padding: 10px;
    flex: 1 1 140px;
  }
  .flat-sign .icon {
    width: 40px;
    height: 40px;
  }
  #people-needing-safeguarding .card-body {
    min-height: 200px;
  }
  #six-principles {
    height: 80vw;
    width: 80vw;
  }
}
@media screen and (min-width: 577px) {
  #people-needing-safeguarding .card-body {
    min-height: 230px;
  }
  #six-principles {
    height: 70vw;
    width: 70vw;
  }
}
@media screen and (min-width: 768px) {
  #people-needing-safeguarding .card-body {
    min-height: 230px;
  }
  #six-principles {
    height: 70vw;
    width: 70vw;
  }
}
@media screen and (min-width: 992px) {
  #people-needing-safeguarding .card-body {
    min-height: auto;
  }
}
@media screen and (min-width: 1198px) {
  #people-needing-safeguarding .card-body {
    min-height: 300px;
  }
}
@media screen and (min-width: 1400px) {
  #people-needing-safeguarding .card-body {
    min-height: 195px;
  }
}
