@charset "UTF-8";
:root {
  --clr-yellow-dark: hsl(42, 94%, 42%);
  --clr-yellow: hsl(42, 94%, 62%);
  --clr-yellow-text: hsl(42, 94%, 62%);
  --max-page-width: 1000px;
  --header-height: 150px;
  --clr-green-dark: hsl(125, 91%, 30%);
  --clr-green: hsl(125, 91%, 45%);
  --clr-green-light: hsl(125, 91%, 70%);
  --clr-red-dark: hsl(357, 91%, 30%);
  --clr-red: hsl(357, 91%, 45%);
  --clr-red-light: hsl(357, 91%, 70%);
}

header .header-main {
  position: relative;
  width: 95%;
  max-width: var(--max-page-width);
  margin: 0 auto;
  padding-bottom: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}
@media (max-width: 800px) {
  header .header-main {
    flex-direction: column;
  }
}
header .header-main .contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}
header .header-main .contact div {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
header .header-main .contact div img {
  height: 20px;
}
header .header-main::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
}
header .yellow-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 5px;
  background: var(--clr-yellow);
  transform-origin: left;
  animation: slideInFromRight 1000ms ease;
}
@keyframes slideInFromRight {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(100%);
  }
}
header .menu {
  position: relative;
  width: 95%;
  max-width: var(--max-page-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
@media (max-width: 800px) {
  header .menu {
    margin-bottom: 20px;
  }
  header .menu::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #000;
    position: absolute;
    bottom: -10px;
  }
}
header .menu #burger-menu {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
}
header .menu #burger-menu .hamburger {
  height: 2px;
  width: 20px;
  border-radius: 1px;
  background: #000;
  position: relative;
  transition: all 200ms ease;
}
header .menu #burger-menu .hamburger::after, header .menu #burger-menu .hamburger::before {
  content: "";
  position: absolute;
  left: 0;
  display: block;
  height: 2px;
  width: 20px;
  border-radius: 1px;
  background: #000;
  transition: all 200ms ease;
}
header .menu #burger-menu .hamburger::after {
  bottom: -5px;
}
header .menu #burger-menu .hamburger::before {
  top: -5px;
}
@media (min-width: 801px) {
  header .menu #burger-menu {
    display: none;
  }
}
header .menu .menu-content {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  background: #fff;
  padding-bottom: 10px;
}
header .menu .menu-content .border {
  display: block;
  width: 1px;
  height: 20px;
  background: #333;
}
header .menu .menu-content .menu-item {
  position: relative;
}
@media (max-width: 800px) {
  header .menu .menu-content {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 100%;
    flex-direction: column;
    gap: 10px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 200ms ease;
  }
  header .menu .menu-content .border {
    width: 100%;
    height: 1px;
  }
}
@media (max-width: 800px) {
  header .menu.open .menu-content {
    transform: scaleY(100%);
  }
  header .menu.open #burger-menu .hamburger {
    background: #fff;
  }
  header .menu.open #burger-menu .hamburger::after {
    transform: rotate(45deg);
    bottom: 0;
  }
  header .menu.open #burger-menu .hamburger::before {
    transform: rotate(-45deg);
    top: 0;
  }
}

footer {
  min-height: 150px;
}
footer .footer-main {
  position: relative;
  width: 95%;
  margin: 0 auto;
  max-width: var(--max-page-width);
  padding-block: 10px;
  margin-block: 10px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}
footer .footer-main::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #333;
}

@font-face {
  font-family: Raleway;
  src: url("/media/fonts/Raleway-VariableFont_wght.ttf");
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  color: hsl(0, 0%, 20%);
}

main {
  margin: 0 auto;
  width: 95%;
  max-width: var(--max-page-width);
}

.link {
  text-decoration: none;
  color: #000;
  transition: color 200ms ease;
  font-weight: 700;
}
.link:hover, .link:focus, .link.active {
  color: var(--clr-yellow);
}

.button {
  background: var(--clr-yellow);
  color: #000;
  text-decoration: none;
  padding: 10px;
  width: max-content;
  cursor: pointer;
  border: none;
  transition: background 200ms ease;
}
.button:hover, .button:focus {
  background: var(--clr-yellow-dark);
}
.button::before {
  content: "→";
  margin-right: 5px;
}

span.yellow {
  color: var(--clr-yellow-text);
}

p.long_text {
  font-size: 1.25em;
  max-width: 70ch;
  line-height: 1.5;
}

h1.title {
  margin-block: 30px;
}

p.subtitle {
  margin-bottom: 30px;
}

.honig {
  height: 0;
  opacity: 0;
}

.error {
  width: 100%;
  padding: 15px;
  background: var(--clr-red-light);
  color: var(--clr-red-dark);
}

.message {
  width: 100%;
  padding: 15px;
  background: var(--clr-green-light);
  color: var(--clr-green-dark);
}

.project {
  display: block;
  text-decoration: none;
  color: #000;
  position: relative;
  overflow: hidden;
}
.project:hover h1, .project:focus h1 {
  text-decoration: underline;
}
.project:hover img, .project:focus img {
  transform: scale(1.1);
}
.project img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 300ms ease;
}
.project .overlay {
  width: 90%;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translate(-50%, 0);
  background: var(--clr-yellow);
  padding: 10px;
}

/*# sourceMappingURL=main.css.map */
