* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {    
    width: 100%;
    background-color: #b4ffa7;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex   ;
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    text-align: center;
    width: 100%;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #5cb85c; 
    padding: 10px 0;
}

main {
    background-image: url('pozadi.jpg'); 
    background-size: cover;
    background-position: center;
    padding: 20px;
    flex-grow: 1;
}

.content-wrapper {
    background-color: rgba(144, 238, 144, 0.8);
    padding: 15px;
    border-radius: 5px;
}

main p {
    padding: 0; 
    margin-bottom: 15px;
}

table {
    width: 100%;
    border-collapse: collapse; 
    margin-top: 20px; 
    margin-bottom: 20px; 
}

table th,
table td {
    border: 1px solid #ddd; 
    padding: 10px; 
    text-align: left; 
}

table th {
    background-color: #ffffff; 
    color: #000000;
    font-weight: bold;
}

table td {
    background-color: #5cb85c; 
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px; 
    padding: 20px 0;
}

.equipment-card {
    background-color: #5cb85c; 
    border-radius: 8px; 
    padding: 15px;
}

.equipment-card h3 {
    margin-top: 0;
    border-bottom: 1px solid #000000;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.equipment-card p, .equipment-card ul {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.equipment-card ul {
    padding-left: 20px; 
}

.equipment-card li {
    margin-bottom: 5px;
}

.equipment-card img {
    max-width: 100%; 
    height: auto;
    border-radius: 4px; 
    margin-top: 10px;
    display: block; 
    margin-left: auto;
    margin-right: auto;
}

.content-wrapper p {
    line-height: 1.5; 
    margin-bottom: 15px;
}

.list-style-ul, .list-style-ol {
    line-height: 1.5; 
    margin-bottom: 15px;
    margin-left: 20px; 
}


.content-wrapper ul, .content-wrapper ol {
    margin-left: 20px;
}