@font-face {
  font-family: "AgencyFb";
  src: url("../fonts/agencyfb_reg.ttf");
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

nav {
  position: fixed !important;
  margin: unset !important;
}

body {
  background: rgb(108, 99, 255);
  background: -moz-linear-gradient(
    -10deg,
    rgba(108, 99, 255, 1) 43%,
    rgba(18, 19, 22, 1) 44%
  );
  background: -webkit-linear-gradient(
    -10deg,
    rgba(108, 99, 255, 1) 43%,
    rgba(18, 19, 22, 1) 44%
  );
  background: linear-gradient(
    -10deg,
    rgba(108, 99, 255, 1) 43%,
    rgba(18, 19, 22, 1) 44%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#6c63ff",endColorstr="#121316",GradientType=1);
}

html,
body {
  font-family: "AgencyFb";
  scrollbar-width: none;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

section {
  padding: 1rem;
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 7rem;
}

.contact-holder {
  background-color: var(--secondary-bg);
  border-radius: 30px;
  display: flex;
  z-index: 2;
  box-shadow: rgb(0 0 0 / 42%) 10px 11px 6px 0px;
}

.contact-holder-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.contact-left {
  height: 100%;
  padding: 1rem 2rem 1.5rem 2rem;
  width: 50%;
}

.contact-left h1 {
  color: var(--primary-font-color);
  font-size: clamp(3rem, 7vw, 5rem);
  text-wrap: nowrap;
}

.contact-left p {
  color: var(--secondary-font-color);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
}

.contact-left-inner {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: 2rem;
}

form {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.inputbox {
  width: 25rem;
  max-width: 25rem;
  position: relative;
  margin: 0.5rem 0 0.5rem 0;
}

.inputbox input,
.inputbox textarea {
  background-color: transparent;
  outline: none;
  border: 3px solid var(--accent-Color);
  padding: 1.3rem;
  border-radius: 30px;
  color: white;
  width: 100%;
  position: relative;
  font-size: 1.2rem;
}

.inputbox textarea{
  max-width: 25rem;
  min-width: 25rem;
  height: 9rem;
  scrollbar-width: 1px;
}

.inputbox label {
  position: absolute;
  left: 1rem;
  padding: 1rem;
  color: var(--primary-font-color);
  font-size: 1.6rem;
  transition: all 0.3s;
}

.inputbox label.hide {
  display: none;
}


.contact-left button {
  color: var(--primary-font-color);
  padding: 10px;
  width: 20rem;
  border: none;
  background-color: var(--accent-Color);
  border-radius: 30px;
  margin: 0.5rem;
  font-size: 1.5rem;
}

.contact-middle {
  height: 100%;
  width: 3px;
  background-color: var(--primary-font-color);
  position: absolute;
  left: 50%;
}

.contact-right {
  width: 50%;
  height: 100%;
  padding: 1rem 2rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.contact-right h1 {
  font-size: clamp(3.5rem, 7vw, 5rem);
  color: var(--primary-font-color);
  text-align: center;
  align-self: flex-start;
  width: 100%;
}

.contact-right-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.contact-details {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.contact-right-inner a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--primary-font-color);
  font-size: 2.5rem;
  padding: 0.5rem;
}

.contact-right-inner svg {
  margin-right: 20px;
}

.contact-right img {
  height: 15rem;
  align-self: flex-end;
}

.contact-bar {
  width: 200%;
  transform: rotate(350deg);
  height: 400px;
  background-color: var(--accent-Color);
  position: absolute;
  bottom: 0;
}

@media (max-width: 1090px) {
  .contact-middle {
    display: none;
  }

  .contact-right {
    display: none;
  }

  .contact-left {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .contact-left-inner {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .contact-left p {
    text-align: center;
    padding: 0.5rem 0 0.5rem 0;
  }

  .inputbox {
    width: 80vw;
  }

  .contact-left button {
    width: 15rem;
  }

  .contact-holder {
    max-width: 95vw;
  }
}

@media (max-width: 700px) {


  .inputbox textarea{
    max-width: 100%;
    min-width: 100%;
  }

  .contact-left{
    padding: 1rem;
  }
}

@media (max-width: 375px) {
  .contact {
    padding-top: 10rem;
  }

  .contact-left h1 {
    text-align: center;
    text-wrap: wrap;
  }
}


/* Für Chrome, Safari und Opera */
.inputbox textarea::-webkit-scrollbar {
  width: 5px; /* Breite der Scrollleiste */
}

.inputbox textarea::-webkit-scrollbar-track {
  background: transparent; /* Hintergrundfarbe des Track */
}

.inputbox textarea::-webkit-scrollbar-thumb {
  background: #fff; /* Farbe des Scrollbalkens */
  border-radius: 10px; /* abgerundete Ecken */
}

/* Für Firefox */
/* Damit die Scrollbar in Firefox erscheint, auch wenn die Website gescrollt werden kann */
.inputbox textarea {
  scrollbar-width: thin;
  scrollbar-color: #fff transparent;
}

/* Für Edge */
/* Microsoft Edge unterstützt die Webkit-Prefixe */
.inputbox textarea::-ms-scrollbar {
  width: 5px; /* Breite der Scrollleiste */
}

.inputbox textarea::-ms-scrollbar-track {
  background: transparent; /* Hintergrundfarbe des Track */
}

.inputbox textarea::-ms-scrollbar-thumb {
  background: #fff; /* Farbe des Scrollbalkens */
  border-radius: 10px; /* abgerundete Ecken */
}