/* CSS reset */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

/* --- BODY --- */
/* cards */
.cardImg{
  width: 100%;
  height: auto;
  border-radius: 6px 6px 0 0;
}

.card {
  max-width: 100%;
  flex-basis: 100%;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.5s;
  margin: 15px 0.5rem 15px 0.5rem;
  border-radius: 6px;
  background-color: white;
}

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.7);
  cursor: pointer;
}

.Inner-container {
  padding: 2px 16px;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  color: black;
  background-color: #d7f1ff;
  font-size: 16px;
}

#heroContainer {
  height: 600px;
  width: 100%;
  margin-top: 0.5rem;
}

.banner {
  background-image: url("Images/hero.jpg");
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hero-text {
  text-align: center;
  color: white;
}

.hero-text h1 {
  padding-top: 14rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 4rem;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  margin-bottom: 6rem;
}

.projects-section {
  text-align: center;
  padding: 5rem 2rem;
  background: #d7f1ff;
}

.projects-section-header {
  max-width: 240px;
  margin: 0 auto 1rem auto;
}

/* Contact section */

.contact-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 80vh;
  padding: 0 2rem;
  background-color: #d7f1ff;
}

.contact-section-header>h2 {
  font-size: 6rem;
}

.contact-section-header>p {
  font-style: italic;
}

.contact-links {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.contact-details {
  font-size: 2.4rem;
  text-shadow: 2px 2px 1px #1f1f1f;
  transition: transform 0.3s ease-out;
}

.contact-details:hover {
  transform: translateY(8px);
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 2px;
}

a {
  text-decoration: none;
  color: rgb(34, 34, 34);
}

/* --- WRAPPER --- */
div#wrapper {
  margin: 0 auto;
}

.loadBearingWall {
  clear: both;
}

/* --- NAVIGATION --- */
#navbar {
  background-color: #d7f1ff;
  position: fixed;
  top: 0;
  width: 100%;
}

.myNav {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: center;

}

.myNav li {
  list-style-type: none;
  padding: 0.5rem;
  box-shadow: inset 0 0 0 0 white;
  color: white;
  transition: color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.myNav li a {
  text-decoration: none;
  display: block;
}

.myNav li:hover {
  color: #fff;
  box-shadow: inset 200px 0 0 0 white;

}

/* --- MAIN --- */
main {
  padding: 0.5rem 2%;
  background-color: #fff;
}

main h1 {
  font-size: 2rem;
  color: #000;
  border-bottom: 1px solid #555;
  margin-bottom: 0.4rem;
}

main h2 {
  font-size: 1.5rem;
  color: #000;
  margin-bottom: 0.2rem;
}

main p {
  padding-bottom: 0.8rem;
  line-height: 150%;
}

main a {
  color: #b2957a;
}

main a:hover {
  color: #66a5b3;
}

figure img {
  width: 100%;
  height: 100%;
}

figcaption {
  color: black;
}

/* --- OTHER --- */
.keepOpen {
  clear: both;
}

/* --- FOOTER --- */
footer p {
  text-align: center;
  color: #000;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}