/* center website ----------------------------------------------------------------------*/
* {
  box-sizing: border-box;
}

body,
html {
  background-color: #f1f1f1;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Hero image and text styling */
.hero-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("img.jpeg");
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-text {
  text-align: center;
  position: absolute;
  font-size: 10vw;
  /* Use viewport width for responsive sizing */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 0 20px;
  /* Ensure it doesn't touch the edges */
}

/* Headings and paragraph styling */
h1 {
  font-family: "Open Sans", sans-serif;
  font-size: 5vw;
  /* Use viewport width for responsiveness */
  word-break: break-word;
  text-align: center;
  padding-top: 40px;
}

h2,
h3 {
  font-family: "Open Sans", sans-serif;
  font-size: 4vw;
  /* Use viewport width for responsiveness */
  word-break: break-word;
  text-align: center;
  padding-top: 40px;
}

p {
  font-family: Merriweather, serif;
  font-size: 2vw;
  /* Use viewport width for responsiveness */
  word-break: break-word;
  text-align: center;
}

/* About section styling */
.about {
  padding-bottom: 20px;
  background-color: #ddd;
}

.aboutp {
  padding-left: 10%;
  padding-right: 10%;
}

/* Media queries for smaller screens */
@media (max-width: 600px) {
  .hero-text {
    font-size: 12vw;
    /* Adjust size for smaller screens */
  }

  h1 {
    font-size: 8vw;
    /* Adjust size for smaller screens */
  }

  h2,
  h3 {
    font-size: 6vw;
    /* Adjust size for smaller screens */
  }

  p {
    font-size: 4vw;
    /* Adjust size for smaller screens */
  }
}

/*  ---------------------------------------------------------------------- */
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding-top: 20px;
}

/* top navigation bar---------------------------------------------------------- */
.topnav {
  background-color: white;
  overflow: hidden;
  padding: auto;
  position: fixed;
  top: 0%;
  width: 100%;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.right-link {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}

.topnav a {
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #666;
  color: white;
}

/* template container ------------------------------------------------------------- */
.template-container {
  padding-left: 2rem;
  padding-right: 2rem;
  display: grid;
  grid-template: 15vw 40rem / repeat(3, 1fr);
  gap: 2rem 1rem;
  margin: 2rem auto;
  max-width: 1200px;
}

.template-container h3 {
  grid-column: 1 / -1;
  font-family: "Open Sans", sans-serif;
  font-size: 2vw;
  word-break: break-word;
  margin-bottom: 1rem;
  color: black;
}

.template-container > div {
  text-align: center;
  display: grid;
  grid-template-rows: 1fr 3rem 3rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-image: url("comingSoon.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.template-container > div:hover {
  box-shadow: 0px 44px 60px #909090;
  transform: box-shadow 0.3s ease-in-out;
}

.template-container a {
  text-decoration: none;
  color: white;
  justify-content: center;
  opacity: 0.5;
  padding: 1rem;
}

.template-container a:hover {
  opacity: 1;
}

/* brochure template form */

form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 4rem;
  gap: 1rem;
}

.templatecontainer {
  padding: 0 5vw;
}

.brochureform {
  border-radius: 1rem;
  padding: 2rem;
  height: 110vh;
  display: grid;
  grid-template-rows: 2rem 5rem 2rem 1fr 2rem 1fr;
  background-color: #bbbbbb;
}

.brochureform input[type="text"],
.brochureform textarea {
  border: 1px solid #cccccc;
  border-radius: 1rem;
  width: 100%;
  height: 90%;
  padding: 1rem;
  resize: vertical;
}

form input[type="submit"] {
  margin: auto;
  /* center submit button */
  width: 40%;
  height: 90%;
  background-color: #7fffd4;
  border-radius: 0.25rem;
  border: 1px solid #9e7a7a;
  grid-column: 1 / -1;
  font-size: 1.5rem;
}

.brochureform label {
  font-size: 1.5rem;
}
