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

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-size: 16px;
}

/* Header styles */
header {
    text-align: center;
    margin-bottom: 30px;
    background-image: url('../img/space-background.jpg');
    background-size: cover;
    background-position: center;
    padding: 50px 0;
    color: #fff;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Section styles */
section {
    margin-bottom: 30px;
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

ul {
    list-style-type: none;
}

li {
    margin-bottom: 15px;
}

/* Icon styles */
i {
    margin-right: 10px;
    color: #007bff;
}

/* Link styles */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Note styles */
.note {
    font-style: italic;
    color: #666;
    margin-top: 15px;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    header {
        padding: 30px 0;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 2em;
    }

    h2 {
        font-size: 1.2em;
    }
}

/* static/css/style.css */

/* Image styling inside the 'cool-stuff' section */
#cool-stuff img {
    max-width: 100%; /* Ensure the image does not exceed the container width */
    height: auto; /* Maintain aspect ratio */
    padding: 10px; /* Add padding similar to text */
    box-sizing: border-box; /* Include padding in the element's total width and height */
    border-radius: 5px; /* Optional: add slight rounding to the corners */
}

/* Ensure the link styles are applied correctly */
a,
ul a {
    color: #ffa5a5 !important; /* Use !important to override other styles */
    text-decoration: underline !important; /* Ensure always underlined */
}
a:hover,
ul a:hover {
    color: #f45f45 !important; /* Darker color on hover */
    text-decoration: underline !important; /* Remain underlined on hover */
}
a:visited,
ul a:visited {
    color: #ffa5a5 !important; /* Ensure visited links have the same color */
}