* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Regular.woff2") format("woff2"),
    url("../fonts/Geist-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Medium.woff2") format("woff2"),
    url("../fonts/Geist-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist-Bold.woff2") format("woff2"),
    url("../fonts/Geist-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

html,
body,
address,
blockquote,
div,
form,
fieldset,
caption,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
ul,
li,
ol,
ul,
table,
tr,
td,
th,
p,
img {
  margin: 0;
  padding: 0;
}

img,
fieldset {
  border: none;
}

html,
body {
  font-family: "Geist", sans-serif;
  height: 100%;
  max-width: 1920px;
  scroll-behavior: smooth;
  background-color: rgba(62, 62, 62, alpha);
  margin: 0 auto;
  text-size-adjust: none;
  font-size: 1.887rem;
}

::-moz-selection {
  /* Code for Firefox */
  color: white;
  background: black;
}

::selection {
  color: white;
  background: black;
}

a:link,
a:visited,
a:hover,
a:active {
  text-decoration: none !important;
  color: inherit;
}

.container {
  display: flex;
  flex-direction: column;
  padding-left: 192px;
  padding-right: 192px;
}

header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 20%;
  font-size: 1.887rem;
  font-weight: 700;
  padding: 64px 0 64px 0;
}

header .logo {
  align-items: center;
  font-size: 1.887rem;
}

header .logo img {
  height: 128px;
}

header nav ul {
  display: flex;
  flex-direction: row;
  font-size: 1.887rem;
  font-weight: 400;
  align-items: center;
  gap: 32px;
}

header nav ul li {
  display: flex;
  list-style: none;
}

header nav ul li a {
  display: flex;
  font-size: 1.887rem;
  font-weight: 400;
  align-items: center;
  justify-content: center;
}

header nav ul li a:hover {
  cursor: pointer;
  opacity: 0.5;
}

header nav ul li a:active {
  opacity: 0.25;
}

main {
  display: flex;
  flex-direction: column;
}

main h1 {
  font-size: 2.83rem;
  margin-top: 64px;
  color: #000000;
}

.cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 64px;
  margin-top: 128px;
  height: 100%;
}

footer {
  border-top: solid 1.6px black;
  margin-top: 128px;
  padding: 64px 0 64px 0;
}

footer p {
  font-size: 1.887rem;
}

@media (max-width: 64em) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  header {
    flex-direction: column;
    height: auto;
    padding: 64px 0 64px 0;
  }

  header .logo {
    margin-bottom: 64px;
  }

  header nav ul {
    flex-direction: column;
  }

  main h1 {
    font-size: calc(2.83rem *0.5);
  }

  .cards {
    gap: 128px;
    justify-content: center;
  }
}
