
* {
    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;
    }
}

#figma{
    margin-top: 200px;
    font-size: 1.5rem;
    width: 300px;
    height: 40px;
    box-sizing: 20px 20px 20px 20px black;
    background-color: rgb(229, 217, 217);
    color: rgb(0, 0, 0);
    display: flex;
    cursor: pointer;
    padding-left: 50px;
}
#face{
    width: 100px;
    height: 100px;
    margin-top: 220px;
    margin-left: 200px;
}
#div1{
    display: flex;
}