@media (max-width: 1600px) {
    #header h1 {
    font-size: 5rem;
    margin-bottom: -40px;
    color: var(--text-color);
}

#header h2 {
    color: var(--light-color);
    margin-bottom: -0px;
    font-size: 4.2rem;
}

#header .arrow {
    margin-top: -50px;
    width: 64px;
    height: 64px;
    font-size: 3rem;
}

}

@media (max-width: 1024px) {
    .projects-wrapped {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header h1 {
    font-size: 4.2rem;
    margin-bottom: -40px;
    color: var(--text-color);
}

#header h2 {
    color: var(--light-color);
    margin-bottom: -0px;
    font-size: 4.2rem;
}

#header .arrow {
    margin-top: -50px;
    width: 54px;
    height: 54px;
    font-size: 3.2rem;
}

#projects h1:first-child {
    font-size: 3.2rem;
}

}

@media (max-width: 850px) {
#header h1 {
    font-size: 3.6rem;
    margin-bottom: -40px;
    color: var(--text-color);
}

#header h2 {
    color: var(--light-color);
    margin-bottom: -0px;
    font-size: 3.6rem;
}
}


@media (max-width: 768px) {
#header h1 {
    font-size: 3.2rem;
    margin-bottom: -20px;
    font-weight: 800;
    color: var(--text-color);
}

#header h2 {
    color: var(--light-color);
    margin-bottom: px;
    font-size: 3.2rem;
}

#projects h1:first-child {
    font-size: 2.6rem;
}


#header .arrow {
    margin-top: -50px;
    display: flex;  
    justify-content: center; 
    align-items: center;
    width: 56px;
    height: 56px;
    font-size: 2.6rem;
    background-color: var(--light-color);
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

.projects-header {
    margin-bottom: 52px;
}

.projects-header h1 {
    font-size: 2rem;
    letter-spacing: -.02em;
    text-transform: uppercase;
    font-weight: 800;
}

.projects-header h2 {
    color: var(--light-color);
    font-size: 1.2rem;
    font-weight: 600;
}


.project-image img {
    margin-bottom: 8.5%;
}

.project-content .tags {
    margin-bottom: 4%;
}

.project-content .tags .tag {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.project-content h1{
    font-size: 1.6rem;
    margin-bottom: 8px;

}

.project-content p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 2rem;
    margin-bottom: 16px;
}

.view-project-btn {
    font-size: 0.8rem;
}

.view-project-btn i {
    font-size: 1rem;
}

.view-project-btn span {
    font-size: 0.8rem;
}

#header {
    margin-top: -250px;
    margin-bottom: -250px;
}

footer {
    margin-top: 64px;
}

#backToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--text-color);
    color: #fff;
    font-size: 16px;
    padding: 16px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;

}
}

@media (max-width: 655px) {

    #header h1 {
    font-size: 2.5rem;
    margin-bottom: -20px;
    font-weight: 800;
    color: var(--text-color);
}

#header h2 {
    color: var(--light-color);
    margin-bottom: 0px;
    font-size: 2.5rem;
}

#header .arrow {
    margin-top: -50px;
    width: 40px;
    height: 40px;
    font-size: 2.2rem;
}

#projects h1:first-child {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

#projects h2 {
    font-size: 1.3rem;
}
}


@media (max-width: 480px) {

#header h1 {
    font-size: 2.2rem;
    margin-bottom: -20px;
    font-weight: 800;
    color: var(--text-color);
}

#header h2 {
    color: var(--light-color);
    margin-bottom: 0px;
    font-size: 2.2rem;
}

#projects h1:first-child {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

#projects h2 {
    font-size: 1.1rem;
}
}
