body {
    margin: 0;
    padding: 0;
    background-color: #222;
    color: #ccc;
    font-family: 'Helvetica', Arial, sans-serif;
    max-width: 100%;
}

h1 {
    font-size: 5rem;
    font-weight: 200;
    margin-bottom: 0.8rem;
}

h2 {
    text-align: center;
    font-size: 4rem;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(20, 20, 20, 0.8);
    z-index: 5000;
    padding: 1rem 0;
} 

nav a {
    text-decoration: none;
    color: #ccc;
    font-weight: bold;
    margin-left: 2rem;
    transition: red 0.3s ease;
}

nav a:hover {
    color: red;
}

nav a.active {
    color: red;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    padding-right: 1rem;
}

.about-btn {
    text-decoration: none;
    border: 2px solid red;
    color: red;
    padding: 2rem 2.5rem;
    font-size: 2.5rem;
    border-radius: 5px;
}

.about-btn:hover {
    background-color: red;
    color: white;
    transition: all 0.5s ease;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-header {
    margin-top: 0;
    font-weight: 600;
}

.about-header::after {
    content: '';
    display: block;
    width: 3em;
    height: 4px;
    background-color: red;
    margin: 0 auto;
}

.about-left p {
    color: #ccc;
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: center;

    text-align: left;
    max-width: 450px;
    margin: 0 auto;
}

.bx-user {
    display: block;
    margin: 0 auto 2rem auto;
    font-size: 15rem;
    stroke: #ccc;
    text-align: center;
    background: linear-gradient(90deg, #F06, #09F);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.5rem 1.2rem;
    background-color: #333;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form input::placeholder {
    color: #aaa;
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form input:focus {
    outline: none;
    box-shadow: 0 0 0 2px red;
}

.contact-form textarea {
    resize: vertical;
}

.contact-title {
    text-align: left;
    font-size: 4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;

    display: inline-block;
    border-bottom: 8px solid red;
    padding-bottom: 0.5rem;
}

.main {
    height:100vh;
    width:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    line-height:0.5em;
}

.main-p {
    font-size: 4.5rem;
    font-weight: 200;
}


.name {
    color: red;
    font-weight: bold;
}

.project-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;

    color: white;
    border-radius: 10px;
    margin-top: 4rem;
    overflow: hidden;
    background-color: rgba(20, 20, 20, 0.8);
}

.project-card--reversed {
    grid-template-columns: 1fr 1.5fr;
}

.project-card--reversed .project-image {
    grid-column-start: 2;
    display: flex;
    justify-content: flex-end;
}

.project-card--reversed .project-info {
    grid-column-start: 1;
    grid-row-start: 1;
}


.project-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.project-image {
    background-color: #3000ff;
    padding: 2rem;
}

.project-info {
    font-size: 1rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 2rem;
}

.project-info h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-links {
    display:flex;
    gap:2rem;
}

.project-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding-bottom:5px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.project-links a:hover {
    border-bottom-color: red;
}



.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.skill-item {
    background-color: #333;
    border: 2px solid #555;
    border-radius: 8px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;

}

.skill-item svg {
    width: 80px;
    height: 80px;
}

.skill-p {
    font-size: 1.5rem;
    margin: 0.5rem 0 0 0;
}

.submit-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    padding: 0.5rem 0;
    border-bottom: 3px solid red;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    color: red;
}

.submit-btn-container {
    text-align: right;
    margin-top: 1rem;
}

/* ID Identifiers */

#about {
    padding: 4rem 3rem;
    max-width: 100%;
}

#contact {
    padding: 4rem 3rem 8rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

#contact p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    color: #ccc;
}


#projects {
    padding: 8rem 2rem;
}