* {
    margin: 0;
    cursor: default;
    box-sizing: border-box;
    font-family: var(--c-font-family); /*  Делает шрифт на всем сайте  */
    text-decoration: none; /*  Убирает декорацию у текста только родителя  */
}
:root {
    --c-font-family: Terraria;
    --c-font: #ffffff;
    --c-font-span: #ffff4e;
    --c-font-hover: #adadad;
    --c-font-menu: #d3d3d3;
    --c-font-yellow: #ffff4e;
    --c-font-yellow-hover: #a7a736;
    --c-ui: #3f4197b2;
    --c-ui-light: #ffffff55;
    --c-ui-dark: #2b3865b2;
    --c-ui-focus: #495eab;
    --c-ui-border: #121226b2;
    --c-scrollbar-body: #2b3865;
    --c-scrollbar-head: #ffffff;
    --c-scrollbar-border: #495eabee;
    --f-outline: black 1px 0px 2px, black -1px 0px 2px, black 0px 1px 2px, black 0px -1px 2px, black 1px 1px 2px, black 1px -1px 2px, black -1px 1px 2px, black -1px -1px 2px;
}
::-webkit-scrollbar-track {
    background: rgb(15, 15, 15);
  }
  
::-webkit-scrollbar-thumb {
    background: rgb(44, 44, 44);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgb(66, 66, 66);
}
::-webkit-resizer {
    width: 5px;
  }
  
::-webkit-scrollbar {
    width: 15px;
}
@font-face {
    font-family: Terraria;
    src: url("../fonts/Terraria.ttf");
}
.unselectable {
  -webkit-touch-callout: none; 
  -webkit-user-select: none;   
  -khtml-user-select: none;    
  -moz-user-select: none;      
  -ms-user-select: none;      
  user-select: none;
}
body {
    background-size: cover;
    background: url(../img/background.jpg ) no-repeat center center fixed;
}
.clouds {
    margin-top: -520px;
    display: inline-block;
    z-index: 1001;
}
.cloud_1 {
    animation: cloud_1 110s infinite; 
    animation-fill-mode: forwards;
    z-index: 1002;
}
@keyframes cloud_1 {
    0%{
    transform: translate(0px,0px);
    }
    50%{
    transform: translate(350px,0px);
    }
    100%{
    transform: translate(0px,0px);
    }
}
.cloud_2 {
    animation: cloud_2 120s infinite; 
    animation-fill-mode: forwards;
    z-index: 1003;
}
@keyframes cloud_2 {
    0%{
    transform: translate(0px,0px);
    }
    50%{
    transform: translate(350px,0px);
    }
    100%{
    transform: translate(0px,0px);
    }
}
.cloud_3 {
    animation: cloud_3 125s infinite; 
    animation-fill-mode: forwards;
    z-index: 1004;
}
@keyframes cloud_3 {
    0%{
    transform: translate(0px,0px);
    }
    50%{
    transform: translate(350px,0px);
    }
    100%{
    transform: translate(0px,0px);
    }
}
.cloud_4 {
    animation: cloud_4 125s infinite; 
    animation-fill-mode: forwards;
    z-index: 1005;
}
@keyframes cloud_4 {
    0%{
    transform: translate(0px,-50px);
    }
    50%{
    transform: translate(350px,-50px);
    }
    100%{
    transform: translate(0px,-50px);
    }
}
.server__name {
    text-align: center;
    padding-top: 100px;
    z-index: 1001;
}
.server__name a {
    color: var(--c-font-yellow);
    font-size: 50px;
    text-shadow: var(--f-outline);
}
.server__name a:hover {
    color: var(--c-font-yellow-hover);
}
.menu {
    text-align: center;
    margin-top: 50px;
}
.menu a {
    text-decoration: none;
    color: var(--c-font);
    font-size: 35px;
    text-shadow: var(--f-outline);
}
.menu a:hover {
    color: var(--c-font-yellow);
    text-shadow: var(--f-outline);
}
.menu a:active {
    color: var(--c-font-yellow-hover);
}

.demon_eye_animation img {
    width: 50px;
    z-index: 1006;
    margin-left: 300px;
    animation: eye__animation_motion 7s infinite; 
    animation-fill-mode: forwards;

}
@keyframes eye__animation_motion {
    0%{
    transform: translate(0px,-400px) rotate(0deg);
    }
    30%{
    transform: translate(50px,-400px) rotate(180deg);
    }
    70%{
    transform: translate(650px,-400px) rotate(180deg);
    }
    80%{
    transform: translate(650px,-250px) rotate(360deg);
    }
    100%{
    transform: translate(0px,-400px) rotate(360deg);
    }
}
.widgets__content {
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 20px;
}
.discord_widget {
    width: 30px;
    border-radius: 5px;
}
.discord_widget:hover {
    box-shadow: 1px 1px 10px #ffff00;
    border-radius: 5px;
}
.discord_widget:active {
    box-shadow: 1px 1px 10px #999900;
    border-radius: 5px;
    opacity: 0.5;
}
.vk_widget {
    width: 30px;
    border-radius: 5px;
}
.vk_widget:hover {
    box-shadow: 1px 1px 10px #ffff00;
    border-radius: 5px;
}
.vk_widget:active {
    box-shadow: 1px 1px 10px #999900;
    border-radius: 5px;
    opacity: 0.5;
}



/* ---------------------------------------------------------------------------------------- */
/* ---------------------------Модальные окна и их настройки----------------------------------- */
/* ---------------------------------------------------------------------------------------- */
.modal {
    position: fixed;
    top: 0;
    right: 0;
    border: var(--c-ui-border);
    bottom: 0;
    text-shadow: var(--f-outline);
    left: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    opacity: 0;
    -webkit-transition: opacity 200ms ease-in; 
    -moz-transition: opacity 200ms ease-in;
    transition: opacity 100ms ease-in;
    pointer-events: none;
    margin: 0;
    padding: 0;
}
.modal:target {
    opacity: 1;
	  pointer-events: auto; 
    overflow-y: auto;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
}
@media (min-width: 576px) {
  .modal-dialog {
      max-width: 400px;
      margin: 30px auto; 
  }
}
.modal-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    background-color: var(--c-ui);
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: 10px;
    outline: 0;
}
@media (min-width: 768px) {
  .modal-content {
      -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
      box-shadow: 0 5px 15px rgba(0,0,0,.5);
  }
}
.modal-header {
    display: -webkit-box;
    border-radius: 5px;
    display: -webkit-flex;
    color: white;
    display: -ms-flexbox;
    background-color: var(--c-ui-dark);
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #131313;
    box-shadow: 1px 1px 10px black;
}
.modal-title {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 20px;
    font-weight: 400;
}
.close {
    float: right;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
    color: rgb(255, 255, 255);
    text-shadow: 0 1px 0 #fff;
    text-decoration: none;
}
.close:focus, .close:hover {
    color: rgb(155, 155, 155);
    text-decoration: none;
    cursor: pointer;
    border:rgb(34, 34, 34);
}
.modal-body {
  position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    background: var(--c-ui);
    border: var(--c-ui-border);
    border-radius: 10px;
    flex: 1 1 auto;
    padding: 15px;
    overflow: auto;
}
.modal-body button {
    text-decoration: none;
    border: none;
    border: 2px solid rgb(105, 33, 0);
    background: rgb(105, 33, 0);
    color: rgb(255, 255, 255);
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 15px;
    padding-bottom: 15px;
    font-family: OSV;
    font-size: 14px;
    margin: 0px 70px;
    border-radius: 20px ;
    transition: 0.2s;
    opacity:1;
    animation: modal__button__animation 3s infinite; 
    animation-fill-mode: forwards;
}
@keyframes modal__button__animation {
    0%{
    opacity:1;
    border: 2px solid rgb(105, 33, 0);
    background: rgb(105, 33, 0);
    color: rgb(255, 255, 255);
    transform: translate(0%, -5%);
    }
    50% {
    opacity:1;
    border: 2px solid rgb(255, 81, 0);
    background: rgb(255, 81, 0);
    box-shadow: 1px 0px 20px rgb(255, 81, 0);
    transform: translate(0%, 5%);
    } 
    100% {
    opacity:1;
    border: 2px solid rgb(105, 33, 0);
    background: rgb(105, 33, 0);
    color: rgb(255, 255, 255);
    transform: translate(0%, -5%);
    }
}
.modal-body button:hover {
    border: 2px solid rgb(255, 81, 0);
    background: rgb(255, 81, 0);
    box-shadow: 1px 0px 10px rgb(255, 81, 0);
    cursor: pointer;
    opacity:1;
    animation: footer__a__animation 1s infinite;
    animation-fill-mode: forwards;
    opacity:1;
    animation: modal__button__animation__hover 1s infinite; 
    animation-fill-mode: forwards; 
}
@keyframes modal__button__animation__hover {
    0%{
    opacity:1;
    border: 2px solid rgb(255, 81, 0);
    background: rgb(255, 81, 0);
    box-shadow: 1px 0px 10px rgb(184, 58, 0);
    }
    50% {
    opacity:1;
    border: 2px solid rgb(255, 81, 0);
    background: rgb(255, 81, 0);
    box-shadow: 1px 0px 20px rgb(255, 81, 0);
    } 
    100% {
    opacity:1;
    border: 2px solid rgb(255, 81, 0);
    background: rgb(255, 81, 0);
    box-shadow: 1px 0px 40px rgb(128, 40, 0);
    }
}
.modal-body button:active {
    border: 2px solid rgb(105, 33, 0);
    background: rgb(105, 33, 0);
    box-shadow: 1px 0px 10px rgb(105, 33, 0);
    opacity:1; 
    animation: footer__a__animation 1s infinite;
    animation-fill-mode: forwards;
    opacity:1;
    animation: modal__button__animation__active 1s infinite; 
    animation-fill-mode: forwards; 
}
@keyframes modal__button__animation__active {
    0%{
    opacity:1;
    border: 2px solid rgb(105, 33, 0);
    background: rgb(105, 33, 0);
    box-shadow: 1px 0px 10px rgb(105, 33, 0);
    }
    50% {
    opacity:1;
    border: 2px solid rgb(105, 33, 0);
    background: rgb(105, 33, 0);
    box-shadow: 1px 0px 20px rgb(105, 33, 0);
    } 
    100% {
    opacity:1;
    border: 2px solid rgb(105, 33, 0);
    background: rgb(105, 33, 0);
    box-shadow: 1px 0px 10px rgb(105, 33, 0);
    }
}
@media (max-width: 600px) {
    .modal-body button {
        font-size: 9px;
    }
}
.modal-body p {
	color:#ffffff;
    padding: 20px;
    font-size: 15px;
}
.modal-body h2 {
	color:#ffffff;
    padding: 10px;
    font-size: 15px;
}
.modal-body ul {
	color:#ffffff;
    padding: 20px;
    font-size: 15px;
}
.modal-body help {
    border-bottom: 1px solid rgb(255, 153, 0);
}
.modal-body help:hover {
    cursor: help;
    border-bottom: 1px solid rgb(34, 34, 34);
}
#orange__text__modal {
    color: rgb(255, 153, 0);
    cursor: default;
}