/* Colors
#D9C4B8 dark brown 
#D9C4B8 grey
#73523F brown
#FFC6A6 tan
#FFA673 orange tan
#ff7f50 orange
*/

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Times New Roman", Times, serif;
  background-color: #403630;
  color: white;
  line-height: 1.6;
  font-size: 25px;
}

h3 {
  color: #ff7f50;
}

/* Navbar */
.navbar {
  list-style: none;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #73523F;
  color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#wrapper {
  height: 90%;
  margin: 5%;
  max-width: 1276px;
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 5% auto;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ff7f50;
}

/* Greeting */
.greeting {
  padding: 2rem;
  text-align: center;
  font-size: 1.8rem;
  color: #ff7f50;
}

/* Profile Image */
.profile-image {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.profile-image img {
  width: auto;
  height: auto;
  border: 4px solid #ff7f50;
  object-fit: contain;
}

/* About Section */
.about {
  max-width: 600px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: left;
  font-size: 1.5rem;
}

.image-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}


.image-box {
  flex: 1 1 45%;
  max-width: 600px;
  min-width: 500px;
  background-color: black;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}


.image-box img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border: 2px solid #ff7f50;
}

.image-text {
  color: white;
  flex: 1;
}

.image-text h3 {
  color: #ff7f50;
  margin-bottom: 0.5rem;
}

.image-text p {
  color: white;
}


/* Footer */
.footer {
  background-color: #73523F;
  color: white;
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 2rem;
}

/* Mobile: up to 799px */
@media (max-width: 799px) {
  .image-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 90%;
    margin: 0 auto;
  }

  .image-box img {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  .image-text {
    padding-top: 1rem;
  }

  #big-grid,
  #large-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2%;
  }
}

/* Tablet: 800px to 900px */
@media (min-width: 800px) and (max-width: 900px) {
  #big-grid,
  #large-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2%;
  }
}

/* Desktop: 901px and up */
@media (min-width: 901px) {
  #big-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1%;
  }

  #large-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2%;
  }
}
