

html {
  scroll-behavior: smooth;
  width: 60%;
  margin-left: 20%;
}

body {
    color: #ffffff;
    font-family: "Special Elite", system-ui;
    background-image: url(/img/background_image.jpg);
    background-attachment: fixed;
}

p, li {
  max-width: 75ch;
  text-wrap: pretty;
}

.wide {
  max-width: 100ch;
}

.about_h4 {
  margin-top: 4rem;
}

.about_headpoints {
  margin-left: 10%;
}

.about_closer {
  font-size: 1.5rem;
  font-family:"Yeseva One";
  text-align: center;
  width: 70%;
  margin-left: 12.5%;
  margin-top: 5rem;
  margin-bottom: 5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
  color: #081b3b;
  background-color: #289387;
  border-radius: 20px;
}

a {
  color: #4ab4a7;
}

.logo_header_image {
  max-width: 40%;
  vertical-align: middle;
}

.logo_header_text {
  max-width: 40%;
  vertical-align: middle;
}

.logo_titles {
  display: flex;
}


h1, h2, h4, h5 {
    font-family: "Special Elite";
    color: #ffffff;
}

h1 {
  font-size: 3.5em;
  text-transform:capitalize ;
}

h1.main_title {
  max-width: 75%;
}

h2 {
  font-size: 4em;
}

h3 {
  font-size: 1em;
  font-weight: normal;
}

h3.about_cards {
  font-family:"Yeseva One";
  color: #289387;
  font-size: 1.5em;
  font-weight: bold;
}

h4 {
  font-size: 2.5em;
}

h5 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.cards_about {
  display: grid;
  grid-template-columns: 45% 45%;
  column-gap: 5%;
  row-gap: 1em;
  max-width: 90%;
  padding-left: 5%;
  margin-top: 50px;
}

.card_about {
  display: grid;
  grid-template-rows: max-content 1fr;
  text-align: center;
  align-items: center;
  border: 2px solid #289387;
  border-radius: 20px;
  transition: 0.3s;
  padding: 1rem;
  /* box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2); */
}

.card_about h5 {
  margin: 1rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  max-width: 80%;
  margin: auto;
  margin-bottom: 50px;
}

.card {
  display: grid;
  grid-template-rows: max-content 1fr;
  text-align: center;
  align-items: center;
  border: 2px solid #289387;
  border-radius: 20px;
  transition: 0.3s;
  margin: 0;
  padding: 0.25rem;
  /* box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2); */
}

.last {
  align-items:self-end;
}

.card img {
  width: 50px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.card .content {
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.card:hover {
  box-shadow: 0.5rem 0.5rem 1rem 0.25rem rgba(255, 255, 255, 0.2);
} 

.notes {
  margin-top: 1rem;
  font-size: 0.9rem;
}

footer {
  width: 100%;
  margin-top: 2rem;
  color: #081b3b;
  background-color: #289387;
  border-radius: 30px;
}

.footer_text {
  font-size: 1.2rem;
  margin-top: 0.7rem;
  padding-top: 1.5rem;
  padding-left: 30%;
}

.copyright_text {
  padding-right: 40px;
  padding-bottom: 10px;
  text-align: right;
  font-size: 0.9rem;
}

footer a {
  color: inherit;
  text-decoration: none;
}

header a {
  color: inherit;
  text-decoration: none;
}

footer a:hover {
  color: #115e57;
}

.social_links {
  font-size: 3rem;
  letter-spacing: 1.5rem;
  display: inline-block;
}

.social_links:hover {
  opacity:0.60
}

.top_button {
  border:#081b3b solid 1px;
  background-color:#081b3b;
  color: #4ab4a7;
  display:inline-block;
  padding:8px 16px;
  vertical-align:middle;
  overflow:hidden;
  text-decoration:none;
  text-align:center;
  cursor:pointer;
  white-space:nowrap;
}

.top_button:hover {
  background-color: #289387;
  color: #081b3b;
}

.margin_right {
  margin-right: 16px!important;
}

table {
  background-color: #ffffff;
  color: #081b3b;
  margin-left: 10%;
}

table, th, td {
  text-align: left;
  border: 1px solid #000000;
  border-collapse: collapse;
  padding: 1rem;
}

ul li{
  list-style: none;
  background-repeat: no-repeat;
  line-height: 30px;
  padding-left: 30px;
}

ul.tick li {
  background-image: url(/img/Check-Square--Streamline-Ultimate.svg);
}

ul.money li {
  background-image: url(/img/Dollar-Coin--Streamline-Core.svg);
}

li {
  margin-top: 1rem;
  margin-left: 2rem;
}

.services_button {
  font-size: 1.5em;
  font-family:"Yeseva One";
  color: #081b3b;
  border:#4ab4a7 solid 1px;
  background-color:#4ab4a7;
  display:inline-block;
  padding: 8px 32px;
  vertical-align:middle;
  text-align:center;
  white-space:nowrap;
  border-radius: 20px;
  margin-left: 20%;
}

ul.home_highlights {
  padding-left: 0;
}

ul.home_highlights li {
  background-position: 20px 10px;
  background-image: url(/img/Check-Square--Streamline-Ultimate-blue.svg);
  color: #081b3b;
  max-width: 75%;
  font-size: 1.3em;
  font-family:"Yeseva One";
  border:#289387 solid 1px;
  background-color:#289387;
  border-radius: 20px;
  padding-left: 60px;
  padding-right: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-left: 10px;
}


/* media for different sized screens and devices */
@media screen and (max-width: 1350px) {
  html {
    width: 80%;
    margin-left: 10%;
  }

  table {
    margin-left: 10%;
    margin-right: 10%;
  }

  ul {
    max-width: 90%;
  }

  .about_closer {
    width: 100%;
    margin-left: 0;
  }

  .notes {
    margin-left: 10%;
    margin-right: 10%;
  }
}

@media screen and (max-width: 750px) {
  html {
    width: 94%;
    margin-left: 3%;
  }

  main {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
  }

  h1.main_title {
    max-width: 100%;
    text-wrap:pretty;
  }
  
  p {
    max-width: 90%;
  }

  .logo_header_image {
    max-width: 45%;
  }

  .logo_header_text {
    max-width: 50%;
  }

  .footer_text {
    padding-left: 10%;

  }

  .about_closer {
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
    margin-left: 5%;
    margin-right: 5%;
  }

  .cards_about {
    max-width: 100%;
    grid-template-columns: 100%;
    padding-left: 0;
  }

  table {
    margin-left: 5%;
    margin-right: 5%;
  }

  .tri_image {
    display: none;
  }

  ul.home_highlights {
    max-width: 100%;
  }

  ul.home_highlights li {
    margin-left: 0;
    max-width: 100%;
  }
}