html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

*:focus {
  outline: transparent;
}

body,
html {
  width: 100%;
}

a,
button,
input[type="submit"] {
  cursor: pointer;
}

input[type="text"],
button {
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}
@font-face {
  font-family: "MyFont";
  src: url(/static/fonts/Inter_18pt-Light.ttf);
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "MyFont";
  src: url(/static/fonts/Inter_18pt-Regular.ttf);
  font-weight: 400;
  font-display: swap;
}

body {
  font-family: "MyFont", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-weight: 300;
}

.head {
  background-color: var(--brand-color);
  width: 100%;
}

.hamburger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  top: 30px;
  right: 7%;
  cursor: pointer;
  background: transparent;
  width: 35px;
  height: 22px;
}

.hamburger span {
  display: block;
  height: 2px;
  background-color: #fff;
  width: 100%;
  position: relative;
  top: 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg);
  position: relative;
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg);
  position: relative;
  top: -10px;
}

/*color variables*/
:root {
  --color-soft-white: #fafafa;
  --brand-color: #F50;
  --border-input-default: #ddd;
  --shadow-default: rgba(0, 0, 0, 0.3);
}

.headline {
  font-size: 1.6rem;
  color: var(--brand-color);
  font-weight: 400;
  text-align: center;
}

.system_message {
  min-width: 320px;
  max-width: 460px;
  padding: 15px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 6px;
  box-shadow: 0 3px 7px var(--shadow-default);
  background-color: white;
  transition: all 0.3s;
}

.system_message .close {
  font-size: 1.3rem;
  border-radius: 100%;
  background-color: transparent;
  color: red;
  border: none;
  position: absolute;
  top: 2px;
  right: 7px;
}

.system_message p {
  font-size: 1.125rem;
  margin: 20px 0;
  text-align: center;
}

.system_message:hover {
  box-shadow: 0 2px 4px var(--shadow-default);
}

#top {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 5px 15px;
  gap: 20px;
  margin: 0 auto;
  position: relative;
  height: 80px;
}

#lang_select {
  padding: 5px 8px 3px 8px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid var(--brand-color);
  color: var(--brand-color);
  background-color: white;
  border: 1px solid #fff;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  background-image: url(/static/images/main/langicon.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 85% center;
  padding-right: 26px
}

#top a {
  text-decoration: none;
}

#top .logo {
  color: white;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.09rem;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  transition: all 0.3s;
}

#top .logo > div {
  width: 70px;
  height: 70px;
}

#top .logo:hover {
  filter: drop-shadow(0 0 10px white);
}

.top_list {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
  gap: 15px;
  font-size: 1rem;
  position: absolute;
  top: 110px;
  left: 0;
  border-radius: 4px;
  background-color: #fff;
  width: 100%;
  overflow: hidden;
  max-height: 0;
  transition: all 0.3s ease;
  padding: 0 15px;
  box-shadow: 0 0 20px #eee;
}

.top_list.active {
  max-height: 1000px;
  padding: 15px
}

.top_list > * {
  min-height: 30px;
  min-width: 67px;
}

.top_list a {
  border: 1px solid var(--brand-color);
  padding: 5px 8px 3px 8px;
  border-radius: 4px;
  color: var(--brand-color);
  background-color: white;
  transition: all 0.3s;
  text-align: start;
  border: 1px solid #fff;
  width: 100%;
  font-size: 1.25rem;
}

.top_list a:hover {
  color: white;
  background-color: var(--brand-color);
}

.top_btn {
  display: block;
  top: 80px;
  width: 100%;
  padding: 5px;
  text-align: center;
  background-color: #e63d00
}

.top_btn a {
  text-decoration: none;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
}

@media all and (min-width: 480px) {
  .headline {
    font-size: 2rem;
  }
}

@media all and (min-width: 700px) {
  #top {
    flex-direction: row;
    justify-content: space-around;
  }
}

@media all and (min-width: 890px) {
  .hamburger {
    display: none;
  }

  .top_btn {
    display: none;
  }

  .top_list {
    position: relative;
    top: 0;
    left: 0;
    flex-direction: row;
    background-color: transparent;
    align-items: center;
    padding: 0;
    justify-content: flex-end;
    max-height: 100px;
    opacity: 1;
    box-shadow: none;
  }

  .top_list a {
    text-align: center;
    width: initial;
    font-size: 1rem
  }

  #lang_select {
    width: initial;
    font-size: 1rem
  }
}

footer {
  background-color: #333;
  color: #f3f4f6;
  padding: 40px 0;
  width: 100%;
}

footer > div {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
}

footer > div > ul {
  display: flex;
  flex-direction: column;
  color: white;
  list-style: none;
  line-height: 200%;
}

footer > div > ul a {
  color: inherit;
  text-decoration: none;
}

main {
  min-height: calc(100vh - 192px)
}.for_box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 4px 0 #0000006b;
  transition: all 0.3s;
  padding: 15px;
}

.for_title {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 15px;
}

.for_box label span {
  display: block;
  margin-bottom: 5px;
}

.for_input_txt {
  background: #fff0;
  font-family: inherit;
  border: 1px solid var(--border-input-default);
  border-radius: 4px !important;
  padding: 8px 8px 6px 8px;
  font-size: 1rem;
  width: 100%;
  margin-bottom: 10px;
  min-height: 38px;
  box-sizing: border-box;
  box-shadow: inset 0 3px 5px var(--form-shadow);
}

.for_input_txt:focus {
  box-shadow: inset 0px 0px 3px #0000006b;
}

.for_input_txt:hover {
  box-shadow: inset 0px 0px 3px #0000006b;
}

.for_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--brand-color);
  color: white;
  padding: 0 30px;
  min-height: 35px;
  border: 1px solid var(--brand-color);
  font-size: 1rem;
  transition: all 0.3s;
  width: 100%;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 19px;
  box-shadow: inset 0 -3px 5px #0000006b, 0 2px 5px #0000006b;
  margin-top: 15px;
}

.for_btn:hover {
  box-shadow: none;
  background-color: white;
  color: var(--brand-color);
}main.login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 90px;
}

.login h1 {
    font-weight: 300;
}