@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=Roboto+Condensed:wght@700&family=Rubik+Vinyl&display=swap");
@import url("https://fonts.googleapis.com/css?family=Marmelad|Philosopher");

html,
body {
  font-size: 20px;
  font-family: "Marmelad", sans-serif;
  overflow-x: hidden;
}

/* * {
  border: 1px solid red;
} */

h3 {
  font-family: "Caveat", cursive;
  /* font-size: 35px; */
}
.sub-title {
  text-align: right;
  display: inline-block;
  margin-left: 5vw;
  font-size: 20px;
  font-family: "Marmelad", sans-serif;
}

.blur {
  background: url("/img/bg.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  /* background: linear-gradient(90deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 30s ease infinite; */
  animation: animateBg 5s linear infinite; */
  transform: translate3d(0, 0, 0);
  z-index: -9999;
}

@keyframes animateBg {
  100% {
    filter: hue-rotate(360deg)
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes notepad {
  0% {
    transform: rotateY(0deg);
  }
  85% {
    transform: rotateY(360deg);
  }
}

.wrap {
  margin-top: 1vh;
  width: 100%;
  min-height: 80vh;
  z-index: 2;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 5vh;
  backdrop-filter: blur(10px);
}

.header {
  display: inline-flex;
  flex-direction: column;
  margin-top: 5vh;
  position: fixed;
  width: 100%;
  position: relative;
  height: 100%;
  vertical-align: middle;
  color: white;
  backdrop-filter: blur(5px);
  border-radius: 50px;
}

.sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub-header h3 {
  text-align: left;
  text-transform: uppercase;
}

.logo {
  position: relative;
  perspective: 1000px;
  width: 70px;
  height: 100px;
}

.logo img {
  width: 100%;
  height: auto;
  animation: notepad 10s ease infinite;
  animation-delay: 5s;
}

.card_order {
  position: relative;
  background: #dfbcf3;
  color: black;
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px 15px 15px;
  margin-top: 5px;
}

.order_image {
  max-width: 100%;
  max-height: 200px;
}

.card-title{
  font-size: 20x;
  font-weight: 900;
}

.form-row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -5px;
    margin-left: -5px;
     /* border: 1px solid red; */
}

.avatar {
	float: left;
  /* border: 1px solid red; */
  max-width: 50px;
  margin-right: 5px;
}

.avatar img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
   /* border: 1px solid red; */
}

.copy-phone {
  cursor: pointer;
}
.copy-notification {
    color: green;
    font-size: 0.9em;
    margin-left: 8px;
}

.comment {
   /* border: 1px solid red; */
   background: white;
   border-radius: 5px;
   border: 1px solid black;
   color: black;
   position: relative;
}

.comm_corner {
 position: absolute;
 top: 10px;
 right: 10px;
 font-size: 14px;
}
.ml-level {
  margin-left: 50px;
}

.comment .date, .comment .user_phone{
  display: inline;
  margin-left: 5px;
  color: black;
   /* border: 1px solid red; */
}
 .comm_cost {
  position: absolute;
 top: 20px;
 right: 5px;
 font-size: 25px;
 }

 .recommended {
    background-color: #e6f7ff;
    font-weight: bold;
}
.clickable-recommendation {
  cursor: pointer;
}

.bi-info-circle {
    width: 16px;
    height: 16px;
    fill: #6c757d;
}

.user_phone .phone {
  color:#000;
}

.card.trash, .card_order.trash {
  opacity: 0.4;
}

.order_edit, .order_delete {
  /* border: 1px solid red; */
  position: absolute;
  top: 20px;
  right: 10px;
  cursor: pointer;
}
.order_edit {
  right: 40px;
}

.comment .user_phone a {
  color: black;
}
.date {
  font-size: 13px;
  transition: 0.5s;
  opacity: 0.4;
}
.date:hover {
  opacity: 1;
}
.user{
  margin-left: 5px;
  font-weight: 900;
}
.order_text{
  /* margin-left: 68px; */
  font-size: 16px;
   /* border: 1px solid red; */
}

.mt-comm {
  position: relative;
  margin-top: -1px;
  border-top: none;
 border-top-left-radius: 0;
 border-top-right-radius: 0;
 border-radius: 0px;
}
.mt-comm::before {
 content: "";
    position: absolute;
    top: -7px;
    right: -1px;
    width: 10px;
    height: 15px;
    background: white; /* или цвет фона родителя */
    z-index: 1;
    border-radius: 0;
    border-right: 1px solid black;

    /* border: 1px solid black;  */
}

.card {
  /* border: 1px solid red; */
}

.date_comment {
  position: absolute;
  right: 25px;
  display: inline-block;
  border: 0px solid red;
  font-size: 16px;
}

.card-title::first-letter {
  text-transform: uppercase;
}
.card-list-text{
  font-size: 18x;
  height: 30px;
  max-height: 100px;
  line-height: 18px;
}
.date_category{
  font-size: 14px;
  position: absolute;
  top: 0;
  right: 10px;
  z-index: 999;
  /* border: 1px solid red; */
}

.menu,
.menu-login {
  /* border: 1px solid red; */
  /* width: 25vw; */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* position: position; */
  /* top: 20%;
  left: 20vw; */
  /* margin-left: 200px; */
  font-size: 22px;
}

.menu {
  /* border: 1px solid green; */
  min-width: 400px;
  left: 100px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.menu-login {
  /* border: 1px solid green; */
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-width: 300px;
  top: 20%;
  left: auto;
  right: 0;
}

.menu-list {
  display: inline;
  padding: 5px 10px 7px 10px;
  border-radius: 10px;
  text-transform: capitalize;
  border: 1px solid transparent;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  /* text-decoration: underline; */
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

.menu-list:hover {
  color: rgba(255, 255, 255, 1);
  background: #000;
  border: 1px solid white;
  border-radius: 5px;
}

.a-rounded {
  border: 1px solid black;
}
a {
  color: white;
  text-decoration: none;
}

footer {
  white-space: nowrap; 
  position: fixed;
  bottom: 5px;
  left: 50%;
  transform: translate(-50%);
  /* border: 1px solid yellow; */
   font-size: 14px;
  z-index: -999;
}



/* footer::before {
  content: "";
  display: block;
  left: 20%;
  right: 20%;
  position: fixed;
  bottom: 40px;
  width: 60%;
  height: 0px;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  z-index: -1;
} */
/* footer a {
  color: black;
  text-decoration: none;
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 14px;
  z-index: 1;
} */

.modal {
  top: 20%;
}

/* .avatar {
  margin: 0 10px 0 0;
  width: 40px;
  height: 40px;
  border: 1px solid #aaa;
  border-radius: 50%;
  vertical-align: middle;
  transition: 0.5s;
} */

.avatar-profile.big {
  margin: 0 10px 0 0;
  width: 120px;
  height: 120px;
  border: 2px solid #f8df23;
  border-radius: 50%;
  vertical-align: middle;
}

.man {
  background: url('/img/sex.png?22') no-repeat;
  background-position: 10px 0;
  background-size: cover;
  width: 25px;
  height: 32px;
  margin-left: -10px;
}
.woman {
  background: url('/img/sex.png?22') no-repeat;
  background-position: -17px 0;
  background-size: cover;
  width: 25px;
  height: 32px;
  margin-left: -1px;
}

@media screen and (max-width: 768px) {
  .modal {
    top: 0;
  }
  .header {
    margin-top: 3vh;
  }
  .logo {
    width: 40px;
    height: 25px;
  }
  .menu,
  .menu-login {
    min-width: auto;
    font-size: 20px;
    top: 0vh;
    left: 0;
    /* border: 1px solid green; */
    flex-direction: row;
    width: 100%;
    position: relative;
  }
  .menu-login {
    top: 0;
  }
  .menu-list {
    padding: 5px 0 0 0;
  }
  .sub-header {
    flex-direction: column;
    margin-top: -20px;
  }
  .sub-title {
    display: none;
  }

  .menu-list {
    background: rgba(0, 0, 0, 0.05);
    border: 0px solid rgba(255, 255, 255, 0.3);
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 5px;
  }

  .blur {
    background: linear-gradient(90deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 30s ease infinite;
  }
}


@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 5px;
        /* margin: 5px; */
    }

    .avatar {
      max-width: 25px;
    }
    .avatar img {
      width: 25px;
      height: 25px;
    }
    .comm_corner {
      top: 2px;
    }
    .card-title {
      font-size: 15px;
    }
    .user {
      font-size: 13px;
    }
    .date {
      font-size: 12px;
    }

    .form-control {
      font-size: 12px;
    }

    .card_order {
      padding: 15px 5px 5px;
      margin-top: 2px;
    }

    h1 {
      font-size: 20px;
    }

    footer {
      font-size: 10px;
      left: 50%;
      transform: translate(-50%);
    }
}