@import url("variables.css");
@import url("animations.css");
@import url("administrations.css");
@import url("header.css");
@import url("main-page.css");
@import url("footer.css");
@import url("adaptive.css");

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Ubuntu", sans-serif;
    margin: 0;
    min-height: 100%;
    color: var(--text-primary);
    background:
        radial-gradient(80rem 52rem at -8% -12%, rgba(113, 227, 156, 0.24) 0%, rgba(113, 227, 156, 0.16) 24%, rgba(113, 227, 156, 0.08) 46%, rgba(113, 227, 156, 0.02) 68%, rgba(113, 227, 156, 0) 100%),
        radial-gradient(58rem 34rem at 104% 2%, rgba(9, 44, 24, 0.12) 0%, rgba(9, 44, 24, 0.08) 26%, rgba(9, 44, 24, 0.03) 55%, rgba(9, 44, 24, 0) 100%),
        radial-gradient(70rem 44rem at 50% 112%, rgba(113, 227, 156, 0.10) 0%, rgba(113, 227, 156, 0.05) 34%, rgba(113, 227, 156, 0.01) 62%, rgba(113, 227, 156, 0) 100%),
        linear-gradient(180deg, #f9fcfa 0%, #f2f8f3 42%, var(--bg) 100%);
    overflow-x: hidden;
    background-attachment: fixed;
}

.main-container {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    isolation: isolate;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(113, 227, 156, 0.18) 0%, rgba(113, 227, 156, 0.11) 30%, rgba(113, 227, 156, 0.05) 55%, rgba(113, 227, 156, 0.015) 75%, rgba(113, 227, 156, 0) 100%);
    filter: blur(10px);
    pointer-events: none;
    z-index: -1;
}

body::before {
    top: -8rem;
    left: -8rem;
}

body::after {
    right: -10rem;
    bottom: -10rem;
}

header,
.main,
footer {
    width: min(1200px, calc(100% - 2rem));
    margin: 0 auto;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 13, 8, 0.58);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.logo{
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: clamp(52px, 5vw, 70px);
    height: auto;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.22));
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.site-tag {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(244, 255, 247, 0.64);
}

.title {
    align-items: center;
}

.wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-width: 0;
}

.border-line {
    width: 100%;
    height: 1px;
    border: none;
    background: linear-gradient(90deg, rgba(31, 143, 81, 0), rgba(31, 143, 81, 0.8), rgba(31, 143, 81, 0));
}

.item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    padding: 1.75rem 0 2.5rem;
}

main > h2,
main > h3 {
    margin: 0;
    font-family: "Ubuntu", sans-serif;
    font-weight: 700;
}

main > h2 {
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

main > h3 {
    font-size: clamp(1.1rem, 2.4vw, 1.35rem);
    color: var(--accent-deep);
}

main > p,
main > div:not(.border-line):not(.item):not(.flex-row),
main > table {
    margin: 0;
    width: 100%;
}

main > p,
main > div:not(.border-line):not(.item):not(.flex-row) {
    padding: 1.15rem 1.25rem;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    line-height: 1.7;
}

main a {
    color: var(--accent-deep);
}

main .item h3 {
    margin: 0;
}

table {
    border-collapse: collapse;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--surface-strong);
    box-shadow: var(--shadow-soft);
    width: 100%;
}

tbody {
    width: 100%;
    height: auto;
}

td, th {
    border: 1px solid var(--border);
    padding: 0.9rem;
    text-align: center;
}

td > * {
    justify-content: center;
}

th {
    background: rgba(113, 227, 156, 0.20);
    font-size: 0.9rem;
}

img {
    max-width: 100%;
}
