* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;



  
}

/* Navigační lišta */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
  padding: 10px 20px;
  color: white;
  position:relative;
}

.navbar .logo img {
    display: block;
    height: auto;
    max-height: 60px;
    width: auto; 
    margin: 0;
    
    }

.navbar ul {
  list-style: none;
  display: flex;
  
}

.navbar ul li {
  margin-left: 20px;
}

.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.navbar ul li a:hover {
  text-decoration: underline;
  color: red;
}
/* Dropdown s profilem */
.profile-dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid white;
  object-fit: cover;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: white;
  color: #333;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border-radius: 5px;
  overflow: hidden;
  z-index: 1000;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

/* Zobrazit menu při hoveru */
.profile-dropdown:hover .dropdown-menu {
  display: block;
}


.navbar nav {
  flex-grow: 1;
  margin-left: 2rem;
}

.navbar nav ul {
  list-style: none;
  display: flex;
}
/* Hero sekce */
.hero {
  position: fixed;
  text-align: center;
  
}

.pozadi {
  position: relative;
  top: 0px;
  left: 0;
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: flex;
  margin-bottom: 10px;
}


.login-form {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: 50%;
    height: 50%;
        }
        
.login-form form {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.login-form h2 {
    margin-bottom: 20px;
    text-align: center;
        }
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    
        }
.login-form button[type="submit"] {
    width: 100%;
    background: #007bff;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: auto;
        }
.login-form button[type="submit"]:hover {
    background: #0056b3;
}

.redirect-message{
    position: relative;
    color: #333;
    font-size: 4em;
    letter-spacing: 5px;
    border-bottom: 16px solid #333;
    line-height: 1.4;
    font-family: consolas;
    text-transform: uppercase;
}

.redirect-message :before{
    position: relative;
    content: attr(data-text);
    width: 100%;
    color: dodgerblue;
    border-bottom: 16px solid dodgerblue;
    animation: lod 3s linear 1; /* infinite */
    overflow: hidden;
}
errorMessage{
    position: relative;
    color: #333;
    font-size: 4em;
    letter-spacing: 5px;
    border-bottom: 16px solid #333;
    line-height: 1.4;
    font-family: consolas;
    text-transform: uppercase;  
}

@keyframes lod {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
    
}

/* Zápatí */
.footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  position: fixed;
  width: 100%;
  bottom: 0;
}

