h1 {
    font-size: 20pt;
}

a:link    { color: #666; }
a:visited { color: #666; }
a:hover   { color: #000; }
a:active  { color: #000; }

input {
   margin: 5px;
}

textbox, input[type="text"], input[type="password"] {
   width: 90%;
}

form {
    text-align: center;
    margin: 10px 0 0 0;
}

ul.radiobuttons {
    text-align: left;
    list-style: none;
}

/*
 * Add some padding to the viewport.
 */
#container {
    padding: 10px;
}
/*
 * Center all direct children of the main form.
 */
#container > * {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*
 * A wrapper around each login flow.
 */
.login_flow {
    width: 300px;
    text-align: left;
    padding: 10px;
    margin-bottom: 40px;

    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);

    background-color: #f8f8f8;
    border: 1px #ccc solid;
}

/*
 * Used to show error content.
 */
#feedback {
    /* Red text. */
    color: #ff0000;
    /* A little space to not overlap the box-shadow. */
    margin-bottom: 20px;
}

@media screen and (max-width: 1280px) { div.contentblock {width: 1200px;} }
@media screen and (max-width: 1140px) { div.contentblock {width: 1024px;} }
@media screen and (max-width: 992px) { div. contentblock {width: 970px;} }

  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  box-sizing: border-box;
}

body {
  height: 100dvh;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a2540, #112d59);
  font-family: 'Inter', sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
}


main {
  margin-top: 0px;
  margin-bottom: 50px;
  background: rgba(20, 38, 75, 0.85);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  border-radius: 16px;
  min-height: 400px;
  max-width: 400px; /* фиксированная максимальная ширина для ПК */
  width: 90%;       /* ширина будет 90% до max-width */
  padding: 20px 30px 40px 30px;
  text-align: center;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 600px) {
  main {
    min-height: auto;
    padding: 10px 15px 25px 15px;  /* чуть уже padding */
    margin-bottom: 30px;
    max-width: 320px;   /* уменьшили max-width */
    width: 90%;        /* ширина чуть меньше, чтобы блок сжался */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
margin-top: -10px;
  }
}

  h2 {
    margin-top: -0px; /* поднимает заголовок выше внутри блока */
    font-weight: 600;
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }

  p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 1.5rem 0;
    color: #ffffff;
  }

  b {
    color: #ffffff;
  }

  a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  a:hover, a:focus {
    color: #a4c8ff;
    outline: none;
  }

  .btn-download {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    background: #2a65f9;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  .btn-download:hover, .btn-download:focus {
    background-color: #1a44c6;
    box-shadow: 0 10px 20px rgba(26, 68, 198, 0.8);
    outline: none;
  }
  .btn-download,
  .btn-download:hover,
  .btn-download:focus {
    color: white !important;
  }

  .logo {
    margin: 0 auto 40px;
    width: 80px;
    filter: drop-shadow(0 0 6px #5a91ffcc);
  }

  footer {
    font-size: 0.85rem;
    color: #ffffff;
    margin-top: 3rem;
  }

img {
margin-top: 20px;
  cursor: pointer;
}

.logo-big {
  width: 150px; /* или любое другое значение */
  height: auto;
  cursor: pointer;
  display: inline-block;
  margin-top: -20px;
  filter: drop-shadow(0 0 8px #5a91ffcc);
}
