body {
    font-family: sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f3e9dc;
    color: #2ebacc;

    background-image: url('pibble3.jpg');
    .responsive-image {
        max-width: 100%;
        height: auto;
        display: block;
    }
}

.kontejner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
    background-color: hsla(295, 73%, 71%, 0.85);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(75, 62, 43, 0.4);
}

.tekst-sekcija {
    flex: 1;
    max-width: 500px;
    color: #3a2f1f;
}

.forma-sekcija {
    flex: 1;
    max-width: 300px;
    background-color: rgba(206, 118, 180, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(75, 62, 43, 0.7);
    color: #fff;
}

h1,
h2 {
    color: #ffffff;
}
input[type="number"],
input[type="submit"] {
    width: 100%;
    padding: 10px;

    margin-top: 5px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    border: none;
    font-weight: 600;
}

input[type="number"] {
    background-color: #fff9f2;
    color: #f478ff;
    border: 1px solid #cd4fdd;
}

input[readonly] {
    background-color: #f5f0e6;
    color: #666;
    cursor: not-allowed;
}

input[type="submit"] {
    background-color: rgb(230, 127, 161);
    color: #4b3e2b;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: 1px solid #e767e1;
    font-weight: 700;
}

input[type="submit"]:hover {
    background-color: #d1485f;
    color: #fff;
}

@media (max-width: 768px) {
    .kontejner {
        flex-direction: column;
        align-items: center;
        background-color: rgb(228, 155, 203);
        padding: 10px;
    }

    .tekst-sekcija,
    .forma-sekcija {
        max-width: 100%;
        color: #f075b2;
    }

    .forma-sekcija {
        background-color: #d45fa4;
        box-shadow: none;
        color: #fff;
    }
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #eca3d4;
  }
  
  li {
    float: left;
  }
  
  li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }
  
  li a:hover {
    background-color: #664357;
  }
  .footer {
    background-color: #f5a6db;
    color: white;
    padding: 20px 0;
    width: 100%;
    position: fixed; 
    bottom: 0;
    left: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}


.content {
    padding-bottom: 80px; 
}


@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 10px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

/* OSNOVNI STILOVI ZA KONTEJNER */
.kontejner {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 20px auto;
    flex-wrap: wrap;
    align-items: stretch;
}

/* STILOVI ZA FORMU SEKCIJU */
.forma-sekcija {
    flex: 1;
    min-width: 300px;
    align-self: stretch;
}

/* STILOVI ZA TEKST SEKCIJU */
.tekst-sekcija {
    flex: 1;
    min-width: 300px;
    align-self: stretch;
}

/* RESPONZIVNOST */
@media (max-width: 768px) {
    .kontejner {
        flex-direction: column;
    }
    
    .forma-sekcija,
    .tekst-sekcija {
        width: 100%;
        min-width: unset;
    }
}