* {
  font-family: sans-serif;
}

/* The Modal (background) */
.d-modal,
.f-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Authorization Content/Box */
.d-modal-content,
.f-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 2px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.d-modal-button,
.f-modal-button {
  cursor: pointer;
}
/* The Close Button */
.d-modal-close,
.f-modal-close,
.f2-modal-close {
  color: #aaa;
  float: right;
  font-weight: bold;
  font-size: 36px;
}

.d-modal-close:hover,
.d-modal-close:focus,
.f-modal-close:hover,
.f-modal-close:focus,
.f2-modal-close:hover,
.f2-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
/* End of Authorization & Form Dialog Content/Box */

/* для того же, но без явного задания размера шрифта */
.m-modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 2px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.m-modal-button {
  cursor: pointer;
}


.menu {
  padding: 10px 15px;
  background-color: #fff;
  gap: 1px;
  border-radius: 2px;
  position: relative;
}

.menu__btn {
  background: none;
  border: 2px solid #000;
  transition: .1s linear;
  padding: 2px 3px;
  cursor: pointer;
}

.menu__btn__trust {
  color: black;
  background-color: #04AA6D;
  border: 2px solid #000;
  transition: .1s linear;
  padding: 2px 3px;
  cursor: pointer;
}

.menu__btn:hover,
.menu__btn__trust:hover {
  background-color: #414141;
  color: #fff;
}

.menu__btn__trust:hover {
  background-color: #04AA6D;
  color: white;
}

.menu__close-wrap {
  position: absolute;
  top: 2px;
  right: 2px;
  cursor: pointer;
}

.menu__close {
  width: 24px;
  height: 24px;
  position: relative;
}

.menu__close::before,
.menu__close::after {
  content: "";
  background-color: #000;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
}

.menu__close::before {
  top: calc(50% - 1px);
  transform: rotate(45deg);
}

.menu__close::after {
  bottom: calc(50% - 1px);
  transform: rotate(-45deg);
}

.menu-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, .8);
  width: 100%;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;

}

.menu__title {
  text-align: center;
}

.menu-wrapper--active {
  display: flex;
}

.display--none {
  display: none;
}

.text-align--center {
  text-align: center;
}
