body {
    margin: 0;
    font-size: 1.15em;
}

.calculator {
    width: 100% !important;
    display: flex;
    flex-direction: column;
}

.header-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    border-top: 5px solid #BF0426 !important;
    background-color: #212121 !important;
    padding: 1.8em;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    gap: 1.8em;
}

.header-options div {
    flex-grow: 1;
}

.scaleAnimation {
    animation: scale ease-in-out .5s ;
}

@keyframes scale {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.high-brightness {
    filter: brightness(1) !important;
}

.bottom-result {
    background-color: #212121 !important;
    height: auto !important;
    padding: 1.5em;
    border-bottom-left-radius: 15px !important;
    border-bottom-right-radius: 15px !important;
    filter: brightness(0.65);
    transition: .25s ease-in-out;
}

.header-options-title-container {
    color: white;
    font-family: Arial, sans-serif, Arial;
    font-weight: 700;
    font-size: 1.65em;
    width: fit-content;
    padding: 10px 17px 9px 12px;
    border-radius: 20px;
    background-color: rgba(74,74,74,0.5);
    display: flex;
    column-count: 1;
    justify-content: center;
    align-items: center;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 1em;
}

.header-options-title {
    margin-left: 0.3em;
}

.header-icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.1em;
    height: 1.1em;
    background-color: #BF0426;
    border-radius: 50%;
}

.header-icon-container i {
    font-size: 0.5em;
}

.insert-weight input {
    background: none !important;
    outline: none !important;
    border: none !important;
}

.insert-weight input {
    height: 1.5em;
    border: 3px solid white !important;
    border-radius: 10px !important;
    width: 80px !important;
    color: white !important;
    font-family: Arial, sans-serif, Arial !important;
    font-weight: 700 !important;
    text-align: center !important;
    font-size: 1.5em !important;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.label {
    color: white !important;
    font-family: Arial, sans-serif, Arial !important;
    font-weight: 700 !important;
}

.ratio-select-option {
    display: flex;
    align-items: center;
    color: white;
    gap: 1em;
    height: 3.7em;
    padding: 0.45em 0;
    border-bottom: 2px solid #474747;
}
/* remove default ratio button style*/
input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.ratio-button {
    display: grid;
    place-content: center;
    font: inherit;
    width: 1.7em;
    height: 1.7em;
    border: 2px solid white;
    border-radius: 50%;
}

.ratio-button:before {
    content: "";
    display: grid;
    place-content: center;
    height: 0.7em;
    width: 0.7em;
    border-radius: 50%;
    box-shadow: inset 0.7em 0.7em #FFC107;
    transition: .15s ease-in-out;
    scale: 0;
}

.ratio-button:checked:before {
    scale: 1;
}

.preparation-label {
    font-family: Arial, sans-serif, Arial !important;
    font-weight: 600;
    font-size: 1.15em;
    width: 12em;
}

.preparation-label i:nth-child(2) {
    font-size: 0.75em;
    margin-left: 0.3em;
}

.prepration-unit-description {
    font-size: 0.7em;
    font-weight: normal;
}

.ratio-select-option .fa-capsules {
    position: relative;
    overflow: hidden;
    line-height: 0.9em !important;
    margin-left: -0.37em ;
}

.ratio-select-option .fa-capsules::after {
    content: '';
    position: absolute;
    top: 0;
    right: 61.5%;
    bottom: 0;
    left: 0;
    background: #212121;
}

.option:focus {
    background: #BF0426 !important;
}

button {
    outline: none;
    border: none;
    background: none;
}

#other-p {
    display: none;
}

.submit-box {
    flex-basis: 100%;
    margin-top: 1em;
    text-align: center;
}

.submit-box:after {
    content: "";
    clear: both;
}

.better-use-container {
    font-family: Arial, sans-serif, Arial !important;
    color: white;
    font-size: 0.85em;
    margin: 0;
    width: 100%;
    margin-left: 50%;
}

.better-use-container h3 {
    margin: 0 0 1em 0;
}

.calculate {
    background-color: #BF0426;
    border-radius: 5px;
    padding: 1.25em 2.6em;
    border-bottom: 5px solid #7d040e;
    transition: transform 0.1s ease-in-out, border-bottom 0.1s ease-in-out, box-shadow 0.1s ease-in-out;
    box-shadow: 1px 2px 3px black;
    position: relative;
}

.calculate:active {
    transform: translateY(4px);
    box-shadow: none;
}

.calculate-tag {
    color: white;
    font-size: 1.25em;
    font-weight: bold;
}

.fancySeperatorContainer {
    position: relative;
    width: 100%;
    height: 5px;
    overflow: hidden;
    z-index: 1;
}

.glowContainer {
    position: absolute;
    width: 100%;
    height: 5px;
    background: red;
    box-shadow: 0 0 0 2px red;
    filter: blur(5px);
    opacity: 0;
    animation: glowIdle 3.5s ease-in-out infinite;
}

.fancySeperatorContainer .set1, .set2 {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
}

.fancySeperatorContainer .set1 {
    left: 0;
}

.fancySeperatorContainer .set2 {
    left: 100%;
}

.fancySeperatorContainer span {
    flex: 1;
    height: 100%;
}

.fancySeperatorContainer span {
    background: linear-gradient(to right, #BF0426, #f70d0d, #BF0426);
}

.fancySeperator {
    animation: confirmAnimation .9s ease-in-out;
}

@keyframes confirmAnimation {

}

.glow {
    animation: glow .9s ease-in-out;
}

@keyframes glow {
    0% {
        opacity: 0;
    }
    40% {
        opacity: 1.5;
    }
    100% {
        opacity: 0;
    }
}

@keyframes glowIdle {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


.plateau-container {
    font-family: Arial, sans-serif, Arial;
    text-shadow: 1px 1px 5px #686868a6;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.9em;
    border-radius: 15px;
    padding: 0 0.8em;
    color: white;
    background-color: green;
    box-shadow: 1px 1px 5px rgba(0,0,0,78);
    margin-bottom: 0.7em;
}

.plateau-tag {
    font-size: 1.6em;
    font-weight: bold;
}

.plateau-tag-container {
    flex-shrink: 0;
}

.plateau-dosage-container {
    display: flex;
    justify-content: flex-start;
    gap: 1em;
    align-items: center;
}

.plateau-seperator {
    height: 5em;
    width: 0.1em;
    border-radius: 25px;
    background: #212121;
    rotate: -13deg;
}

.plateau-dosage-units i {
    font-size: 1em;
}

.plateau-dosage-units {
    font-size: 1.3em;
    font-weight: bold;
    margin: 0;
}

.plateau-dosage-mg {
    font-size: 0.8em;
    font-weight: bold;
    margin-top: 0.2em;
    margin-bottom: 0;
}

.product-info {
    margin-top: -10px !important;
    margin-bottom: 20px !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.product-info {
    text-align: left !important;
    font-size: 16px !important;
    font-family: Arial, sans-serif, Arial !important;
    color: white !important;
}

.big-weight {
    text-align: left !important;
    font-size: 16px !important;
    font-family: Arial, sans-serif, Arial !important;
    font-weight: 400;
    color: white !important;
    margin-top: 30px !important;
    margin-left: 20px !important;
}

.important-dosage {
    font-family: Arial, sans-serif, Arial;
    color: white;
    font-size: 0.8em;
    margin-left: 0.4em;
}

.bottom-info-container {
    margin-top: 30px !important;
    display: flex !important;
    justify-content: left !important;
    align-items: center !important;
}

.info-icon {
    height: 35px !important;
    width: 35px !important;
    color: white !important;
}

.unit {
    color: white !important;
    font-family: Arial, sans-serif, Arial !important;
    font-weight: 700 !important;
    margin-left: 5px !important;
    font-size: 18px !important;
}

.dialog-headline {
    color: white !important;
    font-family: Arial, sans-serif, Arial !important;
    font-weight: 700;
    margin-top: 10px;
    font-size: 1.1em;
}

#product {
    font-weight: bold;
}

.plateau-1 {
    background: #409E2F;
}

.plateau-2 {
    background: #F2B100;
}

.plateau-3 {
    background: #FF7300;
}

.plateau-4 {
    background: #BF0426;
}

@media (max-width: 600px) {
    .plateau-result-box {
        font-size: 0.8em;
    }

    .plateau-dosage-container {
        font-size: 1.05em;
    }

    .header-options {
        padding: 2em 0.9em;
    }

    .bottom-result {
        padding: 1.5em 0.8em;
    }

    .better-use-container {
        margin-left: unset;
    }
}
