

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(#726d6d, #000000);
    height: 100px;
    padding: 0 20px;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 2;
    overflow: hidden;
}

.nav a {
    margin-top: 8px;
    font-size: 1.5rem;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}


.nav a:hover {
    color: red;
}

#contact:hover {
    color: chartreuse;
    background-color: black;
}


#contact {
    height: 40px;
    border-radius: 20px;
    border: none;
    width: 100px;
    background-color: red;
    color: white;
    font-weight: 900;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#name {
    font-size: 2.5rem;
    color: red;
    padding-top: 15px;
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 10px 0;
    }

    #name {
        font-size: 20px;
        padding-top: 10px;
        text-align: center;
    }

    .nav a {
        font-size: 16px;
        margin-top: 10px;
    }

    #contact {
        width: auto;
        font-size: 10px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 10px;
    }

    #name {
        font-size: 18px;
    }

    .nav a {
        font-size: 14px;
        margin-top: 8px;
    }

    #contact {
        font-size: 10px;
        padding: 4px 8px;
    }
}
#proj{
    height: 40px;
    border-radius: 5vh;
    border: 2px;
    width: 100px;
    background-color: rgb(0, 17, 255);
    margin-left: 500px;
    color: white;
    font-weight: 900;
    font-size: 0.8rem;
    margin-bottom: 50px;
}
.project{
    margin-top: 120px;
    font-style: initial;
    display: flex;
}
#proj:hover{
    color: white;
    background-color: rgb(230, 14, 14);
}
#textb{
    font-size: 2rem;
    text-decoration: none;
    font-family: semi bold ;
    color: #000000;
}
#textb:hover{
    color: rgb(151, 29, 29);
}