/* fonts */

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap");

/* palette */

:root {
  --main-black: #1f1f20;
  --main-white: #fbfafc;
  --main-green: #e3ebe4;
}

* {
  margin: 0;
}

/* document*/

html {
  background-color: var(--main-white);
}

main,
header {
  margin: auto;
  width: 90%;
}

h1 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 400;
  font-size: 80px;
  color: var(--main-black);
}

h2 {
  font-family: "DM Sans", sans-serif;
  color: var(--main-black);
  font-size: 34px;
}

h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--main-black);
}

h4 {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--main-black);
}

a {
  font-family: "DM Sans", sans-serif;
  text-decoration: none;
  color: var(--main-black);
}

p {
  font-family: "DM Sans", sans-serif;
}

nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  margin-bottom: 10px;
}

.logo {
  width: 40%;
}

#menu {
  display: flex;
  gap: 3vw;
  align-items: center;
}

#campaign {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9vw;
  margin-top: 3vw;
}

#campaign img {
  width: 100%;
}

#buttons_landing {
  display: flex;
  flex-wrap: wrap;
  gap: 3vw;
  margin-top: 55px;
}

#buttons_landing img {
  width: 14vw;
}
#buttons_landing button{
  width: 190px;
  height: 45px;
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  border-radius: 30px;
}
#buttons_landing svg{
 width: 45px;
}
button:hover{
  transition: 0.3s ease-in-out;
}
#learnmore_button {
  /* background-color:#87C499; */
  /* background-color: #f3ac5c; */
  background-color: #1F1F20;
  border: none;
  color: #fbfafc;
}
#learnmore_button:hover {
  background-color: #87C499;
  opacity: 0.9;
}
#contactus_button:hover {
 background-color:  #bbdbc3
/* background-color:  #f8bd7d; */
/* background-color: #F5f5f5; */
  }

  #contactus_button {
    /* border: 2px solid #87C499; */
    /* border: 2px solid  #f3ac5c; */
    border: 2px solid  #1F1F20;
    background-color: transparent;
    /* color:  #f3ac5c; */
    color:#1f1f20;
    }

#services_landing {
  display: flex;
  flex-wrap: wrap;
  gap: 6%;
  justify-content: space-evenly;
  margin: 4%;
}

.servicebox {
  background-color: var(--main-green);
  border-radius: 20px;
  width: 22%;
  padding: 30px;
  box-shadow: 0px 4px 5px #88888877;
}

.servicebox a::after {
  content: url(pictures/arrow.png);
  display: inline-block;
  padding-left: 0.6vw;
  vertical-align: middle;
}

.fixed {
  width: 45%;
  left: 26%;
  margin-top: 2%;
  position: absolute;
}

.fixedline {
  width: 100%;
  margin-top: 200px;
  left: 0;
  position: absolute;
  z-index: -1;
}

.fixedwall {
  left: 0;
  top: 80px;
  position: absolute;
  z-index: -1;
  height: 38rem;
}

#values_1 {
  display: flex;
  width: 100%;
  gap: 50%;
  margin-top: 5%;
}

.value1 {
  margin-top: 6vw;
  display: block;
  width: 28%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.value2 {
  margin-top: 6vw;
  display: block;
  width: 28%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.value3 {
  margin-top: 6vw;
  display: block;
  width: 28%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#our_values {
  margin-bottom: 5vw;
}

#our_values h4 {
  margin-bottom: 1vw;
}

.stretch {
  width: 100%;
}
/* events on about us*/

.slideshow-container {
  max-width: 500px;
  border-radius: 30px;
  position: relative;
  margin: auto;
  padding-top: 2rem;
}
#gallery{
  padding-left: 2.5%;
  padding-right: 2.5%;
  padding-bottom: 5vw;
}
#gallery h2{
  padding-bottom: 2.5vw;
}
#gallery p{
  width: 52%;
  padding-bottom: 0.5vw;
}
.slideshow{
  display: flex;
  flex-direction: row;
  gap: 3vw;
}
/* Hide the images by default */
.mySlides1, .mySlides2 {
  display: none;
}
.mySlides1 img, .mySlides2 img {
  border-radius: 5px;
}
/* Caption text */
.text {
  color: #f2f2f2;
  font-family: "DM Sans", sans-serif;
  font-size: 2rem;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  padding-left: 2rem;
  padding-bottom: 1rem;
  text-align: left;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  padding: 20px 32px;
  position: absolute;
  top: 10;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #bbdbc3;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #87C499;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .8}
  to {opacity: 1}
}

/* footer */

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: var(--main-green);
}

.footerlists {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  margin-left: 5%;
}
.footerlist {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.footerlist h3 {
  font-weight: 600;
  margin-bottom: 1.3vw;
}

.footerinfo {
  display: flex;
  flex-direction: column;
  gap: 1vw;
}

.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 4vw;
}

.flex_contact {
  display: flex;
  gap: 4vw;
}

.flex_contact img {
  width: 1.6vw;
}

.flex img {
  height: 1.4vw;
}

.value1 h4::before {
  content: url(pictures/home_icon.png);
  display: inline-block;
}

.value2 h4::before {
  content: url(pictures/circular_icon.png);
  display: inline-block;
}

.value3 h4::before {
  content: url(pictures/heart_icon.png);
  display: inline-block;
}

a:hover {
  color: #F6AC5A;
  transition: 0.3s ease-in-out;
}

/* abouts us */

.aboutus_1 {
  display: flex;
  justify-content: flex-start;
  justify-items: center;
  gap: 15%;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2vw;
  margin-top: 3vw;
}

.aboutus_2 {
  margin-bottom: 5vw;
  margin-top: 7vw;
}

#about {
  font-size: 48px;
  margin-bottom: 9vh;
  padding-left: 2vw;
  margin-top: 1vw;

}

.aboutus_1 img {
  width: 30vw;
}

.aboutus_2 img {
  display: block;
  width: 98%;
  margin: auto;
}

/* contact us form */

#formcontainer {
  display: flex;
  justify-content: space-between;
  margin-top: 5vw;
  margin-bottom: 3vw;
}

#formcontainer h1 {
  font-size: 52px;
  margin-bottom: 4vw;
}

#formcontainer p {
  font-size: 20px;
}

form {
  max-width: 35vw;
}

.feedback-input {
  color: #1f1f20;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  border-radius: 15px;
  line-height: 22px;
  background-color: w;
  border: 2px solid #ffffff;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width: 100%;
  box-sizing: border-box;
  outline: 0;
}

.feedback-input:focus { 
  border:2px solid #F6AC5A; 
}

textarea {
  height: 150px;
  line-height: 150%;
  resize: vertical;
}

[type="submit"] {
  font-family: "DM Sans", sans-serif;
  width: 30%;
  background: #87C499  ;
  border-radius: 35px;
  border: 0;
  cursor: pointer;
  color: white;
  font-size: 20px;
  padding-top: 0.7vw;
  padding-bottom: 0.7vw;
  transition: all 0.3s;
  font-weight: 500;
}
[type="submit"]:hover {
  background: #edca9d;
}

/* team page */

.team-background-line {
  position: absolute;
  top: 14vw;
  object-fit: cover;
  width: 90%;
  z-index: -1;
}

.mainteam h1 {
  font-size: 42px;
  text-align: end;
  margin-right: 6vw;
  
}

.mainteam a {
  font-size: 14px;
}

.mainteam h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: rgb(101, 101, 101);
  
}

#teamcontainer {
  display: flex;
  flex-direction: column;
  width: 55%;
  margin: auto;
  gap: 5.5vw;
  margin-top: 3vw;
}

#team2container {
  display: flex;
  margin: auto;
  margin-top: 6vw;
  flex-direction: column;
  margin-bottom: 6vw;
}

#team2container2 {
  display: flex;
  width: 92%;
  margin: auto;
  gap: 4vw;
  margin-top: 3vw;
}

.personcontainer {
  display: flex;
  justify-content: space-around;
  gap: 3vw;
  align-items: center;
  
}

.personcontainer2 {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  align-items: center;
  background-color: #EFF0F3;
  padding: 2.5vw;
  border-radius: 15px;
}

.personpicture {
  flex-basis: 30%;
}


.personpicture img {
  width: 18vw;
}

.persondescription {
  flex-basis: 70%;
}

.persondescription2 {
  text-align: center;
}


.persondescription h2 {
  font-weight: 500;
  font-size: 26px;
}

.persondescription2 h2 {
  font-weight: 500;
  font-size: 26px;
  margin-bottom: 0.5vw;
}

.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(70, 70, 70, 0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.button {
  font-size: 1em;
  padding: 12px;
  color: rgb(22, 22, 22);
  border: 0.8px rgb(37, 37, 37) solid;
  border-radius: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button:hover {
  background: rgb(37, 37, 37);
}

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 3vw;
  background: #fff;
  border-radius: 15px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup h2 {
  margin-bottom: 2vw;
  color: #333;
  font-family: DM Sans, sans-serif;
}

.popup p {
  color: #333;
  font-family: DM Sans, sans-serif;
}

.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: #242424;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}

/* responsiveness */

@media screen and (max-width: 880px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
  .aboutus_1{
    flex-wrap: wrap;
  }
  .aboutus_1{
    flex-wrap:wrap-reverse;
  }
  #about{
    margin-bottom: 6vw;
  }
  .aboutus_1 img{
    padding-bottom: 6vw;
    width: 45vw;
  }
  .aboutus_1 p{
    width: 80%;
  }
  #gallery h2{
      margin-bottom:2vw;
      margin-top: 6vw;
  }
#gallery p{
  width: 80%;
}
.slideshow{
  flex-wrap: wrap;
}
}

@media  screen and (max-width: 520px){
  #gallery p{
    width: 100%;
  }
  .aboutus_1 p{
    width: 100%;
  }
}
