body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    text-align: center;
	margin-bottom: 52px; /* Increase the bottom margin to accommodate the footer */
}

.main-content {
    flex: 1; /* Makes the content grow to fill the available space */
}

body.image {
    max-width: 100px;
}
/* Logo lava horna strana halova logo */
.school-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    height: 50px;
    width: auto;
}

/* hover logo lava horna strana */
a:hover .school-logo {
    opacity: 0.8;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.header {
    background-color: #2c2c2c;
    color: white;
    padding: 18px;
}

input[type="text"] {
    padding: 10px;
    width: 90%;
    margin: 10px auto;
    display: block;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.floor-buttons, #blocks, #sections {
    margin: 10px;
}

button {
    padding: 12px 20px;
    margin: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    box-sizing: border-box;
}

button:hover {
    background-color: #0056b3;
}

button.selected {
    background-color: #28a745;
    color: white;
}

.hidden {
    display: none;
}

#classroom-list {
    margin-top: 30px;
}

#classrooms {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

#classrooms li {
    background-color: #fff;
    padding: 10px;
    margin: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

#classrooms li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

#classrooms li a:hover {
    color: #0056b3;
}

.highlight {
    background-color: #28a745;
    color: white;
}


footer {
    background-color: rgb(2, 3, 129);
    color: white;
    padding: 10px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensures vertical alignment */
}

.footer-left {
    text-align: left;
}

.footer-right {
    text-align: right;
}

footer a {
    color: white;
}

.class-list {
    padding-bottom: 25px; /* Increase padding at the bottom of the content */
}


/* Media pre mobil zlepsene */
@media (max-width: 600px) {
    button {
        padding: 12px 10px;
        margin: 5px;
        font-size: 16px;
    }

    input[type="text"] {
        width: 95%;
        padding: 12px;
        font-size: 16px;
    }

    .header h1 {
        font-size: 24px;
    }
}


