@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Open+Sans&family=Playfair+Display:wght@400;700;800;900&display=swap');

html,
body {
  padding: 0;
  margin: 0;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  background-color: #fff;
}

header{
  background-color: #A8996e;
  min-height: 10vh;
}

footer{
  background-color: #173100;
}

h1{
  font-family: 'Lato', sans-serif;
  letter-spacing: .2rem;
  font-size: 3rem;
}

h2 h3 h4 h5 h6 {
  font-family: 'Taviraj', serif;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

* {
  box-sizing: border-box;
}

input:focus{
  border: #0070f3 1px solid;
}

.w-100 {
  width: 100%;
}

.header{
  background-color: #42691a;
  display: flex;
  justify-content: center;
}

.smallHeaderBar{
  max-width: 1280px;
  padding: 5px 15px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.largeHeaderBar{
  width: 100%;
  text-align: center;
}

.heroImage{
  height: 400px;
  width: 100%;
  background-image: url("./images/mountainSil.webp");
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heroLogo{
  width: 100%;
  max-width: 600px;
  -webkit-filter: drop-shadow( 4px 4px 3px rgba(0, 0, 0, .7));
  filter: drop-shadow( 4px 4px 3px rgba(0, 0, 0, .7));
}

.ctaLeftCard{
  display: flex;
  background-color: #fff;
  width: 100%;
  flex-wrap: nowrap;
  box-shadow: 0 5px 15px 5px rgb(0 0 0 / 15%);
  margin-bottom: 30px;
}

.ctaRightCard {
  display: flex;
  background-color: #fff;
  width: 100%;
  flex-wrap: nowrap;
  box-shadow: 0 5px 15px 5px rgb(0 0 0 / 15%);
  margin-bottom: 30px;
}

.ctaLeftContent{
  order: 0;
  padding: 2em;
  margin: 0;
  position: relative;
  box-shadow: none;
  flex: 0 1 100%;
  background-color: #fff;
  clip-path: polygon(0 0, 80% 0, 97% 101%, 0 100%);
}

.ctaRightContent {
  order: 0;
  padding: 2em;
  margin: 0;
  position: relative;
  box-shadow: none;
  flex: 0 1 100%;
  background-color: #fff;
  clip-path: polygon(17% 0, 95% 0, 97% 101%, 0 100%);
}

.ctaTitle{
  width: 80%;
}

.ctaLeftCopy{
  width: 80%;
}

.ctaRightTitle {
  width: 80%;
  margin-left: 20%;
}

.ctaRightCopy {
  width: 80%;
  margin-left: 20%;
}

.ctaRightMedia {
  background-image: url("./images/montana.webp");
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  flex: 0 1 100%;
  margin-right: -200px;
}

.ctaLeftMedia{
  background-image: url("./images/constructionAltCropped.png");
  background-size: cover;
  background-position: 50%;
  flex: 0 1 100%;
  margin-left: -220px;
}

/* sidenav */
.sidenav{
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.closebtn {
  cursor: pointer;
  color: #818181;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.overlay{
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0, 0.9);
  overflow-y: auto;
  overflow-x: hidden;
  text-align: center;
  opacity: 0;
  transition: opacity 1s;
}

#main {
  transition: margin-left .5s;
  min-height: 60vh;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

/* hamburger menu */
.hamburgerMenu{
  display: block;
  width: 30px;
  height: 30px;
}

.hamburgerMenu:hover{
  cursor: pointer;
}

.bars{
  margin: 5px 0;
  width: 30px;
  height: 1px;
  background-color: white;
  border: 1.5px solid #fff;
}

.main{
  display: flex;
  justify-content: center;
}

.mainContainer{
  max-width: 1280px;
  width: 100%;
}

.mainText{
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;

}

.cardImgContainer{
  width: 100%;
  text-align: center;
}

/* contact form styling */
.contactFormWrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 474px;
  padding: 30px;
  background: url("./images/geometricSquare.svg"), linear-gradient(125deg, #41691B, #003f8b);
  background-position: bottom;
  background-size: cover;
  background-repeat: repeat-x;
  clip-path: polygon(0 0,100% 0,100% 97%,50% 100%,0 97%);
}

.contactFormTitleWrapper{
  width: 100%;
  text-align: start;
}

.contactPhoneInput{
  width: 100px;
}

.contactEmailInput{
  width: 200px;
}

.contactForm{
  width: 100%;
  max-width: 1280px;
  padding: 30px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.formContainer{
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  min-width: 300px;
  height: 90%;
}

.contactFormRows{
  width: 100%;
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}

.contactFormInputs{
  padding: 12px 20px;
  color: #003f8b;
  font-weight: 600;
}

.contactFormInputs::placeholder{
  color: #003f8b;
  font-weight: 600;
  opacity: 1;
}

.submitButtonContainer{
  width: 100%;
  display: flex;
  justify-content: center;
}

.contactSubmitButton{
  margin: 30px;
  border: 1px white solid;
  border-radius: 5px;
  padding: 8px 40px;
  font-size: 1.5rem;
  background-color: #003f8b;
  color: white;
  font-family: 'Anton', sans-serif;
}

.contactSubmitButton:hover{
  cursor: pointer;
  background-color: #0070f3;
}

.submissionMessageContainer{
  text-align: center;
  padding: 10px;
}

.submissionMessageContainer>h1{
  font-size: 4rem;
  padding: 0;
  margin: 15px;
}

/* footer styling */
.footerContainer{
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footerListContainer{
  width: 100%;
}

.footerList{
  padding: 0;
  display: flex;
  justify-content: space-around;
}

.footerLinks:hover{
  color: #818181;
}

.footerLogoContainer{
  width: 100%;
  display:flex;
  justify-content: space-evenly;
}

.footerLogoIcons{
  width: 75px;
}

/* next.js styling */
.container {
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main {
  min-height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mainTitle {
  width: 80%;
  text-align: center;
  text-shadow: 4px 4px 5px #383838;
  font-size: 3rem;
}

.footer {
  color: white;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
}

.footer a {
  color: #77ff00;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
}

.footer a:hover{
  color: #a1ff89;
}

.title a {
  color: #0070f3;
  text-decoration: none;
}

.title a:hover,
.title a:focus,
.title a:active {
  text-decoration: underline;
}

.title {
  margin: 0;
  line-height: 1.15;
  font-size: 4rem;
}

.title,
.description {
  text-align: center;
}

.description {
  margin: 4rem 0;
  line-height: 1.5;
  font-size: 1.5rem;
}

.code {
  background: #fafafa;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1.1rem;
  font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
    Bitstream Vera Sans Mono, Courier New, monospace;
}

.grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 800px;
}

.card {
  --angle: 0deg;
  margin: 1rem;
  padding: 1.5rem;
  text-align: left;
  color: inherit;
  text-decoration: none;
  border: 2px solid white;
  border-radius: 10px;
  transition: color 0.15s ease;
  max-width: 300px;
  animation: 10s rotate linear infinite;
}

@keyframes rotate {
  to {
    --angle: 360deg;
  }
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

.card:hover,
.card:focus,
.card:active {
  border-image: conic-gradient(from var(--angle), black, white, black, white, black, white, black) 1;
}

.card h2 {
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
}

.card p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
}

.logo {
  height: 1em;
  margin-left: 0.5rem;
}

@media (max-width: 600px) {
  h1{
    font-size: 26px;
  }

  .mainTitle {
    width: 80%;
    text-align: center;
    text-shadow: 4px 4px 5px #383838;
    font-size: 3rem;
  }

  .grid {
    width: 100%;
    flex-direction: column;
  }
  .contactFormWrapper{
    min-height: 0;
  }
  .footerHeader{
    font-size: 24px;
    margin: 0;
  }
    .ctaLeftCard {
      display: flex;
      flex-direction: column-reverse;
      background-color: #fff;
      width: 100%;
      flex-wrap: nowrap;
      margin-bottom: 30px;
    }

    .ctaRightCard {
      display: flex;
      flex-direction: column;
      background-color: #fff;
      width: 100%;
      flex-wrap: nowrap;
      margin-bottom: 30px;
    }

    .ctaRightMedia {
      background-image: url("./images/montana.webp");
      background-size: cover;
      height: 200px;
      width: 100%;
      flex: auto;
      margin-right: auto;
    }

    .ctaLeftMedia {
      background-image: url("./images/constructionAltCropped.png");
      background-size: cover;
      height: 200px;
      width: 100%;
      flex: auto;
      margin-left: auto;
    }

    .ctaLeftContent {
      padding: 15px;
      clip-path: none;
    }

    .ctaRightContent {
      padding: 15px;
      clip-path: none;
    }

    .ctaTitle {
      width: 80%;
    }

    .ctaLeftCopy {
      width: auto;
    }

    .ctaRightTitle {
      width: 100%;
      margin-left: auto;
    }

    .ctaRightCopy {
      width: 100%;
      margin-left: auto;
    }
}
