/*
  1. Use a more-intuitive box-sizing model.
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

/*
    2. Remove default margin
  */
* {
  margin: 0;
}

/*
    Typographic tweaks!
    3. Add accessible line-height
    4. Improve text rendering
  */
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/*
    5. Improve media defaults
  */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/*
    6. Remove built-in form typography styles
  */
input,
button,
textarea,
select {
  font: inherit;
}

/*
    7. Avoid text overflows
  */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/*
    8. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

a {
  text-decoration: none;
  color: #AA6E6B;
}

.navbar a {
  color: #2C2C2C;
  transition: 0.3s ease color;
}

.navbar a:hover {
  color: #AA6E6B;
  transition: 0.3s ease color;
}

ul {
  list-style-type: none;
}

/* System Fonts as used by GitHub */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #2C2C2C;
  background-color: #FAEFE6;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: top 0.3s ease;
  min-height: 8em;
}

.navbar:hover {
  transition: top 0.3s ease;
}


.navbar .menu ul {
  flex-flow: wrap;
  list-style: none;
  padding: 1em 4em;
  margin: 0;
  display: flex;
  gap: 2em;
}

.navbar .menu ul li {
  display: inline;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  color: #2C2C2C;
  flex: none;
  order: 2;
  flex-grow: 0;
}

.navbar .logo {
  height: 100%;
  padding: 1em 4em;
  /* Set the logo height to 100% of the navbar height */
}

.navbar .logo img {
  height: 100%;
  /* Set the image height to 100% of the parent (logo) height */
}

/* Content */
.content {
  display: flex;
  min-height: 100vh;
  /* padding-top: 80px;  Adjust as needed to avoid content overlapping with navbar */
}

.content .right {
  display: flex;
  flex-direction: column;
  /* Stack children vertically */
  align-items: flex-end;
  /* Align children to the right (horizontally) */
  justify-content: flex-end;
}

.content .left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Align content to the bottom */
}

.signature {
  max-width: 50%;
  /* Limit the image width to 50% of its container */
  height: auto;
  z-index: 900;
}

.about-pic {
  position: sticky;
  bottom: 4em;
}

.column {
  flex: 1;
  padding: 4em;
  width: 50%;
}

.infobox {
  max-width: 18em;
  padding-top: 8em;
}

.infobox2 {
  max-width: 36em;
  padding-top: 8em;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

.navbar .column {
  backdrop-filter: blur(10px) contrast(100%);
  padding: 0em;
}

.navbar .right {
  height: inherit;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar .left {
  height: inherit;
}

/*footer*/
footer {
  background-color: #2C2C2C;
  color: #FAEFE6;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

footer .column {
  padding: 1em 4em;
}

footer .left {
  display: flex;
  flex-direction: row;
  align-items: center;
}

footer ul {
  font-size: 1em;
  font-weight: 700;
}

footer a {
  color: rgba(250, 250, 250, 0.5);
}

footer a:hover {
  color: rgba(250, 250, 250, 1);
}

footer .subtitle {
  font-weight: 700;
  font-size: 2em;
  color: #FFFFFF;
  /* Inside auto layout */
  flex: none;
  order: 0;
  flex-grow: 0;
}

footer .subcolumn {
  max-width: 66%;
}

.content2 {
  flex-direction: column;
  padding-top: 12em;
}

.project {
  height: 20em;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.project.expanded {
  height: 100vh;
  /* Set the height to the full height of the viewport */
}

.project-info {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 20em;
  padding: 4rem 4rem 4rem 3rem;
  background: rgb(0, 0, 0, 0.33);
  transition: 0.3s ease background;
  height: 100%;
  min-width: 16rem;
  backdrop-filter: blur(6px);
}

.project-info h2,
h4,
h3 {
  color: #FFFFFF;
}

.navbar2 {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 900;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  min-height: 8em;
  background-color: rgba(250, 239, 230, 0.7);
  backdrop-filter: blur(10px) contrast(100%);
  transition: top 0.3s ease, background-color 0.6s ease;
  padding: 0;
}

.navbar2:hover {
  background-color: rgba(250, 239, 230, 0.9);
  transition: background-color 0.6s ease;

}

.navbar .column2 {
  background-color: transparent;
  backdrop-filter: none;
}

.navbar .column2 {
  background-color: transparent;
  backdrop-filter: none;
}

.navbar .column2:hover {
  background-color: transparent;
  transition: 0.3s ease background-color;
}

.projects-title {
  padding: 0 4em 4em;
  max-width: 50%;
}

.services-columns {
  display: flex;
}

.services-image {
  width: 100%;
  mix-blend-mode: darken;
}

.navbarActive {
  color: #AA6E6B !important;
}

.site-content {
  display: contents;
  text-align: left;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centered-text {
  display: none;
}

/* Media query to hide the site content on screens smaller than 768px */
@media (max-width: 1200px) {

  .navbar .menu ul {
    display: none;
  }

  .menuOverlay {
    z-index: 950;
    background-color: rgba(250, 239, 230, 0.9);
    backdrop-filter: blur(10px) contrast(100%);
    width: 100%;
    height: 100%;
    position: fixed;
    justify-content: center;
  }

  .menuOverlay .menu {
    justify-content: center;
    align-items: center;
    display: flex;
  }

  .menuOverlay .menu ul {
    row-gap: 1em;
    display: flex;
    flex-direction: column;
    font-weight: 700;
    padding: 0;
  }

  .menu-icon {
    display: block;
    z-index: 960 !important;
    right: 2em !important;
  }

  #hambIcon {
    display: block;
  }

  .menuOverlay {
    background-color: rgba(250, 239, 230, 0.99);
  }

  .navbar2 {
    background-color: rgba(250, 239, 230, 0.85);
  }

  .infobox {
    max-width: 100%;
  }

  .infobox2 {
    max-width: 100%;
  }

}

/* Media query to show text if smaller than 768px */
@media (max-width: 768px) {
  .infobox {
    max-width: 100%
  }

  .content {
    flex-direction: column;
  }

  .content .column {
    width: 100%;
  }

  .projects-title {
    width: 100%;
    max-width: 100%;
  }

  .project-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    max-width: unset;
    padding: 1rem 1rem 1rem 1rem;
    background: rgb(0, 0, 0, 0.33);
    transition: 0.3s ease background;
    height: unset;
    min-width: 100%;
    backdrop-filter: blur(6px);
  }

  footer .subcolumn {
    max-width: unset
  }

  .submenu {
    display: none;
  }

  footer .column {
    width: 100%;
  }

  footer {
    flex-direction: column;
  }

  .column {
    padding: 2em;
  }

  .navbar .logo {
    padding: 1em 2em;
  }

  .projects-title {
    padding: 0em 2em 4em 2em;
  }

  .project-info {
    align-items: flex-end;
    justify-content: flex-end;
    row-gap: 2rem;
    padding: 1rem 2rem 2rem 2rem;
  }

  #about-pic-container {
    display: none;
  }

  #about-pic-container-mobile {
    display: block !important;
  }

  #serviceMobile {
    display: flex !important;
  }

  #serviceDesktop {
    display: none;
  }

  .footer-column {
    padding: 1em 2em !important;
  }




}

.project .project-info .projectDescription {
  display: none;
  opacity: 0%;
  transition: 0.3s ease opacity;
}

.project.expanded .project-info .projectDescription {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: white;
  margin-top: 1rem;
  opacity: 100%;
  transition: 0.3s ease opacity;
}

.project.expanded .project-info {
  background: rgb(0, 0, 0, 0.50);
  transition: 0.3s ease background;
  height: 100%;
  overflow: scroll;
}

.project.expanded .project-info:hover {
  background: rgb(0, 0, 0, 0.66);
  transition: 0.3s ease background;
}





.icon {
  height: 36px;
  width: 36px;
}

.footerIcon {
  height: 1.5rem;
  width: 1.5rem;
  opacity: 50%;
}

.socialIcons {
  display: flex;
  justify-content: flex-end;
  flex-direction: row;
  gap: 0.5rem;
  
}

.SInyi {
  opacity: 50% !important;
}

.projectList {
  display: flex;
  column-gap: 2rem;
}

.projectHeader {
  text-align: right;
}

.ctaButton {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  gap: 10px;
  background: rgba(143, 66, 66, 0.75);
  border-radius: 8px;
  transition: 0.15s ease background;
}

.ctaButton:hover {
  background: rgba(143, 66, 66, 0.85);
  transition: 0.15s ease background;
}

.ctaButtonText {
  font-weight: 700;
  flex: none;
  order: 1;
  flex-grow: 0;
  color: #FFFFFF;
}













.menu-icon {
  font-size: 24px;
  color: #fff;
  cursor: pointer;
  z-index: 1000;
  position: fixed;
  top: 2em;
  right: 4em;
  display: none;
}

.menuOverlay {
  display: none;
}

#hambIcon2 {
  display: none;
}





.contact-form {
  max-width: 100%;
  margin: 20px auto;
}

.label,
.text-box,
button {
  display: block;
  margin-bottom: 15px;
}

.text-box {
  border: 0px;
  border-radius: 8px;
  background-color: rgba(143, 66, 66, 0.10);
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.contact-form h3 {
  color: #2C2C2C;
  margin-bottom: 0.5rem;
}

.static-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ctaButton2 {
  margin-top: 1rem;
  border: 2px solid;
  background: transparent;
}

.ctaButton2 {
  margin-top: 1rem;
  border: 2px solid;
  background: transparent;
}

.ctaButton2:hover {
  background: rgb(236, 215, 215)
}

.ctaButtonText2 {
  color: rgba(143, 66, 66, 0.75)
}

#content {
  resize: vertical;
}

#about-pic-container-mobile {
  display: none;
}

#ctaButtonBottom {
  border-radius: 0px;
}

#image-compare {
  position: sticky;
  bottom: 4em;
}

#serviceMobile {
  display: none
}

#footerNotes {
  color: rgba(250, 250, 250, 0.5);
}

.footer-column {
  padding: 1em 4em;

}

.schools {
  gap: 2rem;
  display: flex;
  justify-content: center;
  opacity: 50%;
}

.address {
  text-align: right;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}