/* Farve koder for farver i css */
:root {
    --black: #212121;
    --dark: #424246;
    --white: #f5f5f5;
    --gray: #bab5b5;
  }
  
  /*Main CSS info for side*/
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html, body {
    height: 100%;
  }
  
  body {
    font-family: Arial, sans-serif;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    height: 100vh;
  }
  
   /* Layout container */
  .layout-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    gap: 10px;
    margin: -10px;
    
  }
  
  /* HEADER(der er i class-form) */
  .header-box .header {
    background: var(--white);
    border: 3px solid var(--black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 15px;
    border-radius: 20px;
    height: 100px;
  }
  
  .header h1 {
    font-size: 56px;
    font-weight: bold;
  }
  /* Sprog skifte knap */
  .language-toggle button {
    background: none;
    border: none;
    font-size: 45px;
    font-weight: bold;
    margin-left: 10px;
    padding: 5px 10px;
    cursor: pointer;
  }
  
  .language-toggle .active {
    background-color: var(--gray);
  }
  
  /* Teknik boks*/
  .teknik-container {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
  }
  
  /* TEKNIK-LISTE */
  .teknik-liste {
    display: flex;
    flex-direction: column;
    font-size: 36px;
    font-weight: bold;
    text-align: left;
    width: 100%;
  }
  /*opdeler streg*/
  .teknik-liste label {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 2px solid var(--black);
  }
  
  .teknik-liste label:last-child {
    border-bottom: none;
  }
  /*sikker at alle check bokse har samme størrelse*/
  .teknik-liste input[type="checkbox"] {
    width: 40px;
    min-width: 40px;
    height: 40px;
    accent-color: var(--black);
  }
  
  /* FOOTER (der er i class-form)*/
  .footer-box .footer {
    background: var(--white);
    border: 3px solid var(--black);
    text-align: center;
    padding: 10px 0;
    font-size: 20px;
    font-weight: bold;
    border-radius: 20px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .footer a {
    color: var(--black);
    text-decoration: underline;
    font-size: 24px;
  }
  
  

  /* Popup BAGGRUND */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(33, 33, 33, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  /* popup INDHOLD */
  .modal-content {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
  }
  
  .modal-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
  }
  
  .modal-content p {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .modal-content textarea {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    border: 2px solid var(--gray);
    padding: 10px;
    font-size: 18px;
    resize: vertical;
    margin-bottom: 20px;
  }
  
  .modal-content button {
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 10px;
    cursor: pointer;
  }
  
  .modal-content button:hover {
    background-color: var(--gray);
  }
  
  /* LUK-IKON I POPUP */
  .close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    cursor: pointer;
  }
  
  /* SKJUL MODAL SOM STANDARD */
  .hidden {
    display: none;
  }
  
  /* RESPONSIV MOBILVISNING (så de både virker på tablet og mobil)*/
  @media (max-width: 1000px) {
    .header h1 {
      font-size: 20px;
    }
  
    .language-toggle button {
      font-size: 20px;
    }
  
    .quiz-container {
      padding: 10px;
    }
  
    .teknik-liste {
      font-size: 15px;
    }
    
    .footer a {
      font-size: 15px;
    }

  /*sikker at alle check bokse har samme størrelse*/
    .teknik-liste input[type="checkbox"] {
        min-width: 15px;
        width: 15px;
        height: 15px;
        accent-color: var(--black);
      }
  }