* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 400px;
    width: 100%;
    height: auto;
    text-align: center;
    background-color: #808080;
    border-radius: 20px;
}

h1 {
    position: relative;
    margin: 20px 0;
}

#calcForm {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

#calcForm label {
    width: 100%;
}

input {
    max-width: 300px;
    width: 90%;
    height: 30px;
    border-radius: 5px;
    text-align: center;
    border: 0;
    margin: 5px;
}

h3 {
    font-weight: normal;
}

.none {
    display: none;
}

.ovladani {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
}

.ovladani_button {
    position: relative;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 2px solid #808080;
    border-radius: 50%;
}

.prekryti {
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    background-color: rgba(96, 96, 96, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ovladani_button:hover .prekryti {
    opacity: 1;
}

.ovladani_button img {
    height: 100%;
    object-position: center;
}

.popis {
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    max-width: 400px;
    width: 100%;
    z-index: 2;
    padding: 10px;
    border: 2px solid #808080;
    border-radius: 20px;
}
#verze {
    display: inline;
}
#kontakt {
    font-size: 0.7em;
}

.popis p {
    margin-bottom: 15px;
}

.kurziva {
    font-style: italic;
}

.bold {
    font-weight: 600;
}

#ovladaniPopisZavrit {
    margin-left: auto;
}

#spocitej {
    max-width: 300px;
    width: 90%;
    height: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.17em;
    background-color: gainsboro;
}

#cenaZaJednoho {
    border: 2px solid black;
    border-radius: 5px;
    max-width: 300px;
    width: 80%;
    padding: 5px;
    margin: 10px 0;
}

#vysledek,
#vysledekMena {
    font-weight: bold;
    font-size: 1.5em;
    display: inline;
}

.sdileniSkupina {
    display: flex;
    justify-content: center;
}

.chyba {
    font-weight: bold;
    font-size: 1.5em;
    color: rgb(204, 28, 28);
    margin-bottom: 10px;
}

.sdileni {
    display: inline-block;
    position: relative;
    height: 24px;
    min-width: 16px;
    margin: 3px;
    padding: 6px 10px;
    background-color: #333;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 50% 50%;
    border-radius: 3px;
    border: 0;
    box-sizing: content-box;
    color: #fff;
    line-height: 1.5;
    transition: opacity .3s ease;
    vertical-align: middle
}

.sdileni:hover {
    border: 0;
    cursor: pointer;
    opacity: .7
}

#sdileniWhatsapp {
    background-color: #25d366;
    background-image: url("data:image/svg+xml,%3csvg fill='%23fff' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52s.198-.298.298-.497c.099-.198.05-.371-.025-.52s-.669-1.612-.916-2.207c-.242-.579-.487-.5-.669-.51a13 13 0 0 0-.57-.01c-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074s2.096 3.2 5.077 4.487c.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413s.248-1.289.173-1.413c-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.82 9.82 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.82 11.82 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.9 11.9 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.82 11.82 0 0 0-3.48-8.413'/%3e%3c/svg%3e")
}

#sdileniMessenger {
    background-color: #00b2ff;
    background-image: url("data:image/svg+xml,%3csvg fill='%23fff' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M.001 11.639C.001 4.949 5.241 0 12.001 0S24 4.95 24 11.639s-5.24 11.638-12 11.638c-1.21 0-2.38-.16-3.47-.46a.96.96 0 0 0-.64.05l-2.39 1.05a.96.96 0 0 1-1.35-.85l-.07-2.14a.97.97 0 0 0-.32-.68A11.39 11.389 0 0 1 .002 11.64zm8.32-2.19-3.52 5.6c-.35.53.32 1.139.82.75l3.79-2.87c.26-.2.6-.2.87 0l2.8 2.1c.84.63 2.04.4 2.6-.48l3.52-5.6c.35-.53-.32-1.13-.82-.75l-3.79 2.87c-.25.2-.6.2-.86 0l-2.8-2.1a1.8 1.8 0 0 0-2.61.48'/%3e%3c/svg%3e")
}

#sdileniMail {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cg fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3e%3crect height='16' rx='2' width='20' x='2' y='4'/%3e%3cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3e%3c/g%3e%3c/svg%3e")
}

#sdileniZkopiruj {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3e%3c/svg%3e")
}

#sdileniZkopirujBublina {
    position: absolute;
    top: 0px;
    left: -35px;
    color: black;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 6px 10px;
    border-radius: 3px;
    font-weight: bold;
    transition: opacity .3s ease;
}






.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

.cookie-bar button {
    cursor: pointer;
    margin: 2px;
    padding: 2px;
}