.line-by-line {
    list-style: none;
    padding: 0;
    margin: 0;
}

.container-gk h1 {
    margin: 1rem auto;
    text-align: center;
    color: rgb(251, 255, 252);
    background: linear-gradient(45deg, rgb(62, 216, 96), green);
    /* background-color: rgb(255, 0, 195); */
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    padding: .8rem 2rem;
}
.container-gk h2{
    margin: 1rem;
    font-size: 1.2rem;
}
.container-gk {
    width: 70%;
    margin: 1rem auto;
    padding: 1rem;
    line-height: 1.5;
    box-shadow: 0 4px 4px solid rgb(135, 32, 32);
}

.line-by-line li {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1rem;
    background: rgb(249, 244, 237);
    border-left: 4px solid rgb(95, 95, 244);
    border-radius: 8px;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex-direction: column;

}

.line-by-line li:hover {
    transform: translateX(10px);
    border-left:4px solid orange;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1), 0 0 10px rgba(74, 144, 226, 0.3);
    cursor: pointer;
}

.line-by-line li span {
    font-size: 1rem;
    font-weight: bold;
    color: rgb(8, 8, 8);
    margin-right: 1rem;
    flex: 1;
    transition: color 0.3s ease;
}

.line-by-line li:hover span {
    color: orangered
}

.line-by-line li p {
    margin: 0;
    flex: 2;
    font-size: 1rem;
    color: rgb(56, 20, 202);
    margin-left: 1.2rem;

}

/* Animation keyframes */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-layout,
.blog-post {
    animation: fadeIn 0.8s ease-out;
}

@media (max-width:800px) {

    .container-gk {
        width: 90%;
    }

}



@media (max-width:480px) {
    .line-by-line li {
        padding: 1rem;
        margin-bottom: 0.5rem;
        /* flex-direction: column; */
        font-size: 1rem;
    }

    .line-by-line li span {
        font-size: 1rem;
    }

    .line-by-line li p {
        font-size: 1rem;
    }

    .container-gk {
        width: 100%;
    }
}