* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: black;
    color: #e7e7e7;
    min-height: 100vh;
    line-height: 1.5;
}

/* GRADIENT */

.img-gradient {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.5;
    z-index: -1;
}

.layer-blur {
    height: 0;
    width: 30rem;
    position: absolute;
    top: 20%;
    right: 0;
    box-shadow: 0 0 700px 15px white;
    rotate: -30deg;
    z-index: -1;
}

.container {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5rem;
    z-index: 999;
}

header img {
    margin: 0;
    width: 300px;
    font-size: 3rem;
    font-weight: 700;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: -10%;
    margin-right: 15%;
}

nav a {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    transition: color 0.3s ease;
    text-decoration: none;
    color: inherit;
}

nav a:hover {
    color: #a7a7a7;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(90vh - 6rem);
}

.content {
    max-width: 40rem;
    margin-left: 10%;
    z-index: 999;
}

.content h1,
.content .span {
    font-size: 3.5rem;
}

.content .span::after {
    content: 'Web Developer';
    animation: words 12s infinite;
}

@keyframes words {
    0%, 33% {
        content: 'Web Developer';
        color: #00fcdb;
    }
    34%, 66% {
        content: 'Something';
        color: #d97c22;
    }
    67%, 100% {
        content: 'Something Else';
        color: #bc2f4f;
    }
}

.btn-box {
    position: relative;
    width: 18rem;
    height: 2.5rem;
    border-radius: 50px;
    background: linear-gradient(to right, #656565, #aefcdd, #00cc9c, #00fcdb, #757575, #656565);
    background-size: 200%;
    animation: gradientAnimation 2.5s linear infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    margin: 40px 0;
    transition: 0.5s ease;
}

@keyframes gradientAnimation {
    to {
        background-position: 200%;
    }
}

.btn-box .btn {
    position: absolute;
    inset: 3px 3px 3px 3px;
    background-color: black;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-box:hover {
    color: #a5fff3;
    background: #00fcdb;
    cursor: pointer;
    transition: 0.5s ease;
    box-shadow: #00fcdb 0 0 10px 2px;
}

.pc-elmt {
    position: absolute;
    top: 0;
    right: -20%;
    transform: scale(0.75);
}