* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #fff;
  position: fixed;
  right: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

nav .logo img {
  width: 120px;
  margin: 20px 0;
  position: relative;
  left: -45%;
  cursor: pointer;
}

nav ul {
  list-style: none;
}

nav ul li {
  display: inline-block;
  margin: 0 10px;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #facc22;
}

nav ul li a.action {
  color: #facc22;
}

nav .login a {
  color: #000;
  text-decoration: none;
  border: 2px solid #facc22;
  border-radius: 20px;
  padding: 7px 20px;
  transition: 0.3s;
}

nav .login a:hover {
  background: #facc22;
  color: #fff;
}


/*Banner*/

.banner_bg {
  width: 100%;
  height: 50vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../image/banner_bg.jpeg');
  background-size: cover;
  background-position: center;
}

.banner_bg h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  position: relative;
  top: 50%;
  color: #fff;
}

.banner_bg h1 span {
  color: #facc22;
  margin-left: 15px;
}


/* Blog */

.main_blog{
  width: 100%;
  height: auto;
  margin-top: 55px;
  margin-bottom: 15px;
  display: flex;
}

.main_blog .slide_1{
  width: 70%;
  height: 560px;
  margin: 0 auto;
  overflow: hidden;
  overflow-y: scroll;
}

.main_blog .slide_1::-webkit-scrollbar{
  width: 0;
}

.main_blog .slide_1 .blog_box{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 45px 0;
  padding-bottom: 10px;
}

.main_blog .slide_1 .blog_box .blog_card{
  width: 450px;
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.main_blog .slide_1 .blog_box .blog_card .blog_image{
  width: 450px;
  height: 300px;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.main_blog .slide_1 .blog_box .blog_card .blog_image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}


.main_blog .slide_1 .blog_box .blog_card .blog_tag .blog_date{
  width: 100%;
  color: #facc22;
  padding: 15px 0 0 20px;
  font-size: 14px;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag .blog_date i{
  margin-left: 8px;
  font-size: 14px;
  cursor: pointer;
}


.main_blog .slide_1 .blog_box .blog_card .blog_tag .bolg_heading{
  padding: 10px 20px;
  font-size: 25px;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag .blog_text{
  padding: 0 20px 10px 20px;
  text-align: justify;
  line-height: 21px;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag hr{
  width: 95%;
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: #facc22;
  border-radius: 5px;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag .view_and_like {
  padding: 10px 20px 25px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag .view_and_like .view {
  display: flex;
  align-items: center;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag .view_and_like .view p {
  margin-right: 10px;
  font-size: 14px;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag .view_and_like .like {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.main_blog .slide_1 .blog_box .blog_card .blog_tag .view_and_like .like i {
  cursor: pointer;
  margin-left: 5px;
}

.slide_2{
  width: 20%;
  height: 560px;
  margin: 0 auto;
  background: #f5f5f5;
  overflow: hidden;
  overflow-y: scroll;
}

.slide_2::-webkit-scrollbar{
  width: 0;
}

.slide_2 .follow_card .follow_head{
  width: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 15px;
  border-bottom: 1px solid #cccccc;
  z-index: 5;
}

.slide_2 .follow_card .follow_head .most_follow{
  font-size: 25px;
}

.slide_2 .follow_card .follow_head .follow_view{
  font-size: 25px;
  color: #facc22;
  cursor: pointer;
}


.slide_2 .follow_card .follow_profiles{
  display: flex;
  align-items: center;
  margin: 0 0 21px 30px;
  cursor: pointer;
  position: relative;
}

.slide_2 .follow_card .follow_profiles img{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slide_2 .follow_card .follow_profiles .follow_profile_tag{
  margin-left: 20px;
}

.slide_2 .follow_card .follow_profiles .follow_profile_tag p{
  color: #919191;
  font-size: 12px;
}


/*Banner*/

.blog_banner{
  width: 100%;
  height: 30vh;
  background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url('../image/blog_banner.jpg');
  background-size: cover;
  background-position: center;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog_banner .blog_banner_tag h2{
  color: #fff;
  font-size: 40px;
  line-height: 23px;
  margin-left: 140px;
  margin-right: 80px;
}

.blog_banner .blog_banner_tag h2 span{
  font-size: 25px;
}

.blog_banner form{
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog_banner form input{
  padding: 15px;
  width: 350px;
  border-radius: 30px;
  outline: none;
  border: 2px solid #facc22;
  font-size: 15px;
}

.blog_banner form .blog_sub .email{
  position: relative;
  left: 30px;
}

.blog_banner form button{
  background: #facc22;
  outline: none;
  padding: 10px 12px;
  position: relative;
  right: 75px;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  color: #fff;
}

/*Footer*/

footer {
  width: 100%;
  padding: 30px 0 0 20px;
  background: #eeeeee;
}

footer .footer_main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

footer .footer_main .footer_tag {
  text-align: center;
}

footer .footer_main .footer_tag h2 {
  margin-bottom: 25px;
  font-size: 30px;
}

footer .footer_main .footer_tag p {
  margin: 10px 0;
}

footer .footer_main .footer_tag i {
  margin: 0 5px;
  cursor: pointer;
}

footer .footer_main .footer_tag i:hover {
  color: #facc22;
}

footer .end {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

footer .end span {
  color: #facc22;
  margin-left: 10px;
}

::-webkit-scrollbar{
  width: 10px;
}

::-webkit-scrollbar-thumb{
  background-color: #facc22;
  border-radius: 30px;
}

.anim{
  transform: translateY(40px);
  opacity: 0;
  animation: moveup 0.5s linear forwards;
}

@keyframes moveup{
  100%{
      transform: translateY(0);
      opacity: 1;
  }
}