/* Vispārējie stili */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Fona krāsa un teksts */
body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    padding-bottom: 60px; /* Palielināts apakšējais attālums, lai footer nebūtu pārklāts */
}

/* Topbara stilizācija */
nav {
    background-color: #0044cc; /* Tumši zils */
    color: white;
    padding: 15px 10px; /* Mazāks horizontālais atstatums */
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 15px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Pievienots transform efekts */
}

nav a:hover {
    background-color: #0033a0; /* Tumšāka zilā nokrāsa pie hover */
    border-radius: 5px;
    transform: scale(1.05); /* Mazs efektīgs palielinājums */
}

/* Galvenais saturs */
#info {
    max-width: 1200px;
    margin: 80px auto 20px; /* Palielināts augšējais atstatums, lai tas nebūtu zem topbara */
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

#info p {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    text-align: center;
}

/* Attēla stilizācija */
img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer stils */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

footer p {
    font-size: 14px;
}

/* Pievieno efektus un uzlabot izkārtojumu, kad ir liels ekrāns */
@media screen and (min-width: 768px) {
    #info {
        padding: 40px;
    }

    nav a {
        font-size: 18px;
    }
}

@media screen and (min-width: 1200px) {
    #info {
        padding: 50px;
    }

    nav a {
        font-size: 20px;
    }
}
