
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    color: #333;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100vh;
    margin: 0;
}

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

header h1 {
    margin-bottom: 10px;
}

header nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav a:hover {
    color: #007bff;
}

.container {
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: 30px auto;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #ccc;
}

h1 {
    font-size: 1.8em;
    margin-bottom: 5px;
}

p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 25px;
}

.links a,
.btn {
    display: block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 12px;
    margin: 10px 0;
    border-radius: 25px;
    transition: background 0.3s;
}

.links a:hover,
.btn:hover {
    background: #007bff;
}

.links a:visited {
    color: #ccc;
}

.links a:active {
    background: #004099;
}

.links a:nth-child(1) {
    background: #111;
}

.links a:last-child {
    background: #222;
}

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

.social-icons img {
    width: 25px;
    margin: 0 10px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.1);
}

main {
    padding: 40px 20px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    margin-top: 0;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
}

ul li:first-child {
    font-weight: bold;
}

ul li:last-child {
    color: #007bff;
}

footer p {
    font-size: 0.8em;
    color: #ccc;
    margin: 0;
}

 .journal-pic{
 display: grid;
  place-items: center;
  height: 500px;
 }

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  text-align: center;
  padding: 40px 20px;
}

main section {
  margin-top: 40px;
}

h2 {
  margin-top: 0;
}

@media (max-width: 600px) {
    header, main, footer {
        padding: 15px;
    }

    .card {
        margin: 15px 0;
    }

    .links a {
        font-size: 0.9em;
        padding: 10px;
    }

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