@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    overflow-x: hidden;
  }
  body {
    font-family: 'Comfortaa', cursive;
    background-color: black;
    color: white;
    overflow-x: hidden;
  }
  .container {
    max-width: 1280px;
    margin: auto;
  }
  .main{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
}
  header {
    border-bottom: 5px solid orange;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 70px;
    padding: 0 20px;
  }
  .header h2 {
    font-size: 2rem;
  }
  .search_input {
    position: relative;
    width: 350px;
}
  .search_input input {
    box-sizing: border-box;
    width: 100%;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 25px;
    outline: none;
    transition: all 0.30s ease-in-out;
    border: 1px solid #DDDDDD;
  }
  .clear{
    right: 4px;
    background: url("assets/svg/close.svg")
     center/contain no-repeat;
     position: absolute;
    width: 27px;
    height: 36px;
    top: -1px;
    opacity: 1;
    cursor: pointer;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  
  input:focus {
    box-shadow: 0 0 5px orange;
    border: 1px solid orange;
  }
  .search_input i {
    color: black;
    position: absolute;
    cursor: pointer;
    top: 25%;
    right: 10%;
    transition: 1s;
  }
  .search_input i:hover {
    color: orange;
  }
  .img {
    width: 400px;
    height: 500px;
    margin-top: 15px;
    background-position: center;
    background-size: cover;
    border-radius: 2px;
    cursor: pointer;
  }
  .gallery{
    display:flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-align: center;
    padding: 25px 10px;
    gap: 15px;
    justify-content: center;
  }
  .gallery__item {
    flex: 1 1 31.8%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: all 0.5s ease-in-out;
}
.gallery__item img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.section{
  flex: 1 1 100%;
}
.footer {  
  background-color: #000;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 5px 20px;
  font-size: 20px;
}
.footer-data {
  display: flex;
  align-items: center;
}
.copyright {
  padding-right: 20px;
}
.github {
  color: #fff;
  text-decoration: none;
  padding: 0 20px;
  transition: .3s;
}
.github:hover {
  color: #bdae82; 
}
.rss {
  width: 135px;
  height: 50px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("./assets/svg/rss.svg");
  transition: .3s;
}
.rss:hover {
  filter: invert(26%) sepia(15%) saturate(638%) hue-rotate(7deg) brightness(92%)
  contrast(87%);
}
  @media(max-width:1280px) {
    .container {
      width: 100%;
    }
  }
  @media(max-width:768px) {
    .header {
      margin: 10px 0;
      padding: 20px;
      gap: 10px;
      justify-content: center;
    }
    .header h2 {
      padding: 5px 0;
    }
  }
  @media all and (max-width:505px) {
    .footer-container {
      justify-content: center;
      flex-wrap:wrap;
    }
  }
  @media all and (max-width:445px){
    .img {
      width: 100%;
    }
  }
  @media(max-width:480px) {
    .header h2 {
      text-align: center;
      font-size: 1.5rem;
    }
    .clear{
      top:-0.5px;
      width: 22px;
    height: 31px;
    }
    .search_input {
      width: 80%;
      margin: auto;
    }
    .search_input input {
      font-size: .7rem;
    }
  }