*{
    margin: 0;
    padding: 0;
}
body{
    background-color: #FAFAFA;
}

.size-for-big-screens {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}


nav  div:first-child{
    background-color: #7c73e6;
    padding: 10px;
}

nav div:first-child h1{
    font-family: sans-serif;
    font-weight: 700;
    font-size: 25px;
    letter-spacing: 1px;
    color: white;
    margin-left: 10px;
}

nav div:last-child{
    background-color: white;
    padding: 8px;
}


.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }

  .story-card{
    background-color: white;
    border-bottom: 2px solid #7c73e6;
    border-radius: 10px;
    min-height: 350px;
  }
  
  .story-card p {
	  color: grey;
  }
  .story-card:hover{
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  }
  .story-card img{
    border-radius: 10px 10px 0px 0px;
    object-fit: cover;
  }

 
  .user-story-card h3{
    font-family: sans-serif;
    font-size: 22px;
    margin: 5px 10px;
}
.user-story-card a{
    text-decoration: none;
    font-family: sans-serif;
    color: gray;
    display: block;
    max-height: 35px;
    margin: 5px 10px;
    overflow: hidden;
  }

  .story-card-add-new-story{
    position: relative;
  }
  .story-card-add-new-story h2{
    position: absolute;
    top : 60px;
    font-family: sans-serif;
    text-align: center;
    font-size: 30px;
  }
  .story-card-add-new-story h3{
    font-family: sans-serif;
    margin: 5px 10px;
  }


.conteudo {
    position: relative;
    overflow: hidden;
    padding-left: 8rem;
    padding-right: 8rem;
    margin-top: -0.5rem;
    padding-bottom: 0.5rem;
}

.carrousel {
    display: flex;
    gap: 10px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overflow-x: scroll;
}

.prev-button {
    left: 100px;
}

.next-button {
    right: 100px;
}

.card {
    scroll-snap-align: start;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}



.carrousel::-webkit-scrollbar{
    display: none;
}

.img-setting{
  height: 150px;
  width: 115px;
  border-radius: 8px;
}





  /* .story-card-add-new-story a{ */
    /* text-decoration: none; */
    /* color: white; */
    /* background-color: #7c73e6; */
    /* font-family: sans-serif; */
    /* font-weight: 800; */
    /* font-size: 18px; */
    /* padding: 10px 15px; */
    /* border-radius: 5px; */
    /* letter-spacing: 1px; */
    /* cursor: pointer; */
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; */
    /* position: relative; */
    /* top: 10px; */
    /* left: 10px; */
  /* } */

  .story-card-add-new-story a:hover{
    opacity: 0.8;
  }
  

  .pagination {
    margin: 20px;
    text-align: center;
  }
  
  .pagination a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #7c73e6;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    color: white;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 600;
    border-radius: 25px;
  }
  
  .r{
    float:right;
	padding-right: 10px;
}

.l{
    float:left;
	padding-left: 10px;
}
 @media(max-width:564px){
	.pagination a {
    display: inline-block;
    padding: 6px 9px !important;
    background-color: #7c73e6;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    color: white;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: 600;
    border-radius: 25px;
  }
    .prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}
 }
  
  .pagination a.active {
    background-color: white;
    color: #7c73e6;
    border: 1px solid #7c73e6;
}

.pagination a:hover:not(.active) {
  background-color: white;
  color: #7c73e6;
}
  


  
  @media (max-width:900px) {
    .container{
        grid-template-columns: 1fr 1fr;
    }
	.conteudo{
    padding-left: 10px;
    padding-right: 10px;
    margin-top:-0.5rem;
    padding-bottom: 0.5rem;
  }
  .prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}
  }

@media (max-width:768px) {
    nav div:first-child h1{
       text-align: center;
    }
    nav div:last-child{
       display: flex;
       justify-content: center;
    }
    .story-card{
        min-height: 340px;
    }
    .story-card-add-new-story a{
        font-size: 14px !important;
    }
	
	.conteudo{
    padding-left: 10px;
    padding-right: 10px;
    margin-top:-0.5rem;
    padding-bottom: 0.5rem;
  }
    .prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}
}

@media (max-width:500px) {
    .container{
        grid-template-columns: 1fr;
    }
	
	.conteudo{
    padding-left: 10px;
    padding-right: 10px;
    margin-top:-0.5rem;
    padding-bottom: 0.5rem;
  }
    .prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}
}


/* Css by Sumon */

a.add_new_blog {
    text-decoration: none;
    color: white;
    background-color: #7c73e6;
    font-family: sans-serif;
    font-weight: 800;
    font-size: 18px;
    padding: 10px 15px;
    border-radius: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
	position:relative;
    top: 10px;
    left: 10px;
}
h3 a {
    text-decoration:none;
    font-weight:bold;
	color:#000;
}



/* Center the buttons both horizontally and vertically */
.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 5px;
    font-size: 20px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
}








