@charset "utf-8";

@font-face {
    font-family: "PT Sans";
    src: local("PT-Sans"), url("../font/PTSans-Regular.ttf"), format("ttf");
}

@font-face {
    font-family: "PT Serif";
    src: local("PT-Serif"), url("../font/PTSerif-Regular.ttf"), format("ttf");
}

@font-face {
    font-family: "PT Serif italic";
    src: local("PT-Serif-italic"), url("../font/PTSerif-Italic.ttf"), format("ttf");
}


body {
    font-size: 1em;
    font-family: "PT Sans";
    color: #333;
    background: #fff;
    box-sizing: border-box;
    margin: 0;
}

div {
    box-sizing: border-box;
}

* {
    scrollbar-width: thin;
}

*::-webkit-scrollbar {
    width: 10px;
}

*::-webkit-scrollbar-track {
    background: #f1f9fa;
}

*::-webkit-scrollbar-thumb {
    background-color: #eee;
}

h1,
h2,
h3 {
    color: #333;
    word-break: break-word;
    margin: 0;
}

h1 {
    font-size: 2.5em;
    display: table;
    font-family: "PT Serif";
    margin: 0 0 40px;
}

.firstContent h1 {
    font-size: 1.5em;
    margin-bottom: 0px;
}

h2 {
    line-height: 1.2;
    font-size: 1.2em;
    font-family: "PT Serif";
    display: table;
}

h3 {
    line-height: 1.2;
    font-size: 1.3em;
    margin: 10px 0 10px;
    font-family: "PT Serif";
}

i {
    font-family: "PT Serif italic";
}

p {
    text-indent: 20px;
}

a {
    text-decoration: none;
    color: #1e40c8;
}

a:hover,
.menuLinks a:hover,
.logo:hover {
    transition: 0.2s linear;
    color: #d86421;
}

.firstbody {
    width: 100%;
    min-height: calc(100vh - 90px);
    margin: 0;
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
}

.firststomach {
    display: flex;
    justify-content: center;
    font-size: 1.2em;
    line-height: 40px;
    width: fit-content;
    height: fit-content;
    margin: 0 auto;
    font-family: "PT Serif";
    padding: 20px;
    gap: 20px;
}

.imago {
    display: flex;
    width: 200px;
    background: url('../img/zhdun.webp') no-repeat center;
    background-size: cover;
    aspect-ratio: 5/7;
}

.firstContent {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.firstmenu {
    display: table;
}

.firstmenu a {
    display: table;
    font-size: 1.2em;
    border-bottom: 1px #1e40c8 dashed;
    margin-top: 10px;
}

.firstmenu a:hover,
.menuLinks a:hover {
    border-bottom: 1px #d86421 dashed;
}

.secondarea h2 {
    font-size: 2.8em;
    margin: 0 auto;
}


.quote,
.homelink {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    object-fit: cover;
    padding: 30px;
    display: flex;
}

.quote {
    background: url('/img/zfon.svg') repeat #fdf2d9;
    background-size: auto;
    background-size: 110px;
}

.quote-text {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homelink {
    box-sizing: border-box;
    font-size: 1.5em;
    flex-direction: column;
    justify-content: space-between;
}

.homelink span {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: #fff;
}

.homelink a {
    display: table;
    background: #1e40c8;
    color: #fff;
    padding: 5px 20px;
    border-radius: 8px;
    font-size: 0.8em;
}

.stomach {
    display: table;
    margin: 80px auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}


.menu {
    display: table;
    font-size: 1.4em;
    font-family: "PT Serif";
    width: 100%;
}

.menu a {
    color: #333;
}

.logo {
    font-size: 1.8em;
    word-spacing: 5px;
    animation: spacingAnimation .6s ease-out forwards;
}

.logo span {
    position: relative;
    top: -30px;
    font-size: 0.5em;
    transform: rotate(-10deg);
    display: inline-table;
    color: red;
    font-weight: bold;
}



@keyframes spacingAnimation {
    0% {
        letter-spacing: -15px;
    }

    100% {
        letter-spacing: 2px;
    }
}

.menuLinks {
    margin: 50px 0 3px;
    overflow-x: scroll;
    white-space: nowrap;
    scrollbar-width: none;
    display: flex;
    justify-content: start;
}

.menuLinks a,
.menuLinks span {
    margin-right: 50px;


    display: inline-table;
}

.menuLinks a:last-child,
.menuLinks span:last-child {
    margin: 0;
}

.menuLinks a {
    border-bottom: 1px #333 dashed;
}

.menuLinks span {
    color: #1e40c8;
    ;
}

.signature {
    display: table;
    width: 100%;
    height: 40px;
    margin: 0 auto;
    color: #8c8c8c;
    padding: 20px;
}

.signaturefull {
    text-align: center;
}

.wherefrom {
    display: table;
}

.wherefromfull {
    margin: 0 auto;
}

.wherefrom::before {
    content: "";
    display: inline-table;
    height: 20px;
    width: 12px;
    background: url('img/homeIcons.svg') no-repeat;
    background-size: auto;
    margin-right: 5px;
    vertical-align: middle;
    background-size: 32px;
}

.content {
    margin: 80px 0;
}


.preview,
.error {
    line-height: 1.8;
    background: url('/img/zfon.svg') repeat #fdf2d9;
    background-size: 110px;
    padding: 20px 30px;
    border-radius: 8px;
    display: table;
    box-sizing: border-box;
}

.error {
    background: url('/img/rfon.svg') repeat #FFF2ED;
    background-size: 110px;
}

.contentblock {
    display: table;
    margin: 80px 0;
    line-height: 1.8;
    width: 100%;
}

.contentblock h2 {
    margin: 0 0 20px;
}

.perechen {
    list-style-type: none;
    padding-left: 15px;
}

.perechen li::before {
    content: "– ";
    margin-left: -15px;
}

.projectblock {
    display: flex;
    margin: 40px 0 100px;
}

.ipfreud {
    background: url('/img/ip.svg') no-repeat center;
    background-size: 120px
}

.smartpsy {
    background: url('/img/sp.svg') no-repeat center;
    background-size: 120px
}



.someproject {
    display: flex;
    min-width: 300px;
    height: 150px;
    margin-right: 40px;
    box-shadow: 0px 0px 20px -2px #eee;
    border-radius: 4px;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 1.8em;
    font-family: "PT Serif";
}

.slova {
    font-size: 4em;
}

.mrfreud {
    color: #36306e;
}

.qlms {
    font-family: "Arial";
}

.shortcont {
    display: table;
    text-align: justify;
    margin: 20px 0 20px;
}

.linkcont {
    display: table;
    font-weight: bold;
    letter-spacing: 1px;
}

.somedescription h3 {
    margin: 0;
}


.nothing {
    width: 100%;
    text-align: center;
    margin: 60px 0;
}

.contblock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 60px 0;
}

.contsomeart {
    display: inline-table;
    width: 100%;
    margin-bottom: 80px;
}

.contsomeart img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 20px;
    object-fit: cover;
}

.contdatehash {
    display: flex;
    justify-content: space-between;
}

.contdate {
    color: #ccc;
    display: table;
}

.contname {
    font-size: 1.2em;
    display: table;
    margin: 20px 0;
    font-weight: bold;
    color: #333;
}

.contsomea {
    display: table;
}

.contsomea::after {
    content: "→";
    margin-left: 6px;
    transition: 0.1s linear;
}

.contsomea:hover::after {
    margin-left: 14px;
    transition: 0.2s linear;

}

.shopbuy {
    display: table;
    background: #1e40c8;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}


.widthall {
    width: 100%;
    display: grid;
    margin: 0 auto;
    overflow: hidden;
}

.flexblock {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    cursor: pointer;
}

.someart {
    width: 375px;
    display: inline-flex;
    padding: 30px;
    height: 250px;
    border-radius: 40px;
    background: #888;
    flex-direction: column;
    justify-content: space-between;
    max-width: 500px;
}

.someartend {
    width: 40px;
    display: inline-flex;
    vertical-align: top;
    box-sizing: border-box;
    background: none;
    vertical-align: top;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.someartend a {
    width: 100%;
    border-radius: 15px;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: linear-gradient(180deg, #ffffff 0%, #f0f5ff 100%);
    border: 1px solid #d1e0ff;
    color: #1e40c8;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.contsomeaps {
    display: table;
    padding: 8px 20px;
    background: #1e40c8;
    color: #fff;
    line-height: 1;
    border-radius: 5px;
}

.contsomeaps:hover {
    color: #fff;
    background: #102682;
}

.someartend a:hover {
    background: linear-gradient(180deg, #f0f5ff 0%, #e1ebff 100%);
    border-color: #a3c2ff;
}

.contnameps {
    font-size: 1.3em;
    display: table;
    margin: 10px 0;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
}

.normalfon {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.newFlexItem {
    margin: 0 20px 0px;
    white-space: normal;
}

.newFlexItem:first-child {
    margin-left: 0;
}

.newFlexItem:last-child {
    margin-right: 0;
}

.contblockart {
    display: table;
    font-size: 1.2em;
    text-align: justify;
    margin-bottom: 80px;
    line-height: 1.8;
}

.blogartimg {
    width: 500px;
    aspect-ratio: 3/2;
    border-radius: 20px;
    margin-bottom: 40px;
    object-fit: cover;
}


/* статистика */
.statistic textarea {
    width: 100%;
    min-height: 120px;
    margin-bottom: 40px;
    font-family: "PT Sans";
    font-size: 1.2em;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    padding: 40px;
    box-sizing: border-box;

}

.resuttable {
    display: table;
    margin: 40px 0;
    width: 100%;
}

.resuttable summary {
    display: table;
    border-bottom: 1px dashed;
    margin-bottom: 10px;
    font-size: 1.4em;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border-radius: 8px;
}

tr {
    width: 100%;
}

td,
th {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center;
}

.tabecols {
    background: #f2f2fd;
}


.statisticsmenu {
    display: table;
    margin: 40px 0;
    line-height: 1.7;
}

.statisticsmenu a {
    display: table;
    border-bottom: 1px dashed;
    margin-bottom: 10px;
}

.statisticsmenu span {
    display: table;
    margin-bottom: 10px;
    font-weight: bold;
}




/* типограф */
.tipgraf h2 {
    font-size: 1.7em;
    text-align: center;
    margin: 0 auto 40px;
}

.tipgraf h3 {
    margin: 30px 0 10px;
}

.options {
    margin: 0 auto 40px;
    background: #fafafa;
    border-radius: 8px;
    padding: 40px 80px;
}

.options input {
    display: none;
}

.quotes label {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eee;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    font-family: "PT Serif";
    cursor: pointer;
    margin: 10px;
}

.tipformat label {
    display: inline-flex;
    width: auto;
    border-radius: 4px;
    background: #eee;
    justify-content: center;
    align-items: center;
    font-size: 1.1em;
    font-family: "PT Serif";
    cursor: pointer;
    margin: 10px;
    padding: 3px 15px;
}


.quotes label:hover,
.tipformat label:hover {
    background: #d5d5d5;
    transition: 0.2s linear;
}

.quotes label:has(input:checked),
.tipformat label:has(input:checked) {
    background: #000;
    color: #fff;
}

.other input+label {
    position: relative;
    padding: 0 0 0 60px;
    cursor: pointer;
    display: inline-block;
    line-height: 24px;
    margin: 10px 0;
    font-size: 1.1em;
    line-height: 22px;
}

.other input+label::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 50px;
    height: 26px;
    border-radius: 13px;
    background: #CDD1DA;
    transition: background .2s;
}

.other input+label::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 10px;
    background: #FFF;
    transition: all .2s;
}

.other input:checked+label::before {
    background: #000;
}

.other input:checked+label::after {
    left: 26px;
}

.tipgraf textarea {
    width: 100%;
    min-height: 400px;
    margin: 0px 0;
    font-family: "PT Sans";
    font-size: 1.2em;
    border-radius: 8px;
    border: 1px solid #ccc;
    resize: vertical;
    padding: 40px;
    box-sizing: border-box;
}

.tipgraf .result textarea {
    min-height: 400px;
    background: #fff;
}






/* диагностика */
.resultbox {
    display: table;
    width: 100%;
    margin: 120px auto;
}

.resultbox h2 {
    font-size: 1.5em;
    margin: 0 auto;
}

.indexnum {
    font-size: 2.5em;
    margin: 30px auto 10px;
    display: table;
    font-family: "PT Serif";
}



.health-bar-container {
    max-width: 400px;
    margin: 0px auto;
}

.health-bar {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 15px;
    background: linear-gradient(to left, green, yellowgreen, yellow, orange, red);
}

.health-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
}

.health-bar-pointer {
    position: absolute;
    top: -10px;
    width: 0;
    height: 20px;
    border-left: 2px solid red;
    border-right: 2px solid red;
    transition: left 1s ease-out;
}

.health-bar-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    font-size: 14px;
}

.health-bar-text {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
}


.resultitog h2 {
    margin: 0 auto 20px;
}

.rusultdesc {
    margin: 0 auto;
    display: table;
}

.resultpok {
    display: table;
    margin: 80px 0;
    width: 100%;
}

.someresult {
    display: table;
    width: 100%;
    margin: 80px 0;
}

.leftcol {
    display: table;
    float: left;
    width: 300px;
}

.rightcol {
    display: table;
    width: calc(100% - 300px);
}

.resuntnum {
    display: table;
    font-size: 2.0em;
    font-family: "PT Serif";
}

.formgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #ccc;
}

.input-group input {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    font-size: 15px;
    transition: 0.2s ease;
}


.analyze-btn {
    margin-top: 30px;
    padding: 10px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    font-family: "PT Sans";
}

.analyze-btn:hover {
    background: linear-gradient(90deg, #6366f1, #3b82f6);
}



/* конец диагностика */


.blocki {
    display: flex;
    gap: 20px;
}

.mini-player,
.shareblock {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: url("/img/zfon.svg") repeat #fdf2d9;
    background-size: 110px;
    padding: 20px 30px;
    border-radius: 8px;
}

.play-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    background: url("/img/play.svg") no-repeat;
    background-size: 65px;
    background-position-y: -2px;
}

.play-btn:hover {
    background-position-y: -37px;
}

.play-btn.play {
    background-position-x: 0px;
}

.play-btn.pause {
    background-position-x: -34px;
}

.shareblock a {
    display: inline-table;
    background: url("/img/share.svg") no-repeat;
    background-size: 100px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.shareblock a:hover {
    transition: 0s;
}

.shareblock .sharete {
    background-position: -68px -2px;
}

.shareblock .sharevk {
    background-position: -2px -2px;
}

.shareblock .sharelink {
    background-position: -35px -2px;
}

.shareblock .sharete:hover {
    background-position: -68px -35px;
}

.shareblock .sharevk:hover {
    background-position: -2px -35px;
}

.shareblock .sharelink:hover {
    background-position: -35px -35px;
}

.successlink {
    position: fixed;
    top: 5px;
    opacity: 0;
    display: none;
    background: #4caf50;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.successlink.show {
    display: block;
    opacity: 1;
}












@media screen and (max-device-width:1200px) {
    .signature {
        width: 100%;
    }
}


@media screen and (max-device-width:1000px) {
    .contblock {
        grid-template-columns: repeat(2, 1fr);
    }

    .options {
        padding: 40px 40px;
    }
}

@media screen and (max-device-width:820px) {
    .tipformat label {
        display: table;
        margin: 20px 0;
    }
}


@media screen and (max-device-width:700px) {
    .projectblock {
        flex-direction: column;
    }

    .someproject {
        margin: 0 auto 40px;
        width: 300px;
    }

    .somedescription h3 {
        text-align: center;
    }

    .shortcont,
    .linkcont {
        text-indent: 40px;
    }

    .contblock {
        gap: 20px;
    }

    .leftcol {
        float: inherit;
        width: auto;
        margin: 0 auto 20px;
    }

    .rightcol {
        width: 100%;
    }

}


@media screen and (max-device-width:600px) {
    h1 {
        font-size: 2em;
    }

    .someart {
        width: 345px;
        height: 230px;
    }

    .someartend {
        width: 40px;
    }

    .contnameps {
        line-height: 1.2;
    }

    .contblock {
        grid-template-columns: repeat(1, 1fr);
    }
}



@media screen and (max-device-width:540px) {
    .blogartimg {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .imago {
        width: 200px;
    }

    .firststomach {
        font-size: 1.1em;
        line-height: 30px;
    }
}


@media screen and (max-device-width:500px) {
    .menu {
        font-size: 1.2em;
    }

    .firstContent h1 {
        font-size: 1.3em;
    }

    .firstmenu a {
        font-size: 1.1em;
    }

    .statistic textarea,
    .tipgraf textarea {
        padding: 20px;
    }

    .options {
        padding: 40px 20px;
    }
}


@media screen and (max-device-width:470px) {
    .someart {
        padding: 30px 20px;
    }

    .someartend {
        padding: 0;
    }

    .newFlexItem {
        margin: 0 10px 0px;
    }

    .imago {
        width: 180px;
        aspect-ratio: auto;
        height: 240px;
    }
}


@media screen and (max-device-width:450px) {
    .someart {
        width: 300px;
        height: 230px;
        padding: 20px 20px;
    }

    .someartend {
        width: 40px;
        padding: 0;
    }

    .contnameps {
        font-size: 1.1em;
        margin: 0 0 10px;
    }
}

@media screen and (max-device-width:430px) {
    .imago {
        height: 210px;
    }

    .firststomach {
        font-size: 1em;
        line-height: 25px;
    }

    .firstContent h1 {
        font-size: 1.1em;
    }

    .firstContent i {
        font-size: 0.8em;
    }

    .firstmenu a {
        font-size: 1em;
    }
}


@media screen and (max-device-width:410px) {

    .preview,
    .error {
        line-height: 1.4;
        padding: 20px 20px;
    }

    .perechen {
        line-height: 1.4;
    }

    .perechen li {
        margin-bottom: 10px;
    }

    .someart {
        width: 270px;
        height: 250px;
    }

    .someartend {
        width: 40px;
        padding: 0;
    }

    .imago {
        width: 190px;
        height: 210px;
    }

    .firstmenu a {
        font-size: 1em;
    }
}

@media screen and (max-device-width:380px) {
    .someart {
        width: 250px;
    }

    .someartend {
        width: 40px;
    }

    .someproject {
        width: 100%;
    }
}