@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3&display=swap');
:root {
    --system-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    /*--system-font-light: -apple-system, BlinkMacSystemFont, "Segoe UI Light",
      "Roboto Thin", sans-serif;*/
    --accent: #10a1e0;
    --main-dark: #001723;
    /*rgb(33, 51, 61)*/
    --color2: #001723;
    --color1: #10a1e0;
    /*--logo-url: url('/src/symbol-defs.svg#logo-nolocksocial');*/
}

body {
    background-color: #ffffff;
    color: var(--main-dark);
}

/*zeroing*/
* {
    box-sizing: border-box;
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--system-font);
    font-weight: bold;
}

b {
    font-family: var(--system-font);
    font-weight: bold;
}

p {
    /*font-family: var(--system-font-light);
      font-weight: 300;*/
    font-family: var(--system-font);
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.75;
}

ul,
ol {
    list-style-type: none;
    margin: 1rem 0;
    padding: 0;
}

li {
    font-family: var(--system-font);
    position: relative;
    padding-left: 1.25em;
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.75;
}

li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -0.15em;
    color: var(--main-dark);
    font-size: 1.2em;
}

.intro {
    background-color: var(--main-dark);
    padding-bottom: 1.5rem;
    padding-top: 1.5rem;
    margin-bottom: 3rem;
}

div.intro p {
    color: #ffffff;
    text-align: justify;
}

div.intro b {
    display: block;
    font-size: 1.5rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

div.intro b::after {
    content: '';
    display: block;
    width: 6rem;
    height: 1px;
    background: #ffffff;
    margin: 16px auto 0;
}

.block {
    text-align: justify;
    max-width: 1158px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

div.block p {
    text-align: justify;
}

h1 {
    background-color: #ffffff;
    margin: 0 auto 2rem auto;
    max-width: 600px;
    padding: 0.5rem 0;
    font-size: 2rem;
    color: var(--main-dark);
    text-align: center;
    text-transform: uppercase;
}

h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--main-dark);
}

hgroup.h3 {
    border-bottom: solid 1px;
    border-color: lightgray;
}

h3 {
    background-color: var(--main-dark);
    margin: 1.5rem 0;
    padding: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
}

.org {
    font-weight: bold;
}

.location,
.time {
    color: gray;
}

.skills {
    font-weight: bold;
}

/*.mono {
  font-family: monospace;
}

.shadow {
  color: gray;
}*/

.bold {
    font-family: var(--system-font);
    font-weight: bold;
}

.smalltext {
    font-size: 50%;
}

.logo {
    margin: 0 auto;
    max-width: 1158px;
    padding: 2.5rem 2rem 2rem;
    font-size: 250%;
    font-family: var(--system-font);
    font-weight: bold;
}

a {
    font-family: var(--system-font);
    text-decoration: none;
    color: inherit;
    text-decoration: underline;
}

a:hover {
    color: var(--accent);
}

#tape {}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 1rem 0;
}

.card {
    padding: 0.5rem;
}

div.card,
p {
    text-align: left;
}

.footer {
    border-top: 2rem solid var(--main-dark);
    background-color: #000000;
    padding: 2.5rem;
}

.footer p {
    color: lightgray;
    text-align: center;
    margin: 0 auto;
}

/*.logo-use {
  -webkit-href: var(--logo-url);
  href: var(--logo-url);
}*/

@media (prefers-color-scheme: dark) {
    :root {
        --color2: #ffffff; /* Меняем тёмный цвет лого на белый */
    }
    body {
        background-color: #000000;
        color: lightgray;
    }

    li::before {
        color: lightgray;
    }
    h2 {
        color: lightgray;
    }
}
