/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    background-color: #000000;
    color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 30px;
    margin-left: 40px;
}

nav ul {
    list-style-type: none;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

.profile-picture {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    display:block;
    margin: 0 auto;
}

section {
    padding: 50px 0;
    text-align: center;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

.project {
    display: flex;
    margin-bottom: 40px;
}

.project img {
    width: 350px; /* Adjust width as needed */
    height: auto; /* Allow height to adjust proportionally */
    max-height: 350px; /* Limit maximum height to avoid stretching */
    padding-right: 20px;
  }
  

.project-info {
    text-align: left;
}

.cta-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Add transition for smooth color change */
}

.cta-btn:hover {
    background-color: #ededed; /* Change the background color on hover */
    color: #000000; /* Change the text color on hover */
}

footer {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer nav ul {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

footer nav ul li {
    margin-right: 10px;
}

footer nav ul li a {
    color: #fff;
    text-decoration: none;
}

body {
    background-color: #dddddd; /* Black background */
    color: #1b1b1b; /* White text */
}

.content h1 {
    font-family: "Nunito", "Roboto", "Helvetica", "Arial", sans-serif;
    font-display: "sans-serif";
    font-size: 4rem;
    font-weight: 300;
    margin-top: 30px;
    margin-bottom: 20px;
}

.content h2 {
    font-size: 1.5rem;
    font-weight: 400;
}

.content .socials {
    margin-top: 32px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.content .socials svg {
    width: 24px;
    fill: #000000;
}

.has-tooltip {
    position: relative;
}

a {
    color: #037daf;
    text-decoration: none;
}

.tooltip {
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity .2s ease;
    position: absolute;
    z-index: 1;
    inline-size: max-content;
    max-inline-size: 25ch;
    text-align: center;
    font-size: .725rem;
    font-weight: normal;
    line-height: normal;
    line-height: initial;
    padding: .75ch 1.5ch;
    inset-inline-start: 50%;
    inset-block-start: calc(100% + 1ch);
    margin: 0;
    border-radius: 5px;
    background: rgba(97, 97, 97, .9);
    color: #fff;
    box-shadow: 0px 3px 1px -2px rgba(0,0,0,.2), 0px 2px 2px 0px rgba(0,0,0,.14), 0px 1px 5px 0px rgba(0,0,0,.12);
}

#home {
    background-image: url('./static/bg.webp');
    background-size: cover;
    font-family: 'Arial Rounded MT', Arial, sans-serif;
    /* Add any other background properties here */
}

#about {
    background-size: cover;
}

#projects {
    background-image: url('./static/pro.webp');
    background-size: cover;
}

#about-me {
    font-weight: 300;
    padding: 1rem 0;
    font: size 10px;;
    text-align: left;
    font-family: 'Araboto', sans-serif;
    font-weight: 300; /* Use the Light weight */
}

.container {
    width: 100%;
    max-width: 1280px;
    padding: 24px;
    padding: clamp(8px, 10%, 24px);
    margin: auto;
}

p {
    margin: 0 0 1.45rem;
    padding: 0;
}

#heading {
    text-align: center;
    font-size: 48px;
}

#info {
    font-size: 25px;
}

.projects-btn {
    background-color: #3480be; /* Different color */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px; /* More rounded */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.projects-btn:hover {
    background-color: #132f4a; /* Change color on hover */
    color: #bdd8df;
}

.body-font {
    background-color: #000000;
}

#projects .content{
    color: #ffffff;
}

.pro_head{
    font-size: xx-large;
}

.project-link {
    color: #037daf;
}

/* Android Optimization */
@media only screen and (max-width: 600px) and (max-height: 800px) {
    /* Adjust font sizes and spacing for better readability */
    .logo {
        display: none;
    }
    
    body {
        font-size: 14px; /* Decrease font size for smaller screens */
        line-height: 1.6; /* Increase line height for better readability */
        padding: 10px; /* Add padding to the body for better spacing */
    }

    header {
        padding: 10px; /* Adjust header padding */
    }

    nav ul {
        margin-left: 15px;
        font-size: 10px;
        margin-right: 15px;
    }

    nav ul li {
        font-size:small;
        margin-right: 9px; /* Decrease spacing between nav items */
    }

    section {
        padding: 30px 10px; /* Adjust section padding */
    }

    .content {
        padding: 0 10px; /* Adjust content padding */
    }

    h1, h2, h3 {
        margin-bottom: 10px; /* Decrease heading margins */
    }

    .project {
        display: flex;
        justify-content: center; /* Center project items horizontally */
        flex-wrap: wrap; /* Allow projects to wrap to the next line */
        margin-bottom: 40px;
    }

    .project img {
        width: 300px; /* Set a fixed width for better control */
        height: auto; /* Allow height to adjust proportionally */
        margin-bottom: 10px; /* Add bottom margin for spacing */
        margin: 0 auto; /* Center the image horizontally */
        padding-bottom: 20px;
    }

    .project-info {
        text-align: center; /* Center project info */
        width: 100%; /* Ensure text takes full width */
    }

    footer {
        padding: 10px; /* Adjust footer padding */
    }

    /* Additional styles to give an Android-like appearance */
    body {
        background-color: #f2f2f2; /* Light gray background */
    }

    header {
        background-color: #607d8b; /* Blue-gray header background */
        color: #fff; /* White text color */
    }

    nav ul li a {
        color: #fff; /* White text color for nav links */
    }

    .cta-btn,
    .projects-btn {
        background-color: #009688; /* Teal button background color */
        color: #fff; /* White text color */
        padding: 8px 16px; /* Adjust button padding */
        border-radius: 4px; /* Rounded button corners */
    }

    .cta-btn:hover,
    .projects-btn:hover {
        background-color: #00796b; /* Darken button color on hover */
    }

    footer {
        background-color: #455a64; /* Dark footer background */
    }

    footer nav ul li a {
        color: #ccc; /* Light gray text color for footer nav links */
    }

    .tooltip {
        background: #212121; /* Dark tooltip background */
        color: #fff; /* White text color */
        border-radius: 2px; /* Rounded tooltip corners */
    }

    .project-link {
        color: #03a9f4; /* Blue project link color */
    }

    .content h1 {
        font-weight: 600;
    }

    .content h2 {
        color: #dddddd;
    }

    .content .socials svg {
        fill: #dddddd;
    }

}
