/*Blog Section*/
.blog {
  padding: 5rem 0 2.5rem 0;
}
h2.blog-section {
  text-align: center;
  color: var(--text-color);
  font-size: 45px;
  padding-top: 50px;
  animation: fadeInUp 1s ease-in-out 0.2s;
  animation-fill-mode: both;
}
.blog .sub-head {
  width: 70%;
  margin: 1.5rem auto;
  text-align: center;
  animation: fadeInUp 1s ease-in-out 0.3s;
  animation-fill-mode: both;
}
.blog .item .item-content span {
  color: var(--main-color);
  text-transform: uppercase;
}
.blog .item .item-content h2 {
  margin: 10px 0;
}
.blog .item .item-content .text {
  margin: 10px 0;
}
.blog .item {
  margin: 1rem 0;
  background: var(--nero);
  border-radius: 5px;
  overflow: hidden;
}
.blog .item .item-img {
  border-bottom: 8px solid var(--main-color);
  overflow: hidden;
  box-sizing: border-box;
}
.blog .item .item-img img {
  transition: 0.4s ease;
  width: 100%;
  display: block;
}
.blog .item .item-img:hover img {
  transform: scale(1.2);
}
.blog .item .item-content {
  padding: 1.5rem;
}
.blog .blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
}
.container {
  width: 72vw;
  margin: 0 auto;
}
.btn1 {
  border: none;
  margin: 1rem 0;
  border-radius: 35px;
  background: linear-gradient(270deg, #df8908 10%, #ff1d15 100%);
  box-shadow: 0 0 25px var(--main-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  padding: 1rem 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.4s ease;
}
.btn1:hover {
  opacity: 0.7;
  color: var(--text-color);
}

.blog-container .item.in1 {
  animation: fadeInUp 1s ease-in-out 0.5s;
  animation-fill-mode: both;
}
.blog-container .in2 {
  animation: fadeInUp 1s ease-in-out 0.8s;
  animation-fill-mode: both;
}
.blog-container .in3 {
  animation: fadeInUp 1s ease-in-out 1.1s;
  animation-fill-mode: both;
}
.blog-container .in4 {
  animation: fadeInUp 1s ease-in-out 1.4s;
  animation-fill-mode: both;
}
.blog-container .in5 {
  animation: fadeInUp 1s ease-in-out 1.7s;
  animation-fill-mode: both;
}

/*Project Section*/
.projects {
  color: var(--bg-color);
  align-items: center;
  justify-content: center;
  animation: scroll linear;
  animation-timeline: view();
  animation-range: entry 0 cover 50%;
}
.projects h2 {
  color: var(--text-color);
  text-align: center;
  font-size: 38px;
  margin-bottom: 1.1rem;
}
.project-container {
  display: grid;
  grid-template-areas:
    ". . . . . . fav1 fav1 . . . . . . "
    ". . . . . . fav2 fav3 . . . . . . ";
  gap: 2rem;
}
.project-box1 {
  overflow: hidden;
  grid-area: fav1;
  transition: 0.3s ease-in-out;
}
.project-box1 img {
  width: 100%;
  border: 5px;
  border: 5px solid var(--main-color);
  border-radius: 20px;
}
.project-box1 .project-info {
  position: relative;
  bottom: 17rem;
  padding: 0 3rem;
}
.project-box1 .project-info h4 {
  font-size: 2rem;
}
.project-box1 .project-info p {
  font-size: 1.2rem;
  width: 34rem;
}
.project-box2 {
  grid-area: fav2;
  position: relative;
  bottom: 14rem;
  transition: 0.3s ease-in-out;
}
.project-box2 img {
  width: 100%;
  border: 5px solid var(--main-color);
  border-radius: 20px;
}
.project-box2 .project-info {
  padding: 1rem 1rem;
}
.project-box2 .project-info h4 {
  font-size: 1.5rem;
}
.project-box2 .project-info p {
  font-size: 0.7rem;
  width: 28rem;
}
.project-box3 {
  grid-area: fav3;
  position: relative;
  bottom: 14rem;
  transition: 0.3s ease-in-out;
}
.project-box3 img {
  width: 100%;
  border: 5px solid var(--main-color);
  border-radius: 20px;
}
.project-box3 .project-info {
  padding: 1rem 1rem;
}
.project-box3 .project-info h4 {
  font-size: 1.5rem;
}
.project-box3 .project-info p {
  font-size: 0.7rem;
  width: 28rem;
}
.project-box1:hover,
.project-box2:hover,
.project-box3:hover {
  transform: scale(1.03);
}
.project-info h4 {
  color: var(--text-color);
}
.project-info p {
  color: var(--text-color);
}
