@font-face {
  font-family: "Inter";
  src: url(fonts/Inter-Regular.ttf);
  font-weight: normal;
}

@font-face {
font-family: "Inter";
src: url(fonts/Inter-Medium.ttf);
font-weight: medium;
}

@font-face {
font-family: "Inter";
src: url(fonts/Inter-Bold.ttf);
font-weight: bold;
}

@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/SpaceGrotesk-Light.ttf);
  font-weight: light;
}

@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/SpaceGrotesk-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/SpaceGrotesk-Medium.ttf);
  font-weight: medium;
}

@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/SpaceGrotesk-SemiBold.ttf);
  font-weight: semibold;
}

@font-face {
  font-family: "Space Grotesk";
  src: url(fonts/SpaceGrotesk-Bold.ttf);
  font-weight: bold;
}

:root {
  --min-width: 640px;
  --med-width: 960px;
  --max-width: 1280px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  padding: 24px;
  font-family: "Inter";
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-items-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.profile-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.profile-picture-container {
  display: flex;
}

.logo {
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  width: 48px;
/*   -webkit-transform: scaleX(-1);
  transform: scaleX(-1); */
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.5px;
  font-size: clamp(1rem, 0.9565rem + 0.2174vi, 1.125rem);
}

.profile-name {
  font-weight: bold;
}

.profile-job {
  color: #7d7d7d;
}

nav {
  display: flex;
  background-color: #f3f3f3;
  border-radius: 12px;
  padding: 8px;
}

nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-decoration: none;
  list-style-type: none;
  gap: 8px;
}

nav ul li {
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav ul a {
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  color: #7d7d7d;
  padding: 8px 12px;
  text-align: center;
}

nav > ul > li:first-child {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

main {
  margin-block: 48px;
}

h1 {
  margin-bottom: 20px;
  font-size: 48px;
  font-family: "space grotesk";
}

.notification {
  margin-bottom: 24px;
  padding: 12px;
  border-radius: 6px;
  background-color: rgb(215, 236, 243);
  width: fit-content;
  font-size: 14px;
}

.notification a {
  font-weight: bold;
  text-decoration: none;
  color: rgb(0, 140, 183);
}


.project-teaser-container {
  width: 100%;
  max-width: var(--med-width);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 48px;
}

.project-teaser-item {
  width: 100%;
  transition: transform ease 0.5s, box-shadow ease 0.5s;
  border-radius: 12px;
}

.project-teaser-item:hover {
 transform: scale(1.025);
}

.teaser-header-container {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.arrow {
  background-color: white;
  width: 45px;
height: 42px;
aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  padding-bottom: 2px;
  margin-top: -14px;
  margin-right: -14px;
}

.project-teaser-item img {
  border-radius: 0 0 12px 12px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: 100%;
}

.project-teaser-info {
  color: #353535;
  background-color: #f3f3f3;
  padding: 36px;
  padding-bottom: 24px;
  border-radius: 12px 12px 0 0;
}

.project-teaser-info > span {
  display: block;
  font-size: 12px;
  line-height: 140%;
  margin-bottom: 24px;
  padding-right: 60px;
}

.tags-container {
  display: flex;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: bold;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 4px 8px;
  color:#35353599;
}

.project-teaser-item a {
  text-decoration: none;
  display: block;
}

.project-teaser-info h2 {
  font-size: 1.5rem;
  line-height: 140%;
  margin-bottom: 12px;
  color: #353535;
  font-weight: 600;
  width: 100%;
  padding-right: 60px;
}

footer span {
  display: block;
  margin-top: 48px;
  font-size: 14px;
  color: #7d7d7d;
  text-align: center;
}

footer a {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #7d7d7d;
  text-align: center;
}

[aria-current="page"] {
  pointer-events: none;
  cursor: default;
}

@media (max-width: 1000px) {
  .project-teaser-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .project-teaser-container {
    display: grid;
    grid-template-columns: 1fr;
  }

  .full-width-teaser {
    grid-column: span 1;
  }
}

@media (max-width: 750px) {
  .header-items-container {
    display: flex;
    flex-direction: column;
  }

  header {
    height: auto;
  }

  nav {
    margin-top: 24px;
    justify-content: center;
  }

  nav ul {
    width: -webkit-fill-available;
  }

  .project-teaser-info h2 {
    padding-right: 5px;
  }

}
