@font-face {
  font-family: "Roboto", sans-serif;
  src: url("./fonts/static/Roboto-Black.ttf");
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0 auto;
  background: #f4f4f4;
}

header {
  background: #313234;
  height: 50px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header > nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

header > nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  gap: 20px;
}

header > nav ul > li {
  list-style: none;
}

header > nav ul > li > a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
}

header > nav img {
  padding: 10px 0;
  float: left;
  height: 30px;
}

.hero {
  background-image: url("images/welcome.jpg");
  background-size: cover;
  background-position: center;
  height: 400px;
  position: relative;
  color: white;
  background-position-y: 72%;
}

.slogan {
  background: rgba(0, 0, 0, 0.5);
  float: right;
  max-width: 800px;
  padding: 20px;
  margin-top: 8em;
}

.achievements {
  padding: 40px 20px;
}

.achievements-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
}

.workshop-container {
  margin: 0 auto;
  text-align: center;
}

.workshop-container img {
  height: 400px;
  width: 300px;
  object-fit: cover;
}

.grid-item {
  color: white;
  margin: 20px;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  background: #313234;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.item-title {
  margin-bottom: 10px;
  font-size: 25px;
}

.item-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.item-info ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.item-info ul li {
  margin: 10px 0;
  color: #e6e6e6;
  display: block;
}

footer {
  background: #313234;
  padding: 0.01em;
  margin-top: 1.7em;
}

footer p {
  text-align: center;
  color: #b0b5c4;
}

footer a {
  text-decoration: none;
  color: #ffc532;
}

.social {
  margin: 3em auto 0;
  text-align: center;
}

.icon-btn {
  height: 75px;
  width: 75px;
  border: 0;
  border-radius: 50%;
  margin: 5px;
  cursor: pointer;
  font-size: 40px;
}

.container-title {
  font-size: 40px;
  text-align: center;
}

.achievements-container,
.workshop-container {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .achievements-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 505px) {
  header > nav ul {
    font-size: 12px;
    gap: unset;
  }
}
