@import url(https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700;800&display=swap);

.header__text,
.version {
    font-size: 14px;
}


.analyzeButton:hover,
.footer__contact:hover,
.header__language:hover {
    background-color: var(--hover-background)
}

:root {
    --green: #005A60;
    --gradient-background: linear-gradient(91.25deg, #005A60 28.31%, #007A82 66.6%);
    --hover-background: #007880
}

.version {
    color: gray
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: Open Sans;
}

label {
    transition: .35s
}

a {
    text-decoration: none
}

p {
    text-align: justify
}

label>input {
    height: 20px;
    width: 20px
}

hr {
    color: var(--green);
    border-bottom: 2px solid #005a60
}

.container {
    max-width: 1300px;
    margin: 0 auto
}

.DNABlock:not(:last-child),
.section__description:not(:last-child),
.section__headline {
    margin-bottom: 50px
}

footer,
header {
    margin-top: 10px;
    margin-bottom: 10px
}

footer>.container,
header>.container {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.header__text {
    font-weight: 600;
    line-height: 19px;
    text-align: left
}

.header__text:last-child {
    text-align: right
}

.header__language {
    background: 0 0;
    border: 1px solid var(--green);
    border-radius: 10px;
    color: #000;
    cursor: pointer;
    transition: .3s;
    padding: 7px 15px
}

.analyzeButton:hover,
.header__language:hover {
    color: #fff
}

section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.section__headline {
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    background: #fff
}

.section__description {
    font-size: 18px;
    font-weight: 400
}

.DNABlock__container-label,
.DNABlock__headline {
    font-size: 25px;
    color: #fff;
    font-family: Open Sans
}

.section__description-span {
    margin-left: 10px
}

.DNABlock {
    width: 100%;
    height: 185px;
    border: 1px solid;
    border-radius: 5px;
    background: url(../img/DNA.svg), var(--gradient-background);
    background-repeat: no-repeat;
    background-position: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
    padding-right: 15px
}

.DNABlock__headline {
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.7;
}

.DNABlock__container {
    display: flex
}

.DNABlock__container-label {
    border: 1px solid #fff;
    border-radius: 5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 5px 17px
}

.DNABlock__container-about {
    border: none;
    background: none;
    font-size: 18px;
    color: white;
    cursor: pointer;
}

.analyzeButton,
.footer__contact {
    color: #000;
    background: 0 0;
    cursor: pointer;
    transition: .3s;
    font-family: Open Sans
}

.again,
.loader,
.result {
    display: none
}

.DNABlock__container-label>p {
    margin-right: 10px
}

.DNABlock__container-label:not(:last-child) {
    margin-right: 30px
}

.analyzeButton {
    font-size: 30px;
    font-weight: 700;
    border: 2px solid var(--green);
    border-radius: 10px;
    margin-bottom: 50px;
    padding: 16px 30px
}

.footer__contact {
    font-size: 20px;
    border-radius: 15px;
    border: 1px solid var(--green);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
    padding: 10px 37px
}

.footer__contact:hover {
    color: #fff
}

.footerResult {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0
}

.again {
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px
}

.result {
    flex-direction: column;
    align-items: center
}

.result__headline {
    font-family: Open Sans;
    font-size: 50px;
    font-weight: 600;
    line-height: 61px;
    margin-bottom: 50px;
    margin-top: 30px
}

.result__text,
.result__warning {
    font-family: Open Sans;
    font-weight: 400;
    margin-bottom: 70px
}

.result__text {
    font-size: 20px;
    line-height: 27px;
    border: 3.5px solid var(--green);
    border-radius: 5px;
    padding: 20px
}

.result__warning {
    font-size: 18px;
    line-height: 25px
}

.result__warning-span {
    color: var(--green);
    font-weight: 800
}

.resultMediumLow {
    border-image: linear-gradient(90deg, rgba(0, 90, 96, 1) 0%, rgba(255, 191, 0, 1) 65%);
    border-image-slice: 1
}

.resultMedium {
    border-color: #ffbf00
}

.resultMediumHigh {
    border-image: linear-gradient(90deg, rgba(255, 0, 0, 1) 0%, rgba(255, 191, 0, 1) 53%);
    border-image-slice: 1
}

.resultHigh {
    border-color: red
}

.loader {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff
}

.appearingClassAnimation {
    animation: .65s ease-in-out fadeIn;
    display: flex
}

.disappearingClassAnimation {
    animation: .65s ease-in-out fadeOut;
    display: none
}

@keyframes fadeIn {
    from {
        opacity: 0;
        display: none
    }

    to {
        opacity: 1;
        display: flex
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        display: flex
    }

    to {
        opacity: 0;
        display: none
    }
}

@media (max-width:1400px) {
    .container {
        width: 1000px
    }
}

@media (max-width:1100px) {
    .container {
        width: 900px
    }

    .section__headline {
        font-size: 45px
    }

    .footer__contact {
        padding-right: 15px;
        padding-left: 15px
    }
}

@media (max-width:960px) {
    .container {
        width: 700px
    }

    .header__text {
        font-size: 12px
    }

    .footer__contact {
        font-size: 14px
    }

    .DNABlock__headline,
    .analyzeButton {
        font-size: 22px
    }

    .result__headline {
        font-size: 40px
    }

    .result__text,
    .result__warning {
        font-size: 16px
    }
}

@media (max-width:760px) {
    .container {
        width: 600px
    }

    .header__text {
        font-size: 10px
    }

    .section__headline {
        font-size: 40px;
        margin-top: 0
    }

    .DNABlock__headline {
        font-size: 20px
    }
}

@media (max-width:630px) {
    th, td {
        padding: 5px;
        font-size: 12px;
    } 

    .DNABlock:not(:last-child),
    .section__description:not(:last-child),
    .section__headline {
        margin-bottom: 30px
    }

    .container {
        width: 500px
    }

    .header__text {
        display: none
    }

    .section__headline {
        font-size: 34px
    }

    .section__description {
        font-size: 16px
    }

    .DNABlock__container-label {
        font-size: 20px
    }

    .DNABlock__container-about {
        font-size: 16px;
    }

    .result__headline {
        font-size: 30px
    }

    .result__text,
    .result__warning {
        font-size: 14px
    }

    .result__text {
        padding: 5px 15px
    }

    .result__warning {
        text-align: center
    }
}

@media (max-width:530px) {
    .container {
        width: 400px
    }

    section {
        margin-top: 20px
    }

    .section__headline {
        font-size: 24px
    }

    .section__description {
        font-size: 14px
    }

    .DNABlock__headline {
        font-size: 18px
    }

    .DNABlock__container-label {
        font-size: 16px
    }

    .DNABlock__container-label:not(:last-child) {
     margin-right: 10px;   
    }

    .DNABlock__container-about {
        font-size: 12px;
    }

    .analyzeButton {
        font-size: 20px
    }
}

@media (max-width:420px) {
    th, td {
        padding: 1px;
        font-size: 10px;
    } 

    .container {
        width: 350px
    }

    .DNABlock__headline,
    .analyzeButton {
        font-size: 16px
    }

    .DNABlock {
        padding-left: 10px
    }



    .result__headline {
        font-size: 22px;
        margin-top: 10px;
        margin-bottom: 25px
    }

    .result__text,
    .result__warning {
        font-size: 12px
    }
}

@media (max-width: 420px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px
    }

    .section__headline {
        font-size: 18px
    }

    .footer__contact,
    .result__text,
    .result__warning,
    .section__description {
        font-size: 12px
    }

    .DNABlock__headline,
    .analyzeButton {
        font-size: 14px
    }

    .DNABlock {
        height: 240px
    }

    .DNABlock__container-label:not(:last-child) {
        margin-right: 0;
        margin-bottom: 10px
    }

    .DNABlock__container-label {
        width: fit-content
    }

    .DNABlock__container {
        flex-direction: column
    }

    .result__headline {
        font-size: 18px;
        margin-bottom: 20px
    }
}