:root {
    --background: #1c1c1c;
    --foreground: #faebd7; 
    --primary: #f796ae;
    --secondary : #a0faa0;
    --highlight : #f5c377ff; 
    --page-title : #7bd5feff;
    --sub-heading : #7bd5feff;
}

* {
    padding: 0;
    margin: 0;
    font-family: monospace;
}

body {
    max-width: 600px;
    margin: auto;
    margin-top: 24px;
    background-color: var(--background);
    color: var(--secondary);
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px;
}

nav > ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 10px;
}

a {
    padding: 2px 4px 4px 4px;
    color: var(--primary);
    transition: all 240ms;
}

nav > ul > li > a {
    text-underline-offset: 20%;
    text-decoration: underline;
}

nav > ul > li > a:hover {
    cursor: pointer;
    background-color: var(--primary);
    color: var(--background);
    font-weight: bold;
}

main {
    margin: 18px;
}

h2 {
    font-size: x-large;
    margin-bottom: 8px;
}

h3 {
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--sub-heading);
}

.title-name {
    text-decoration: none;
    color: var(--primary);
    font-size: xx-large;
    font-weight: bold;
    cursor: pointer;
}

#greet {
    display: inline-block;
    min-width: 45px;
    transition: opacity 0.5s ease-in-out;
}

.para, p {
    color: var(--foreground);
    font-size: large;
    padding-left: 20px;
    line-height: 110%;
}


.name-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fidget {
    height: 22px;
    width: 22px;
    border-radius: 50%;
    background-color: var(--secondary);
    transition: all 240ms;
}

.fidget:hover {
    height: 22px;
    width: 22px;
    border-radius: 15%;
    animation: roll 2s infinite forwards;
    background-color: var(--primary);
}

.spacer {
    height: 40px;
}

.body-list > li {
    margin-top: 8px;
}

.body-list > li > a {
    text-decoration: none;
    transition: all 240ms;
}

.body-list > li > a:hover {
    text-decoration: underline;
}

.skills {
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skills > div {
    border: 2px solid var(--highlight);
    padding: 8px;
    border-radius: 10px;
    background-color: var(--highlight);
    color: var(--background);
    font-weight: bolder;
    transition: all 340ms;
}

.skills > div:hover {
    background-color: var(--background);
    color: var(--foreground);
}

.grid {
    display: grid;
    grid-template-columns: 24px 24px 24px 24px;
    grid-template-rows: 24px 24px;
    gap: 8px;
    justify-content: center;
}

.grid > div {
    border-radius: 20%;
    cursor: pointer;
    transition: background-color 1000ms;
}

.grid > div:hover {
    scale: 1.1;
    border: 2px solid white;
}

.page-title {
  color: var(--page-title);
  margin-bottom: 24px;
}

.technology {
    font-size:medium;
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.technology > div {
    border: 2px solid var(--highlight);
    padding: 4px;
    border-radius: 10px;
    background-color: var(--highlight);
    color: var(--background);
    font-weight: bolder;
    transition: all 340ms;
}

.technology > div:hover {
    background-color: var(--background);
    color: var(--foreground);
}

.screenshots {
    display: flex;
    padding: 8px;
    justify-content: space-between;
    margin-bottom: 16px;
}

img {
    border: 2px solid var(--highlight);
    border-radius: 8px;
}

.toast {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 8px;
    border: 2px solid;
    border-radius: 24px;
    transition: all 500ms;
}

.hidden {
    display: none;
}


@keyframes roll {
   from {
    rotate: 0deg;
   } 
   to {
    rotate: 360deg;
   }
}

@keyframes toast-in {
    0% {
        opacity: 0;
        scale: 1;
    }
    50%{
        scale: 1.2;
    }
    100% {
        opacity: 1;
        scale: 1;
    }
}
