body {
    font-family: Arial, sans-serif;
    margin: 20px;
    
}
@media (min-width: 1024px) {
    body {
        max-width: 600px; /* Nastavte maxim�ln� ���ku */
        margin: 0 auto; /* Vycentrov�n� obsahu */
    }
}

h1 {
    text-align: center;
}

.center-container
{
    justify-content:center;
    display:flex;
    flex-wrap: wrap;
    gap:1em;
}
.center-container.vykon
{
   
    
}
.temp-box {
    text-align: center;
    border: 1px solid #000;
    width: 9em;
    
    padding-top: 1em;
    padding-bottom: 1em;
}
.temp-box.vykon {width:15em;margin: 1em 0em;}

#setTemperature, #currentTemperature,#currentHumidity {
    font-size: 60px;
}

#connect, #disconnect {
    font-size: 60px;
    text-align: center;
    border: 1px solid #000;
    padding: 10px;
    cursor: pointer;
    height: 2em;
    width: 2em;
}
    #disconnect
    {
        font-size:100%;
    }
    #connectbox
    {
        width:100%;
        height: 100%;
        position:absolute;
        background: white;
        z-index:10;
        left:0;
        /* display:none; */
    }
#pwm {
 font-size:20px;
 margin-top:10px;
}
#vykonDelkaCyklu
{
    margin-left:10px;
}

#connect span {
    font-size: 12px;
    display: block;
    font-weight: bold;
    color: #c42d2d;
}
#refresh{
    font-size:50px;
    margin-right:10px;
    line-height:50px;
}
#install {
    font-size: 16px;
    font-weight: bold;
    padding-left: 2em;
    padding-right: 2em;
    margin-bottom:1em;
}

#powerminus,#powerplus
{
    font-size: 30px;
    border:1px solid black;
    text-align: center;
    line-height: 50px;
    width:3em;
    height:50px;
    margin:0px 10px 0px 10px;
}
#power
{
    font-size:30px;
    text-align: center;
    margin:10px;
    display:inline-block;
}
    table {
        border-collapse: collapse;
        margin-top: 20px;
        
    }

th, td {
    border: 1px solid #ddd;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
    text-align: left;
}

button {
    cursor: pointer;
}



button {
    height: 3em;
}
.modal {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background:white;
    z-index: 1000;
}
#saveNumberBtn
{
    font-size:20px;
    padding:0px 30px 0px 30px;
    margin-top:20px;
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.divinput, input[type=number] {
    width: 5em;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    height:30px;
    border:1px solid #000;
}
.stateok {
    border-color: #aaa;
}

.stateerr {
    border:2px solid #c42d2d;
}

#powerslider {
width:100%;
}

#menu
{
   
    top:40px;
    background:white;
    
}
#menu div:first-child {
    border-top: 1px solid #aaa; /* P�id�n� border-bottom prvn�ho divu */
}
#menu div
{
    line-height:50px;
    border-bottom:1px solid #aaa;
    cursor:pointer;
    text-align:center;
    width:20em;
}
#menu div:hover
{
    background:#b4bf7a;
}
#nadpis
{
    font-size:30px;
    line-height:55px;
    
}
#stopky {
    
   margin-top:20px;
    border: 1px solid #aaa;
    justify-content: space-between;
    display: flex;
    font-size:50px;
    align-items:center;
    padding:5px;
}
    
#stopky span{
    font-size:100px;
    color:#4c6d56;
    
}
#stopky_inputy
{
  display:flex;
  justify-content:space-between;

}
#stopky_inputy div
{
    
}
#stopky_ovladani {
    display: flex;
    justify-content: space-between;
    
}
    #stopky_ovladani button {
        font-size: 20px;
        padding-left: 1em;
        padding-right: 1em;
    }
