/* Анимации */
@keyframes appearUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.block:nth-child(1) {
    animation: appearUp 0.3s ease-out forwards;
}


.block:nth-child(2) {
    animation: appearUp 0.6s ease-out forwards;
}

.block:nth-child(3) {
    animation-delay: 0.5s;
    animation: appearUp 0.8s ease-out forwards;
}

.block:not(.block:nth-child(1), .block:nth-child(2), .block:nth-child(3)) {
    animation: appear 1s ease-out forwards
}




/* Всё */
* {
    margin: 0;
    padding: 0;
}

body {
    background: url('Фон проектаXX.png') center 0%;
    background-attachment: fixed
}




/* Header. Логотип */
#logo {
    border: solid 4px #191919
}

#a_logo, #logo {
    height: 42px;
    width: 42px;
    border-radius: 50%;
    display: block;
}


/* Header. Бургер-меню */
#burger a{
    margin: 4px 0 0;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-family: Courier New;
    font-weight: 200;
    display: block
}

#burger a:hover {
    color: #8300bf;
    text-decoration: underline;
}

#burger {
    padding: 4px 8px 8px;
    width: calc(186px + 5vw);
    background-color: #262626;
    border-bottom: solid #fcc10d 5px;
    position: absolute;
    right: -2.5vw;
    top: 54px;
    transition: opacity 0.3s ease, visibility 0.8s;
    opacity: 0;
    visibility: invisible;
    pointer-events: none
}

#a_heading {
    margin: 0 2.5vw 0 0;
    position: absolute;
    right: 0px;
    top: 16px;
    font-size: 28px;
    font-family: Montserrat;
    font-weight: 800;
    text-decoration: none;
    color: black;
    z-index: 110;
    cursor: default
}

#a_heading:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: -1;
    background: transparent;
}

#a_heading:hover #burger {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

/* Header */
header {
    height: 60px;
    padding: 10px 18px 0;
    background-color: #fc910d;
    z-index: 1000;
}




/* Тема сайта */
h3 {
    height: 100px;
    width: 100%;
    margin-bottom: -3px;
    /*padding: 0 0 0 7px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(18, 18, 18, 0.85);
    color: #fcc90d;
    text-align: center;
    font-size: 40px;
    font-family: Courier New;
    font-weight: 600;
    z-index: 1
}




/* Основная часть */
main {
    margin: 0 5vw;
    padding: 0px;
}

/* Введение */
#intro h1, #intro .content {
    padding: 13px 8px;
    font-family: Courier New;
    color: #fcc90d;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

#intro h1 {
    border-bottom: dashed #fc910d 4px;
    font-size: 32px
}

#intro .content {
    font-size: 20px;
    font-weight: 500
}

#intro {
    margin: 8px -4.5vw 50px;
    border: solid #fc910d 4px;
}


/* Однотипные блоки */
.block {
    margin: 4px 0 50px 0;
}

/* Однотипные блоки. Заголовок */
h1:not(#intro h1) {
    width: max-content;
    max-width: 90%;
    background-color: #ebebeb;
    border-left: ridge #121212 6px;
    border-right: solid grey 2px;
    border-radius: 0 30px 30px 0;
    margin-bottom: 4px;
    padding: 8px 12px 8px 5px;
    font-size: 30px;
    font-family: Courier New;
    font-weight: 900;
    transition: transform 0.5s ease;
}

h1:hover:not(#intro h1) {
   transform: translateY(-3px);
   background-color: rgba(18, 18, 18, 0.95);
   color: #fcc90d;
   border-left: solid red 6px;
   border-right: none
}

/* Однотипные блоки. Контент */
.content:not(#intro .content) {
    padding: 13px 21px;
    background-color: rgba(255, 255, 255, 0.9);
    border: solid black 6px;
    border-radius: 30px;
    font-size: 20px;
    font-family: Montserrat;
    font-weight: 500;
    backdrop-filter: blur(5px);
    overflow-wrap: break-word;
}

div.line {
    margin: 13px 8px 13px 0;
    height: 6px;
    width: 30vw;
    background-color: #fcc90d;
    border: 3px solid #262626;
    border-radius: 20px
}

/* Общие стили для каждого элемента */
img:not(#logo) {
    margin: 4px 0;
    max-width: 75vw
}

ul {
    margin: 2px 5px
}

code {
    padding: 0 4px;
    font-size: 20px;
    font-family: Courier New;
    font-weight: 700;
    color: #fcc90d;
    background-color: #1c1c1c;
    border-radius: 6px;
}

div.code {
    padding: 0 4px;
    font-size: 20px;
    font-family: Courier New;
    font-weight: 700;
    color: #fcc90d;
    background-color: #1c1c1c;
    border-radius: 6px;

    width: 100%;
    overflow-x: auto;
    white-space: pre;
}

div.code::-webkit-scrollbar-thumb {
    background: #121212;
    border-radius: 6px;
    border: 2px solid #fcc90d;
}

div.code::-webkit-scrollbar-track {
    background: #fcc90d;
    border-radius: 10px
}

div.code::-webkit-scrollbar {
    height: 10px;
}

.underlined {
    text-decoration: underline
}

ul.custom-marker {
    list-style: none;
    padding: 0;
}

ul.custom-marker li::before {
    content: "";
    font-size: 16px;
    font-weight: normal;
    display: inline-block;
    height: 1.1em;
    width: 1.5em;
    margin-left: -1.5em;

    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD0AAABfCAYAAABbXs+4AAAD0UlEQVR4AeTau4oUQRTG8VZBRTARBQPvGoiBD+A+gYmIiWZGGug7COIzKKKgYmIkYuIbqKGCiII3DIw0ExYEUb9/Q8vsbN+quupUVe9yTnfNbHWf+u3C9JmZ3lz5/XzVYTuVRYYP+pOkB5TflUXCXdFPBT2iJLZpUyTcBf1IyDPKxSgSPhZ9UdILyrYoDj4GDfhem3bhOeA/9Hi3MvsYQu+V4JZyaJ6mVFu1+abMHj6E4ZV6hyBjo4EfHntAinl96C9akAtY0+sA/kGjbOFdaP7Dh7Rw39iiA7OFt6GfaMHNtVhD7wD+UUcfV2YVy2iuxWcDrpDzv9X5soKzKK2pDi5N5+tR2A01soKzIIiAb2uwSRkjqJMNnMU01+LtMbQL56RWFnAW8koL87k06TDnoB7wk85HBjyARezX+bgma2cS1HytSj5wHTY9WMBvneaY8r3SKnjtSAYHDfSPNieUD5VW0cB5EbWqWddp0Dz4qw0LuKu9VQC/r2LU1c4mFtFNxcsaXFVahTm8DQ2Wt5MrDIwS+APVuqSMHl1oCr/Q5qjSMu6oWHR4H1r1q8/a0LT81N4qosOH0EB/abNHORv4GLS8FfBdGlg2MdH+42PR8lYpmhjg1ygeMl3Q1E3RxFxX4aBwV7TqVymaGOA3KR4ifdBNXesm5ooKP1ZOjiloils3MedUdDJ8KlprqKybGODPKeybIdDUtm5iTqmoNzwUWmuor+U9TQxTgqY3PCQakXUT4wUPjQZu3cQ4w2OggVs3MU7wWGjg1k0McF5Qqd2bMdFNYcsmhm9KB+EWaPCWTQxw3g123vlkhQZu2cTwNfMbFW2FW6K1BtNPYg6qYCvcGq11mDYxwNfd65YC3cCtPonhzqc18FRo4JZNzBp4SjRwyybmPzw1GrhlE1PDc0ADJ/exMch3uaCfCXtaGTv4englB7QpWH/V1XFozYwU5mAcKdFJwCnRycCp0EnBKdDJwdboLMCW6GzAVuiswBbo7MCx0VmCY6KzBcdCZw2Ogc4eHBpdBDgkuhhwKHRR4BDoPMHIenLK++kiwfwtfNHFgn3RRYN90MWDXdGzALugZwMei54VeAx6duAh9CzBfejZgrvQswa3oWcPXkZvCPAiesOAG/SGAjfoGwwiZ30HgGqsKpMHby1fahXcQatdlHACR1nB0klB81QseHZgsA2acWh4lmCgi2geh4JnCwa5jOa5qfCswQDb0DzvC88eDK4Lze9c4UWAgfWh+f1YeDFgUENo5gzBiwIDGoNmXhe8ODCYsWjmLsOLBANxQTO/gRcLBvEPAAD//0JqGJQAAAAGSURBVAMAobH60ZiualwAAAAASUVORK5CYII=');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    vertical-align: middle;
}
















