* {
  font-family: Arial, Helvetica, sans-serif;
  /*border: solid grey;*/
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

header,
.main,
footer {
  background-color: #1f2937;
  display: flex;
  flex-wrap: wrap;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem 6rem 0rem 5rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
}

.maincontent {
  display: flex;
  flex-direction: column;
  padding-bottom: 5rem;
  width: 44%;
}

.logo {
  margin-right: auto;
  font-size: 24px;
  color: #f9faf8;
  width:65px;
  height: 65px;
}

.logo img {
  width: 75px;
  height: 75px;
}

.sectionlinks {
  margin: 1rem;
}

h1 {
  font-size: 48px;
  font-weight: bolder;
  color: #f9faf8;
  margin-bottom: 1px;
}

.infotitle {
  padding-top: 6.5rem;
  color: #1f2937;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 36px;
  font-weight: bolder;
}

a,
.main p {
  font-size: 18px;
  color: #e5e7eb;
  text-decoration: none;
}

.main {
  padding-top: 7rem;
  justify-content: center;
}

button {
  background-color: #3882f6;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid white;
  padding: 15px;
  width: 150px;
  cursor: pointer;
}

button:hover {
  background-color: #1e6ceb;
}

button:active {
  position: relative;
  top: 1px;
}

.info,
.infocontainers {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
}

.info {
  padding: 5rem 0 5rem 0;
  gap: 1%;
}

.infocontainers {
  flex-direction: column;
  text-align: center;
  width: 275px;
}

.infoboxes {
  display: inline-flex;
  height: 240px;
  width: 240px;
  border: solid #3882f6;
  border-radius: 10%;
  justify-content: center;
  align-items: center;
}

.testimonies {
  background-color: #e5e7eb;
  display: flex;
  gap:10%;
  justify-content: center;
  padding: 5rem 2rem 5rem 2rem;
  flex-wrap: wrap;
}

.testimonyboxes {
  width: 26%;
  text-align: center;
  font-size: 26px;
  font-style: italic;
  color: #1f2937;
  flex-wrap: wrap;
}

.quotesymbol {
  font-size: 60px;
  color: #1f2937;
}

.contactbox {
  background-color: #3882f6;
  display: flex;
  margin: 8rem;
  padding: 3rem;
  border-radius: 8px;
  justify-content: space-around;
  align-items: baseline;
  flex-wrap: wrap;
}

.calltoaction {
  font-size: 1.5rem;
  font-weight: bolder;
  color: #f9faf8;
}

.contactbutton {
  height: 50px;
  font-weight: bold;
  font-size: 1rem;
}

footer p {
  padding: 3rem;
  color: #f9faf8;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  font-size: 1rem;
}

.mainimage {
  width: 275px;
  height: 200px;
  padding-left: 3rem;
}

.mainimage img {
  width: 275px;
  height: 200px;
  border-radius: 3%;
  box-shadow: 3px 3px 10px 3px grey;
}

.iconimgs {
  width: 235px;
  height: 235px;
  border-radius: 10%;
}

/* Media queries for mobile view */

@media only screen and (min-width: 320px) and (max-width: 576px) {
  header {
    padding: 0.75rem 0.75rem 0rem 0.75rem;
  }

  .logo {
    font-size: 0.4rem;
  }

  .sectionlinks {
    margin: 0.75rem;
  }

  a {
    font-size: 0.8rem;
  }

  .maincontent {
    display: flex;
    padding-left: 2rem;
    padding-bottom: 2rem;
    padding-right: 2rem;
    align-items: center;
    text-align: center;

    width: 100%;
  }

  .maincontent p {
    font-size: 0.75rem;
  }

  .main {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  button {
    width: 120px;
  }

  .mainimage {
    display: flex;
    width: 100%;
    height: 50%;
    padding-left: 0%;
    padding-bottom: 2rem;
    justify-content: center;
  }

  .mainimage img {
    width: 250px;
    height: 200px;
  }

  .infotitle {
    padding-top: 5.5rem;
    font-size: 2rem;
  }

  .info {
    padding: 2rem;
    gap: 10px;
  }

  .infocontainers {
    width: 155px;
  }

  .infoboxes {
    height: 150px;
    width: 150px;
  }

  .iconimgs {
    width: 150px;
    height: 150px;
  }

  .testimonyboxes {
    width: 75%;

    font-size: 1rem;
  }

  .quotesymbol {
    font-size: 2rem;
  }

  .contactbox {
    margin: 1.5rem;
    padding: 1.5rem;
    text-align: center;
  }

  .calltoaction {
    font-size: 1rem;
  }

  .contactbutton {
    height: 50px;
    width: 80px;
    font-size: 1rem;
  }
}
