/* Importing Google font - Open Sans */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&family=Roboto:wght@300;400;500;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Quicksand', sans-serif;
}

body {
    background: #fff;
   
}

.containers{

width: 100%;
margin-top:180px;
background: #fff;
    display: flex;
    float: left;
    flex-direction: row;
    justify-content: space-between;
   
    
}
.lottie__anim{
    display: flex;
  
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
margin-top: 60px !important;
}
.headers{
width: 100%;
    background: #fff;
    margin-bottom: 8px;
}

.right_sidebar{
    display: flex;
    flex-direction: column;
    background: #fff;
    margin-top:50px;
  margin-left: 4px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
padding:9px;
width:30%;
border:4px;
height: auto;
gap:5px;
}

.right_sidebar div{
    gap:5px;
padding:15px;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
background: #fff;
color: #000;

}
.blog-container{

width: 90%;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
background: #fff;
    display: flex;
    flex-direction: column;

    justify-content: space-evenly;
    align-items: center;
    gap:10px;
   
}

.blog-container .left_side{

width:80%;
display: flex;
flex-direction: column;
justify-content: baseline;
align-items: baseline;
gap: 5px;
margin: 10px;;
}

.listofcomment{

    background-color:#efefef;
    width: 100%;
    color: #000;
   
}
.listofcomment h3{

    padding:4px;
}

.listofcomment .username{
display: flex;
flex-direction: column;
    padding:10px;
    font-weight: bold;
    background-color: #efefef;
    color: #000;
}


.left_side h1{

    text-transform: capitalize !important;
}
.left_side p{

    color: #000 !important;
    font-weight:bold;
}
.left_side img{
    width:700px;
   
}
.left_side .CommentBox{

    width: 100%;
   gap:10px;
}
.blog-container .right_side{
    width:80%;

    background: #000;


    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    gap: 5px;
}

.blog-container .lattest{
    width:100%;

    background: #000;


    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 5px;;
}



.blog-container .right_side .lattest div{
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
    background: #fff;
    width: 300px;

    margin:10px;
    padding:10px;

}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    max-width:1250px;
    
    margin: auto auto 150px auto;
    padding: 10px;
    gap: 20px;
}

.card-list .card-item {
    background: #fff;
    padding: 26px;
    max-width: 300px;;
    border-radius: 8px;
   font-weight: lighter;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.04);
    list-style: none;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: border 0.5s ease;
    font-family: 'Quicksand', sans-serif;
}


.card-list .card-item img {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    object-fit: cover;
}

.card-list span {
    display: inline-block;
   
    margin-top: 16px;
    padding: 2px !important;
    font-size: 0.75rem;
    border-radius: 50px;
   
    font-weight: lighter !important;
}

.read_more{

    
    background: none;
    border: none;
    color:#000;
    font-weight: bold;
}

.read_more:hover{

    color: #CF1E25;
}
.readmore button{


    background: none;
    border: none;
    color:#000;
    font-weight: bold;
}
.readmore{

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.card-item:hover h3{
    color:rgb(0, 115, 255);
}

.readmore button:hover{
    color:red;

}
.card-list .developer {
   
    color: #000;
    font-weight: bold;
    opacity: 0.8 !important;
    padding: 5px;
    border-radius: 5px;
    border-radius: 0%;
}   

.card-item h3 {
    color: #000;
    font-size: 1.738rem;
    margin-top: 18px;
    font-weight: bold;
}


.card-item p {
    color: #000;
  
    
   
}

.card-item .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-35deg);
    height: 40px;
    width: 40px;
    color: #000;
    border: 1px solid #000;
    border-radius: 50%;
    margin-top: 40px;
    transition: 0.2s ease;
}

.card-list .card-item:hover .arrow  {
    background: #581717;
    color: #fff; 
}


.button{
    display: inline-block;
    margin-top: 12px;
    padding:5px;
  }
  .button input[type="button"]{
    color: #fff;
    font-size: 18px;
    outline: none;
    border: none;
    padding: 5px;
    border-radius: 6px;
    background:  #CF1E25;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .button input[type="button"]:hover{
    background:  #CF1E25;
  }

@media (max-width: 1200px) {
    .card-list .card-item {
        padding: 15px;
    }
}

@media screen and (max-width: 980px) {
    .card-list {
        margin: 0 auto;
    }
}

@media (min-width:359px) and (max-width:768px) {
    
.containers{

    width: 100%;
    overflow-x: hidden;
    margin-top:180px;
        display: flex;
        float: left;
        flex-direction: column;
        justify-content: space-around;
        background-color: #efefef;
    }
    
    
    .main__element{
        height: 100% !important;
        background-color: #efefef;
       
      margin:17px;

    }

    .lottie__anim{

        display: flex;
  
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    margin-top: 50px !important;  
    }
    .right_sidebar{

        width:100%;
    }

    
.blog-container{
    width:100%;
    overflow-x: hidden;

}

.left_side{
    width:fit-content !important;
    padding: 9px;
    margin:4px;
}

.left_side h1{

    font-size: 19px;
}

.left_side p{

    color: #000 !important;
    font-weight:600;
}
  }