body {
    font-family:
        JetBrains Mono,
        monospace;
    margin: 0;
    padding: 0;
}

header {
    background-color: #e6e1de;
    color: #1e1e1e;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

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

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

#projects {
    width: 100%;
    clear: both;
    display: block;
}

#projects h2 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 24px;
    color: #e6e1de;
}

/* nav ul ul a {
    color: #b3892f;
    text-decoration: none;
  }
*/
nav ul ul a {
    position: relative;
    color: #1e1e1e;
    text-decoration: none;
    transition: 0.5s ease;
}

nav ul a:hover {
    text-decoration: none;
    color: #1e1e1e;
}

nav ul ul a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #1e1e1e;
    transition: width 0.3s ease;
}

nav ul a:hover::after {
    width: 100%;
}

main {
    padding: 20px;
}

section {
    margin-bottom: 40px;
}

section h2 {
    color: #e6e1de;
}

section h3 {
    color: #e6e1de;
}

section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: ease 0.2s; /* transition for hover */
}

/* hover opacity animations for the badge and pfp */
section img:hover {
    opacity: 0.6;
}

body,
h1,
h2,
h3,
p,
ul,
li {
    margin: 0;
    padding: 0;
}

body {
    background-color: #1e1e1e;
}

/* This is where the text is placed around the image*/

.image-container {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid #e6e1de;
    overflow: hidden;
    float: left;
    margin-right: 50px;
}

section {
    margin-bottom: 40px;
}

section h2 {
    color: #e6e1de;
    font-size: 24px;
    margin-bottom: 20px;
}

section p {
    margin-bottom: 20px;
}

section ul li {
    color: #e6e1de;
}

.badge {
    width: 50px;
    height: auto;
    transition: 0.2s ease;
}

.badges {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    /*  justify-content: center; */
    gap: 10px;
}

.badge:hover {
    transform: translateY(-5px);
}

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

.card {
    /* card for upcoming projects */
    width: 300px;
    background-color: #1e1e1e;
    border-radius: 15px;
    border: 2px solid #e6e1de;
    overflow: hidden;
    position: relative;
}

.card {
    /* main card for already published projects */
    width: 300px;
    background-color: #1e1e1e;
    border-radius: 15px;
    border: 2px solid #e6e1de;
    overflow: hidden;
    position: relative;
    transition: 0.5s ease;
}

main section h2,
p {
    color: #e6e1de;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    color: #e6e1de;
    font-size: 20px;
    margin-bottom: 10px;
    transition: 0.2s;
}

.card-content p {
    color: #e6e1de;
    font-size: 20px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.card-content a {
    text-decoration: none;
}

.card:hover {
    background-color: #e6e1de;
    border: 2px solid #1e1e1e;
}

.card:hover a h3 {
    color: #1e1e1e;
}

.card:hover p {
    color: #1e1e1e;
}

.card-content li {
    color: #e6e1de;
    font-size: 20px;
    margin-bottom: 10px;
}

#friends {
    text-align: center;
    clear: both;
    margin: 20px auto;
    max-width: 900px;
    padding: 0 20px;
}

#friends ul,
p {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: inline-block;
    text-align: left;
}

#friends li {
    margin: 6px 0;
}

#friends a {
    position: relative;
    color: #e6e1de;
    text-decoration: none;
    transition: 0.5s ease;
}

#friends a:hover {
    text-decoration: none;
    color: #e6e1de;
}

#friends a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #e6e1de;
    transition: width 0.3s ease;
}

#friends a:hover::after {
    width: 100%;
}
