
* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #333;    
    background-color: #f9f9f9;
    padding: 0em;
    margin: 0;
}

#page {
    max-width: 500px;
    padding: .75em;
    margin: 0 auto;
}

#resultMessageCont, #loadingCont {
    position: absolute;
    z-index: 9;
    width: 100%;
    height: 100%;
    padding: .75em;
    display: none;
}

#loadingCont > div {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100vh;
    background-color: #f0f0f0;
    border-radius: 10px;
}
#resultMessageCont > div {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem 2rem;
    place-items: center;
    align-content: center;
    width: 100%;
    height: 100vh;
    background-color: #f0f0f0;
    border-radius: 10px;
}

#langButtonsCont {
    display: flex;
    margin: 1em 0;
    align-content: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 1em;
}

.langButton {
    width: 40px;
    height: 25px;
    background-size: cover;
    cursor: pointer;
    border-radius: 4px;
}
#langButtonENG {
    background-image: url('/images/GBR.png');
}
#langButtonFIN {
    background-image: url('/images/FIN.png');
}

label {
    margin-bottom: 1em;
}

textarea, input[type="text"] {
    font-family: inherit;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    font-size: 1rem;
    /* width: 100%; */
    /* margin: 1em; */
    margin-top: .25em;
    padding: 0.735em;
    width: 100%;
    /* background-color: rgb(219, 219, 219); */

    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
}

input[type="submit"] {
    width: 100%;
    height: 4em;
    background: dodgerblue;
    color: #fff;
    border: none;
    font-size: 1.25em;
    border-radius: 1.5em;
    /* box-shadow: 5px 5px 5px #eee; */
    text-shadow: none;
    /* margin: 1em 0; */
    cursor: pointer;
}
input[type="submit"]:hover {
    background: rgb(23, 117, 211);
}
input[type="submit"]:active {
    background: rgb(18, 94, 170);
}

.lds-dual-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid #fc2e38;
    border-color: #fc2e38 transparent #fc2e38 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

h1 {
    color: black;
    color: #999;
    color: #fc2e38;
    font-size: 1.5em;
    font-size: 2em;
    font-size: 1em;
    text-transform: uppercase;
    /* margin: 1em 0 0.25em 0; */
    margin: 0em 0 0.5em 0;
}

.header {
    display: grid;
    place-items: center;
    /* background-color: white; */
}


img {
    width: 40%;
    max-width: 400px;
    display: block;
    margin: 1em 0 1em 0;
}

textarea {
    width: 100%;
    background-color: white;
}

.laiteLoota {
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    /* width: 100%; */
    margin-bottom: 1em;
    padding: 1.5em;
    background-color: white;
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
}
.huoltokutsuLoota {
    /* margin-top: 1rem; */
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    /* width: 100%; */
    /* margin: 1em; */
    padding: 1.5em;
    background-color: white;
    /* box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px; */
}

.info {
    border-radius: 5px;
    border: 1px solid gold;
    background-color: rgb(255, 239, 146);
    padding: .5em;
}
.ongelmaOhjeita {
    margin-top: .5rem;
    border-radius: 10px;
    border: 1px solid crimson;
    /* background-color: rgb(255, 162, 162); */
    padding: .5em;
}

.tieto-rivi {
    margin: 0 0 1rem 0;
    color: black;
    font-weight: 400;
    font-size: 1.75em;
}
    .tieto-rivi span {
        text-transform: uppercase;
        color: #777;
        color: #fc2e38;
        color: #999;
        font-weight: 300;
        display: block;
        font-size: 1rem;
    }

.idea {
    display: inline-block;
    padding: .5em;
    background-color: yellow;
    color:black;
}

.comtest-ok {
    display: inline-block;
    border-radius: 9999px;
    padding: .5em 1em;
    background-color: limegreen;
    color: white;
    margin: 0;
}

.comtest-error {
    display: inline-block;
    border-radius: 9999px;
    padding: .5em 1em;
    background-color: crimson;
    color: white;
    margin: 0;  
}
