@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");
html {
  scroll-behavior: smooth;
}

body {
  background-color: aliceblue;
}

* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}
* a {
  text-decoration: none;
}
*::before {
  box-sizing: border-box;
}
*::after {
  box-sizing: border-box;
}

.container {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 40px;
}

.header_wrapper {
  padding: 0 20px 15px 20px;
  border-radius: 0 0 50px 50px;
  background: pink;
  height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_logo {
  display: flex;
  align-items: center;
  column-gap: 10px;
}
.header_image {
  display: flex;
  justify-content: center;
  height: 40px;
  width: 40px;
  fill: #b1b1b1;
}
.header_text {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #b1b1b1;
}
.header_text h1 {
  font-size: 24px;
}
.header_text h2 {
  font-size: 12px;
}
.header_search input {
  background: #b1b1b1;
  border-radius: 5px;
  border: 2px solid aliceblue;
  width: 200px;
  height: 35px;
  color: aliceblue;
  padding: 10px;
  transition: all 0.5s ease-in-out;
}
.header_search input:focus-visible {
  background: pink;
  outline: none;
}
.header_search button {
  background: #b1b1b1;
  border-radius: 5px;
  border: 2px solid aliceblue;
  width: 45px;
  height: 35px;
}
.header_search button svg {
  height: 25px;
}
.header_search button:active {
  background: pink;
}

#clear-button {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

#clear-button:hover {
  color: #333;
}

.gallery {
  min-height: calc(100dvh - 1250px);
}
.gallery_wrapper {
  margin-top: 30px;
  display: flex;
  column-gap: 30px;
  row-gap: 30px;
  flex-wrap: wrap;
}
.gallery_wrapper-item {
  margin: 0 auto;
  border-radius: 15px;
  width: 300px;
  height: 200px;
  overflow: hidden;
}
.gallery_wrapper-item img {
  object-fit: cover;
  float: initial;
  display: block;
  line-height: 0;
}
.gallery_wrapper_text {
  text-align: center;
}
.gallery_pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}
.gallery_pagination button {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 0 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.gallery_pagination button:disabled {
  background-color: #cccccc;
  cursor: unset;
}
.gallery_pagination button:disabled:not(:disabled) {
  background-color: #0056b3;
}
.gallery_pagination #page-info {
  font-size: 16px;
  color: #333;
}

.footer_wrapper {
  margin-top: 30px;
  height: 60px;
  width: 100%;
  border-radius: 50px 50px 0 0;
  background: pink;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
}
.footer_wrapper a {
  transition: all 0.5s ease-in-out;
}
.footer_wrapper a:hover {
  scale: 1.2;
}
.footer_copyright {
  font-size: 26px;
}
.footer_copyright a {
  color: black;
  transition: all 0.5s;
}
.footer_copyright a:hover {
  color: aliceblue;
}
.footer_logo {
  height: 40px;
}
.footer_logo img {
  height: 100%;
}
