/* General / Home */
* {
  box-sizing: border-box;
}
body {
  background-color: #253a25;
  color: #2e3f35;
  font-family: "Montserrat", Helvetica, sans-serif;
  line-height: 1.75rem;
}
#wrapper {
  background-color: #86a586;
  border-radius: 25px;

}
header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 25px;
  background-color: #86a586;
  color: #2e3f35;
  padding: 0.5em 0.75em;
}

header a {
  text-decoration: none;
}

header a:link,
header a:visited {
  color: rgb(2, 2, 2);
}
header a:hover {
  color: #70706e;
}
nav {

  padding: 0;
  text-align: center;
}
nav ul {
  font-size: 1.2em;
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}
nav li {
  border-bottom: 1px solid #2e3f35;
  padding-top: 10px;
  padding-bottom: 10px;
}
nav a {
  text-decoration: none;
  transition: color 1s ease-out;
}
nav a:link {
  color: #2e3f35;
}
nav a:visited {
  color: #2e3f35;
}
nav a:hover {
  color: #70706e;
}
main {
  background-color: #fffaf2;
  padding: 1px 20px 20px 30px;
  display: block;
  overflow: auto;
  border-radius: 25px;
}

a {
  text-decoration: none;

}

h1 {
  flex: 1 1 auto;
  margin: 0;
  word-break: normal;
  letter-spacing: 0.25em;

  font-size: 2.5rem;
  text-align: center;
  
}
h1 a {
  color: inherit;
  text-decoration: none;
}

img {
  border-radius: 0%;
}
h1,
h2,
h3,
footer {
  font-family: "Cardo", serif; /* ff */
}
h2 {
  color: #2e3f35;
}
h3 {
  color: #2e3f35;
}

footer {
  background-color: #86a586;
  font-size: 50%;
  font-style: italic;
  padding: 2em;
  text-align: center;
}
#logo {
  max-height: 150px;
  width: auto;
  display: block;
  
 
}

#conto {
  font-size: 2rem;
}

/* Contact Page */

#contact {
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
  padding-top: 20px;
  background-color: #fffaf2;
  border-radius: 1%;
}
#contact a {
  color: #253a25;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
}

#contact a {
  color: #253a25;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
}
#newclient {
  font-size: 1.15em;
}

/*About Page*/

#about {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: center;
}

#about a {
  color: #253a25;
}
section p {
  margin: 0 10px 0 10px;
  font-size: small;
}

#about .fa-solid {
  margin: 20px 0 10px 0;
}
.text {
  text-align: left;
}


/*Form Page*/

label.error {
  color: red;
  font-size: 0.75rem;
}

#submit {
  padding-top: 25px;
}

#blindsContainer {
  display: none;
}

#spacing {
  padding-top: 7px;
  padding-bottom: 7px;
}

/* content links */
main a {
  color: #253a25;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 2px;
}
main a:hover { color: #70706e; }
main a:visited { color: #2e3f35; }

/*Testimonials Page*/

@keyframes bobbing {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

.notice{
  background: #fffaf2;
  border: 1px solid #2e3f35;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 12px 0 20px;
}

#testimonials blockquote {
  animation: bobbing 3s infinite;
}

.cap {
  margin-top: 5px;
  text-align: center;
}
blockquote {
  padding: 1rem 1rem 1rem 1rem;
}
.quote {
  font-size: 1.5rem;
}
dt {
  margin-bottom: 15px;
  font-family: "Cardo", serif;
  font-size: large;
}
dd {
  margin-bottom: 35px;
  margin-right: 45px;
}
dd a {
  color: #253a25;
}

#dont {
  text-transform: uppercase;
  font-size: 0.9em;
}

/* Services Page */
#services h2 {
  padding-top: 10px;
}

#services li:last-of-type {
  padding-bottom: 10px;
}

.flex-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* Align items to the start of the container */
}

.flex-container > div {
  flex: 1; /* Allow both divs to grow and shrink equally */
  margin-right: 20px; /* Add some spacing between the two divs */
}

.flex-container > div:last-child {
  margin-right: 0; /* Remove the margin from the last div */
}

#mobile-hero-logo {
  display: none;
  max-width: 120px;
  height: auto;
  margin: 0 auto 12px;
}


@media (max-width: 600px) {
  header {
    background-image: none;
  }
  #logo {
    display: none;
  }
  #mobile-hero-logo {
    display: block;
  }

  h1 {
    font-size: 1.9rem;
    letter-spacing: .12em;
  }
  #about {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
  
}
@media (min-width: 600px) {
  nav ul {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
  }
  nav li {
    border-bottom: none;
  }
  .flow {
    display: flex;
    flex-direction: row;
  }
}
/* Responsive h1 sizing */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
    letter-spacing: 0;
  }
}
@media (min-width: 1024px) {
  #wrapper {
    margin: auto;
    width: 80%;
  }
  nav {
    text-align: center;
    padding-left: 0;
  }

  @supports (display: grid) {
    nav ul {
      flex-direction: column;
      padding-top: 1em;
    }


    header {
      grid-area: header;
    }
    nav {
      grid-area: nav;
    }
    main {
      grid-area: main;
    }

    footer {
      grid-area: footer;
    }
    #wrapper {
      display: grid;
      grid-template:
        "header header"
        "nav main"
        "nav main"
        "nav footer"
        / 180px 1fr;
    }
  }
}
@media (max-width: 545px) {
  h1 {
    letter-spacing: 0em;
  
  }
}
@media (max-width: 400px) {
  h1 {
    letter-spacing: 0em;
  }
  a > img {
    display: none;
  }
}
@media (max-width: 422px) {
  #contact a {
    font-size: 1rem;
  }
  #conto {
    font-size: 1.6rem;
  }
  
}
