html {
  box-sizing: border-box;
}

*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background: #f8f8f8;
  color: #555;
  font-weight: 300;
}

/* ------ header ------ */
header {
  width: 90%;
  margin: 60px auto 0 auto;
}

header h1 {
  margin: 0;
  font-size: 2.3rem;
}

.info {
  margin-top: 40px;
  font-size: 1.3rem;
}

.note {
  text-align: right;
  margin-top: 40px;
  font-size: 1.5rem;
}

header a {
  text-decoration: none;
  color: #d35400;
  border-bottom: 3px solid transparent;
  transition: border 0.5s, color 0.5s;
  font-weight: 400;
}
header a:active,
header a:hover {
  text-decoration: none;
  color: #000;
  border-bottom: 3px solid #d35400;
}

header a {
  color: #555;
}

/* ------ section ------ */
.wrapper {
  width: 90%;
  margin: 60px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 210px;
  grid-row-gap: 60px;
  grid-column-gap: 30px;
}

.wrapper h3 {
  font-size: 1.1em;
  display: inline-block;
  font-weight: 300;
  border-bottom: 3px solid transparent;
  transition: border 0.5s;
}

.item a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 3%;
  transition: transform 0.3s ease-in-out;
}

.item a img:hover {
  transform: scale(1.1);
}

.item a {
  text-decoration: none;
  color: #444;
  transition: color 0.5s;
}

.item a:hover h3 {
  color: #000;
  border-bottom: 3px solid #d35400;
}
