/* All CSS code and corresponding parts follow the order of elements in html */


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    line-height: 1.6;
}
/* For Header Section */
.header {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

/* For Content Section */
.content {
    padding: 2em;
    padding-bottom: calc(100px + 2em); 
    max-width: 800px;
    margin: auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 100px; 
}

/* For Github Link */
.github-link {
    display: block;
    margin: 10px auto;
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}



.github-image {
    max-width: 50px; 
    height: auto; 
}

/* For Seperate Line */
.separator-text {
    text-align: center;
    font-size: 1.5em; /* Font size is slightly larger for emphasis */
    color: #ffffff; /* Dark gray color used by GitHub */
    padding: 10px 0; /* Padding for some vertical space */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Use a modern sans-serif font */
    border-top: 1px solid #e1e4e8; /* Light gray solid border on top */
    border-bottom: 1px solid #e1e4e8; /* Light gray solid border on bottom */
    margin: 40px 0; /* Adjust margin for spacing */
    background: #333; /* Light gray background similar to GitHub’s background */

}
  

/* For Img*/
@media screen and (max-width: 768px) {
    .content img {
        width: 100%;
        height: auto;
    }
}

.project_screenshots {
    max-width: 100%; 
    height: auto; 
    margin: 20px 0; 
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    display: block; 
    margin-left: auto;
    margin-right: auto; 
}


/* For Thumb Rating*/
.post {
    width: 100%; 
    max-width: 800px; 
    margin: auto; 
    font-family: 'Lexend', sans-serif;

}

.post-ratings-container {
    display: flex;
    justify-content: center;
    padding: 12px 0;
}

.post-rating {
    display: flex;
    align-items: center;
    cursor: default;
}

.post-rating:not(:last-child) {
    margin-right: 12px;
}

.post-rating-selected>.post-rating-button,
.post-rating-selected>.post-rating-count {
    color: #009578;
}

.post-rating-button {
    margin-right: 6px;
    cursor: pointer;
    color: #555555;
}

.post-rating:not(.post-rating-selected)>.post-rating-button:hover {
    color: #000000;
}


.clicked {
    transform: scale(1.3); 
    transition: transform 0.2s; 
}


.bounce {
    animation: bounce 0.5s; 
}


@keyframes bounce {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px);
    }
}



/* For All in Footer Section*/
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1em 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 70px; 
}

.back-to-portfolio {
    display: block;
    margin: 5px auto;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.back-to-portfolio:hover {
    text-decoration: underline;
}




