* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Font';
    src: url('../../fonts/font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }

body {
    background-color: rgb(0, 0, 0);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center center;
    height: 100vh; 
    margin: 0;   
    background-attachment: fixed;   
    z-index: 1;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


#download {
    width: 320px;
    height: 95px;
    position: absolute;
    font-family: Font;
    color: rgb(255, 255, 255);
    background-color: rgb(0, 123, 255);
    text-align: center;
    z-index: 20;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center; 
    border-radius: 25px;
    font-size: 30px;
    left: 25%;
    top: 45%;
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;

}

#download:hover {
      transform: scale(1.1);
    }

#ofplugs {
    width: 320px;
    height: 95px;
    position: absolute;
    font-family: Font;
    color: rgb(166, 166, 166);
    background-color: rgb(85, 85, 85);
    text-align: center;
    z-index: 20;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center; 
    border-radius: 25px;
    font-size: 30px;
    left: 50%;
    top: 45%;
    /*cursor: pointer;*/
    transition: transform 0.2s ease;
    user-select: none;

}

/*#ofplugs:hover {
      transform: scale(1.1);
    }*/

#plugshelp {
    width: 320px;
    height: 95px;
    position: absolute;
    font-family: Font;
    color: rgb(197, 197, 197);
    text-align: center;
    z-index: 20;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center; 
    border-radius: 25px;
    font-size: 15px;
    left: 50%;
    top: 58%;
    /*cursor: pointer;*/
    transition: transform 0.2s ease;
    user-select: none;

}

#logo {
    height: 60px;
    width: 60px;
    position: absolute;
    top: 2%;
    left: 10%;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.507);
    border-radius: 5px;
    transition: all 0.3s ease;
    user-select: none;
}

#aboutcore {
    height: 120px;
    width: 400px;
    font-family: Font;
    z-index: 0;
    text-align: center;
    color: whitesmoke;
    position: absolute;
    top: 25%;
    left: 35%;
    font-size: 25px;
    user-select: none;
}

#kmc {
    height: 50px;
    width: 120px;
    font-family: Font;
    z-index: 1;
    text-align: center;
    color: whitesmoke;
    position: absolute;
    top: 5%;
    left: 15%;
    font-size: 20px;
    user-select: none;
}

#tg {
    height: 100px;
    width: 100px;
    position: absolute;
    top: 1%;
    left: 92%;
    z-index: 20;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.507);
    border-radius: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;
}

#tg:hover {
      transform: scale(1.2);
    }

/*Только для мобильных устройств */
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
    padding: 20px;
    background-size: cover;
    background-position: center;
  }

  #top-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
  }

  #logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #logo {
    width: 0px;
    height: 0px;
    position: static !important;
    margin-bottom: 5px;
  }

  #kmc {
    position: static !important;
    font-size: 18px;
    color: rgb(0, 0, 0);
  }

  #tg {
    width: 50px;
    height: 50px;
    position: static !important;
    margin-top: 10px;
  }

  #aboutcore {
    position: static !important;
    text-align: center;
    font-size: 20px;
    width: 100%;
    margin: 20px 0;
  }

  #download, #ofplugs {
    position: static !important;
    width: 90%;
    margin: 10px auto;
    font-size: 18px;
    padding: 15px;
    display: block;
    text-align: center;
    border-radius: 20px;
    user-select: none;
  }

  #download {
    background-color: rgb(0, 123, 255);
    color: white;
  }

  #ofplugs {
    background-color: #555;
    color: rgb(200, 200, 200);
  }

  #plugshelp {
    position: static !important;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    color: rgb(180, 180, 180);
  }
}
