
:root {
    --main: #111111;
    --secondary: #f3f3f3;
    --accent: #ffb000;
}

html{
    scroll-behavior: smooth;
}

body 
{
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--main);
    color: var(--secondary);
    font-family: Inter, system-ui, sans-serif;
    text-align: center;
}

h1 
{
    margin: 0 0 16px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    color: var(--secondary);
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    color: var(--secondary);
}
      
p 
{
    margin: 0;
    font-size: 1.1rem;
    color: var(--secondary);
}

.home-text-p1{
    font-size: 2rem;
}

/* --------- NAVIGATION --------- */

#navigation {
    position: fixed;
    top: 0;
    padding: 2rem;
    width: 100%;
    background-color: var(--main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.nav-image {
    width: 2rem;
    align-self: center;
    justify-self: center;
    padding-right: .2rem;
    border-radius: 100%;
}

.nav-title {
    display: flex;
    font-size: 1.5rem;
    padding-left: 10%;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    padding-right: 10%;
}

a
{
    color: var(--secondary);
    text-decoration: none;
    text-decoration-color: var(--low-text);
}

/* --------- Home --------- */

#home {
    display: flex;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: linear-gradient(to bottom, transparent 40%, var(--main) 100%),
        url('assets/Poster 16x9 2.png');;
    background-size: cover;
    background-position: center;
}

.home-title-text {
    width: fit-content;
    height: fit-content;
    font-size: 8rem;
    text-shadow: 0px 0px 10px #232323;
}

.home-text-p1 {
    width: fit-content;
    height: fit-content;
    text-shadow: 0px 0px 4px #111111;
}

.home-arrow {
    font-size: 2rem;
    position: relative;
    bottom: -20%;
}

/* --------- About --------- */

#about {
    display: grid;
    height: 100vh;
    width: 80%;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
}

.profile {
    padding: 0%;
}

.profile-image {
    width: 30%;
    border-radius: 100%;
    box-shadow: 0px 0px 10px var(--accent);
}

.profile-desc {
    width: 80%;
    padding-left: 10%;
}

.role-text
{
    margin: -20px 0 20px;
    font-weight: 500;
    color: var(--accent);
}

/* --------- Projects --------- */

#projects {
    display: flex;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.project-container {

}

.project-title {
    padding-top: 10%;
    padding-top: 0;
}

.project-grid {
    display: grid;
    align-items: center;
    justify-content: center;
    grid-template-columns: repeat(2, 1fr);
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.project-image {
    width: 60%;
    border-radius: 20px;
    align-self: center;
    justify-self: center;
    box-shadow: 0px 0px 8px var(--accent);
}

.project-desc {
    align-self: center;
    justify-self: center;
    padding-right: 30%;
}

.project-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    position: relative;
}

.project-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.2s ease;
}

.project-button:hover::after { width: 100%; }
.project-button:active { opacity: 0.7; }

/* --------- Contact --------- */

#contact {
    display: flex;
    height: 100vh;
    width: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


/* --------- Footer --------- */

.footer {
    width: 100vw;
    padding: 25px 15%;
    background-color: #f3f3f3;
    color: #232323;
    display: flex;
    box-sizing: border-box;
    text-align: center;
    align-self: stretch;
    
}

.footer div{

    flex: 1;
    text-align: center;
}

.footer div p{
    color:#232323;
 
}

.footer div a{
    color:#232323;
    display: block;
    text-decoration: none;
    margin-bottom: 10px;
}

/* --------- Media Queries --------- */ 

@media (max-width: 768px) {

.nav-title {
    font-size: 1rem;
}

.home-title-text {
    width: 80%;
    font-size: 3rem;
}

.home-text-p1 {
    font-size: .8rem;
}

.home-arrow {
    font-size: 1.5rem;
}

#about {
    width: 90%;
}

.profile-desc {
    font-size: smaller;
}

.project-grid {
    grid-template-columns: repeat(1, 2fr);
    padding-top: 3rem;
}

.project-desc {
    padding-top: 2rem;
    max-height: 80vh;
    font-size: smaller;
    padding-right: 0%;
    width: 80%;
}

.project-image {
    align-items: self-start;
}

.project-title {
    width: 90%;
    font-size: 2rem;
    padding: 5%;
}

.nav-title-text {
    font-size: 0;
}

}

.copyright-text p{
    color: #232323;
}

