/* first webpage  */
body {
  font-family: Arial, sans-serif;
  background-color: rgb(7, 10, 66);
  text-align: center;
  margin: 0;
  padding: 0;
}

header {
  background-color: rgb(7, 10, 66);
  padding: 20px;
  border-bottom: 2px solid rgb(70, 236, 211);
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

header img {
  width: 100px;
  height: 100px;
  border-radius: 100%;
  border: 0px solid #b00b0b81;
}

h1 {
  font-size: 2em;
  margin-top: 10px;
  color: #cec7c7;
}

.link-list ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.link-list li {
  margin-bottom: 10px;
}
/* grid css */
.link-list a {
  display: grid;
  padding: 15px;
  background-color: rgba(77, 141, 165, 0.581);
  color: white;
  text-decoration: underline;
  border-radius: 5px;
  border-color: #1d08085e;
  margin: 5px;
}

.link-list a:hover {
  background-color: #6d25ac;
}

.social-icons nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-icons img {
  width: 50px;
  height: 50px;
}

footer {
  background-color: #162d3c;
  padding: 10px;
  font-size: 1re;
  color: #e1e5e2;
}

/* CSS Pseudo-classes */
a:visited {
  color: #000000;
}

a:active {
  background-color: #544993;
}

ul li:nth-child(odd) {
  font-style: initial;
}

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

ul li:last-child {
  font-style: italic;
}

ul li:nth-of-type(4) {
  font-weight: bolder;
}

/* Flexbox inside main */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: auto;
}
/* Journal Page Layout */
.journal-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 5px;
  padding: 1, 4px;
  background-color: #14114b;
  color: #333;
  display: flex;
}

/* Sidebar for categories or tags */
.journal-sidebar {
  background-color: #7d58b3;
  padding: 10px;
  border-radius: 8px;
  border-color: #544993;
}

.journal-sidebar h2 {
  font-size: 20px;
  margin-bottom: 2px;
}

.journal-sidebar ul {
  list-style: none;
  padding: 0;
}

.journal-sidebar li {
  margin-bottom: 8px;
  text-align: left;
}

/* Journal Entries */
.journal-entry {
  background-color: rgb(56, 103, 178);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.journal-entry h3 {
  color: rgb(9, 235, 54);
  margin-bottom: 10px;
}

.journal-entry img {
  max-width: 50%;
  border-radius: 5px;
  margin-bottom: 10px;
}

/* Portfolio Grid Layout */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5px;
  padding: 5px;
  background-color: #16174f;
}

/* Portfolio Cards */
.portfolio-card {
  background-color: white;
  border-radius: 10px;
  overflow: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.portfolio-card:hover {
  transform: scale(1.05);
}

.portfolio-card img {
  width: 50%;
  height: 50%;
  object-fit: cover;
  overflow: auto;
}

.portfolio-card .card-content {
  padding: 5px;
  text-align: left;
}

.portfolio-card h3 {
  margin-top: 0;
  color: #3138a0;
}

.portfolio-card p {
  font-size: 0.95em;
  color: #555;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgb(21, 161, 49);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
  overflow: auto;
}

.btn:hover {
  background-color: #3138a0;
}
