html {
    color-scheme: dark;
    height: 100%;
}


body {
    margin: 0;
    padding: 0;
    background-color: #8b1500;
    background-image: url(../img/background-main.webp);
    background-attachment: fixed;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: #ccc;
}


header {
    flex: 0 0 auto;
    justify-content: center;
}


main {
    flex: 1 0 auto;
    justify-content: center;
}


footer {
    flex: 0 0 auto;
    justify-content: center;
    padding-top: 100px;
}


.container {
    width: 60% !important;
    max-width: 1024px !important;
    margin: 0 auto 0 auto;
}


.center {
    display: flex;
    justify-content: center;
    justify-items: center;
}


@media screen and (max-width: 600px) {
    .container {max-width: 100%;}
    body {background-image: none;}
    .nav-list-item {display: block;}
    .selector-item {display: block;}
}


@media screen and (max-width: 1024px) and (min-width: 601px) {
    .container {max-width: 85%;}
}


.nav-top {
    text-align: center;
    padding: 5px 20px 10px 20px;
    border-radius: 50px;
    background-color: #610000;
    margin-top: 10px;
}


.nav-list {
    list-style: none;
    font-size: x-large;
    padding: 0;
}


.nav-list-item {
    display: inline-block;
    padding: 5px;
    margin-left: 2em;
    font-family: Helvetica;
    font-weight: 800;
}


.nav-list-item a {
    color: #ccc;
    text-decoration: none;
    
}


.nav-list-item a:hover {
    color: #ffd118;
}


.logo img {
    width: 200px;
    height: 42px;
}


.logo a {
    margin: 0 auto 0 auto;
}


.footer-content {
    width: 60%;
    height: 20px;
    margin: 0 auto;
    padding: 10px 0;
    border-top: solid 2px #707070;
}


.selector {
    max-width: 50%;
}


.selector-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-items: center;
}


.selector-item {
    display: block;
    padding: 20px 30px;
    background-color: #750000;
    border-radius: 10px;
    transition: background-color 0.5s ease-in-out;
}


.selector-list a {
    text-decoration: none;
    color: #c5e43b;
    font-size: large;
    font-weight: 600;
    transition: color 0.5s ease-in-out;
}


.selector-item:hover {
    background-color: #660000;
    transition: background-color 0.5s ease-in-out;
}


.selector-item a:hover {
    color: #c696f2;
    transition: color 0.5s ease-in-out;
}


.shindji {
    max-height: 100vh;
    max-width: 100vw;
}


/* div.footer-content:after {
    content: "Продам сайт за 4 пачки чебупелей (егор компот черный)";
} */