#zaglavlje{
    height: 150px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    font-size: 48px;
    padding-left: 200px;
    font-weight: bold;
    font-family: 'Quicksand';
    color: #003566;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

#section1{
    background-color: #4fc3f7;
    min-height: 1000px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    font-family: 'Quicksand';
    font-weight: 700;
    color: #003566;
    padding: 50px;
    padding-left: 200px;
    padding-right: 200px;

}
#info{
    font-size: 30px;
}
#naslov{
    font-size: 40px;
}
#forma{
    min-height: 600px;
    height: 100%;
    background-color: rgba(240, 240, 240, 0.75);
    border-radius: 25px;
    box-shadow:  0 4px 4px rgba(0, 0, 0, 0.5);
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; 
    gap: 20px;
}
#info{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
#forma label{
    font-size: 30px;
    margin-bottom: 10px;
}
#inputi{
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
#inputi div{
    display: flex;
    flex-direction: column;
    flex: 1;

}

#inputi div input{
    margin-bottom: 20px;
    height: 60px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
    font-size: 20px;
    padding-left: 20px;
    font-family: 'Quicksand';
    min-width: 300px;
}
#poruka{
    display: flex;
    flex-direction: column;
}
#poruka textarea{
    margin-bottom: 10px;
    height: 200px;
    min-height: 60px;
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
    font-size: 20px;
    padding: 20px;
    font-family: 'Quicksand';
    resize: vertical;
}
#section1 button{
    background-color: #003566;
    border: none;
    color: #ffffff;
    width: 250px;
    height: 80px;
    font-size: 30px;
    font-family: 'Quicksand';
    font-weight: bold;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}
#inputi input:focus{
    outline: 2px solid #003566;
}
#inputi input:hover{
    box-shadow: 0 4px 4px #4fc3f7;
}

#poruka textarea:focus{
    outline: 2px solid #003566;
}
#poruka textarea:hover{
    box-shadow: 0 4px 4px #4fc3f7;
}

.advice {
    display: none;
    font-size: 20px;
}

input:focus + .advice,
textarea:focus + .advice {
    display: block;
}

.error {
    color: red;
    font-size: 20px;
}

@media (max-width: 1050px) {
    #zaglavlje {
        height: 100px; 
        padding-left: 30px; 
    }
    #zaglavlje p{
        font-weight: 500;
        font-size: 30px;
        text-shadow: none;
    }

    #section1 {
        background-color: #4fc3f7;
        min-height: auto; 
        height: auto; 
        padding: 30px; 
        padding-left: 30px; 
        padding-right: 30px; 
        font-size: 30px; 
    }

    #forma {
        min-height: auto; 
        padding: 30px; 
    }

    #info {
        flex-direction: column; 
        font-size: 20px;
        font-weight: 500;
    }
    #info img{
        height: 20px;
    }
    .error, .advice {
        font-size: 15px;
    }
    #naslov{
        font-size: 30px;
    }

    #inputi {
        flex-direction: column; 
        gap: 10px; 
    }

    #inputi div input {
        font-size: 18px; 
        min-width: 250px; 
    }

    #poruka textarea {
        font-size: 18px;
        height: 150px; 
    }
    #forma label{
        font-size: 20px;
    }

    #section1 button {
        width: 200px;
        height: 60px; 
        font-size: 24px; 
    }
}
