* {
  margin: 0;
  padding: 0;
  border: 0;
}

* {
  transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

nav,
header,
footer,
aside {
  display: block;
}

html,
body {
  /* height: 100%; */
  width: 100%;
  font-size: 100%;
  line-height: 1.2;
  font-family: Gilroy, sans-serif;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
textarea,
select,
button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 100%;
  color: inherit;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /* line-height: 1.2; */
  font-size: inherit;
  font-weight: 400;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

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

/* ********************************************* */
:root {
  --main-blue-color: #69a7ba;
  --blue-color: #5ca1b7;
  --red-color: #d5635f;
  --grey-color: #414141;
  --bg-color: #f7f7f9;
  --border-radius: 30px;
}

a,
button {
  font-family: Gilroy, sans-serif;
}

:focus {
  outline: 2px solid var(--main-blue-color);
  /* Кастомний стиль для фокусу */
}

.wrapper {
  /* margin: 0 45px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  max-width: 1440px;
  margin: auto;
}

.container {
  width: 100%;
  padding: 0 45px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

body.lock {
  overflow: hidden;
}

/* не видаляти */
.container_section {
  /* margin-top: 85px; */
}

/* header */
.header {
  /* position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999; */
}

/* не видаляти */
.header_container {
  height: 94px;
  width: 100%;
  /* Віднімаємо 90 пікселів (по 45 пікселів з кожного боку) якщо потрібно буде  position: fixed для хедеру*/
  /* max-width: calc(100% - 90px); */
  max-width: 100%;
  padding: 0 45px;
  margin: 40px auto 90px auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--main-blue-color);
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.logo {
  margin-right: 30px;
}

.logo_login_mob_img {
  display: none;
}

.header_nav ul {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.header_nav_item {
  margin: auto 15px;
}

.header_nav_item a {
  color: white;
}

.login_btn,
.edit_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  color: var(--grey-color);
  text-transform: lowercase;
  border-radius: 4px;
  padding: 5px;
}

.login_btn {
  background-color: white;
  padding: 5px 20px;
}

.login_btn img {
  width: 100%;
  height: 25px;
  width: 25px;
  margin-left: 8px;
  color: var(--grey-color);
}

/* header */

/* Header for log-in users place */

/* Sidebar place */

/* main section */
.main {
  flex: 1;
}

.image_section {
  display: none;
}

/* Login section */
.login_section {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.login_form {
  border-radius: var(--border-radius);
  background: var(--bg-color);
}

.login_form,
/* .faq_section, */
.login_first {
  width: 48%;
  padding: 54px 64px;
}

.login_section .title {
  font-size: 33px;
  font-weight: 700;
  text-align: center;
  /* margin-bottom: 50px; */
}

.login_form h2 {
  /* color: var(--red-color); */
  color: var(--blue-color);
  margin-bottom: 50px;
}

/* .faq_section h2 {
  color: var(--grey-color);
} */

/* form classes */
.login input,
.login button {
  display: block;
  width: 100%;
  background: #5ca1b7b2;
  color: #fff;
  padding: 14px 48px;
  margin-bottom: 26px;
  border-radius: 13px;
  font-size: 22px;
  font-weight: 300;
}

/* Для Chrome, Safari, Edge (на базі Chromium) */
.login input:-webkit-autofill {
  background: #5ca1b7b2 !important;
  color: #fff !important;
  -webkit-text-fill-color: white !important;
  font-weight: 300 !important;
  box-shadow: 0 0 0 1000px #5ca1b7b2 inset !important;
  border: 1px solid #5ca1b7b2 !important;
}

/* Для Firefox */
.login input:-moz-autofill {
  background-color: #5ca1b7b2 !important;
  color: #fff !important;
  -moz-text-fill-color: white !important;
  font-weight: 300 !important;
  box-shadow: 0 0 0 1000px #5ca1b7b2 inset !important;
  border: 1px solid #5ca1b7b2 !important;
}

/* Для Edge (на базі Chromium) і Internet Explorer */
.login input:-ms-autofill {
  background-color: #5ca1b7b2 !important;
  color: #fff !important;
  font-weight: 300 !important;
  box-shadow: 0 0 0 1000px #5ca1b7b2 inset !important;
  border: 1px solid #5ca1b7b2 !important;
}

.login input::placeholder,
.login input:focus {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  text-align: left;
}

.login input::-moz-placeholder,
:-moz-placeholder {
  opacity: 1;
}

.login button {
  background: var(--red-color);
  width: 60%;
  margin: 50px 0;
  font-size: 30px;
  font-weight: 700;
  /* Анімація при натисканні*/
  transition: transform 0.1s, box-shadow 0.1s;
  text-align: center;
}

.login button:active,
.error_login_form a:active,
.first_login button:active {
  /* Зміщення вниз при натисканні */
  transform: translateY(4px);
  box-shadow: 0px 0px 10px 0px rgba(65, 65, 65, 0.2);
}

/* form classes */

.login_bank {
  /* display: inline-flex;
  align-items: center; */
  margin-bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* відкоригувати */
.bankid_btn {
  /* width: 100%; */
  /* display: block; */
  font-size: 25px;
  font-weight: 400;
  text-align: center;
  color: var(--grey-color);
  white-space: nowrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.login_bank span {
  /* margin-left: 10px; */
  /* width: 100%; */
  height: auto;
}

.login_bank img {
  height: auto;
  max-width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

/* відкоригувати */

.login_help {
  display: flex;
  flex-direction: column;
}

.login_help a {
  font-size: 19px;
  /* font-style: italic; */
  font-weight: 250;
  text-decoration: underline solid;
  color: var(--grey-color);
}

.login_first {
  border-radius: var(--border-radius);
  border: 1px solid #D9D9D9;
  text-align: center;
}

.login_first h2 {
  color: var(--red-color);
  margin-bottom: 30px;
}

.login_first {
  text-align: center;
}

.login_subtitle {
  display: block;
  font-size: 24px;
  color: var(--grey-color);
  text-align: center;
  margin-bottom: 28px;
}

.verify_card {
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
  text-align: left;
  padding: 22px;
}

.verify_card:first-child {
  margin-bottom: 30px;
}

.verify_card_text,
.verify_card_text p {
  margin-bottom: 20px;
}

.verify_card_header {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.verify_btn_bankid {
  background-color: #D9D9D9;
  border-radius: 4px;
  font-size: 16px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 12px;

}

.verify_btn_bankid img {
  max-height: 23px;
}

.verify_btn_bankid {
  width: fit-content;
  color: #000;
  border: 1px solid #d9d9d9;
}

.verify_btn_bankid:hover {
  border: 1px solid #000000;
}

.verify_card_logo.diya_icon {
  max-height: 43px;
}

.verify_card_title {
  font-weight: 700;
  font-size: 33px;
}

.verify_card_body {
  display: grid;
  grid-template-columns: 60% 35%;
  gap: 20px;
}

.verify_link {
  border-radius: 4px;
  border: 1px solid #9D9d9d;
  padding: 5px 10px;
  color: black;
  font-weight: 500;
  background-color: var(--bg-color);
}

.view_video {}

.view_video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.view_video svg {
  transition: transform 0.3s ease;
}

.view_video:hover svg {
  transform: translateX(4px);
}



.faq_item {
  color: #060606;
  background-color: white;
  border-radius: 25px;
  margin-bottom: 15px;
  text-align: left;
  font-size: 25px;
  padding: 19px 19px 19px 44px;
}

.faq_item h3 {
  font-weight: 600;
}

.faq_question {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  cursor: pointer;
}

.faq_question img {
  margin-left: 10px;
}

.faq_answer {
  display: none;
  margin-top: 45px;
  font-weight: 500;
}

.faq_item.active {
  background-color: var(--red-color);
  color: #fff;
}

.faq_item.active .arrow_icon {
  display: none;
}

/* Login section */

/* First login section */
.first_login_form,
.second_login_form {
  width: 50%;
}

.first_login_container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.first_login_container h2 {
  font-size: 33px;
  font-weight: 500;
  text-align: center;
  color: var(--grey-color);
  margin-bottom: 50px;
}

.first_login_container h2 span {
  display: block;
}

.first_login,
.second_login {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 56px 53px 13px 53px;
  margin-bottom: 50px;
  /* min-width: 500px; */
}

.first_login button,
.error_login_form a {
  width: auto;
  background-color: var(--red-color);
  color: #fff;
  padding: 14px;
  margin: 30px auto 50px auto;
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  border-radius: 13px;
  /* Анімація при натисканні*/
  transition: transform 0.1s, box-shadow 0.1s;
  text-align: center;
}

.second_login_form {
  display: none;
}

.second_login_info {
  font-size: 21px;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  color: #393a3d;
  max-width: 450px;
  margin: 0 auto 50px auto;
}

.second_login {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.error_login_form {
  display: none;
  width: 60%;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  font-size: 33px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.error_login_form.visible {
  display: flex;
}

.error_login_form h2 {
  color: var(--red-color);
}

.error_login_form p {
  color: var(--grey-color);
  margin-bottom: 50px;
}

.confirm_code,
.insuf_form {
  max-width: 90%;
  width: fit-content;
  min-width: 600px;
}

.confirm_code button {
  margin-left: auto;
  margin-right: auto;
}

.confirm_code input[type="text"]::placeholder,
.confirm_code input[type="text"] {
  text-align: center;
}

.confirm_code h2 {
  margin-bottom: 100px;
  font-size: 33px;
}

.confirm_code_wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  background-color: #FFFFFFD1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.insuf_form h2 {
  font-weight: 300;
}

/* First login section */

/* Main General Info place */

/* footer */
footer {
  background: var(--bg-color);
  border-radius: var(--border-radius);
  margin: 0 45px 40px 45px;
  padding: 50px 50px 25px 50px;
}

.footer_links {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  color: #000000b2;
}

.footer_links a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #000000b2;
  margin: 0 10px 10px 0;
}

.footer_links a:last-child {
  margin-right: 0;
}

.footer_info {
  text-align: center;
  font-size: 11px;
  font-weight: 400;
  text-align: left;
}

.footer_info p:first-child {
  margin-bottom: 25px;
}

.footer_link_mobile {
  display: none;
}

/* footer */

/* Maintenance Mode */
.maintenance_section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #F7F7F9;
  text-align: center;
  color: #414141;
}

.maintenance_section h1 {
  font-size: 3rem;
  /* color: #333; */
  margin-bottom: 50px;
}

.maintenance_section p {
  font-size: 1.2rem;
  /* color: #666; */
}

.maintenance_section .icon {
  height: auto;
  margin-bottom: 20px;
  width: 100px;
}

.maintenance_section .icon img {
  width: 100%;
}

/* Maintenance Mode end*/

.login_bank>span {
  font-size: 25px;
  font-weight: 400;
  text-align: center;
  color: var(--grey-color);
  white-space: nowrap;
}

/* reg_finished_alert */
.reg_finished_alert {
  margin: auto;
}
.reg_finished_alert h2, .reg_finished_alert p{
      display: block;
    font-size: 24px;
    color: var(--grey-color);
    text-align: center;
    margin-bottom: 28px;
}

.reg_finished_alert form input, .reg_finished_alert form button {
    display: block;
    width: 100%;
    background: #5ca1b7b2;
    color: #fff;
    padding: 14px 48px;
    margin-bottom: 26px;
    border-radius: 13px;
    font-size: 22px;
    font-weight: 300;
}

.reg_finished_alert form input,
.reg_finished_alert form .login button {
  display: block;
  width: 100%;
  background: #5ca1b7b2;
  color: #fff;
  padding: 14px 48px;
  margin-bottom: 26px;
  border-radius: 13px;
  font-size: 22px;
  font-weight: 300;
}

.reg_finished_alert form  button {
    background: var(--red-color);
    width: 60%;
    margin: 50px 0;
    font-size: 22px;
    font-weight: 700;
    transition: transform 0.1s, box-shadow 0.1s;
    text-align: center;
    margin: auto;
}
.reg_finished_alert form input::placeholder {
    color: #ffffff;
    opacity: 1;
}
@media screen and (max-width: 1200px) {

  /* не видаляти */
  .header_container {
    /* max-width: 100%; */
    /* max-width: calc(100% - 80px); */
  }

  /* не видаляти */
  .login_section .title {
    font-size: 31px;
  }

  .faq_item {
    font-size: 23px;
  }

  .first_login button,
  .error_login_form a {
    font-size: 27px;
  }

  .second_login button {
    padding: 14px 15px;
  }

  .second_login_info {
    font-size: 19px;
  }

  .error_login_form {
    font-size: 31px;
  }
}

@media screen and (max-width: 1080px) {

  /* не видаляти */
  .header_container {
    /* max-width: calc(100% - 60px); */
    /* padding: 0 34px; */
  }

  /* не видаляти */
  .login_form,
  /* .faq_section, */
  .login_first {
    padding: 44px 54px;
  }

  .bankid_btn {
    font-size: 23px;
  }

  .faq_item {
    font-size: 21px;
  }

  .faq_answer {
    margin-top: 35px;
  }

  .first_login button,
  .second_login button,
  .error_login_form a {
    font-size: 25px;
  }

  .first_login_container h2 {
    font-size: 31px;
  }

  .confirm_code h2,
  .insuf_form h2 {
    font-size: 33px;
  }

  .second_login button {
    margin-top: 35px;
  }

  .second_login_info {
    font-size: 17px;
    max-width: 350px;
  }

  .error_login_form {
    font-size: 29px;
  }
}

@media screen and (max-width: 993px) {
  .container {
    padding: 0 35px;
  }

  .header_container {
    margin-bottom: 70px;
    font-size: 14px;
  }

  .login_form,
  /* .faq_section, */
  .login_first {
    padding: 34px 44px;
  }

  .bankid_btn {
    font-size: 23px;
  }

  .login_form,
  /* .faq_section, */
  .login_first {
    padding: 54px;
  }

  .login_section .title {
    font-size: 29px;
  }

  .faq_item {
    padding: 15px 15px 15px 30px;
  }

  .first_login_container h2 {
    font-size: 29px;
  }

  .confirm_code h2,
  .insuf_form h2 {
    font-size: 33px;
  }

  .first_login button,
  .second_login button,
  .error_login_form a {
    font-size: 23px;
  }

  .first_login {
    padding-top: 43px;
  }

  .error_login_form {
    font-size: 27px;
  }

  .footer_links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .error_login_form {
    font-size: 27px;
    white-space: wrap;
  }

  footer {
    margin: 0 35px 40px 35px;
  }

  .login_section {
    flex-direction: column;
    margin-bottom: 0;
  }

  .login_form,
  /* .faq_section, */
  .login_first {
    width: 100%;
    margin-bottom: 75px;
  }
}

@media screen and (max-width: 890px) {

  /* не видаляти */
  .header_container {
    /* max-width: calc(100% - 30px); */
    /* padding: 0 26px; */
    font-size: 12px;
  }

  /* не видаляти */
  .login_btn {
    padding: 5px 12px;
  }

  .header_nav_item {
    margin: auto 5px;
  }

  .login_form,
  /* .faq_section, */
  .login_first {
    padding: 34px 34px;
  }

  .login_form .title,
  /* .faq_section .title, */
  .login_first .title {
    margin-bottom: 40px;
  }

  .login .button {
    font-size: 28px;
  }

  .faq_item {
    padding: 10px 10px 10px 20px;
  }

  .first_login_container h2 {
    font-size: 26px;
  }

  .confirm_code h2,
  .insuf_form h2 {
    font-size: 33px;
  }

  .second_login_info {
    font-size: 15px;
  }

  .second_login button {
    margin-top: 25px;
    width: 70%;
  }

  .error_login_form {
    font-size: 25px;
  }
}

@media screen and (max-width: 769px) {
  .header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background: white;
    padding: 0 45px;
  }

  .header_container {
    height: 74px;
    background: white;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 15px;
  }

  .login_btn {
    background: var(--blue-color);
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    padding: 5px 25px;
    border-radius: 10px;
  }

  .login_btn img {
    filter: brightness(0) invert(1);
    height: 34px;
    width: 34px;
  }

  .logo_login_mob_img {
    display: block;
  }

  .logo_img {
    display: none;
  }

  .header_nav {
    display: none;
  }

  .login_form {
    padding: 100px 50px 15px 50px;
  }

  .login_section .title {
    font-size: 35px;
    font-weight: 600;
    color: var(--grey-color);
    text-align: center;
    margin-bottom: 80px;
  }

  .login input {
    font-size: 22px;
    font-weight: 300;
  }

  .login button {
    margin: 50px auto 100px auto;
  }

  .login_bank {
    display: flex;
    justify-content: center;
    margin-left: 55px;
  }

  .login_help {
    align-items: center;
  }

  /* .faq_section, */
  .login_first {
    padding: 50px 50px 70px 50px;
  }

  /* .faq_section .title, */
  .login_first .title {
    font-size: 35px;
    font-weight: 800;
    text-align: left;
  }

  .faq_item {
    font-size: 25px;
    padding: 19px 19px 19px 44px;
  }

  .faq_answer {
    margin-top: 45px;
  }

  .first_login_form,
  .second_login_form {
    width: 100%;
  }

  .first_login_container {
    margin-top: 100px;
  }

  .first_login_container h2 {
    font-size: 40px;
    font-weight: 600;
  }

  .first_login_container h2 span {
    max-width: 60%;
    margin: auto auto 40px;
  }

  .first_login,
  .second_login {
    padding: 47px 37px 36px 37px;
  }

  .first_login button,
  .second_login button,
  .error_login_form a {
    font-size: 30px;
    margin-bottom: 0;
  }

  .second_login button {
    margin-top: 30px;
  }

  .second_login_form h2 {
    padding: 0 70px;
  }

  .second_login_info {
    font-size: 30px;
    max-width: 500px;
  }

  .error_login_form {
    width: 100%;
    font-size: 33px;
  }

  .confirm_code,
  .insuf_form {
    max-width: 90%;
    width: fit-content;
    min-width: auto;
  }

  .container_section {
    margin-top: 200px;
  }

  .container {
    padding: 0 55px;
  }

  footer {
    flex-direction: column;
    align-items: center;
    display: flex;
    border-radius: 0;
    margin: 0;
    background-color: var(--blue-color);
    color: #fff;
    padding: 40px 40px 25px 40px;
  }

  .footer_links {
    display: none;
  }

  .footer_link_mobile {
    display: block;
    margin-bottom: 50px;
  }

  .footer_link_mobile a {
    font-size: 30px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
  }

  .footer_info {
    text-align: center;
  }

  .maintenance_section .icon {
    width: 80px;
  }

  .confirm_code h2,
  .insuf_form h2 {
    font-weight: 300;
  }
}

@media screen and (max-width: 690px) {
  .container {
    padding: 45px;
  }

  .login_section .title {
    font-size: 30px;
  }

  .login_bank {
    margin-left: 20px;
  }

  .faq_answer {
    margin-top: 35px;
  }

  .block_money_wrapper {
    padding: 55px 35px;
  }

  .blocks_section .current_money {
    font-size: 50px;
    margin-left: 50px;
  }

  .block_money_wrapper .block {
    font-size: 33px;
  }

  .last_date_paid {
    font-size: 22px;
  }

  .block_info {
    padding: 50px;
    margin-bottom: 130px;
  }

  .first_login_container h2 {
    font-size: 38px;
  }

  .second_login_form h2 {
    padding: 0;
  }

  .second_login_info {
    font-size: 28px;
  }

  .error_login_form {
    font-size: 29px;
  }

  .error_login_form a {
    font-size: 27px;
  }
}

@media screen and (max-width: 577px) {
  .header {
    padding: 0 40px;
  }

  .container {
    padding: 0 40px;
  }

  .login_btn {
    font-size: 23px;
  }

  .login_form {
    padding: 70px 40px 15px 40px;
  }

  .login_bank {
    margin-left: 0;
  }

  .login_section .title {
    font-size: 28px;
  }

  .login button {
    font-size: 28px;
    margin-bottom: 70px;
  }

  .bankid_btn {
    font-size: 20px;
  }

  /* .faq_section, */
  .login_first {
    padding: 40px 40px 40px 50px;
  }

  /* .faq_section .title, */
  .login_first .title {
    margin-bottom: 50px;
  }

  .faq_item {
    font-size: 23px;
    padding-left: 32px;
  }

  .first_login_container {
    margin-top: 80px;
  }

  .first_login_container h2 {
    font-size: 34px;
  }

  .first_login_container h2 span {
    max-width: 70%;
  }

  .first_login button,
  .second_login button {
    margin-bottom: 0;
  }

  .error_login_form {
    font-size: 27px;
  }

  .error_login_form a {
    font-size: 23px;
    margin-bottom: 0;
  }

  .second_login_info {
    font-size: 24px;
  }

  .confirm_code button {
    width: 80%;
  }
}

@media screen and (max-width: 481px) {
  .container_section {
    margin-top: 200px;
  }

  .header {
    padding: 0 30px;
  }

  .header_container {
    margin-top: 35px;
  }

  .container {
    padding: 0 30px;
  }

  .login_btn {
    font-size: 21px;
  }

  /* .faq_section, */
  .login_first {
    padding: 30px 30px 30px 40px;
  }

  /* .faq_section .title, */
  .login_first .title {
    font-size: 25px;
  }

  .faq_item {
    font-size: 20px;
  }

  .faq_item h3 {
    font-weight: 500;
  }

  .faq_answer {
    font-weight: 400;
    margin-top: 25px;
  }

  .first_login_container {
    margin-top: 60px;
  }

  .first_login_container h2 {
    font-size: 29px;
    margin-bottom: 30px;
  }

  .first_login_container h2 span {
    margin-bottom: 20px;
    max-width: 72%;
  }

  .second_login_info {
    font-size: 20px;
  }

  .first_login input,
  .second_login input {
    padding: 14px 30px;
  }

  .first_login button,
  .second_login button {
    font-size: 25px;
    margin-top: 30px;
  }

  .error_login_form {
    font-size: 23px;
  }

  .error_login_form p {
    margin-bottom: 30px;
  }

  .error_login_form a {
    font-size: 21px;
    margin-top: 30px;
  }

  .confirm_code button {
    width: 100%;
    font-size: 26px;
  }
}

@media screen and (max-width: 376px) {
  .container_section {
    margin-top: 120px;
  }

  .header_container {
    margin-top: 25px;
  }

  .login_btn {
    font-size: 19px;
  }

  .login_form {
    padding: 40px 25px 10px 25px;
  }

  .login_form .title {
    font-size: 22px;
    margin-bottom: 50px;
  }

  .login input {
    font-size: 20px;
    padding: 12px 43px;
  }

  .login button {
    font-size: 26px;
    margin-bottom: 45px;
  }

  .login_bank {
    margin-bottom: 30px;
  }

  .bankid_btn {
    font-size: 18px;
  }

  .login_help a {
    font-size: 17px;
  }

  /* .faq_section, */
  .login_first {
    padding: 20px 20px 20px 30px;
  }

  /* .faq_section .title, */
  .login_first .title {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .faq_item {
    padding: 13px 13px 13px 26px;
  }

  .first_login_container {
    margin-top: 30px;
  }

  .first_login_container h2 {
    font-size: 25px;
  }

  .first_login input,
  .second_login input {
    padding: 12px 25px;
  }

  .first_login button,
  .second_login button {
    font-size: 22px;
    margin: 15px auto 0 auto;
  }

  .second_login button {
    padding: 14px 8px;
    width: 80%;
  }

  .second_login_info {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .error_login_form {
    font-size: 19px;
  }

  .error_login_form a {
    font-size: 19px;
    margin: 15px auto 0 auto;
  }

  .footer_link_mobile a {
    font-size: 19px;
  }

  footer {
    padding: 30px 25px 20px 25px;
  }

  .confirm_code button {
    font-size: 22px;
  }
}

@media screen and (max-width: 321px) {
  .header_container {
    margin-top: 25px;
  }

  .login_form,
  /* .faq_section, */
  .login_first {
    margin-bottom: 50px;
  }

  .login_btn {
    font-size: 17px;
  }

  .login_btn img {
    height: 24px;
    width: 24px;
  }

  .login_form .title {
    margin-bottom: 30px;
  }

  .login input {
    font-size: 18px;
    padding: 10px 39px;
    margin-bottom: 20px;
  }

  .login button {
    font-size: 24px;
    padding: 12px 40px;
    margin: 30px auto 40px auto;
  }

  .login_bank {
    margin-bottom: 15px;
  }

  .bankid_btn {
    font-size: 14px;
  }

  .login_help a {
    font-size: 15px;
  }

  /* .faq_section, */
  .login_first {
    padding-left: 20px;
  }

  .faq_item {
    padding-left: 22px;
    font-size: 18px;
  }

  .first_login {
    padding: 37px 27px 26px 27px;
  }

  .first_login_container h2 {
    font-size: 23px;
  }

  .first_login input,
  .second_login input {
    padding: 10px;
  }

  .first_login button,
  .second_login button,
  .error_login_form a {
    font-size: 18px;
    padding: 10px;
    margin: 15px auto 0 auto;
  }

  .footer_link_mobile {
    margin-bottom: 20px;
  }
}