*{
    font-family: Kanit;
}

body{
    background-color: #F0DBAF;
    text-align: center;
}

header{
    background-color: #F4D19D;
    height: 15rem;
    border-radius: 30px;
    width: 35%;
    text-align: center;
}

.naslov{
    color: #14244d;
    font-size: 32px;
    font-weight: bolder;
}

.about{
    margin-top: 0px;
    color: #14244d;
    font-size: 18px;
}

.head{
    display: flex;
    justify-content: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

h2{
    color: #14244d;
    font-size: 36px;
}

.jednadzba{
    border: none;
    border-radius: 15px;
    box-shadow: 0px 0px 20px;
    width: 20%;
    height: 50px;
    text-align: center;
    font-size: 18px;
}
.tocka{
    display: flex;
    justify-content: center;
    margin-top: 0px;
}
.tockaInput{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 20px;
    width: 5rem;
    height: 4rem;
    font-size: 22px;
    border: none;
    box-shadow: 0px 0px 1px;
    border-radius: 30px;
}

.potvrda{
    border-radius: 15px;
    width: 15%;
    height: 3rem;
    border: 3px solid black;
    font-size: 18px;
}

@media screen and (min-width: 1000px) {
    div.head {
        font-size: 80px;
        text-align: center;
    }
}

@media screen and (max-width: 999px) {
    div.head {
        font-size: 30px;
        width: 90%;
        text-align: center;
    }
}

@media screen and (min-width: 1281px) {
    h1 {
        font-size: 30px;
        text-align: center;
        vertical-align: middle;
    }
}

@media screen and (max-width: 1280px) {
    h1 {
        font-size: 12px;
        text-align: center;
        vertical-align: middle;
    }
}

@media screen and (min-width: 931px) {
    p.about {
        font-size: 18px;
        text-align: center;
    }
}

@media screen and (max-width: 930px) {
    p.about {
        font-size: 14px;
        text-align: center;
    }
}


@media screen and (min-width: 721px) {
    form {
        text-align: center;
        vertical-align: middle;
    }
}

@media screen and (max-width: 720px) {
    form {
        text-align: center;
        vertical-align: middle;
    }
}

@media screen and (min-width: 721px) {
    input {
        width: 15%;
    }
}

@media screen and (max-width: 720px) {
    input {
        width: 10%;
    }
}

@media screen and (min-width: 721px) {
    input.jednadzba,
    button.potvrda {
        width: 30%;
    }
}

@media screen and (max-width: 720px) {
    input.jednadzba,
    button.potvrda {
        width: 30%;
    }
}

@media screen and (min-width: 721px) {
    h2 {
        font-size: 36px;
        text-align: center;
    }
}

@media screen and (max-width: 720px) {
    h2 {
        font-size: 20px;
        text-align: center;
    }
}

@media screen and (min-width: 621px) {
    div.tockaInput {
        width: 5rem;
        height: 4rem;
        text-align: center;
    }
}

@media screen and (max-width: 620px) {
    div.tockaInput {
        width: 0.4rem;
        height: 0.4rem;
        text-align: center;
    }
}