html {
    font-family: 'Montserrat', sans-serif;
    font-size: 100%;
}

h1 {
    font-size: 2.3rem;
    color: #ed5b2f;
}

p {
    line-height: 1.5rem;
}

@media (min-width: 760px) {
    .container {
        width: 550pt;
        margin: 40pt auto;
    }
}

.container {
    text-align: center;
}

.logo {
    margin: auto;
    display: block;
}

.intro {
    margin: 3rem 0;
    
    font-size: 1rem;
    
    padding-left: 1rem;
    padding-right: 1rem;
}

.intro p {
    line-height: 160%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.main-form {
    position: relative;
}

.section-label {
    margin-top: 2rem;
    font-weight: bold;
    font-size: 1rem;
}

.radios {
    display: flex;
    width: 100%;
    align-items: center;
    margin: 1rem 0;
}

.radios>span {
    flex-grow: 1;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
}

.radios-label:before {
    content: "— ";
    color: #ed5b2f;
    font-weight: bold;
    font-size: 1.4rem;
    margin-right: 0.5rem;
}

.box-radios {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 1rem;
}

/* TODO: super by byly responzivní čtverce, natvrdo je to teď nejrychlejší */
.box-radios label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-weight: 500;

    border: 1px solid #E2E1E1;
    transition: 100ms ease-in;

    background: #E2E1E1;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    color: white;
}

@media (min-width: 200px) {
    .box-radios label {
        width: 12px;
        height: 12px;
        padding: 3px;
        border-radius: 50%;
        margin: 2px;
        font-size: 0.6rem;
    }
}

@media (min-width: 300px) {
    .box-radios label {
        width: 16px;
        height: 16px;
        padding: 5px;
        border-radius: 50%;
        margin: 2px;
        font-size: 0.9rem;
    }
}

@media (min-width: 400px) {
    .box-radios label {
        width: 18px;
        height: 18px;
        padding: 5px;
        border-radius: 50%;
        margin: 2px;
        font-size: 0.9rem;
    }
}

@media (min-width: 500px) {
    .box-radios label {
        width: 24px;
        height: 24px;
        padding: 6px;
        border-radius: 50%;
        margin: 4px;
        font-size: 1.2rem;
    }
}

@media (min-width: 760px) {
    .box-radios label {
        width: 30px;
        height: 30px;
        padding: 12px;
        border-radius: 50%;
        margin: 4px;
        font-size: 1.6rem;
    }
}



@media (hover: hover) {
    .box-radios label:hover {
        border: 1px solid #ed5b2f;
        cursor: pointer;
    }
}

.box-radios input[type="radio"] {
    display: none;
}

.box-radios input[type="radio"]:checked+label {
    border: 1px solid #ed5b2f;
    background-color: #ed5b2f;
    color: white;
}

.scale-labels {
    display: flex;
}

.scale-labels span:nth-child(2) {
    margin-left: auto;
}

.scale-label {
    font-size: 0.6rem;
    color: #777;
    margin: 0 0 1rem;
    /* padding: 0.5rem; */
}

textarea {
    width: calc(100% - 3rem);
    margin: 0 auto;
    font-family: inherit;
    border-radius: 0.5rem;
    padding: 1rem;
}

textarea:hover {
    border-color: #ed5b2f;
    transition: 300ms ease-in;
}

textarea:focus {
    border: 1px solid #ed5b2f;
    box-shadow: 0 0 5pt #ed5b2f;
    transition: 100ms ease-in;
    outline: none;
}

button {
    padding: 1rem 2rem;
    margin: 3rem 0;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    font-family: inherit;
    letter-spacing: 1px;
    background: #EB6625;
    border-radius: 1000px;
    border: 0px;
    color: white;
}

button:hover {
    background-color: #ed5b2f;
    color: white;
    transition: 100ms ease-in;
}

button:disabled {
    border: 1px solid #eee;
    background-color: #eee;
}

button:disabled:hover {
    border: 1px solid #eee;
    background-color: #eee;
}

button:focus {
    outline: 1px dotted #ccc;
}


@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    position: relative;
    left: 20px;
    margin-right: 20px;
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 90%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-top-color: transparent;
    animation: spinner .6s linear infinite;
}

.alert {
    padding: 1rem;
    background-color: rgb(248, 99, 99);
    color: white;
    border-radius: 20px;
    margin: 1em;
    margin-top: 2em;
}