@charset "utf-8";
/* CSS Document */
header {
      text-align: center;
      padding: 2rem 1rem 1.4rem;
    }

body {
      font-family: 'Europa', system-ui, sans-serif;
      color: #000;
      display: flex;
      flex-direction: column;
    }

.logo {
      font-family: 'Ivymode', serif;
      font-size: 72px;
	  color: #000;
      text-decoration: none;
      display: inline-block;
      text-align: center;
    }

.logo:hover {
      color: #6f6350;
    }

nav {

      display: flex;
      justify-content: center;
      flex-wrap: wrap;
	  gap: 2rem;
    }

nav a {
	  font-family: 'Europa', sans-serif;
	  color: #000;
      font-size: 20px;
	  text-decoration: none;
      letter-spacing: 0.10em;
      text-transform: uppercase;
      transition: color 0.25s ease;
    }

nav a:hover {
      color: #6f6350;
    }

header a[href="index.html"] {
  color: #6f6350;
    }
	
main {
      flex: .5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem 1.5rem 3rem;
	  font-size: 16px;
    }

strong {
	color: #6f6350;
}

.hometext {
	color: #6f6350;
	text-align: center;
}

.home {
      max-width: 943px;
      width: 80%;
      text-align: center;
    }

.caption {
      font-size: 0.85rem;
      color: #000;
      letter-spacing: 0.02em;
    }

 footer {
      text-align: center;
      padding: 1rem;
    }

.copyright {
      font-size: 16px;
      color: #6f6350;
	  letter-spacing: 0.05em;
    }

.design {
	  font-size: 12px;
      color: #000;
}

/* Biography */

.biotext {
	display: flex;
    flex-direction: column;
	text-align: left;
	color: #6f6350;
}

.biotext p {
	color: #6f6350;
}

.bioimage {
  width: 100%;
 align-items: center;
	}

/* Portfolio */

.portfoliomain {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 4rem;
}

.portfoliogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
  align-items: start;
}

.portfoliogroup {
  margin: 0;
  position: relative;
}

.portfolioimg {
  width: 100%;
  height: auto;
  display: block;
}

.group1 {
  max-width: 450px;
  justify-self: end;
  margin-top: 1rem;
}

.group2 {
  max-width: 450px;
  justify-self: start;
  margin-top: 1rem;
}

.group3 {
  max-width: 450px;
  justify-self: end;
  margin-top: -21rem;
  margin-left: -10rem;
}

.group4 {
  max-width: 450px;
  justify-self: start;
  margin-top: 2rem;
}

.photocaptiontopleft {
  margin-bottom: 0.6rem;
  text-align: left;
}

.photocaptiontopright {
  margin-bottom: 0.6rem;
  text-align: right;
}

.photocaptionbottomleft {
  margin-top: 0.7rem;
  text-align: left;
}

.photocaptionbottomright {
  margin-top: 0.7rem;
  text-align: right;
}

/* Contact */

.contactmain {
  max-width: 620px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  text-align: center;
}

.contactform {
  text-align: left;
  margin-bottom: 2.5rem;
}

.formgroup {
  margin-bottom: 1.6rem;
}

.formgroup label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #6f6350;
}

.required {
  font-weight: 400;
  color: #777;
  font-size: 0.85rem;
}

.namefields {
  display: flex;
  gap: 1rem;
}

.namefields > div {
  flex: 1;
}

.fieldnote {
  display: block;
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.3rem;
}

.contactform input[type="text"],
.contactform input[type="email"],
.contactform textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid #ccc;
  border-radius: 2px;
  font-family: 'Europa', system-ui, sans-serif;
  font-size: 0.95rem;
  background: #fafafa;
  transition: border-color 0.2s ease;
}

.contactform input:focus,
.contactform textarea:focus {
  outline: none;
  border-color: #6f6350;
  background: #fff;
}

.contactform textarea {
  resize: vertical;
  min-height: 120px;
}

.submitbtn {
  display: block;
  padding: 0.6rem 1.8rem;
  background: transparent;
  border: 1px solid #999;
  font-family: 'Europa', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  transition: all 0.25s ease;
  margin: 0.5rem auto;
}

.submitbtn:hover {
  background: #6f6350;
  border-color: #6f6350;
  color: #fff;
}