
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

.geist {
  font-family: "Geist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: italic;
}

/* General Styles */
:root {
  --bg: #E5E4E2;
  --text: #151515;
  --yellow: #EDB74D;
  --red: #EB6666;
  --green: #6FB18A;
}
hr {
  border: none;
  border-top: 1px solid black;
  opacity: 0.6;
  width: 100%;
  max-width: 800px;
  margin: 20px 0;
}
body {
  height: auto;
  margin: 0;
  padding: clamp(20px, 4vw, 50px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  
  background-color: var(--bg);
  
  margin: 0 10em;
}
.numbers {
  font-size: 15px;
  color: var(--text);
  opacity: 0.6;
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
}
.hero {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 3em;
  position: relative;
  max-width: 800px;
}
.info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
  text-decoration: none;
  max-width: 800px;
}
.info h2 {
  margin: 0;
}
.info ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  width: 100%;
  counter-reset: link-counter;
}
.info ul li {
  list-style: none;
  width: 100%;
  counter-increment: link-counter;
}
.info ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  width: 100%;
  padding: 0.6em 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 16px;
}
.info ul li a::before {
  content: counter(link-counter);
  font-size: 11px;
  vertical-align: super;
  margin-right: 0.4em;
  opacity: 0.5;
}
.info ul li a::after {
  content: '↗';
  font-size: 18px;
  opacity: 0.5;
  margin-left: auto;
}
.info ul li a:hover {
  opacity: 0.6;
}
.info ul li:last-child a {
  border-bottom: none;
}

.hero-text h1 {
  font-size: 55px;
  margin: 0;
  padding: 0;
}
.hero-text p {
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 2em;
}

.button {
  padding: 1em 3em;
  border: 1px solid var(--text);
  font-size: 18px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
}

.portfolio {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 2em;
}
.portfolio h2 {
  margin: 0;
}
.article-header {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.article-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.article-header p {
  margin: 0;
  font-size: 16px;
}
.article-header .date {
  margin-left: auto;
  font-size: 15px;
  opacity: 0.6;
}
.article-desc {
  margin: 0.3em 0 0.5em 0;
  font-size: 14px;
  opacity: 0.6;
}
.portfolio iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 5px;
}

@media only screen and (max-width: 1000px) {
  body {
    margin: 1em;
  }
}