:root {
  --clr-background: rgb(0, 0, 0);
  --clr-white: rgb(255, 255, 255);
  --clr-red: rgb(177, 20, 18);
  --clr-black: rgb(0, 0, 0);
  --clr-dark-gray: rgb(21, 21, 21);
}

html {
  height: 100vh;
  font-family: "Poppins";
}

body {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  background-color: var(--clr-background);
}

.content {
  flex-grow: 1;
  margin-left: 20px;
  margin-right: 20px;
}

header {
  #header-content {
    display: flex;
    align-items: center;
    padding: 0px 20px;

    .logo {
      margin-top: 27px;
      margin-bottom: 27px;
    }
  }
}

@media (min-width: 1025px) {
  header #header-content .logo {
    height: 110px;
  }
}

footer {
  padding-top: 35px;
  padding-bottom: 30px;

  .logo {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 40px;
  }

  .footer-text {
    color: rgb(152, 152, 152);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 400;
    padding-bottom: 20px;
    /*34 67*/
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
}

.logo {
  display: block;
}

i {
  color: var(--clr-white);
  font-size: 22px;
}

.flex-grow {
  flex-grow: 1;
}



.divider {
  border-top: 3px solid var(--clr-red);
  margin-top: 45px;
  margin-bottom: 45px;
  margin-left: auto;
  margin-right: auto;
  width: 42%;
}

.spacer {
  height: 2.5rem;
}

.btn {
  background-color: var(--clr-red);
  color: var(--clr-white);
  padding: 1.25rem 2.5rem;
  border-radius: 30px;
  text-transform: uppercase;
  border: none;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Poppins';
  line-height: 1.25rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  background-color: var(--clr-black);
  cursor: pointer;
}

button {
  background-color: var(--clr-red);
  color: var(--clr-white);
  padding: 1.25rem 2.5rem;
  border-radius: 30px;
  text-transform: uppercase;
  border: none;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Poppins';
  line-height: 1.25rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

button:hover {
  background-color: var(--clr-black);
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }

  50% {
    opacity: 1;
  }
}

.fade-in,
.fade-in-up,
.zoom-in {
  animation-duration: 1.25s;
  animation-fill-mode: both;
}

.fade-in {
  animation-name: fadeIn;
}

.fade-in-up {
  animation-name: fadeInUp;
}

.zoom-in {
  animation-name: zoomIn;
}

@media (prefers-reduced-motion: reduce) {

  .fade-in,
  .fade-in-up,
  .zoom-in {
    animation: none;
  }
}

.content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img-container img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flex-row {
  display: flex;
}

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

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  color: var(--clr-white);
  font-size: 0.875rem;
}

input,
textarea {
  font-family: 'Poppins';
  font-size: 0.875rem;
  padding: 10px 14px;
  border-radius: 4px;
  border: 1px solid rgb(105, 114, 125);
  line-height: 1.225rem !important;
}

input:focus,
textarea:focus {
  outline: none;
  /* removes the blue glow or border */
}

.gap-12 {
  gap: 0.75rem;
}

.padding-10 {
  padding: 0.625rem;
}

#mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 17.5rem;
  z-index: 1000;
}

.menu {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--clr-dark-gray);
  height: 100vh;
  width: 17.5rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.menu.open {
  transform: translateX(0);
}

.menu-items a {
  text-decoration: none;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 14px 20px;
}

.menu-item span {
  color: rgb(192, 192, 192);
  text-transform: uppercase;
  font-size: 1rem;
}

.menu-item:hover span {
  color: var(--clr-white);
}

#menu-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 30px;
}

#menu-header i {
  color: rgb(192, 192, 192);
}

#menu-header i:hover {
  cursor: pointer;
}

#desktop-menu {
  display: none;
}

@media (min-width: 1025px) {
  #menu-toggle {
    display: none;
  }

  #mobile-menu {
    display: none;
  }

  #desktop-menu {
    display: flex;
  }

  #desktop-menu .menu-items {
    display: flex;
    flex-direction: row;
  }

  #desktop-menu .menu-item {
    position: relative;
  }

  #desktop-menu .menu-item span {
    font-size: 18px;
    font-weight: 700;
  }

  #desktop-menu .menu-items:hover .menu-item:not(:hover)::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
  }
}

#about-contact {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 2.5rem 1rem;
}

#about-contact .title {
  font-size: 2.625rem;
  font-weight: 600;
  color: var(--clr-white);
  text-align: center;
  max-width: 59rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
  padding-right: 8px;
}

#about-contact .text {
  font-size: 1.3125rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 59rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
  padding-right: 8px;
}

@media (min-width: 768px) {

  #about-contact .title,
  #about-contact .text {
    text-align: left;
  }
}

#about-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/kontaktpilt.jpg') top/cover no-repeat;
  height: 100%;
  opacity: 0.5;
  z-index: 0;
}

#about-contact>* {
  position: relative;
  z-index: 1;
}

@media (min-width: 1025px) {
  #about-contact {
    padding: 6.25rem 1rem;
  }

  #about-contact::before {
    background-attachment: fixed;
  }
}

#lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}

#lightbox.open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

#lightbox.open #lightbox-img {
  animation: zoomIn 1.25s both;
}

@media (prefers-reduced-motion: reduce) {
  #lightbox {
    transition: none;
  }

  #lightbox.open #lightbox-img {
    animation: none;
  }
}

@media (min-width: 1025px) {
  #lightbox-img {
    max-width: 50rem;
  }
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
  position: absolute;
  cursor: pointer;
  padding: 0.75rem;
}

#lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.75rem;
}

#lightbox-prev,
#lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.75rem;
}

#lightbox-prev {
  left: 0.5rem;
}

#lightbox-next {
  right: 0.5rem;
}
