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

html {
  height: 100%;
  overflow-x: hidden;
}

body {
  color: #f0f0f0;
  overflow-x: hidden;
  height: 100%;
  font-family: "Roboto Flex", serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

h1 {
  font-weight: 600;
  font-size: 30px;
  line-height: 114%;
  text-align: center;
}

.container {
  background-image: url(images/background.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 40px 48px 85px 48px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  text-align: center;
}

.dropdown {
  position: relative;
  align-self: flex-end;
}

.selected_language,
.dropdown_menu {
  border-radius: 8px;
  background: rgba(14, 13, 13, 0.45);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.2px;
  text-transform: capitalize;
}

.selected_language,
.dropdown_menu ul li {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  padding: 12px;
}

.selected_language .dropdown_arr {
  transform: scaleY(-1);
}

.dropdown_menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  padding: 8px;
}

.dropdown.open .dropdown_menu {
  display: block;
}

.dropdown.open .selected_language .dropdown_arr {
  transform: none;
}

.dropdown_menu ul {
  list-style-type: none;
  padding: 0;
}

.dropdown_menu ul li {
  cursor: pointer;
}

.dropdown_menu ul li:not(.active):hover {
  background: rgba(14, 13, 13, 0.45);
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

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

.buttons {
  display: flex;
  flex-direction: column;
  width: 460px;
  gap: 20px;
  margin-top: 54px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  text-transform: uppercase;
  border-radius: 8px;
  color: #f0f0f0;
  text-align: center;
  transition: all ease-in-out 0.2s;
}

.buttons .btn {
  height: 58px;
  font-weight: 800;
  font-size: 15px;
  line-height: 112%;
}

.btn.btn-login {
  background-color: #00b2ff;
  border: 1px solid #00b2ff;
}

.btn.btn-registration {
  background-color: #00cc2d;
  border: 1px solid #00cc2d;
}

.btn:hover {
  border: 1px solid #ffffff;
  color: rgba(240, 240, 240, 0.8);
}

.btn.btn-terms {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0.2px;
  padding: 12px 20px;
  background: rgba(105, 105, 105, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(4px);
}

.btn.btn-terms:hover {
  background: rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 0.4);
}

.footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 13px;
  color: #cfd2d6;
}

@media screen and (max-width: 768px) {
  .container {
    background-image: url(images/background-mob.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 35px;
  }

  .buttons {
    width: 100%;
    max-width: 392px;
    margin-top: 44px;
  }
}
