body::-webkit-scrollbar {/*Scrollbar beim Browser deaktivieren*/
  display: none;
}

.clock {
  font-family: Arial, sans-serif;
  font-size: 24px;
  color: #333;

  display: flex;
  align-items: center; /* Vertikal zentrieren */
  padding-bottom: 0px;

}

.clock .hour,
.clock .minute,
.clock .second,
.colon {
  margin: 0 1px; /* Abstand zwischen den Elementen */
}

.clock .hour{
  background-color: gray;
  padding: 5px 5px;
  border-radius: 10px;
  border:1px solid grey;
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
  color: white;
  font-weight: bold;
}
.clock .minute{
  background-color: gray;
  padding: 5px 5px;
  border-radius: 10px;
  border:1px solid grey; 
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
  color: white;
  font-weight: bold;
}
.clock .second {
  background-image:radial-gradient(circle, white 10%, rgb(185, 185, 185) 90%);
  padding: 5px 5px;
  border-radius: 10px;
  border:1px solid grey; 
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
  font-weight: bold;
  color: rgb(151, 151, 151);
}

.colon {
  font-size: 24px; /* Größe anpassen */
  color: #333; /* Farbe anpassen */
}

#date {
  font-family: Arial, sans-serif; /* Schriftart anpassen */
  font-size: 12px; /* Schriftgröße anpassen */
  color: #666; /* Textfarbe anpassen */
  padding-top: 5px;
  
}

body{
  width: 100%;
  background-image:radial-gradient(circle, white 30%, rgb(185, 185, 185) 90%);
  /* background: url(bilder/christmas-3735928_1920.jpg) no-repeat center center; */
  background-size: cover;
  margin: 0;
  padding: 0;
  /*margin-bottom: 1em;*/
}

body.hide-cursor {
  cursor: none;
}


#logo{
  margin-left: 1em;
  width:10%;
}

#obsLink {
    text-decoration: none;
    color: #1B91A9;
    text-align: center;
    font-size: 1em;
    display: block; /* sorgt für zentrierte Ausrichtung */
    margin: 0 auto; /* optional für horizontales Zentrieren */
}


#header-jahrgang{
  margin-left: 12em;
  text-align: center;
  width: 50%;
}

#qrcode {
  width: 60px;
  margin-left: 1em;
  
}

#toolslink img {
            width: 30px;   /* Breite festlegen */
            height: auto;   /* Höhe automatisch anpassen */
        }
        .tool-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            font-family: 'Orbitron', sans-serif;

            border: 1px solid #ccc;        /* schmaler Rahmen */
            border-radius: 5px;            /* runde Ecken */
            padding: 6px;                  /* etwas Luft um Bild+Text */
            box-shadow: 1px 1px 3px rgba(0,0,0,0.2); /* leichter Schatten */
            background-color: white;       /* optional, hebt vom Hintergrund ab */
            transition: transform 0.1s ease; /* für kleinen Klick-/Hover-Effekt */
        }

        .tool-container:hover {
            transform: scale(1.05); /* leicht vergrößern bei Hover */
        }


        .tool-text {
            font-size: 0.7em; /* nicht viel größer als das Bild */
            margin-top: 4px;  /* kleiner Abstand */
            text-align: center;
            letter-spacing: 1px;
            font-weight: bold;
        }
        #toolslink a {
            text-decoration: none; /* Unterstreichung entfernen */
            color: inherit;        /* Schriftfarbe von der Umgebung übernehmen */
        }

select option,
select option[selected] {
background-color: white;
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Horizontal zentrieren */
  height: 100vh; /* 100% der Viewport-Höhe verwenden */
  margin: 0; /* Entfernen Sie den Standardseitenrand */
  /*margin-top:1em;*/
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
 /* margin-bottom: 1em;*/
}

.header {
  display: flex;
  background: linear-gradient(113.5deg, rgb(248, 252, 191) 22.3%, rgb(201, 234, 211) 30.6%,rgb(150, 111, 51) 50%, rgb(255, 180, 189) 70.9%, rgb(196, 223, 255) 90.9%);
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin: 0 auto; /* Zentrieren des Headers */
  border-radius: 0px;
  border: 2px solid grey;
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
 
}
.header img {
  max-width: 100%;
  height: auto; margin: 0 auto; /* Zentrieren des Headers */
  margin: 0;
}
.header h1 {
  margin: 0;
  text-align: center;
}

.dropdown{
  display: flex;
  justify-content: center;
   
}

h1 {
  text-align: center; /* Überschrift zentrieren */
  
}



p {
  margin: 0; /* Entfernen Sie den Standardabstand des Absatzes */
}


.wochentag {
display: flex;
justify-content: center;  /* horizontal zentrieren */
align-items: center;      /* vertikal zentrieren */
height: 100%;             /* volle Höhe der Zelle */
padding: 10px 20px 10px 20px; /* Top, right, bottom, left */
border: 2px solid rgb(0, 0, 0);
border-radius: 5px; /* Jetzt wirken die runden Ecken */
background: linear-gradient(
      113.5deg,
      rgb(255, 255, 255) 10%,
      rgb(230, 230, 230) 40%,
      rgb(200, 200, 200) 70%,
      rgb(185, 185, 185) 90%
  );
  width: fit-content;
  margin: auto

}

#wochenplan.highlight-border {
  border: 4px solid red;

}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

#lockButton.pulse {
  animation: pulse-border 1.5s infinite;
}

table {

  border-collapse: separate;
  border-spacing: 1px;
  margin-left: 1em;
  margin-right:1em;

}

th, td {
  border: 1px none; 
  padding: 10px 10px; /*oben/unten links/rechts*/
  text-align: center;
  font-size:large;
  margin: 0 auto; /* Zentrieren des Headers */
  
}

.pause td {
  text-align: center;
  background-color: grey;
  color:white;
  font-weight: bold;
  font-size: 11px ;
} 

/* Styling für das Dropdown-Menü */
.colorSelector {
  width: auto; /* Breite des Dropdown-Menüs */
  padding: 2px; /* Innenabstand des Dropdown-Menüs */
  border: 1px solid grey; /* Rand des Dropdown-Menüs */
  cursor: pointer; /* Zeiger ändern, wenn über dem Dropdown-Menü gehalten wird Hand*/
  font-weight: bold;
  font-size: 10px;
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
  border-radius: 3px;
  text-align: center;
  margin:5px 6px 2px 0; /* oben, rechts, unten, links */

  
}

textarea {
  /*width: 100%;*/
  border: 2px solid grey;
  box-shadow: 2px 2px 5px 1px rgba(0,0,0,0.3);
  border-radius: 5px;
  /*font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;*/
  /*font-size: 16px;*/
  /*line-height: 14px; */
  cursor: text; /* Zeiger ändern, wenn über dem Dropdown-Menü gehalten wird Hand*/
}



textarea {
  font-family: monospace;     /* Zeichen haben gleiche Breite */
  font-size: 14px;            /* kannst du ggf. anpassen */
  width: 36ch;                /* exakt 36 Zeichen breit */
  resize: none;               /* nicht aufziehbar */
  overflow: hidden;
}



.legende {
  
  display: flex;
  align-items: center;     /* vertikal zentrieren */
  justify-content: center; /* optional: auch horizontal zentrieren */
  height: 13px;            /* feste Höhe für saubere Ausrichtung (anpassbar) */
  margin-top: 10px;
}
.legendentext {
  font-size: 11px;;
  font-weight: bold;
  margin-right: 5px;

}
.unterricht_cell {
 
  box-shadow: 1px 2px 3px 0 rgba(50,50,50,0.75);
  padding: 0PX 2PX 0PX 2PX; /*padding: top right bottom left*/
  font-size: 13px;
  color: black;
  margin: 0px 5px 0px 2px;/*margin: top right bottom left*/
  border-radius: 3px;
  border: 1px solid #ccc;
}

#updateStatus {
  align-self: center;           /* vertikal mittig */
  padding: 4px 8px; /*padding: top right bottom left*/
  margin-left: 5px;
  background-color: rgba(255,255,255,0.9);
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  white-space: nowrap;
}


















/****************************************************************************************************************************
**************************Tablets *******************************************************************************************
****************************************************************************************************************************/
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
    /* CSS-Stile für Tablets hier definieren */
  
    
    body{
        width: 100%;
        
    }
    .colorSelector{
    color: black;
    width: 50px;
    font-size: 7px;
    outline: none;
    text-align: center;
    }
    #wochenplan tbody tr td {font-size: 0.5em; } /*Text Zeitangaben kleiner*/
    textarea {
        width: 100%;
        border: 2px solid rgb(155, 155, 155);
        border-radius: 10px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        font-size: 9px;
        line-height: 10px; 
        text-align: left;
        padding: 5px;  
    }
    table {
        width: 97%;
        border-collapse: collapse;  

    }
    table tr th {
        
       margin-left: 2em; 
    
    }
    table tr th img{
    
        max-width: 40%;    
    }
    
   
    #qrcode{
        
        width:200px;
        margin-left: 1em;
    }
     #toolslink{
        
        width:200px;
        margin-left: 1em;  
    }
  
    
    #header-jahrgang {
        width: 300%;
        margin-left: 1em;
        
        
    }
    #logo {
        width: 150%;
    }
    .clock {
        font-size: 12px;
        margin-right: 2em;
        
      }

      .clock .hour,
      .clock .minute,
      .clock .second {
        border-radius: 5px;
      }

      #date{
        padding-top: 5px;
        font-size: 10px;
      }
      .colon {
        font-size: 8px;
      }
      .pause{
        font-size:9px ;
    } 

    .unterricht_cell {
      height: 10px;
      font-size: 7px;
    }
  }
  
 
  @supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */ 
    
        body{
          width: 100%;
          
      }
      .colorSelector{
      color: black;
      width: 50px;
      font-size: 7px;
      outline: none;
      text-align: center;
      }
      #wochenplan tbody tr td {font-size: 0.5em; } /*Text Zeitangaben kleiner*/
      textarea {
          width: 100%;
          border: 2px solid rgb(155, 155, 155);
          border-radius: 10px;
          font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
          font-size: 9px;
          line-height: 10px; 
          text-align: left;
          padding: 5px;  
      }
      table {
          width: 97%;
          border-collapse: collapse;  
  
      }
      table tr th {
          
         margin-left: 2em; 
      
      }
      table tr th img{
      
          max-width: 40%;    
      }
      
   #qrcode{
        
        width:200px;
        margin-left: 1em;
    }
     #toolslink{
        
        width:200px;
        margin-left: 1em;  
    }
      
      #header-jahrgang {
          width: 300%;
          
          
      }
      #logo {
          width: 150%;
      }
      .clock {
          font-size: 12px;
          margin-right: 2em;
          
        }
  
        .clock .hour,
        .clock .minute,
        .clock .second {
          border-radius: 5px;
        }
  
        #date{
          padding-top: 5px;
          font-size: 10px;
        }
        .colon {
          font-size: 8px;
        }
        .pause{
          font-size:9px ;
      } 
  
      .unterricht_cell {
        height: 10px;  
        font-size: 7px;
      }
  }
  
/****************************************************************************************************************************
************************** Smartphones **************************************************************************************
****************************************************************************************************************************/
  @media only screen 
and (min-device-width : 414px) 
and (max-device-width : 500px) {
    /* CSS-Stile für Tablets hier definieren */

  
    body{
        width: 150%;
        /*background: url(bilder/christmas-3735928_1920.jpg) no-repeat center center;
        background-size: 200%;*/
    }
    .time-line {
    width: 150%;
    }
 
    #wochenplan tbody tr td {
        font-size: 0.2em; } /*Text Zeitangaben kleiner*/
    
    #logo{
        width: 120%;
        }

    #header-jahrgang{
        margin-left: 8em;
        width:300%;
        
    }
/*
    #qrcode{
        margin-left: 3em;
        width: 75%;
    }
*/
    .clock {
        font-size: 8px;
        margin-left: 0.5em;
        }
    
        .clock .hour,
      .clock .minute,
      .clock .second {
        border-radius: 5px;
      }
    
        #date{
            padding-top: 5px;
            font-size: 8px;
          }
        .colon {
        font-size: 8px;
        }

    .colorSelector {
    color: black;
    width: 40px;
    font-size: 5px;
    text-align: center;
    }

    textarea {
        
        border: 2px solid rgb(155, 155, 155);
        border-radius: 10px;
        font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
        
        font-size: 9px;
        line-height: 10px; 
        text-align: left;
        padding: 5px;
    }
    table {
        
        margin: 0em;
        border-collapse: collapse;  
    }
    table tr th {
        font-size: 1em;
    }
    table tr th img{
        
        max-width: 40%;
    }
    .header {
        font-size: 0.8em;
    }
    .unterricht_cell {
        
        font-size: 4px;
       
      }

   
    F
    .pause{
       
        font-size:8px ;
    } 
  }



/*****************************************************************************************************************************
************************** Bildschirem 1600x900 ******************************************************************************
******************************************************************************************************************************/

  @media screen 
and (min-device-width : 1590px) 
and (max-device-width : 1610px) {
  
    #logo{
            width: 150px;
            }
    #obsLink {
       
        font-size: 0.8em;
        
   
    }

        #header-jahrgang{
        /*margin-left: 8em;*/
        width:650px;
        }
    
/*
    #qrcode{
        width: 200px;
    }
 */       
    .clock {
        font-size: 14px;
        margin-left: 0.5em;
        }
    
        .clock .hour,
      .clock .minute,
      .clock .second {
        border-radius: 5px;
      }
    
        #date{
            padding-top: 5px;
            font-size: 12px;
          }
        .colon {
        font-size: 14px;
        }

  .wochentag {
        font-size: 1em;
        padding: 1px 6px; /*oben/unten links/rechts*/
        border-radius: 3px;
}

 .pause td{
        font-size:9px ;
    } 

    .colorSelector {

  padding: 0px; /* Innenabstand des Dropdown-Menüs */
  font-size: 10px;
  margin:0px 0px 0px 0; /* oben, rechts, unten, links */

  
}

  textarea {
       font-size: 13px;
  }

  td {
    padding: 5px 5px;/*oben/unten links/rechts*/
  }



  
   
}
/*****************************************************************************************************************************
************************** Bildschirem 1680x1050 ******************************************************************************
******************************************************************************************************************************/

  @media screen 
and (min-device-width : 1670px) 
and (max-device-width : 1690px) {

  textarea {
    font-size: 13px;
  }

  

   
}
/*****************************************************************************************************************************
************************** Bildschirem 2560x1440 ******************************************************************************
******************************************************************************************************************************/

  @media screen 
and (min-device-width : 2550px) 
and (max-device-width : 2570px) {

  textarea {
    font-size: 21px;

    
  }

   
}




