/* General Styles */
body {
    font-family: Arial, sans-serif;
    max-width: 1250px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
    color: #333;
}

h1 {
    text-align: center;
    border: 5px solid #333;
    padding: 20px;
    border-radius: 10px;
    background-color: #e9ecef;
    margin-bottom: 30px;
}

.projects-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

/* Card Styles */
.card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border-radius: 5px; /* Rounded corners */
    width: 100%;
    max-width: 400px;
    background-color: white;
    overflow: hidden;
}

/* On mouse-over, add a deeper shadow */
.card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Add some padding inside the card container */
.container {
    padding: 16px;
}

.container h4 {
    margin-top: 0;
}

.container p {
    margin: 10px 0;
}

.container a {
    color: #007bff;
    text-decoration: none;
}

.container a:hover {
    text-decoration: underline;
}

/* Add rounded corners to the top left and the top right corner of the image */
img {
    border-radius: 5px 5px 0 0;
    margin: 0 auto;
    display: block;
    width: 150px;
    height: auto;
}

.coding_lang {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.coding_lang img {
    width: 30px;
    height: 30px;
    border-radius: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-row {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        max-width: none;
    }

    body {
        padding: 10px;
    }

    h1 {
        font-size: 1.5em;
        padding: 15px;
    }
}

.floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 56px;
    background-color: lightgrey;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

button a {
    text-decoration: none;
    color: black;
}