@import url("https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --primary-color: #010712;
    --secondary-color: red;
    --bg-color: #FCFDFD;
    --bg-color-check-box: #ffffff;
    --button-color: red;
    --h1-color: #3F444C;
    --back: #000;
    --select-color: #000;
    --color-hover: black;
  }
  
  [data-theme="dark"] {
    --primary-color: rgb(255, 255, 255);
    --secondary-color: rgb(255, 0, 0);
    --bg-color: #323338;
    --bg-color-check-box: #323338;
    --button-color: rgb(255, 0, 0);
    --h1-color: #ffffff;
    --back: #fff;
    --select-color: ;
  }
  
  * {
    margin: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
  }

  body {
    position: relative;
  }

  footer {
    color: var(--primary-color);
    position: absolute;
    top: 1000px;
    right: 10px;
    border-top: 1px var(--primary-color) solid;
    padding-top: 30px;
    font-family: 'Jost', sans-serif;
  }

  #small-footer-rechte-box a{
    text-decoration: none;
    color: rgb(0, 119, 204);
    font-family: 'Jost', sans-serif;
  }

  #small-footer-rechte-box:hover a{
    text-decoration: underline;
    font-family: 'Jost', sans-serif;
  }

  #footer-rechte-box-hover:hover {
    color: red;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
  }

  
  .contact-container {
    display: flex;
    width: 100%;
    height: 1315px;
    background: var(--bg-color);
  }


  .left-col {
    width: 100%;
    height: 100%;
    background-image: url("/BilderWebseite/shutterstock_492782749.jpg");
    background-size: cover;
    background-repeat: no-repeat;
  }

  .logo-right-col {
    width: 30rem;
    padding: 1.5rem;
    display: none;
  }

  .logo-right-col {
    display: none;
  }
  
  
  .logo {
    width: 30rem;
    padding: 1.5rem;
  }
  
  .right-col {
    background: var(--bg-color);
    width: 50vw;
    height: 100vh;
    padding: 5rem 3.5rem;
  }
  
  h1, label, button, .description {
    font-family: 'Jost', sans-serif;
    font-weight: 400;
    letter-spacing: 0.1rem;
  }
  
  h1 {
    color:var(--h1-color);
    text-transform: uppercase;
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    font-weight: 300;
  }
  
  p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 0.01rem;
    width: 40vw;
    margin: 0.25rem 0;
  }
  
  label, .description {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 0.625rem;
  }
  
  form {
    position: relative;
    margin-top: 2rem;
    padding: 1rem 0;
  }

  #akzebtire-datenshutz {
    display: flex;
    position: absolute;
    font-size: 15px;
    right: 6%;
    top: 100%;
  }

  #akzebtire-datenshutz input {
    margin-right: 40px;
    margin-top: 20px;
    width: 100px;
    height: 30px;
  }

  #akzebtire-datenshutz p {
    width: 300px;
  }
  
  input, textarea, label {
    width: 40vw;
    display: block;
  }
  
  p, placeholder, input, textarea {
    font-family: 'Helvetica Neue', sans-serif;
  }
  
  input::placeholder, textarea::placeholder {
    color: var(--primary-color);
  }
  
  input, textarea {
    color: var(--primary-color);
    font-weight: 500;
    background: var(--bg-color);
    border: none;
    border-bottom: 1px solid var(--secondary-color);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    outline: none;
  }
  
  textarea {
    resize: none;
  }

  textarea::selection {
    color: white;
    background-color: black;
    text-decoration: none;
  }
  
  button {
    text-transform: uppercase;
    font-weight: 300;
    background: var(--button-color);
    color: #fff;
    width: 10rem;
    height: 2.25rem;
    border: none;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: absolute;
    top: 700px;
    right: 200px;
  }

  .back {
    color: var(--back);
    cursor: pointer;
     font-family: 'Poppins', 'sans-serif';
      position: absolute;
       top: 707px;
        right: 55px;
  }
  
  input:hover, textarea:hover, button:hover {
    opacity: 0.5;
  }
  
  button:active {
    opacity: 0.8;
  }
  
  /* Toggle Switch */
  
  .theme-switch-wrapper {
    display: flex;
    align-items: center;
    text-align: center;
    width: 160px;
    position: absolute;
    top: 0.5rem;
    right: 0;
  }
  
  .description {
      margin-left: 1.25rem;
    }
  
  .theme-switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
  }
  
  .theme-switch input {
    display:none;
  }
  
  .slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
  }
  
  .slider:before {
    background-color: #fff;
    bottom: 0.25rem;
    content: "";
    width: 26px;
    height: 26px;
    left: 0.25rem;
    position: absolute;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: var(--button-color);
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .field {
    display: flex;
    flex-flow: column;
  }
  
  .field__label {
    font-size: 0.8rem;
    color: var(--secondary-color);
  }
  
  .field__dropdown {
    margin: 1rem 0;
    font-size: 1rem;
    color: var(--primary-color);
    min-width: 10rem;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 2px solid red;
    box-shadow: 0 0.3rem 0.5rem rgba(0,0,0,0.05);
    -webkit-appearance: none;
    -moz-appearance: none;
    background-size: 1.8rem;
    background-position: center right 1em;
    transition: 0.3s ease;
    max-width: 23.4rem;
    background-color: var(--bg-color-check-box);
  }
  
  .field__dropdown:focus {
    outline: none;
    border-color: red;
  }
  
  #error {
    width: 100%;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    line-height: 1.4;
    text-transform: uppercase;
    border-radius: 4px;
    color: red;
}

.hidden {
  display: none;
}

#loading-animation {
  text-align: center;
  margin-top: 20px;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 50px;
  height: 50px;
  animation: spin .6s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

#success-msg {
  width: 100%;
  margin-top: 20px;
  padding: 10px;
  color: #4CAF50;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  text-transform: uppercase;
  border-radius: 4px;
  text-align: center;
  
}

@media (max-width: 1465px) {
  footer {
    font-size: 12px;
    right: 90px
  }
}

@media (max-width: 1344px) {
  footer {
    font-size: 12px;
    right: 90px
  }
}

    @media (max-width: 1220px) {
        .logo-right-col {
    display: none;
  }

        h1 {
            font-size: 2rem;
        }

        #error {
            width: 40vw;
            margin: 0.125rem 0;
            font-size: 1rem;
            text-transform: uppercase;
            font-family: "Poppins", sans-serif;
            color: var(--secondary-color);
            }
          
            #success-msg {
            width: 40vw;
            margin: 0.125rem 0;
            font-size: 1rem;
            text-transform: uppercase;
            font-family: "Poppins", sans-serif;
            color: green;
            transition-delay: 3s;
            }

            footer {
              right: 100px;
              font-size: 9px;
            }
    }
    @media (max-width: 1054px) {
        h1 {
            font-size: 1.5rem;
        }

        footer {
          right: 100px;
          font-size: 8px;
        }

        #akzebtire-datenshutz {
          display: flex;
          position: absolute;
          font-size: 15px;
          right: -10%;
          top: 95%;
        }
      
        #akzebtire-datenshutz input {
          margin-right: 40px;
          margin-top: 20px;
          width: 100px;
          height: 30px;
        }
      
        #akzebtire-datenshutz p {
          width: 300px;
        }
        
    }

    @media (max-width: 950px) {

      footer {
        right: 10px;
        margin: auto;
        font-size: 15px;
      }

      .right-col {
        width: 100%;
        height: 100%;
      }

      .left-col {
        display: none;
      }

    .logo {
      width: 17rem;
    }
    h1 {
      font-size: 1.3rem;
    }
    p {
      font-size: 0.7rem;
    }
    input, textarea {
      font-size: 0.65rem;
    }
    .description {
      font-size: 0.3rem;
      margin-left: 0.4rem;
    }

    .back {
      top: 627px;
    }
  
    button {
      top: 620px;
      right: 200px;
      width: 7rem;
      font-size: 0.65rem;
    }

    .logo-right-col {
      display: flex;
      width: 200px;
      position: absolute;
      top: 1px;
      left: 10px;
    }

    #akzebtire-datenshutz {
      display: flex;
      position: absolute;
      font-size: 15px;
      right: -5%;
      top: 95%;
    }
  
    #akzebtire-datenshutz input {
      margin-right: 40px;
      margin-top: 20px;
      width: 100px;
      height: 30px;
    }
  
    #akzebtire-datenshutz p {
      width: 300px;
    }
    
  }

  @media (max-width: 846px) {
    h1 {
        font-size: 1rem;
      }

      .logo  {
        width: 14rem;
      }

      footer {
        right: 30px;
        font-size: 15px;
      }
  }

  @media (max-width: 700px) {
    footer {
      font-size: 6px;
      font-size: 13px;
    }

    button {
      top: 620px 
    }

    .back {
      top: 627px;
    }

    #bewerbung-email-text {
      width: 100%;
    }
  }

  @media (max-width: 524px) {

    footer {
      font-size: 10px;
    }

    #akzebtire-datenshutz {
      display: flex;
      position: absolute;
      right: -10%;
      top: 95%;
    }
  
    #akzebtire-datenshutz input {
      margin-right: -10px;
      margin-top: 15px;
      width: 100px;
      height: 20px;
    }
  
    #akzebtire-datenshutz p {
      width: 200px;
      font-size: 10px;

    }
  }

  @media (max-width: 472px) {
    .right-col {
        width: 100%;
    }

    .left-col {
        display: none;
    }

    .logo-right-col {
        justify-content: center;
        align-items: center;
        align-content: center;
        display: flex;
        position: absolute;
        width: 20rem;
        top: 1%;
        left: 10px;
        width: 200px;
    }

    .back {
      color: var(--back);
      cursor: pointer;
       font-family: 'Poppins', 'sans-serif';
        position: absolute;
        top: 627px;
        right: 10px;
    }

    button {
      top: 620px;
      right: 80px;
    }

    footer {
      font-size: 8px;
    }
  }

  @media ( max-width: 407px) {
    .back {
      color: var(--back);
      cursor: pointer;
       font-family: 'Poppins', 'sans-serif';
        position: absolute;
        top: 657px;
        right: 10px;
    }

    button {
      top: 650px;
      right: 80px;
    }
  }