/* Search */
*{
  box-sizing: border-box;
}
.search-box{
  width: fit-content;
  height: fit-content;
  position: relative;
  margin: 0 auto;
  text-align: center;
}
.input-search{
  height: 50px;
  width: 50px;
  border-style: none;
  padding: 10px;
  font-size: 18px;
  letter-spacing: 2px;
  outline: none;
  border-radius: 25px;
  transition: all .5s ease-in-out;
  background-color: #333;
  padding-right: 40px;
  color:#fff;
  margin-bottom: 10px;
}
.input-search::placeholder{
  color:rgba(255,255,255,.5);
  font-size: 18px;
  letter-spacing: 2px;
  font-weight: 100;
}
.btn-search{
  width: 50px;
  height: 50px;
  border-style: none;
  font-size: 20px;
  font-weight: bold;
  outline: none;
  cursor: pointer;
  border-radius: 50%;
  position: absolute;
  right: 0px;
  color:#ffffff ;
  background-color:transparent;
  pointer-events: painted;
}
.btn-search:focus ~ .input-search,
.input-search:focus{
  width: 300px;
  border-radius: 0px;
  background-color: transparent;
  border-bottom:1px solid rgba(255,255,255,.5);
  transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}
/* Card */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}
.card {
  display: flex;
  height: 270px;
  width: 200px;
  border-radius: 10px;
  transition: 0.4s ease-out;
  position: relative;
  left: 0px;
  margin: 10px;
  background-size: cover;
}
.card:hover {
  transform: translateY(-20px);
  transition: 0.4s ease-out;
}
.card:hover ~ .card {
  position: relative;
  left: 50px;
  transition: 0.4s ease-out;
}
.title {
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 4px rgb(148, 0, 211);
  font-weight: 300;
  position: absolute;
  left: 20px;
  top: 15px;
}
.bar {
  position: absolute;
  top: 100px;
  left: 20px;
  height: 5px;
  width: 150px;
}
/*.filledbar {
  position: absolute;
  top: 0px;
  z-index: 3;
  width: 0px;
  height: 100%;
  background: rgb(0, 154, 217);
  background: linear-gradient(
    90deg,
    rgba(0, 154, 217, 1) 0%,
    rgba(217, 147, 0, 1) 65%,
    rgba(255, 186, 0, 1) 100%
  );
  transition: 0.6s ease-out;
}*/
.card:hover .filledbar {
  width: 120px;
  transition: 0.4s ease-out;
}
/* Paginator */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
.pagination {
  margin-top: 10px;
}
.pagination a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 10px;
  background-color: transparent;
  border: 1px solid gray;
  transition: background-color 0.3s ease;
  font-size: 16px;
}
.pagination a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.pagination .current-page {
  color: #2e3033;
  font-weight: bold;
  background-color: #ffffff;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 10px;
  font-size: 16px;
}
/* Контейнер заметки */
.note-detail-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: #222;
  border-radius: 5px;
}
/* Заголовок заметки */
#note-a {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-decoration: underline;
  text-align: center;
}
.fa-book {
  margin-left: 5px;
}
#note-a:hover {
  color: #ccc;
}
/* Текст заметки */
#printed-text {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5em;
  margin-top: 20px;
}
/* Дополнительные стили */
::-moz-selection {
  background: #444;
  color: #fff;
}
::selection {
  background: #444;
  color: #fff;
}
/* Style Projects */
pre#welcome {
  margin-top: 20px;
  border-radius: 5px;
  padding: 30px;
  font-size: 27px;
  line-height: 1.5;
  /* background-color: #272727; */
  color: #ffffff;
  text-align: left;
}
pre#code2 {
  margin-top: 20px;
  border-radius: 5px;
  padding: 20px;
  font-size: 22px;
  line-height: 1.5;
  color: #ffffff;
  text-align: left;
}
pre#code2 a {
  color: #9ca7b1;
}
/* For mobile */
@media screen and (pointer: coarse) {
    /* Backgrounds */
    body {
      background: black;
    }
    body.project-page {
      background: black;
    }
    body.notes-page {
      background: black;
    }
    body.notes-detail {
      background: black;
      /* background-image: url('/static/images/bg5.png');
      overflow-y: hidden; */
    }
    .menu-footer a i {
      font-size: 1.5rem;
    }
     /* Activate search */
    .input-search{
      margin-bottom: -12px;
      width: 300px;
      border-radius: 0px;
      background-color: transparent;
      border-bottom: 1px solid rgba(255, 255, 255, .5);
      transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
    }
     .input-search:focus {
        width: 300px;
        border-radius: 0px;
        background-color: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
        transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
  }
     /* Close loop */
     .btn-search{
        display: none;
  }
   /* Style for card */
     .cards-container {
        display: flex;
        flex-wrap: wrap;
        text-shadow: 2px 2px 4px rgb(148, 0, 211);
        justify-content: center;
        margin-bottom: 5px;
        margin: 25px;
    }
     .pagination a {
        color: white;
        text-decoration: none;
        padding: 14px 7px;
        margin: 0 3px;
        border-radius: 5px;
        background-color: transparent;
        border: 1px solid gray;
        transition: background-color 0.3s ease;
    }
    pre#welcome {
      font-size: 13px;
    }
    pre#code {
      font-size: 13px;
      text-shadow: 2px 2px 4px rgb(148, 0, 211);
    }
    pre#code2 {
      font-size: 14px;
    }
    .pagination a {
      font-size: 8px;
}
}