body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

section {
    margin: 40px 0;
    padding: 40px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: left;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

h2 {
    font-family: "Bitcount Prop Single Ink", system-ui;
    font-size: 4rem !important;

    /* font-weight: 900; */
    margin-bottom: 40px;
    padding-bottom: 40px;
}

h4 {
    color: #611b61;
}

.header-area {
    background-color: #248ef8;
    color: white;
    padding: 20px;
    text-align: center;
    display: flex;
    align-items: center;
}

.profile-image {
    /* border-radius: 50%; */
    width: 250px;
    height: 200px;
    margin-left: 100px;
    margin-right: 100px;
}

ul {
    list-style-type: none;
    padding: 0 !important;
    display: flex;

    /* additional styles */
    flex-wrap: wrap;
    row-gap: 12px;
}

ul.skills li {
    margin: 0 6px;
    padding: 5px 10px;
    background-color: #55a8fa;
    border-radius: 15px;
    color: white;
    font-size: 0.9rem;

    /* font-weight: bold; 74b5f6 */
}

.main-area {
    width: 80%;
    margin: 0px auto;
}

.nav-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px 0;
    gap: 30px;
}

.nav-link {
    font-family: "Roboto", sans-serif;
    padding: 0 !important;
    width: fit-content !important;
}

.heading-centered {
    text-align: center;
}

.roboto-font-style {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
}

.more-projects {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
}

.btn-more-projects {
    font-family: "Bitcount Prop Single Ink", system-ui;
    font-weight: 400;
    font-size: 30px;
    border-radius: 8px;
    width: 400px;
    height: 50px;
    background-color: #d3bcd3;
    border-color: #743574;
}

.btn-more-projects a {
    color: white;
    text-decoration: none;
}

.btn-more-projects:hover {
    background-color: #fff;
    border-color: #743574;
    transition: background-color 0.3s, border-color 0.3s;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.card {
    width: 14rem !important;
    border: none !important;
    margin: 10px;
}

.card-title {
    font-weight: bold;
    font-size: 32px;
    text-align: center;
    margin-top: 18px;
}

.card-text {
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
}

.card-body img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.card-project {
    width: 500px;
}

.competencies {
    width: 60%;
    margin: 0px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    justify-items: center;
}

.competency {
    display: block;
    list-style: disc;
}

.competency-green::marker {
    color: green;
    font-size: 1.5rem;
}

.competency-yellow::marker {
    color: rgb(113, 199, 129);
    font-size: 1.5rem;
}

.competency-orange::marker {
    color: orange;
    font-size: 1.5rem;
}

.competency-orangered::marker {
    color: orangered;
    font-size: 1.5rem;
}

.about-me {
    width: 80%;
    margin: 0px auto;
    text-align: justify;
    line-height: 1.6;
}

.about-me p {
    color: #743574;
    font-size: 1.3rem;
}

.footer-area {
    background-color: #248ef8;
    color: white;
    padding: 20px 0 !important;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 0px;
}

.contact {
    width: 30%;
    margin: 0px auto !important;
}

.send-button {
    background-color: #55a8fa !important;
    color: white !important;
    font-size: 0.9rem !important;
    border: none !important;
}

.socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.social-icons {
    font-size: 36px;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
}

/* ******************************************
* Responsive for small mobile devices 
****************************************** */
/* Full reset for very small screens */
@media only screen and (max-width: 768px) {
    * {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    /* Remove any horizontal margins/padding */
    body,
      html {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    /* End Full reset for very small screens */
    .profile-image {
        width: 200px !important;
        height: 200px !important;
    }

    .skills {
        display: none;
    }

    h1 {
        margin-bottom: 0 !important;
        padding: 0 0;
    }

    section {
        padding: 0 10px !important;
    }

    h2 {
        font-size: 2rem !important;
        text-align: center !important;
    }

    h4 {
        padding-top: 8px !important;
        text-align: center !important;
    }

    .card-text {
        padding-top: 0;
        line-height: 1.2rem;
    }

    .competency {
        padding-left: 24px !important;
        list-style-position: inside;
    }

    .competencies li {
        font-size: 1.2rem !important;
    }

    .about-me-heading {
        padding-top: 20px;
        padding-bottom: 0px;
        text-align: center !important;
    }

    .about-me {
        width: 90%;
        margin: 0px auto;
        text-align: left;
        line-height: 1.6;
        padding-bottom: 30px;
    }

    p {
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 1rem !important;
    }

    .form-emaillabel {
        padding-top: 10px;
        padding-bottom: 5px;
    }

    .form-label {
        padding-bottom: 5px;
    }

    /* additional styles */
    .header-area {
        flex-direction: column;
    }

    h1 {
        text-align: center;
    }

    ul {
        justify-content: center;
    }

    .competencies {
        width: 100% !important;
        grid-template-columns: 1fr;
    }

    .contact {
        max-width: 400px !important;
        width: 100% !important;
        padding: 0 20px !important;
    }

    .heading-centered {
        padding-top: 20px;
    }

    .cards-container {
        flex-wrap: wrap;
    }

    .nav-section {
        gap: 20px;
    }

    .btn-more-projects {
        font-family: "Bitcount Prop Single Ink", system-ui;
        font-weight: 400;
        font-size: 30px;
        border-radius: 8px;
        height: 80px;
        background-color: #d3bcd3;
        border-color: #743574;
    }

    .more-projects a {
        display: inline-block;
        line-height: 1.2;
    }
}

@media only screen and (max-width: 500px) {
    .competencies {
        grid-template-columns: 1fr !important;
    }
}

/* ******************************************
* Projects Page Adjustments
****************************************** */
.bg-projects {
    background: #dedcdc;
}

.cards-container-projects {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Hover effect for the image */
.card-body img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-body img:hover {
    transform: scale(2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    z-index: 10;
}
