/*
    Document   : default.css
    Created on : 29.08.2023
    Author     : Nuri Erdogan
    Description:
        Purpose of the stylesheet follows.
*/
body {
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0d1933;
    padding: 0 2rem;
    min-height: 8rem;
    height: 12vh;
  }

  nav {
    display: flex;
  }

  nav a {
    margin-right: 2rem;
    text-decoration: none;
    color: black;
  }

  main {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas: "wrapper";
  }

  .wrapper {
    min-height: 25rem;
    width: 100vw;
    display: grid;
    grid-template-areas: ". sn co co . .";
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto;
    max-height: 36vh;
    margin-top: 5rem;
  }

  .sn {
    grid-area: sn;
    padding: 1rem;
    /* border: 1px solid #ccc; */
    box-shadow: 0.25rem 0.25rem 0.5rem #b23ab6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    line-height: 2.5rem;
    text-align: justify;
  }

  .co {
    grid-area: co;
    padding: 1rem;
    box-shadow: 0.5rem .5rem 1.5rem #0d1833;
  }

  footer {
    margin-top: auto;
    background-color: #dedede;
    padding: 1rem;
    text-align: center;
  }

  .logo {
    max-height: 100%;
  }

  @media (max-width: 1100px) {
    nav {
      display: none;
    }
    main {
      grid-template-columns: 1fr;
    }

    .wrapper {
      display: block;
    }
  }

  /* Formular-Styling */
  form {
    display: grid;
    gap: 1rem;
    border: 1px solid #ccc;
    padding: 1rem;
    border-radius: 8px;
  }

  .form-row {
display: flex;
flex-direction: column;
gap: 0.5rem;
}


  form label {
    grid-area: label;
  }

  form input,
  form select,
form textarea {
width: 100%;
padding: 0.5rem;
box-sizing: border-box;
border: none;
border-bottom: 1px solid #4d4d4d;
background-color: #f6f6f6;
}
form textarea {
resize: vertical;
}
form input:focus,
form select:focus,
form textarea:focus {
outline: none;
border-radius: 3px;
border: 3px solid #9d9d9d;
  background-color: #7de5e561;
}

  form input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
  }
  form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
  }

  form button {
padding: 0.5rem;
box-sizing: border-box;
margin-top: 1rem; /* Abstand zum vorherigen Element */
align-self: end; /* Button am Anfang ausrichten */
}
.hp {
  display: none;
}