html {
  height: 100%;
  box-sizing: border-box;
}
h2 {
  text-align: center;
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.modal {
  animation-name: modalFadeIn;
  animation-duration: 0.1s;
  animation-timing-function: ease-out;
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.9);
}
.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
}
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.modal-content img {
  width: 100%;
  height: auto;
}
.image-resize {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -ms-user-drag: none;
}
.modal-content {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.modal-image {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.search-form {
  position: relative;
}
.search-icon:hover {
  cursor: pointer;
}
#search-button {
  position: absolute;
  right: 1; 
  top: 0;
  width:43px; 
  height: auto; 
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-block;
  vertical-align: top; 
}
#search-button .smaller-image {
  width: 100%;
  height: auto;
}
.news-block {
  width: 300px; 
  height: 300px; 
  overflow: auto; 
  padding: 10px;
}
.search-icon:hover {
  cursor: pointer;
}
.dropdown-menu {
  display: none; 
}
.dropdown-menu.is-visible {
  display: block; 
}
#search-dropdown1 {
  max-height: 235px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: 'Times New Roman', Times, serif, sans-serif;
  font-size: 20px;
}
#search-dropdown1::-webkit-scrollbar {
  display: none;
}
.dropdown-menu a {
  background-color: #ffffff;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}
.dropdown-menu {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 2;
  margin-top: 2px;
}
.dropdown-menu a {
  font-size: 16px;
  padding: 15px 20px;
}
.dropdown-menu {
  margin-top: 4px;
}
#poke-catalog {
  margin-top: 14px;
}
.dropdown-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown-menu a:hover {
  background-color: #f1f1f1}
.dropdown:hover .dropdown-menu {
  display: block;
}
.image-resize {
  width: 300px;
  height: auto;
  float: left;
  margin-right: 20px;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
.image-resize {
  width: 300px;
  height: auto;
  margin-right: 20px;
}
.tips-block {
  clear: both;
  text-align: justify;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
}
.dropdown-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.news-block2  {
  text-align: center;
  font-size: 20px;
  background-color: #FFF8DC;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 140%;
}

.news-block  {
  text-align: left;
  font-size: 20px;
  background-color: #FFF8DC;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  line-height: 140%;
}
.resource-list {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  top: 100%;
  left: 0;
}
.resource-list a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}
.resource-list a:hover {
  background-color: #f1f1f1;
}
.content-block h2
{text-align: center;
  font-size: 30px;
}
.content-block p {
    text-align: center;
    font-size: 20px;
    font-size: 20px;
}
.main-content {
  display: flex;
  align-items: flex-start;
}
.news-section {
  flex: 1;
  padding-right: 20px;
}
#search-button {
  background-color: rgba(0, 0, 0, 0);
  border: none;
  opacity: 1;
}
.search-form input[type="text"]:focus {
  outline: none;
  box-shadow: none;
}
.search-icon:hover .smaller-image {
  background-color: #fc810d;
  border-radius: 30%;
}
.smaller-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
*, *:before, *:after {
  box-sizing: inherit;
}
.menu-item {
  font-family: 'Arial', sans-serif;
}
.search-form {
  max-width: 100%;
  flex-grow: 1;
}
.search-icon {
  position: absolute;
  right: 0px;
  top: 53%;
  transform: translateY(-50%);
  .search-icon {
    mix-blend-mode: multiply;
  }
}
.search-form input[type="text"] {
  min-width: 150px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 15px 0 0 15px;
  max-width: 80%;
}
.search-form button {
  width: 70px;
}
body {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}
.wrapper {
  padding: 10px;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 80%;
  margin: 10px auto;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}
.header {
  background-color: #FFA500;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 20px;
  border-radius: 7px;
}
.logo-link {
  display: flex;
  align-items: center;
  margin-right: 20px;
}
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0;
}
.menu-item {
  background-color: transparent;
  color: #333;
  text-decoration: none;
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.search-container {
  margin-left: auto;
  position: relative;
}
.search-form input[type="text"] {
  padding: 7px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 70%;
  padding-right: 10px;
}
#blogLink {
  height: 61px;
}
.dropdown > a {
  height: 61px;
}
.menu-item:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
.header-left {
  display: flex;
  align-items: center;
}
.logo {
  height: 60px;
  width: auto;
}
.menu a {
  float: left;
  display: block;
  color: #333;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  background-color: transparent;
}
.menu a:hover {
  background-color: #fc810d;
  color: #000;
}
.menu > .menu-item, 
.menu > li > a {
  padding: 15px 15px;
  font-size: 25px;
  font-weight: bold;
}
.dropdown-menu a {
  font-size: 20px;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 10px 20px;
  margin: 0;
  white-space: nowrap;
}
.menu-item, .menu a {
  border-radius: 15px;
}
.search-form input[type="text"], .search-form button {
  border-radius: 15px;
}
.content-block {
  background-color: #FFF8DC;
  padding: 20px;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.content-block h2 {
  text-align: center;
  font-size: 30px;
}
.sidebar  {
  background-color: #FFF8DC;
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 20px;
}
.sidebar h2 {
  padding: 10px;
  margin: 10px 0;
  border-radius: 8px;
  text-align: center;
  font-size: 30px;
}
.footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-color: #FFCC00;
  color: #333;
  text-align: center;
  padding: 1px 20px;
  border-top: 3px solid #FF9900;
  margin-top: auto;
}
@media (max-width: 768px) {
  .wrapper {
    margin: 0 5px;
    padding: 0;
  }
}
@media (max-width: 768px) {
  .wrapper {
    width: calc(100% - 10px);
    max-width: none;
    margin: 10px 5px;
  }
}
@media (max-width: 768px) {
  .wrapper {
    margin: 5px;
    padding: 5px;
  }
}
@media (max-width: 768px) {
  .image-resize {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 15px;
    height: auto;
  }
}
@media only screen and (max-width: 600px) {
  .news-block {
    width: auto;
    height: auto;
    overflow: visible;
    padding: 10px;
    width: 100%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .footer {
  display: block;
    background-color: #FFCC00;
    color: #333;
    text-align: center;
    padding: 1px 20px;
    border-top: 3px solid #FF9900;
    margin-top: auto;
  }
}
@media (max-width: 768px) {
  .header {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .logo {
    flex: 0 0 auto;
  }
  .menu {
    display: flex;
    flex-grow: 1;
    justify-content: center;
  }
  @media (max-width: 1000px) {
    #blogLink {
    height: 61px;
  }
  .dropdown > a {
    height: auto;
  }
    .search-container {
      margin-top: 5px;
      width: 100%;
      order: 3;
    }
    .dropdown-menu {
      position: absolute;
      top: 100%;
      right: 0;
      left: auto;
    }
    .catalog-button-parent {
      position: relative;
  }
  .search-icon:hover .smaller-image {
    background-color: #fc810d; 
    border-radius: 30%;
  }
  .search-icon {
    position: absolute;
    right: 0;
    top: 45%;
    transform: translateY(-50%);
  }
  }
}
@media (min-width: 768px) {
  #search-input,
  .search-icon {
    height: 31px;
  }
}
.search-icon {
  height: 31px;
}
@media (max-width: 900px){
  .menu > li > a {
    padding: 15px 15px;
    font-size: 25px;
    font-weight: bold;
  }
  .logo {
    width: 55px;
    height: auto;
  }
}
@media (max-width: 360px){
  .menu > li > a {
    padding: 15px 15px;
    font-size: 18px;
    font-weight: bold;
  }
  #blogLink {
    height: 61px;
    font-size: 18px
  }
  .logo {
    width: 40px;
    height: auto;
  }
}
@media (min-width: 200px) {
  .dropdown > a {
    height: auto;
    padding: 10px 15px;
    height: 61px;
  }
}
@media (max-width: 768px) {
  .header-left {
    justify-content: flex-start;
  }
  .menu {
    justify-content: flex-start;
  }
  .menu-item,
  .dropdown > a {
    text-align: left;
    height: 61px;
  }
}
@media (max-width: 360px) {
  .logo {
    position: relative;
    top: -4px;
    width: 50px;
    height: auto;
  }
}
@media (max-width: 768px) {
  .search-form input[type="text"] {
    max-width: 50%;
  }
  .search-form button {
    width: 45px;
  }
}
#search-button .smaller-image {
  width: auto;
  height: 31px;
}
#search-input{
 width: auto;
 height: 31px;
 }
}