/* Importing Google font - Open Sans */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

body {
  width: 100%;
  background: #fff;
}
.box *:last-child {
 /* margin-bottom: 0;*/
}

.header-container a{
  text-decoration: none;
  color: black;
}

.topnav {
  overflow: hidden;
    background-color: #04AA6D;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #eee;
  color: #04AA6D;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
/**Nav */
@media (max-width: 460px){
  body {
      padding-top: 0.1%;
      margin: 0 auto;
      max-width: 100%;        
  }

  .main-nav {
      position: relative;
      margin-top: 30%;
  }

  .main-nav-items { 
      position: relative;
      text-decoration: none;
      max-width: 85%;
      max-height: 17%;
      border-radius: 3;
      padding: 1%;
      margin: 1% auto;
      top: 50%;
      font-size: 1.3em;
      text-align: center;
      background-color: white;
      z-index: 1;
  }

 a {
      text-decoration: none;
      color: #38499E;
  } 
}
/** Nav */

.header-container {
  padding-left: 10px;
  display: flex;
  align-items: center;
  width: 90%;
}

.welcome-img{
  display: flex;
  margin-top: 10px;
  align-self: center;
}
.header-contact {
  list-style: none;
}

.header-contact li{
  display: flex;
  flex-basis: 100%;
}

.header-image1 {
  max-width: 23%;
}
.header-image {
  max-width: 30%;
}

.header-text {
  font-size: 14px;
  padding-left: 20px;
}

.banner-subsection{
  color: #000;
  text-align: center;
  padding: 10px;
}
/**Carousel */

* {box-sizing: border-box}
body {font-family: Verdana, sans-serif; margin:0}
.mySlides {display: none}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  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;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .prev, .next,.text {font-size: 11px}
  .welcome-container{
    margin: 0 auto;
    padding: 20px 10px;
    width: 100%;
  }
  .banner-container{
    margin: 0 auto;
    padding: 20px 10px;
    width: 90%;
  }
}
/** end carousel*/

.box-4 {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  position: relative;
  width: 100%;
  margin: 30px 0px 0px 0px;
}

.box-content {
  background: none repeat scroll 0 0 #FFFFFF;
  background-color: #fff;
  padding: 10px 5px 10px 5px;
  position: relative;
  z-index: 1;
}
.box-4:after {
  border: 1px solid;
  padding: 10px;
  border-radius: 0 0 50% 50% / 0 0 20px 20px;
  bottom: 0;
  box-shadow: 5px 10px 5px rgb(0, 213, 109);
  content: "";
  height: 20px;
  left: 10px;
  position: absolute;
  right: 10px;
}

.container{ 
  display: flex;
  flex-direction: column;
}


.welcome-container p{
  padding: 10px 10px;
}

.welcome-section {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 5px 5px;
  max-width: 1400px;
  margin: 0 auto;
  width:100%;
}
.header {
  top: 0;
  left: 0;
  width: 100%;
}


.header-contact .logo {
  margin-right: auto;
}

.header-contact .logo img {
  height: auto;
}


.footer-container {
  display: flex;
  align-items: center;
  padding-top: 15px;
}

.footer-container a{
text-decoration: none;
color: black;
}
.footer-container a:hover{
  text-decoration: underline;

  }
.social-container {
  align-items: center;
  gap: 10px;
  padding-top: 10px;
}


.footer {
  margin-top: 25px;
  display: flex;
  background: rgb(0, 213, 109);
  justify-content: space-evenly;
  padding: 10px;
}

.footer .footer-links {
  align-items: center;
  list-style: none;
  z-index: 10;
  padding: 5px;
}

.footer-links span{
  font-size: 16px;
  font-weight: 600;
}

.social-image1 img{
  width: 60px;
}

.social-image2 img{
  margin-left: 5px;
  margin-top: 5px;
  width: 45px;
}

.social-image1 img:hover, .social-image2 img:hover{
  transform: scale(1.1);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  background: rgb(0, 213, 109);
  border-radius: 10px;
}

.navbar .logo a {
  font-size: 1.8rem;
  text-decoration: none;
  color: #fff;
}

.navbar .links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 35px;
  z-index: 10;
}

.navbar .links a {
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  padding: 10px 0;
  transition: 0.2s ease;
}

.navbar .links a:hover {
  color: #47b2e4;
}

.navbar .buttons a {
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  padding: 15px 0;
  transition: 0.2s ease;
}

.navbar .buttons a:not(:last-child) {
  margin-right: 30px;
}

.navbar .buttons .signin:hover {
  color: #47b2e4;
}

.navbar .buttons .signup {
  border: 1px solid #fff;
  padding: 10px 20px;
  border-radius: 0.375rem;
  text-align: center;
  transition: 0.2s ease;
}

.navbar .buttons .signup:hover {
  background-color: #47b2e4;
  color: #fff;
}

.hero-section {
  justify-content: space-evenly;
  align-items: center;
  padding: 5px 5px;
  max-width: 1200px;
  margin: 0 auto;
  width:100%;
}

.hero-section p{
  padding: 10px 10px;
}

.subsection{
  color:#00d56d;
  padding: 20px;
}

.hero-section .hero {
  max-width: 50%;
  color: #fff;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #c9c7c7;
}

.hero-section .img img {
  width: 517px;
}

.hero-section .buttons {
  margin-top: 40px;
}

.hero-section .buttons a {
  text-decoration: none;
  color: #fff;
  padding: 12px 24px;
  border-radius: 0.375rem;
  font-weight: 600;
  transition: 0.2s ease;
  display: inline-block;
}

.hero-section .buttons a:not(:last-child) {
  margin-right: 15px;
}

.buttons .join {
  background-color: #47b2e4;
}

.hero-section .buttons .learn {
  border: 1px solid #fff;
  border-radius: 0.375rem;
}

.hero-section .buttons a:hover {
  background-color: #47b2e4;
}

/* Hamburger menu styles */
#menu-toggle {
  display: none;
}

#hamburger-btn {
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  display: none;
  order: 1;
}

@media screen and (max-width: 1023px) {
  .banner-container{
    margin: 0 auto;
    padding: 20px 10px;
    width: 90%;
  }

  .welcome-container{
    margin: 0 auto;
    padding: 0px 10px;
    width: 100%;
  }

  .welcome-img img{
    display: flex;
    height: auto;
  }
  
  .navbar .logo a {
    font-size: 1.5rem;
  }

  .links {
    position: fixed;
    left: -100%;
    top: 75px;
    width: 50%;
    padding-top: 50px;
    background: rgb(0 213 109 / 88%);
    flex-direction: column;
    transition: 0.3s ease;
  }

  .footer-links {
    left: -100%;
    background: rgb(0 213 109 / 88%);
    flex-direction: column;
    transition: 0.3s ease;
  }

  .navbar #menu-toggle:checked ~ .links {
    left: 0;
  }

  .navbar #hamburger-btn {
    display: block;
  }

  .header .buttons {
    display: none;
  }

  .hero-section .hero {
    max-width: 100%;
    text-align: center;
  }

}

img {
  max-width: 100%;
  vertical-align: middle;
  height: auto;
}
page-container {
  padding: var(--container-padding);
  max-width: var(--container-width);
  margin-right: auto;
  margin-left: auto;
}

/* Gallery layout */
:root {
  --gallery-gap: 1.5em;
  --gallery-items-per-row: 1;
}

.img-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gallery-gap);
}

/* 
 * Width of each item = Wi
 * Container width = Wc
 * Gap between items = g
 * Items per row in the gallery = n
 * Total space coverd by gaps = G
 * Available space for items per row = Wa
 *
 * G = g * (n - 1)
 * Wa = Wc - G
 * Wi = Wa / n
 */
.img-gallery__item {
  background-color: #fff;
  border: 5px solid #fff;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
  flex: 0 0
    calc(
      (100% - (var(--gallery-gap) * (var(--gallery-items-per-row) - 1))) /
        var(--gallery-items-per-row)
    );

  img {
    border-radius: var(--gallery-item-border-radius);
    aspect-ratio: 3 / 2;
    object-fit: cover;
  }

}

.img-gallery__item img:hover{
  transform: scale(1.1);
}

@media only screen and (width >= 1024px) {

  .banner-container{
    margin: 0 auto;
    padding: 20px 10px;
    width: 90%;
  }
  .welcome-container{
    margin: 0 auto;
    padding: 20px 10px;
    width: 100%;
  }

  .site-logo{
    width: 30%;
  }
  .welcome-img img{
    display: flex;
    max-width: 100%;
    height: auto;
  }
  .card {
    width: 50%;
  }
  .header-contact {
    display: flex;
    background: white;
    align-items: center;
    list-style: none;
  }
  .header-contact li{
    flex-basis: 100%;
  }
  .img-gallery {
    --gallery-items-per-row: 4;
  }
}

@media only screen and (768px < width < 1024px) {
  .banner-container{
    display: flex;
    margin: 0 auto;
    padding: 20px 10px;
    width: 90%;
  }
  .welcome-container{
    display: flex;
    margin: 0 auto;
    padding: 20px 10px;
    width: 100%;
  }
  .site-logo{
    width: 50%;
  }
  .welcome-img img{
    display: flex;
    height: auto;
    max-width: 40%;
  }
  .header-contact {
    display: flex;
    background: white;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    list-style: none;
    padding: 10px;
  }
  .header-contact li{
    flex-basis: 100%;
  }
  .img-gallery {
    --gallery-items-per-row: 3;
  }
}

@media only screen and (540px < width < 768px) {

  .welcome-container{
    margin: 0 auto;
    padding: 20px 10px;
    width: 100%;
  }
  .site-logo{
    width: 50%;
  }
  .welcome-img img{
    display: flex;
    height: auto;
    max-width: 40%;
  }
  .container {
    width: 100%;
  }
  .card {
    width: 80%;
  }
  .header-contact {
    display: flex;
    background: white;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    list-style: none;
    padding: 10px;
  }
  .header-contact li{
    flex-basis: 100%;
  }
  .img-gallery {
    --gallery-items-per-row: 2;
  }
}

/* Gallery styles */
:root {
  --gallery-item-border-radius: 0.4em;
}

.img-gallery__item {
  figure {
    margin: 0;
  }

  figcaption {
    margin-top: 0.5rem;
    font-weight: bold;
  }

  img {
    border-radius: var(--gallery-item-border-radius);
  }
}

.contact-container {
	background-color: #fff;
	position: relative;
	overflow: hidden;
	max-width: 90%;
	min-height: 380px;
  margin: auto;
}

h2 {
  font-size:2rem;
  margin-bottom:1rem;
}
.form-container {
  display:flex;
}

input, textarea {
	background-color: #eee;
	border: none;
	padding: 12px 15px;
	margin: 18px 0px 18px 18px;
	width: 95%;
  font-size:0.8rem;
}
.message-submit{
  text-align: center;
}

input[type = reset], input[type = submit]{
width: 16%;
}

input[type = reset], input[type = submit], button {
	border-radius: 5px;
	border: 1px solid rgb(0, 213, 109);
	background-color: rgb(0, 213, 109);
	color: #FFFFFF;
	font-size: 14px;
	font-weight: bold;
	padding: 12px 5px;
	letter-spacing: 1px;
	transition: transform 80ms ease-in;
  cursor:pointer;
}

button:hover {
  opacity:0.7;
}

@media only screen and (min-width: 600px) {
  
  .banner-container{
    display: flex;
    margin: 0 auto;
    padding: 20px 10px;
    width: 90%;
  }
  .welcome-container{
    display: flex;
    margin: 0 auto;
    padding: 0px 10px;
    width: 100%;
  }
}

form p {
  text-align:left;
}

 /* Modal Styles */
 .modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 80%;
  height: 80%;
  overflow: auto;
  background-color: rgb(0 0 0 / 88%);
  border:#00d56d 10px solid;
  /* Black background with opacity */
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/**Cards*/
.card-container {
  width: 100%;
  margin: 20px auto;
}

.row {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
}

.card {
  width: 23%;
  background: #fff;
  border: 1px solid #ccc;
  margin-bottom: 20px;
  transition: 0.3s;
  min-height: 350px;
  margin:10px;
}

.card-header {
  text-align: center;
  padding: 20px 10px;
  background: rgb(0, 213, 109);
  color: #fff;
}

.card-body {
  padding: 20px 10px;
  font-size: 14px;
}

.card-body .btn {
  display: block;
  color: #fff;
  text-align: center;
  background: linear-gradient(to right, #ff41ff, #ff4b2b);
  text-decoration: none;
  margin-top: 30px;
  padding: 10px 5px;
  transition: 0.3s;
}

.card-body .btn:hover {
  transform: scale(1.1);
}

.card:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px -10px rgba(0, 0, 0, 0.25);
}

/* Responsive media queries */

@media screen and (max-width: 1000px) {
  .card {
    width: 40%;
  }
}

@media screen and (max-width: 620px) {

  .header-contact li {
    padding-bottom: 15px;
}
  .header-image1{
    max-width:30%;
  }
  .header-image1 img, .header-image img{
    width: 40%;
  }
  .header-image {
    max-width: 30%;
    width: 50%;
  }
  .container {
    width: 100%;
  }

  .heading {
    padding: 20px;
    font-size: 30px;
  }

  .card {
    width: 90%;
  }
}

/** contact info container*/
.info-container{
  background-color: rgb(0, 213, 109);
  height: 100%;
  padding: 20px;
}

.info-item{
  width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    color: #fff;
    background-color: rgb(7, 151, 81);
}

.info-item h3{
  font-size: 20px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}
