body {
        font-family: Arial, sans-serif;
        background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('bg.webp');
        background-size: cover; /* Obrázek se přizpůsobí celé stránce */
        background-position: center;
        background-color:black;
        color: white; /* Bílé písmo */
        height: 100vh;
        margin: 0;
    }

.header {
    height: auto;
    top: 0px;
    left: 0px;
    background: #010188;
    border-bottom-color: red;
    border-bottom-style: double;
    align-content: space-around;
    text-align: center;
    padding: 5px;
    display: block;
}

.cont {
  display: flex;
  flex-wrap: wrap;
   justify-content: space-around;
    align-items: center; 
  gap: 15px;       
  padding: 20px;
  
}

.wind {
    flex: 1 1 35%;
    margin: 5px;
    padding: 5px;
    background-color: #22046040;
    
    border-radius: 17px;
}



h1 {
    font-size: 18px;
    margin-bottom: 20px;
    color: red;
}
label {
    display: block;
    margin: 10px 0 5px;
    text-align: left; /* Zarovnání labelu vlevo */
}
input[type="text"],
input[type="email"],
input[type="password"] {
    width: calc(100% - 20px); /* Odtah od okrajů */
    padding: 10px;
    margin: 5px 0 15px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.8); /* Políčka s 50% průhledností */
    color: white; /* Bílé písmo v políčkách */
    border: 1px solid rgba(255, 255, 255, 0.5); /* Bílý okraj s průhledností */
}

        /* Červený okraj po vyplnění políčka */
input[type="text"]:valid,
input[type="password"]:valid,
input[type="email"]:valid {
    border: 1px solid rgba(255, 0, 0, 0.8); /* Červený okraj při vyplnění */
    background-color: rgba(220, 220, 220, 0.3); /* Pozadí políčka zůstane průhledné */
}

button {
    border-radius: 5px;
    background: aquamarine;
    cursor: grab;
}

input[type="number"] {
    background-color: rgba(255, 255, 255, 0);
    color: white;
    padding: 5px;
    border: 1px solid rgb(47, 255, 255);
    border-radius: 4px;
    cursor: pointer;
    width: 25px;
}

input[type="submit"] {
    background-color: #CC0000;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}
input[type="submit"]:hover {
    background-color: #990000;
}
.message {
    margin: 10px 0;
    text-align: center; /* Zarovnání textu na střed */
    background-color: #ff0000b8;
    border-radius: 5px;
}
.error {
    color: red;
    background: #a7a7a7;
    border-radius: 5px;
    margin-top: 10px;
}
.error a {
    color: white;
}
a {
    color: #DD0000;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}