body {
    font-family: 'PT Sans Caption', sans-serif;
    background-color: rgb(31, 22, 29, 0.2);
    color: rgba(31, 22, 29);
    text-align: center;
    margin: auto;
    box-sizing: border-box;
}

/***** HEADER *****/

header {
    background-color: #7949a0;
    padding-bottom: 0.1em;
    color: #fefcfc;
    padding-left: 16px;
    padding-right: 16px;
}

h1 {
    font-family: 'Bebas Neue', cursive;
    text-shadow: 5px 5px 5px #52235e;
    font-size: 3em;
    letter-spacing: 0.07em;
    margin: unset;
    margin-bottom: 16px;
}

h2 {
    font-family: 'Fredoka One', cursive;
    margin: 0;
    padding: 0;
    margin-top: -1em;
}

h3 {
    font-size: 1.1em;
}

p{
    font-size: 16px;
    letter-spacing: -0.5px;
}

/***** QUESTIONS *****/

.question {
    font-size: 1.1em;
    margin: 0;
    padding: 0.6em;
    background-color:rgba(31, 22, 29, 0.9);
    color: honeydew;
}

.row-zero{
    background-color: #52235e;
    color: #fefcfc;
    padding-bottom: 8px;
}

.row-input{
    margin-bottom: 8px;
}

#row-one {
    background-color: #e2c0eb
}

#row-two {
    background-color: #967a6b
}

.cijena-row{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7949a0;
    color: #fefcfc;
    padding-top: 16px;
    padding-bottom: 16px;
}

#cijena_p{
    font-size: 24px;
    margin: unset;
}

.title {
    width: 100%;
    font-weight: bold;
    font-size: larger;
}

.guests {
    padding: 0.2em;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
}

/***** IMG *****/
.people {
    max-width: 50%;
}


.ad, .ki {
    width: calc((50% - 1px));
    padding-bottom: 0.8em;
    border-right: 1px solid honeydew;
}

.ki {
    border: none;
}


.ad p, .ki p {
    margin: 0.3em;
    font-size: 1.1em;
}

input {
    border-radius: 10px;
    padding: 0.2em;
    margin: 0.15em;
    width: 25%;
    background-color: honeydew;
    font-size: 1.2em;
    text-align: center;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(37, 34, 34);
}

input[type='number']::-webkit-inner-spin-button, 
input[type='number']::-webkit-outer-spin-button { 
    opacity: 1;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


.btn-decrement, .btn-increment{
    border-radius: 50%;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 12px;
    padding-right: 12px;
}

/***** DURATION *****/

#duration {
    text-transform: uppercase;
    font-size: 1.1em;
    background-color: rgb(146, 108, 182);
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-rows: 50% 50%;
    align-items: baseline;
    margin-bottom: 1em;
}

/***** BUTTON *****/

button {
    border-radius: 10px;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(228, 223, 162);
}

#button {
    background-color: rgba(255, 196, 0, 0.4);
    margin-top: -1.1em;
    padding-top: 1.1em;
}

/***** RESULT *****/

#result {
    background-color: rgba(255, 196, 0, 0.4);
    color: rgba(31, 22, 29, 0.9);
    padding: 0.5em;
    text-transform: uppercase;
    font-size: 1.1em;
}

#error_p{
    display: none;
}

.res1 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5em;
    text-transform: none;
}

.res2 {
    padding-top: 1em;
    text-transform: none;
    font-style: italic;
}

/***** ICONS *****/

.icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1em;
}

.icons img {
    float: left;
    margin-right: 1em;
}

/***** FOOTER *****/

#credits {
    background-color: honeydew;
    font-family: serif;
    color: rgb(43, 40, 40);
    padding: 7px;
    letter-spacing: 0.1em;
    font-size: 0.8em;
    text-align: center;
  }
  
#credits a {
    color: rgb(235, 152, 152);
}

/***** MEDIAS *****/

@media screen and (min-width: 600px) {
    body {
        width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 400px) {
    input[type='number']::-webkit-inner-spin-button, 
    input[type='number']::-webkit-outer-spin-button { 
        -webkit-appearance: none;
        margin: 0;
    }
}