* {
  box-sizing: border-box;
  text-align: justify;
}

img {
  border-radius: 4px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 4px;
  padding: 0;
}

h1 {
  font-size: x-large;
}

h3 {
  font-size: large;
}

body {
  margin: 0;
  background-color: rgb(230, 230, 230);
}

a {
  text-decoration: none;
  font-size: large;
  color: black;
}

div[class*=grid-container] {
  width: 80%;
  margin: 25px 10%;
  display: grid;
  box-sizing: border-box;
  ;
  text-align: center;
}

.grid-container1 {
  grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10% 10%;
  grid-column-gap: 20px;
  grid-row-gap: 10px
}

.grid-container2 {
  grid-template-columns: 33% 33% 33%;
  grid-column-gap: 20px;
  grid-row-gap: 10px;
}

div[class*=item] {
  background-color: white;
  border-radius: 5px;
}

div .item-1 {
  grid-area: 1 / 1 / 3 / 3;
}

.item-1-img {
  height: 150px;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

div .item-2 {
  height: 350px;
  overflow: hidden;
  grid-area: 1 / 3 / 4 / 8;
}

div .item-2 div {
  display: flex;
  height: 250px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}


div .item-4 {
  grid-area: 3 / 1 / 6 / 3;
}

.small-box-more {
  width: 90%;
  margin: 5%;
}

div .item-5 {
  grid-area: 1 / 8 / 6 / 10;
}

div .item-6 {
  grid-area: 4 / 3 / 6 / 8;
}

div .item-6 .small-box {
  padding: 15px;
  display: flex;
  font-size: small;
}

.sb-one {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 150px;
  overflow: hidden;
}

div .item-6 .small-box .sb-two {
  padding-left: 5px;
  width: 65%;
  max-height: 150px;
  overflow: hidden;
}

.small-box-three {
  margin: 15px;
}

.belt-h3 {
  background-color: rgb(49, 49, 49);
  color: white;
  text-align: left;
  padding: 2px;
}

.belt-h3:hover {
  background-color: rgb(92, 90, 90);
  color: white;
  text-align: left;
  padding: 2px;
}

img:hover {
  opacity: 0.8;
}

/******* POST *********/

.grid-container-post {
  grid-template-columns: 20% 50% 30%;
}

.gcp-one {
  grid-area: 1 / 1 / 2 / 3;
  padding: 15px;
  text-align: left;
}

.gcp-three {
  grid-area: 1 / 3 / 4 / 4;
  padding: 15px;
}

.gcp-four {
  grid-area: 2 / 1 / 4 / 2;
  padding: 15px;
}

.gcp-two {
  grid-area: 2 / 2 / 3 / 3;
  padding: 15px;
  text-align: left;
}

.gcp-five {
  grid-area: 3 / 2 / 4 / 3;
  padding: 15px;
  text-align: left;
}

.gcp-image {
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: center;
  height: 350px;
}

@media(max-width:750px) {
  h1 {
    font-size: large;
  }

  h3 {
    font-size: medium;
  }

  div[class*=grid-container] {
    width: 90%;
    margin: 15px 5%;
    display: grid;
    box-sizing: border-box;
    ;
    text-align: center;
    grid-template-columns: 100%;
  }

  div[class*=item] {
    grid-area: unset;
  }

  div[class*=gcp] {
    grid-area: unset;
    padding: 0;
    margin: 0;
  }
}



header {
  background-color: white;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
}

.logo img {
  height: 60px;
}

.sm-icons a {
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.sm-icons a:hover {
  transform: scale(1.2);
}


@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  .sm-icons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  border-top: 1px solid #eee;
  background-color: white;
  position: relative;
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle div {
  width: 25px;
  height: 3px;
  background: #000;
  border-radius: 3px;
}

/* Search Form */
.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.search-form input {
  padding: 7px 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  width: 160px;
  transition: width 0.3s;
}

.search-form input:focus {
  width: 180px;
  outline: none;
  border-color: #007bff;
}

.search-form button {
  padding: 7px 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 230px;
  height: 100%;
  background: #fff;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
  padding: 60px 20px;
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 20px 0;
}

.sidebar ul li a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.sidebar.open {
  left: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 999;
}

.overlay.show {
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar ul {
    display: none;
  }

  .search-form {
    flex: 1;
    justify-content: flex-end;
  }
}