html {
  background-color: #d8ede2;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #222;
  background-color: white;
  margin: 0;
  padding: 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100px;
  clip-path: path("M0,0 L0,100  Q90,20,300,0  Z");
  background: #d8ede2;
}

h1 {
  font-size: 4rem;
  margin: 2rem 0;
  font-weight: normal;
}

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

main,
footer {
  align-items: center;
  justify-content: center;
  text-align: center;
  align-content: center;
}

header {
  width: 100%;
  text-align: right;
}

header ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  width: 100%;
  justify-content: flex-end;
  padding: 1rem 1rem 0 0;
  box-sizing: border-box;
  color: #999;
}

header ul li::before {
  content: "/";
  margin: 0 0.5rem;
}

header ul li:first-child:before {
  content: "";
  margin: 0;
}

header ul li a {
  color: #688678;
}

main {
  max-width: 800px;
  margin: 0 auto;
}

.presentation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.presentation .intro {
  display: flex;
  gap: 2em;
  align-items: center;
}

.presentation .intro img {
  width: 220px;
  height: auto;
}

.presentation .intro p {
  margin: 0 0 1em;
  text-align: left;
  font-size: 1.5em;
  color: #688678;
}

.presentation .intro a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #d8ede2;
  border-radius: 6px;
  color: #688678;
  font-size: 0.8rem;
  transition: all 0.4s;
}

.presentation .intro a:hover {
  background-color: #222;
  color: #ddd;
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  border-top: 1px solid #d8ede2;

  background: url("../images/nz.png") no-repeat center center;
  background-size: contain;
  background-position: 100% 100%;
}

.about h2 {
  font-size: 2rem;
  margin: 3rem 0 1rem 0;
  font-weight: normal;
}

.about ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 550px;
  max-width: 90%;
}

.about ul li {
  padding: 0.75rem 0;
  margin: 0;
  position: relative;
}

.about ul li .cont {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: start;
  flex-flow: row wrap;
}

.about ul li .cont h3 {
  font-size: 1.1rem;
  font-weight: normal;
  margin: 0;
  order: 2;
  transition: opacity 0.75s 0.5s;
}

.about ul li .cont img {
  width: 100px;
  height: auto;
  order: 1;
  filter: grayscale(100%);
  transition: all 0.5s ease-in-out;
}

.about ul li p.cont-exp {
  margin: 0;
  top: 50%;
  left: 120px;
  opacity: 0;
  text-align: left;
  position: absolute;
  transition: opacity 0.5s 0.5s;
  transform: translateY(-50%);
  width: calc(100% - 130px);
}

.about ul li .cont:hover img {
  filter: grayscale(0%);
}

.about ul li .cont:hover p.cont-exp {
  opacity: 1;
}

.about ul li .cont:hover h3 {
  opacity: 0;
  transition: opacity 1s 0s;
}

footer {
  display: block;
  position: relative;
  width: 100vw;
  height: 100px;
  color: #999;
  padding-bottom: 1rem;
}

footer button {
  background-color: #d8ede2;
  border: 1px solid #d8ede2;
  border-radius: 6px;
  color: #688678;
  padding: 8px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.4s;
  min-width: 100px;
}

footer button:hover {
  background-color: #222;
  color: #ddd;
}

footer:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 100px;
  clip-path: path("M0,100 Q190,120,300,0 L300,0 L300,100 Z");
  background: #d8ede2;
}

@media screen and (max-width: 768px) {
  html {
    width: 100%;
    box-sizing: border-box;
  }

  body {
    font-size: 1rem;
    padding: 0 2rem;
    box-sizing: border-box;
  }

  h1 {
    font-size: 2.5rem;
  }

  .presentation {
    margin-bottom: 1.5rem;
  }

  .presentation .intro {
    flex-direction: column;
    gap: 2rem;
  }

  .presentation .intro img {
    width: 180px;
  }

  .about ul {
    width: 100%;
    margin: 1em 0;
    padding: 0;
  }

  .about ul li .cont img {
    width: 80px;
    flex: 0 0 80px;
  }

  .about ul li .cont h3 {
    font-size: 1.15rem;
    flex: 0 0 calc(100% - 100px);
    text-align: left;
  }

  .about ul li p.cont-exp {
    display: none;
    position: static;
    opacity: 1;
    transform: none;
    order: 4;
    width: 100%;
    padding-left: 100px;
    margin-top: -1rem;
    color: #444;
  }

  footer {
    box-sizing: border-box;
    width: 100%;
    height: 180px;
  }

  footer:after {
    right: -2rem;
    z-index: 0;
  }
}
