@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

:root {
    --transition: 0.4s all linear;
    --main-color: #0A52BD;
    --bg-color: #F5F5F5;
}

::-webkit-scrollbar {
    width: 6px;
    height: 4px;
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    -webkit-border-radius: 1ex;
}

body {
    font-family: 'Inter', sans-serif;
    font-optical-sizing: auto;
    font-display: swap;
    font-variation-settings: 'slnt' 0;
    background-color: var(--bg-color);
}

.container {
    margin: 0 auto;
    max-width: 90%;
    width: 100%;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 10px 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 23px 10px 23px;
    border-radius: 65px;
    background: #FFFFFF;
}

.logo {
    position: relative;
    display: flex;
    margin: 0 0 15px 0;
    width: auto;
    height: 20px;
    z-index: 9;
}

a.logo {
    transition: var(--transition);
}

a.logo:hover {
    transform: scale(1.05);
}

.logo picture,
.logo img,
.logo p {
    display: flex;
    width: inherit;
    height: 100%;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

header nav .menu {
    justify-content: flex-end;
}

footer nav .menu {
    justify-content: center;
}

.menu li {
    position: relative;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #080808;
    transition: var(--transition);
}

header .menu li {
    margin: 0 0 15px 38px;
}

.menu li:before {
    content: attr(data-content);
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    color: var(--main-color);
    -webkit-text-stroke: 1px var(--main-color);
    overflow: hidden;
    pointer-events: none;
    transition: var(--transition);
}
.menu li:hover:before {
    width: 100%;
}

.menu li.active:before {
    width: 100%;
}

.menu li a {
    color: inherit;
    text-decoration: none;
}

.burger {
    position: relative;
    display: none;
    z-index: 9;
}

.intro {
    display: flex;
    justify-content: space-between;
    margin: 20px 0 0 0;
}

.intro .body {
    display: flex;
    flex-direction: column;
    align-self: flex-start;
    width: 58%;
    min-height: 400px;
    padding: 30px;
    border-radius: 65px;
    background: #fff;
}

.bg {
    background: url('/assets/img/img.webp') center / cover no-repeat;
    width: 40%;
    /* height: 400px; */
    border-radius: 65px;
}

.intro h1 {
    margin: 0 0 8px 0;
    font-size: 52.696px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    color: #080808;
    flex: 1;
}

.intro .body p {
    margin: 0 0 23px 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #080808;
}

.intro .button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    min-width: 230px;
    padding: 15px 45px;
    border-radius: 83px;
    background: var(--main-color);
    transform: translate3d(0px, 0%, 0px);
    text-decoration: none;
    transition-delay: 0.6s;
    cursor: pointer;
    overflow: hidden;
}

.intro .button:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #080808;
    border-radius: 50% 50% 0 0;
    transform: translateY(100%) scaleY(0.5);
    transition: all 0.6s ease;
}

.intro .button:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    border-radius: 0;
    transform: translateY(0) scaleY(1);
    transition: all 0.8s ease;
}

.intro .button div {
    position: relative;
    top: 3px;
    width: 100%;
    height: 26px;
    overflow: hidden;
    pointer-events: none;
}

.intro .button span {
    position: absolute;
    z-index: 1;
    top: 0;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #fff;
    transition: transform 1s ease;
    pointer-events: none;
}

.intro .button span:first-child {
    color: #fff;
    transform: translateY(44px);
}

.intro .button span:last-child {
    color: #fff;
    transform: translateY(0);
}

.intro .button:hover {
    background: #fff;
    transition: background 0.6s linear;
    transition-delay: 0.3s;
}

.intro .button:hover:after {
    border-radius: 0 0 50% 50%;
    transform: translateY(-100%) scaleY(0.5);
    transition-delay: 0;
}

.intro .button:hover:before {
    border-radius: 0;
    transform: translateY(0) scaleY(1);
    transition-delay: 0;
}

.intro .button:hover span:first-child {
    transform: translateY(0);
}

.intro .button:hover span:last-child {
    transform: translateY(-24px);
}

.content {
    margin: 20px 0;
    padding: 55px;
    border-radius: 65px;
    background: #FFFFFF;
}

.content.error {
    justify-content: center;
    align-items: center;
    min-height: 45vh;
}

.content .img-text {
    display: flex;
    margin: 30px 0;
    width: 100%;
    height: auto;
    border-radius: 54px;
    overflow: hidden;
}

.content .img-text p,
.content .img-text picture,
.content .img-text img {
    display: flex;
    width: inherit;
    height: inherit;
    transition: var(--transition);
}

.content .img-text:hover img {
    transform: scale(1.02);
    filter: brightness(80%);
}

.content .img-cov {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
}

.content .img-cov p,
.content .img-cov picture,
.content .img-cov img {
    display: flex;
    width: inherit;
    height: inherit;
    transition: var(--transition);
}

.content .img-cov:hover img {
    transform: scale(1.02);
    filter: brightness(80%);
}

.content h2,
.content h3 {
    margin: 30px 0 15px 0;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #080808;
}

.content h4 {
    margin: 0 0 15px 0;
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: var(--main-color);
}

.content h5 {
    font-size: 35px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #080808;
}

.content h2 {
    font-size: 36px;
}
.content h3 {
    font-size: 32px;
}

.content ul,
.content ol {
    margin: 0 0 15px 15px;
}

.content ul li:last-child,
.content li ol:last-child {
    margin: 0;
}

.content .table-responsive {
    display: flex;
    overflow: auto;
    margin: 20px 0;
}

.content .table-responsive table {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.content .table-responsive table,
.content .table-responsive td,
.content .table-responsive th {
    border: 1px solid var(--main-color);
}
.content .table-responsive td,
.content .table-responsive th {
    text-align: center;
    padding: 7px;
    width: 30px;
    height: 25px;
}
.content .table-responsive th {
    font-weight: bold;
    background-color: #080808;
    color: var(--main-color);
}

.content p,
.content li {
    margin: 0 0 15px 0;
}

.content p,
.content td,
.content th,
.content li {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #080808;
}

footer {
    padding: 15px;
    border-radius: 20px;
    background: #FFFFFF;
}

footer,
footer nav {
    display: flex;
    justify-content: center;
    align-items: center;
}

footer nav .menu {
    justify-content: center;
}

footer .menu li {
    margin: 10px 16px;
}

@media screen and (max-width: 1024px) {
    header {
        position: relative;
    }

    .logo {
        height: 20px;
    }

    .burger {
        display: flex;
        width: 50px;
        height: 50px;
        background: url('../img/burger-open.webp') center / contain no-repeat;
        border: none;
        transition: var(--transition);
    }

    header.active .burger {
        background: url('../img/burger-close.webp') center / contain no-repeat;
    }

    header .menu {
        position: absolute;
        top: -700%;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 50px 0;
        width: 100%;
        background-color: var(--bg-color);
        transition: 0.55s all linear;
        z-index: 8;
    }

    header.active .menu {
        top: 100%;
    }

    header .menu li {
        margin: 0 0 35px 0;
    }

    .menu li {
        font-size: 25px;
    }

    .intro {
        margin: 40px 0 0 0;
        width: 100%;
        flex-direction: column;
    }

    .intro .bg {
        margin: 0 0 25px 0;
        width: 100%;
    }

    .intro .body {
        width: 100%;
    }

    .intro h1 {
        margin: 0 0 15px 0;
    }

    .intro p {
        font-size: 22px;
    }

    .intro .button {
        min-width: 300px;
    }

    .intro .button div {
        top: 8px;
        height: 48px;
    }

    .intro .button span {
        font-size: 22px;
    }

    .content.error {
        min-height: 55vh;
    }

    .content h2 {
        font-size: 40px;
    }

    .content h3 {
        font-size: 35px;
    }

    .content p,
    .content li {
        margin: 0 0 20px 0;
    }

    .content ul,
    .content ol {
        margin: 0 0 20px 15px;
    }

    .content p,
    .content td,
    .content th,
    .content li {
        font-size: 22px;
    }

    footer {
        padding: 30px 0;
    }
}

@media screen and (max-width: 600px) {
    header {
        padding: 10px 20px;
        border-radius: 24px;
    }

    .logo {
        margin: 0;
        height: 15px;
    }

    .burger {
        width: 20px;
        height: 20px;
    }

    header .menu {
        padding: 25px;
    }

    .menu li {
        margin: 0 0 31px 0;
        font-size: 12px;
    }

    .intro {
        margin: 20px 0;
        flex-direction: column-reverse;
        width: 100%;
    }

    .intro .body {
        min-height: auto;
        width: 100%;
        padding: 10px 20px;
        border-radius: 24px;
    }

    .intro .body h1 {
        margin: 0 0 30px 0;
    }

    .intro .body p {
        font-size: 12px;
    }

    .intro .bg {
        margin: 20px 0 20px 0;
        width: 100%;
        height: 200px;
        border-radius: 24px;
    }

    .intro h1 {
        font-size: 24px;
    }

    .intro p {
        margin: 0 0 20px 0;
        font-size: 12px;
    }

    .intro .button {
        width: 100%;
        padding: 15px;
        min-width: auto;
    }

    .intro .button div {
        top: 2px;
        height: 20px;
    }

    .intro .button span {
        font-size: 12px;
    }

    .content {
        padding: 20px 20px;
        border-radius: 10px;
    }

    .content.error {
        min-height: 60vh;
    }

    .content .img-text {
        border-radius: 24px;
    }

    .content h2 {
        font-size: 20px;
    }

    .content h3 {
        font-size: 16px;
    }

    .content ul,
    .content ol {
        margin: 0 0 10px 10px;
    }

    .content p,
    .content li {
        margin: 0 0 10px 0;
    }

    .content p,
    .content td,
    .content th,
    .content li {
        font-size: 12px;
    }

    footer {
        padding: 10px;
        border-radius: 10px;
    }

    .content .img-cov {
        width: 100px;
        height: 100px;
        border-radius: 12px;
    }
}
