
html {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-x: hidden;
    padding-bottom: 0;
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    background-attachment: fixed;
    margin: 0;
    background: black;
    overflow-x: hidden;
    width: 100dvw;
    padding-bottom: 0;
}
#canvas {
    z-index: -1;
}
#name {
    z-index: 1;
    animation: pulse-animation 3s 1.5s infinite;
}
#introButton {
    z-index: 102;
}
background {
    background-image: radial-gradient(circle at center bottom, rgb(100, 100, 100) 0%, rgb(20, 5, 60) 60%,  rgb(10, 5, 15)100%);
    opacity: 0;
}
#canvas {
    display: none;
    opacity: 0;
}
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 5vh rgba(255, 255, 255, 0);
    }
}
.moon {
    position: absolute;
    z-index: 100;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-animation: spin 20s linear infinite;
    animation: spin 20s linear infinite;
    border: 10px solid white;
    opacity: 0.2;
    transition: all 0.5s;
    @media (min-width: 768px) {
        height: 8rem;
        width: 8rem;
    }
}
.moon:hover {
    background-color: rgba(100, 200, 255, 0.5);
    opacity: 0.5;
    transition: all 0.5s;
}
#moon1 {
    transform-origin: 50% 175%;
    margin-bottom: 13.75rem;
    @media (min-width: 768px) {
        margin-bottom: 22rem;
    }
}
#moon2 {
    transform-origin: -75% 50%;
    margin-left: 13.75rem;
    @media (min-width: 768px) {
        margin-left: 22rem;
    }
}
#moon3 {
    transform-origin: 50% -75%;
    margin-top: 13.75rem;
    @media (min-width: 768px) {
        margin-top: 22rem;
    }
}
#moon4 {
    transform-origin: 175% 50%;
    margin-right: 13.75rem;
    @media (min-width: 768px) {
        margin-right: 22rem;
    }
}
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

i {
    font-family: IBM Plex Mono;
    font-size: 2.5rem !important;
    color: white;
}
.spins {
    -webkit-animation: spin 20s reverse linear infinite;
    animation: spin 20s reverse linear infinite;
}
h1 {
    font-family: IBM Plex Mono;
    font-size: 2.5rem !important;
    font-weight: 600 !important;
    color: white;
    opacity: 0.2;
    width: 100%;
    text-align: center;
    @media (min-width: 768px) {
        text-align: left;
    }
}
h2 {
    font-family: IBM Plex Mono;
    font-size: 1.5rem !important;
    font-weight: 300 !important;
    color: white;
    opacity: 0.2;
    width: 100%;
    text-align: center;
    @media (min-width: 768px) {
        text-align: left;
    }
}
h3 {
    font-family: IBM Plex Mono;
    font-size: 2rem !important;
    font-weight: 500 !important;
    color: white;
    width: 100%;
    text-align: center;
    @media (min-width: 768px) {
        text-align: left;
    }
}
p {
    font-family: IBM Plex Mono;
    font-size: 0.8rem !important;
    font-weight: 200 !important;
    color: white;
    width: 100%;
    text-align: center;
    @media (min-width: 768px) {
        font-size: 1rem !important;
        text-align: left;
    }
}

button {
    color: black;
    font-family: IBM Plex Mono;
    background-color: #def !important;
    padding: 5px 15px !important;
    transition: all 0.5s;
}
button:hover {
    background-color: #fff !important;
    transition: all 0.5s;
}

a {
    text-decoration: underline !important;
    width: fit-content !important;
}

.skillcontainer {
    height: 3rem;
    width: 3rem;
    padding: 0.5rem;
    margin: 0.5rem;
    background-color: #000c;
    display: flex;
    align-items: center;
    justify-content: center;
}
.skill {
    max-width: 100%;
    max-height: 100%;
}
#mySkills {
    display: none;
}

.projectbox {
    width: 100%;
    display: flex;
    align-items: center;
    height: fit-content;
    padding: 1rem;
    flex-direction: row;
    gap: 2rem;
    background-color: #000c;
}
.projectimg {
    width: 4rem;
    @media (min-width: 768px) {
        width: 7.5rem;
    }
}
.projecttext {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
#mySkills, #myProjects {
    display: none;
}

.projectp {
    width: fit-content;
    text-align: left !important;
}
