* {
    margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@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;
}

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

.warning {
  color: red;
  font-family: Font;
  text-align: center;
  margin: 20px auto;
  display: none;
  font-size: 26px;
  width: 90%;
}


#cleng {
    width: 500px;
    height: 150px;
    position:  absolute;
    font-family: Font;
    color: rgb(255, 255, 255);
    text-align: center;
    z-index: 20;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center; 
    border-radius: 25px;
    font-size: 40px;
    left: 32%;
    top: 10%;
    user-select: none;

}

#clrus {
    width: 500px;
    height: 150px;
    position:  absolute;
    font-family: Font;
    color: rgb(255, 255, 255);
    text-align: center;
    z-index: 20;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center; 
    border-radius: 25px;
    font-size: 40px;
    left: 32%;
    top: 70%;
    user-select: none;

}

#rus {
    width: 320px;
    height: 95px;
    position: absolute;
    font-family: Font;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 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: 20%;
    top: 45%;
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;

}

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

#eng {
    width: 320px;
    height: 95px;
    position: absolute;
    font-family: Font;
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 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: 55%;
    top: 45%;
    cursor: pointer;
    transition: transform 0.2s ease;
    user-select: none;

}

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

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #cleng, #clrus {
    position: static !important;
    font-size: 24px;
    width: 100%;
    height: auto;
    margin: 10px 0;
    text-align: center;
  }

  #rus, #eng {
    position: static !important;
    width: 90%;
    height: auto;
    padding: 20px;
    font-size: 22px;
    margin: 10px 0;
    border-radius: 20px;
  }

  #rus:hover, #eng:hover {
    transform: scale(1.05);
  }
}
