* {
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: #deb887;
    background-image: url(../img/person-9257099_1280.jpg);   
    background-size: 100% auto;
    background-repeat: no-repeat;
    color: var(--font-color);
    font-family: 'Tahoma', sans-serif;
    color: black;
}

/* remove 3d-effect from buttons and textinputs */
button, input {
    border: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none; /* for Safari */
    outline: none; /* optional */
}


h1 { 
    font-weight: 600;
    font-style: normal;
    font-size: 2em;
    color: white;
    text-align: center;
}

.wrapper {
    padding-top: 80px;
    margin: 0 auto;
    width: 50vw;
    height: auto;
    max-width: 500px;
    height: 100vh;
}

.wrapper .input-result {
    display: flex;
}

.select-row {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.select-row label, p {
    text-align: center;
    font-weight: bold;
    font-size: 0.8em;
    margin-top: 20px;
    margin-bottom: 5px;
}

label, p {
    color: white;
}

select, input, button {
    padding: 5px 5px;
    border-radius: 25px;
    font-size: 1.1em;
}

#net, #vat, #gross {
   width: 100%;
}

.input-result span {
    margin-top: 20px;
}

option {
    text-align: center;
}

.vat-rate-btns button {
    display: block;
    width: 100%;
    margin: 5px 0;
}


.vat-rate-btns button:hover {
    cursor: pointer;
    background-color: burlywood;
}

.add-custom-vat-rate, .btn-calculate {
    display: flex;
    width: 100%;

}

#custom-vat {
   display: none;
   margin: 15px auto;
   width: 100%;
}

#austria, #switzerland {
    display: none;
}

#nineteen, #twenty, #eight-one {
    background-color: burlywood;
}

.btn-calculate button {
    background-color: lightblue;
    margin-top: 15px;
    padding: 10px 5px;
    width: 100%;
}

.btn-calculate button:hover {
    cursor: pointer;
    transform: scale(1.1);
}

#toggle-results {
    display: none;
}

.show-result {
    margin-top: 40px;
    color: black;
    background-color: white;
    opacity: 0.7;
    border-radius: 15px;
    padding: 5px;
    text-align: center;
}

.show-result h3 {
    margin-top: 25px;
    text-align: center;
    font-weight: 600;
    font-style: normal;
    font-size: 2em;
    color: black;
}



.show-result p {
    font-size: 1em;
    color: black;
}

.show-result span {
    font-size: 1.4em;
}

.show-result button {
    margin:  25px 0;
    text-align: center;
    cursor: pointer;
    background-color: #FFCCCB;
    padding: 5px 20px;
}

footer {
   width: auto;
    position: fixed;
    bottom: 20px;
    right: 0px;
}

footer p {
    text-align: right;
    font-size: 0.8em;
    margin-right: 25px;
}

footer p a {
    text-decoration: none;
    color: white;
}
