* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Fira Code", monospace;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

header {
  background-color: #333333;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

header h1 {
  color: #ffffff;
  font-size: 16px;
  margin: 20px auto;
}

nav {
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
}

nav ul li {
  font-size: 16px;
  text-decoration: none;
  list-style: none;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
}

nav ul li a:hover {
  color: #000;
  background-color: #cccccc;
}
main {
  display: grid;
  grid-template-columns: 4fr 2fr;
  flex-grow: 1;
  color: #000000;
  background: #cccccc;
  max-width: 1024px;
  margin: 0 auto;
}

.card {
  background: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px;
}

.card h2 {
  color: #ffffff;
  font-size: 20px;
  background-color: #000000;
  padding: 10px;
  text-align: center;
}

.card div {
  padding: 10px;
  display: flex;
  flex-direction: row;
}
.card div img {
  width: 150px;
  height: 200px;
  margin-right: 20px;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.card div div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  gap: 10px;
  text-align: center;
}

.card div div h3 {
  font-size: 24px;
  color: #000000;
}

.card div div img {
  width: 200px;
  height: 150px;
  margin-right: 10px;
}

.card ul {
  list-style: none;
  display: flex;
  flex-direction: column;

  align-items: center;
  height: 100%;
  gap: 35px;
  padding: 40px 0 0 0;
}
.card ul li a {
  color: #000000;
  font-size: 16px;
  text-decoration: none;
  list-style: none;
  background-color: #cccccc;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

footer {
  background-color: #333333;
  height: 100px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  color: #ffffff;
  text-align: center;
}
