@import "font.css";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    width: 100%;
    font-family: 'PT Root UI';
    margin: 0 auto;
}

h1 {
    font-weight: 500;
}

.white {
    color: #FFFFFF;
}

.blue {
    color: #0000FF;
}

.bold {
    font-weight: 600;
    font-style: bold;
}

.container {
    overflow: hidden;
    display: flex;
    width: 1440px;
    height: 680px;
    flex-direction: row;
    position: relative;
    margin: 0 auto;
}

.left-block {
    position: absolute;
    width: 586px;
    height: 680px;
    background: #0000FF;
}

.right-block {
    width: 59%;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vector {
    max-width: 80%;
    max-height: 80%;
}

.bottom-right {
    position: absolute;
    width: 151.29px;
    height: 152.25px;
    left: 435px;
    top: 528px;
}

.white{
    color: #FFFFFF;
}

.white-back{
    background-color: #FFFFFF;
}

.top-text {    
    position: absolute;
    width: 76px;
    height: 15px;
    right: 419px;
    top: 50px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 20.7739px;
    line-height: 26px;
    
    leading-trim: both;
    text-edge: cap;
    text-align: right;
    text-transform: uppercase;

    color: #FFFFFF;
}

.bottom-text {
    position: absolute;
    width: 123px;
    height: 41px;
    right: 371px;
    top: 589px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 20.7739px;
    line-height: 26px;

    leading-trim: both;
    text-edge: cap;
    text-transform: uppercase;

    color: #FFFFFF;
}

.hero-wrap {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
    z-index: 5;
}

.hero-title {
    position: absolute;
    width: 620px;
    left: 344px;
    top: 271px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 130px;
    line-height: 164px;

    margin-left: 68px;
    z-index: 5;
    white-space: nowrap;
    letter-spacing: 2px;
}

.mouse-format {
    position: absolute;
    width: 545.97px;
    height: 469.72px;
    left: 797px;
    top: 0px;
}

.bottom-right-text{
    position: absolute;
    width: 426px;
    height: 60px;
    left: 917px;
    top: 530px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 60px;
    text-align: right;

    color: #000000;
}

.bottom-right-page-text{
    position: absolute;
    width: 157px;
    height: 30px;
    left: 1186.76px;
    top: 600px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
    text-align: right;

    color: #0000FF;
}

.img-auth{
    position: absolute;
    width: 201px;
    height: 195px;
    left: 30.48px;
    bottom: -2px;
}

.ru{
    position: absolute;
    width: 11px;
    height: 6px;
    left: 10.66px;
    top: 10.66px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 7.99648px;
    line-height: 10px;

    leading-trim: both;
    text-edge: cap;
    text-transform: uppercase;

    color: #0000FF;
}

.a3{
    position: absolute;
    width: 10px;
    height: 6px;
    left: 241.42px;
    top: 10.66px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 7.99648px;
    line-height: 10px;

    leading-trim: both;
    text-edge: cap;
    text-align: right;

    color: #0000FF;
}

.pap{
    position: absolute;
    width: 30px;
    height: 6px;
    left: 221.24px;
    bottom: 21px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 7.99648px;
    line-height: 10px;

    leading-trim: both;
    text-edge: cap;
    text-align: right;
    text-transform: uppercase;

    color: #0000FF;
}

.formats {
    position: absolute;
    width: 1440px;
    height: 680px;
    left: 0px;

    background: #FFFFFF;
}

.props{
    box-sizing: border-box;

    position: absolute;
    width: 1440px;
    height: 680px;
    left: 0px;

    background: #FFFFFF;
}

.footer {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: #FFFFFF;
    position: relative;
    height: 333px;
}

.autor {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 30px;

    position: absolute;
    width: 318px;
    height: 88px;
    left: 98px;
    top: 123px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 90%;

    color: #000000;
}

.autor h1 {
    font-style: medium;
    font-weight: 500;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px;
    gap: 25px;

    position: absolute;
    width: 120px;
    height: 78px;
    left: 660px;
    top: 123px;
}

.links p {
    /* Рассылка */
    text-align: center;
    text-decoration-line: underline;
}

.hse-lable{
    position: absolute;
    width: 295px;
    height: 122.52px;
    left: 1047px;
    top: 106px;
}


.about{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 52px;

    position: absolute;
    width: 1440px;
    height: 680px;
    left: calc(50% - 1440px/2);
}

.left{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 52px;

    position: absolute;
    width: 557.19px;
    height: 554px;
    left: calc(50% - 557.19px/2 - 343.4px);
    top: 40px;
}

.story-lable{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 30px;

    width: 218px;
    height: 78px;

    flex: none;
    order: 0;
    flex-grow: 0;
}

.story{
    width: 557.19px;
    height: 227px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-size: 16px;
    line-height: 20px;

    leading-trim: both;
    text-edge: cap;
    text-align: justify;
    text-justify: inter-word;

    color: #000000;
    flex: none;
    order: 2;
    flex-grow: 0;
    line-height: 24px;
}

.story p {
    margin-bottom: 10px;
}


.mouse2{
    position: absolute;
    width: 150px;
    height: 75px;
    left: 434px;
    top: 43px;
}

.blue-back{
    background: #0000FF;
}

.auth{
    position: absolute;
    width: 463.46px;
    height: 602.01px;
    left: 1020px;
    top: -9.19px;

    background: #0000FF;
    transform: rotate(-105deg);
}

.auth p{
    position: absolute;
    width: 24px;
    height: 13px;
    left: 430.03px;
    top: 30px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-size: 18.3912px;
    line-height: 23px;

    color: #FFFFFF;

    transform: rotate(90deg);
}

.font-author{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 0px;
    row-gap: 0px;

    position: relative;
    width: 523.5px;
    height: 403.02px;
    left: 798px;
    top: 191px;
}

.mouse3{
    position: absolute;
    width: 148.5px;
    height: 58px;
    left: 1173px;
    top: 120px;
    z-index: 10;
}

.mouse6{    
    position: absolute;
    width: 144.5px;
    height: 146.69px;
    left: 577px;
    top: 192px;
}

.mouse7{
    position: absolute;
    width: 149.5px;
    height: 151.19px;
    left: 0px;
    top: 190px;
}

.mouse8{
    position: absolute;
    width: 111.73px;
    height: 150px;
    left: calc(50% - 111.73px/2 - 0.13px);
    top: 468px;
}

.paper-props{
/* Свойства бумаги */

    position: absolute;
    width: 375px;
    height: 60px;
    left: 98px;
    top: 60px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 60px;

    color: #FFFFFF;
}

.feature{
    margin-top: auto;
    margin-left: auto;
}

.prop-top-group{
    position: absolute;
    width: 1235px;
    height: 234px;
    left: 98px;
    top: 150px;
}

.prop-bottom-group{
    position: absolute;
    width: 1137px;
    height: 155.03px;
    left: 131px;
    top: 414px;
}

.grid4{
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 колонки */
    grid-template-rows: 1fr 1fr; /* 2 строки */
    width: 100%; /* чтобы не ехало позиционирование и размер item */
    height: 100%;
}


.item{
    position: relative;
}

.bordered{
    border-width: 1px 0px 1px 1px;
    border-style: dashed;
    border-color: #FFFFFF;
    border-top: none;
}

.white-back .bordered{
    border-top: 1px dashed blue;
    border-left: 1px dashed blue;
}

/* Правая граница для крайних правых элементов */
.bordered:nth-child(2n) {
    border-right: 1px dashed blue;
}

/* Нижняя граница для элементов последней строки */
.bordered:nth-last-child(-n+2) {
    border-bottom: 1px dashed blue;
}

.blue-border{
    border-width: 1px 1px 1px 1px;
    border-collapse: collapse;
    border-color: #0000FF;
    border-style: solid;
}

.item-content {
    font-family: 'PT Root UI';

    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 69px;

    width: 524px;
    height: 64px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    text-align: justify;

    position: absolute;
    left: 50%;
    top: 70px;
    transform: translate(-50%, -50%);
}

.item-content h1 {
    font-family: 'PT Root UI';
    
    font-style: normal;
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    width: 524px;
    height: 14;

    text-align: justify;
    text-align-last: justify;
}

.item-content h2 {
    font-family: 'PT Root UI';

    font-style: normal;
    font-size: 32px;
    line-height: 40px;
    font-weight: 500;
    width: 524px;
    height: 14;

    text-align: justify;

    font-style: normal;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;

    color: #000000;
}

.big {
    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 60px;
    line-height: 76px;

    color: #FFFFFF;
}


.glif-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    gap: 588px;

    position: absolute;
    width: 1244px;
    height: 60px;
    left: 98px;
    top: 40px;
}

.glif-header p {
    width: 518px;
    height: 50px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    text-align: justify;

    /* main/black */
    color: #0B0B0B;

    /* Inside auto layout */
    flex: none;
    order: 1;
    flex-grow: 0;
}

.story-label h1 {
    width: 218px;
    height: 34px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 500;
    font-size: 48px;
    line-height: 60px;
}

.story-label p {
    font-family: 'PT Root UI', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 25px;
    color: #000;
    margin-top: 30px;

    width: 218px;
    height: 14px;
}

.font-props {
    font-family: 'PT Root UI', sans-serif;
    font-size: 18px;
    line-height: 23px;
    color: #000;
    gap: 10px;
}

.story {
    position: absolute;
    width: 557.19px;
    height: 227px;
    left: 0px;
    top: 317px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;

    leading-trim: both;
    text-edge: cap;
    text-align: justify;

    color: #000000;

    flex: none;
    order: 2;
    flex-grow: 0;
    z-index: 2;
}

.story .medium {
    font-weight: 500;
    font-style: medium;
}

.story .underlined {
    text-decoration: underline;
}

.font-props .blue-bold {
    color: #0000FF;
    font-style: medium;
    font-weight: 500;
}

.font-props p{
    margin-bottom: 10px;
}

.big-blue {
    width: 524px;
    height: 50px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 200;
    font-size: 40px;
    line-height: 50px;
    text-align: justify;
    letter-spacing: 0.71em;

    color: #0000FF;
}

.big-blue-light {
    width: 524px;
    height: 100px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 200;
    font-size: 40px;
    line-height: 50px;
    text-align: justify;
    text-align-last: justify;
    letter-spacing: 0.59em;

    color: #0000FF;
}

.sdigits .item-content {
    gap: 20px;
}

.blue-large {
    width: 119px;
    height: 90px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-size: 128px;
    line-height: 161px;
    
    leading-trim: both;
    text-edge: cap;
    text-align: right;
    letter-spacing: 0.15em;

    color: #0000FF;


    /* Inside auto layout */
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}

.fractions {
    width: 361px;
    height: 90px;

    position: absolute;
    left: 170px;
    top: 85px;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 200;
    font-size: 36px;
    line-height: 50px;

    leading-trim: both;
    text-edge: cap;
    letter-spacing: 0.55em;

    color: #000000;
}

.digits-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 39px;

    position: absolute;
    width: 520px;
    height: 173px;
    left: 822px;
    top: 445px;
}

.large {
    display: flex;
    padding: 0px;
    margin-bottom: 39px;

    font-family: 'PT Root UI';
    font-size: 67px;

    text-align: justify;
    text-align-last: justify;

    position: absolute;
    width: 520px;
    height: 173px;
    
    word-spacing: 60px;
}

.item-content-d{
    left: 102px;
    top: 105px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 39px;

    position: absolute;
    width: 520px;
    height: 173px;
    left: 102px;
    top: 105px;
}

.large::before,
.large::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: blue;
}

.large::before {
    top: 15px;
}

.large::after {
    bottom: 15px;
}

.glyph-table {
    position: absolute;
    width: 1244px;
    height: 500px;
    left: 98px;
    top: 130px;

    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

.glyph-table td {
    border: 2px solid rgba(0, 0, 255, 0.50);
    width: calc(100% / 12);
    padding: 0;
    box-sizing: border-box;
    vertical-align: top;
}

.glyph-cell {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #FFFFFF;
    transition: all 0.2s ease;

    font-family: 'PT Root UI';
    font-style: normal;
    font-weight: 400;
    font-size: 48px;
    line-height: 60px;
    color: #000000;
}

.autor h1 {
    margin-bottom: 30px;
}

.autor h1:last-child {
    margin-bottom: 0;
}

.widget {
    display: inline-flex;
    align-items: center;
    font-family: 'PT Root UI', sans-serif;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.widget .btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #24292f;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    border: none;
}

.widget .btn:hover {
    background: #2f363d;
}

.widget .btn svg {
    fill: currentColor;
}

.widget .social-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 6px 10px;
    background: #fff;
    color: #24292f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-left: 1px solid #d0d7de;
}

.widget .social-count:hover {
    background: #f6f8fa;
}