@import url('https://googleapis.com');

:root {
    color-scheme: dark;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: light-dark(#3e3e3e, #84848c);
    background-color: light-dark(#e4e4e4, #191919);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.flexi {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin-bottom: 5px;
}

.flexi textarea {
    margin-top: 5px;
    resize: vertical;
    min-height: 60px;
}

button {
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #959595;
    padding: 8px;
    transition: background-color 0.2s, color 0.2s;
}

button:hover, .tablinks.active {
    background-color: #acacac;
    color: white;
}

.footer {
    position: fixed;
    background-color: light-dark(#cfcfcf, #232323);
    right: 0;
    bottom: 0;
    text-align: center;
    width: 100%;
    font-size: 14px;
    z-index: 10;
}

canvas {
    position: fixed;
    filter: blur(3px);
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

h2 {
    color: light-dark(#3e3e3e, #dfdfdf);
    font-size: 1.7rem;
    margin-bottom: 10px;
}

a {
    color: #7A7C80;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: light-dark(#2e2e2e, #dfdfdf);
}

/* section 1 */
.section-1 {
    padding-top: 40vh;
    text-align: center;
}

.section-1 p {
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin: 0;
}

.section-1 a {
    font-size: 1.5rem;
    padding: 10px;
}

/* section 2 */
.section-2 {
    padding-top: 10vh;
    width: 80%;
}

.section-2 h2 {
    padding-left: 50px;
}

.section-2 p {
    font-size: 1.1rem;
    padding-bottom: 10px;
    margin: 0;
}

.title-main {
    font-family: 'Arial Black', cursive;
    font-weight: bold;
    white-space: nowrap;
    cursor: default;
    font-size: 3rem;
    background-color: #666666;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: rgba(255, 255, 255, 0.5) 0 3px 3px;
}

.tabcontent {
    display: none;
    padding: 6px 12px;
    animation: fadeEffect 0.5s ease;
}

@keyframes fadeEffect {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media screen and (max-width: 1080px) {
    .grid-2 { grid-template-columns: 1fr; }
    .section-1 { padding: 5rem 0 0; }
    .section-2 { padding: 2rem 0 0 1.5rem; width: 90%; }
    .section-2 h2 { padding-left: 0; }
    button { font-size: 1.2rem; border-radius: 12px; padding: 14px; }
}
