@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "montserrat", sans-serif;
}

html {
  min-width: 100%;
}

body {
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: url(../img/headerimage-min.jpg);
  background-size: cover;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  min-width: 100%;
}

body.show-nav {
  /* width of the nav (200px) */
  transform: translateX(200px);
}

.about-us {
  min-height: 100%;
  padding: 60px 0;
}

.section-title {
  color: #fff;
  text-transform: uppercase;
  font-size: 30px;
  text-align: center;
  padding-top: 150px;
  transition: 0.5s;
}

.section-title:hover {
  color: #3ce434;
}

.border {
  width: 160px;
  height: 2px;
  background: #ff0026;
  margin: 40px auto;
}

.container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: auto;
  padding: 0 70px;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  align-items: center;
  /* background: #fff; */
  background: rgba(255, 255, 255, 0.6);
}

.container .box {
  position: relative;
  width: 700px;
  padding: 25px;
  border-radius: 4px;
  margin: 10px;
  box-sizing: border-box;
  text-align: center;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.4);
}

.container .box .icon {
  position: relative;
  height: 80px;
  width: 80px;
  color: #fff;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 50%;
  font-size: 40px;
  font-weight: 700px;
  transition: 1s;
}

/*Icon 1 Green background with hover */
.container .box:nth-child(1) .icon {
  box-shadow: 0 0 0 #3ce434;
  background: #3ce434;
}
.container .box:nth-child(1):hover .icon {
  box-shadow: 0 0 0 400px #3ce434;
}

/*Icon 2 Green background with hover */
.container .box:nth-child(2) .icon {
  box-shadow: 0 0 0 #ff0026;
  background: #ff0026;
}
.container .box:nth-child(2):hover .icon {
  box-shadow: 0 0 0 400px #ff0026;
}

/*Icon 3 Green background with hover */
.container .box:nth-child(3) .icon {
  box-shadow: 0 0 0 #2a3a63;
  background: #2a3a63;
}
.container .box:nth-child(3):hover .icon {
  box-shadow: 0 0 0 400px #2a3a63;
}

/* Content Transition & Hover */
.container .box .content {
  position: relative;
  z-index: 1;
  transition: 0.5s;
}

.container .box:hover .content {
  color: #fff;
}

.container .box:hover .content p {
  margin: 0;
  padding: 0;
}

/* ===Paragraphs=== */
p {
  margin-top: 0;
  line-height: 1.5;
}

@media (max-width: 845px) {
  .container {
    padding: 0 0 0 10px;
    background: none;
  }
  .section-title {
    font-size: 24px;
    margin-top: 0;
  }
  .container .box {
    width: 350px;
    padding: 10px;
  }
  .container .box .content p {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .container .box {
    width: 250px;
  }
}

/*===== Footer ====== */
.footer {
  background: #2a3a63;
  color: #fff;
  height: 450px;
  position: relative;
  width: 100%;
}

.footer .footer-content {
  margin: 50px;
  height: 350px;
  display: flex;
}

.footer .footer-content h2 {
  color: #3ce434;
}

.footer .footer-content .footer-section {
  flex: 1;
  padding-top: 25px;
  align-items: center;
}

/* Footer About Us styles */
.footer .footer-content .about {
  margin-left: 10px;
}

.footer .footer-content .about p {
  font-size: 18px;
  margin-left: 5px;
  line-height: 1.5;
}

.footer .footer-content .about img {
  width: 200px;
  height: 50px;
}

.footer .footer-content .links {
  margin-left: 70px;
}

/* Footer Contact Styles */
.footer .footer-content .contact span {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer .footer-content .contact .socials a {
  border: 1px solid grey;
  width: 45px;
  height: 41px;
  color: #fff;
  padding-top: 5px;
  margin-right: 5px;
  text-align: center;
  display: inline-block;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.5s;
}

.footer .footer-content .contact .socials a:hover {
  color: #ff0026;
}

.footer .footer-content .footer-section {
  padding: 0;
}

/* Footer Links Styles */
.footer .footer-content .links ul {
  list-style: none;
}

.footer .footer-content .links ul a {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  transition: 0.5s;
  color: #fff;
  text-decoration: none;
}

.footer .footer-content .links ul a:hover {
  color: #ff0026;
  margin-left: 20px;
}

.footer .footer-bottom {
  height: 50px;
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0px;
  left: 0px;
  padding-top: 10px;
}

@media (max-width: 945px) {
  .footer {
    width: 100%;
  }
}

/* ===== Media Queries===== */
@media (max-width: 846px) {
  .footer {
    width: 100%;
    height: 750px;
    text-align: left;
    display: flex;
    margin-top: auto;
  }

  .footer .footer-content {
    margin: 0 20px;
    /* margin-left: 20px; */
    flex-direction: column;
  }
  .footer .footer-content {
    margin-bottom: 100px;
  }
  .footer .footer-content .about p {
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
  }
  .footer .footer-content .links {
    margin: 0;
  }

  .footer .footer-content .links ul a {
    font-size: 14px;
    margin-left: 5px;
    margin-top: 10px;
  }

  .footer .footer-content .contact,
  .footer .footer-content .contact span {
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .footer .footer-content .contact .socials a {
    border: 1px solid grey;
    width: 35px;
    height: 31px;
    font-size: 14px;
    margin-top: 5px;
  }

  .footer .footer-content .contact .socials {
    margin-bottom: 10px;
  }

  .footer .footer-content h2 {
    padding: 0;
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 0px;
  }
  p:last-of-type {
    margin-bottom: 5px;
  }

  .footer .footer-content .links ul {
    color: #ff0026;
    padding: 0;
  }

  .footer .footer-bottom {
    margin: 20;
    font-size: 12px;
  }
}
