/*universal styling */
* {
  margin: 0;
  padding: 0 !important;
  box-sizing: border-box;
}
/*body*/
body {
  font-family: Garamond, sans-serif;
  background-color: #fff;
  overflow: auto !important;
}
/* wrapper*/

/*logo*/
.logo {
  width: 6rem;
  height: auto;
  border-radius: 8px;
}
.menuicon {
  font-size: 2rem;
  margin-left: 10rem;
  cursor: pointer;
  color: #ed4672;
  display: block;
}

/*header*/
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  padding: 10px 20px;
  background-color: #fed9e1;
  color: #ffffff;
}
nav {
  display: none;
}
nav ul {
  list-style: none;
} /*
.header-text ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
  color: #ed4672;
}
.header-text {
  margin: 5px 1px;
}*/
header p {
  font-size: 1.1rem;
  font-weight: bold;
  font-style: italic;
  color: #ed4672;
  margin-top: 2rem;
}
/*article*/
.hero-article {
  background-color: #fed9e1;
  margin: 2rem 1.5rem;
  font-size: 400;
  color: #767676;
  display: flex;
  flex-direction: column;
}
.hero-article h2 {
  font-size: 2rem;
  text-align: center;
  padding: 3px;
  line-height: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.hero-article p {
  font-size: 1.2rem;
  line-height: 1.7rem;
  margin: 0 8px;
}
.hero-article img {
  width: 100%;
  height: auto;
  margin-top: 2rem;
  margin-bottom: 0;
}
.image-section h2 {
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: bold;
  color: #ed4672;
}

.image-section img {
  width: 90%;
  margin-left: 1rem;
  border-radius: 5px;
}
.image-featured img:hover {
  transform: scale(1.2);
  opacity: 0.9;
}
.image-featured {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem;
}
.about-me {
  background-color: #fed9e1;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  margin-top: 30px;
  gap: 3rem;
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 50px;
}
.aboutme-image {
  background-position: left center;
  background-size: cover;
  overflow: hidden;
  max-height: 100%;
  width: 100%;
}
.about-me p {
  font-size: 1.3rem;
  font-weight: 300;
  color: #767676;
  line-height: 2rem;
  margin-right: 2rem;
  margin-left: 2rem;
  margin-top: 2rem;
  margin-bottom: 3rem;
}
.about-me em {
  color: #ed4672;
}

footer img {
  width: 100px;
  margin-left: 8rem;
}
hr {
  margin-top: 0;
  background-color: #ccc;
  width: 60%;
}
footer p {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 3rem;
}
footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
.secondp {
  text-align: center;
  font-size: 0.9rem;
  color: #767676;
  margin-top: 2rem;
  margin-bottom: 5rem;
}
@media screen and (min-width: 540px) {
  .container {
    overflow-x: hidden;
  }
}
@media screen and (min-width: 900px) {
  .header-text p {
    margin-right: 1.5rem;
  }
  .menuicon {
    display: none;
  }
  nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }
  nav ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding: 15px;
    margin: 0 3px;
    background-color: #fed9e1;
    margin-top: 3rem;
    width: 95%;
    border-radius: 8px;
    margin-right: 30px;
    margin-bottom: 100px;
  }
  nav ul li {
    background-color: #ffb6c1;
    font-size: 1.5rem;
    font-weight: 400;
    border-radius: 8px;
    text-align: center;
  }
  .hero-article img {
    margin: 0;
    width: 600px;
    height: 407px;
  }

  .hero-article {
    display: flex;
    flex-direction: row-reverse;
    height: 50vh;
  }
  .image-featured {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 97%;
    height: 50vh;
    margin-right: 1.2rem;
    margin-left: 1.1rem;
  }
  .aboutme-image {
    width: 100%;
    height: 60vh;
    margin: 0;
  }
  .about-me {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 8px;
    height: 60vh;
  }
  .aboutme p {
    margin-left: 2rem;
  }
}
footer {
  margin-top: 100px;
  margin-bottom: 50px;
}
