@font-face {
    font-family: 'General Sans';
    src: url('../assets/fonts/GeneralSans-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'General Sans', sans-serif;
    src: url('../assets/fonts/GeneralSans-Medium.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'General Sans';
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

#mini-circle {
    transition: all cubic-bezier(0.19, 1, 0.22, 1) 1s;
    width: 10px;
    height: 10px;
    position: absolute;
    z-index: 999999;
    border-radius: 50%;
    background-color: #fff;
}

.bounding {
    width: fit-content;
    overflow: hidden;

}

.bounding .bounding-elem {
    transform: translateY(100%);
}

#main {
    width: 100%;
    min-height: 100vh;
    background-color: black;
    overflow: hidden;
}

#hero {
    position: relative;
    color: #fff;
    width: 100%;
    height: 100vh;
    background-color: black;
}

#nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 40px;
    color: #fff
}

/* #nav h3 {
  
    font-size: 14px;
    margin: 0;
} */

/* #nav h3 a {
    text-decoration: none;
    color: #fff;
} */

#nav a {
    text-decoration: none;
    font-size: 14px;
    color: #fff
}

#menu {
    cursor: pointer;
    padding: 10px;
    background-color: black;
    color: #fff;
}



.dropdown-content-wrap {
    display: none;
    position: absolute;
    top: 60%;
    right: 2px;
    min-width: 160px;
    overflow: hidden;


}

.dropdown-content a {
    display: flex;
    flex-direction: column;
}

.dropdown-content a:hover {
    font-weight: 700;
}

.dropdown-content {
    padding: 20px;
    margin: 10px;
    text-transform: uppercase;

}


#heading {
    margin-top: 80px;
}

#heading h1 {
    margin-left: 30px;
    opacity: .6;
    line-height: 1;
    font-size: 10vw;
    text-transform: uppercase;
    font-weight: 900;
}

#heading #secondh1 {
    margin-left: 230px;
}

.blocktext {
    display: flex;
    flex-direction: column;
    align-items: end;
    width: fit-content;
}

.blocktext h5 {
    text-align: right;
    text-transform: uppercase;
    font-size: 15px;
    text-align: right;
}

#small-headings {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-top: 100px;
    padding-right: 50px;
}

#small-headings h5 {
    text-transform: uppercase;
    margin-top: .5vw;
    font-size: 1vw;
    text-align: right;
}

#hero-footer {
    padding: 0 1vw;
    width: 100%;
    position: absolute;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#hero-footer a {

    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

#hero-footer #iconset {
    display: flex;
    gap: 5px;
}

#hero-footer .circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #888;
}

#second {
    color: white;
    background-color: black;
    padding-right: 10vw;
    padding-top: 100px;
    width: 100%;
    height: 100%;

}

.elem {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 3.5vw 3vw;
    padding-right: 0;

    border-top: 1px solid #888;
}

.elem h1 {
    position: relative;
    text-transform: uppercase;
    font-size: 7.8vw;
    opacity: 0.7;
    display: inline-block;
}

.elem h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    /* Adjust distance from text */
    width: 100%;
    height: 2px;
    /* Adjust thickness */
    background-color: currentColor;
    /* Matches text color */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-in-out;
}

.elem h1:hover::after {
    transform: scaleX(1);
}

.elem elem-last {
    border-bottom: 1px solid #888;

}

.elem h1 a {
    text-decoration: none;
    color: #fff;
}

.skills-container {
    color: #b3b3b3;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    width: 100%;
    padding: 3.5vw 3vw;
    padding-right: 0;
    border-top: 1px solid #888;
}

.skills-container h2 {
    color: #fff;
    font-size: 2.5vw;
    margin-bottom: 2vw;
    text-transform: uppercase;
    opacity: 0.7;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2vw;
    width: 100%;
}

.skills-list ul {
    display: contents;
}

.skills-list li {
    color: #fff;
    list-style: none;
    font-size: 1.2vw;
    padding: 1.5vw;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skills-list li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.skills-list li b {
    color: #888;
    display: block;
    margin-bottom: 0.5vw;
    font-size: 1vw;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#about {
    color: white;
    display: flex;
    align-items: center;

    gap: 50px;
    padding: 10vw 10vw;
    padding-left: 40vw;
    width: 100%;

}

#text-about {
    width: 25rem;

}

#text-about h5 {
    text-transform: uppercase;
    opacity: .6;
    margin-bottom: 10px;

}

#text-about p {
    line-height: 1.7;
    margin-bottom: 30px;
}

#about img {
    width: 200px;


}



#text-about a {
    padding: 12px 22px;
    border: 1px solid #fff;
    border-radius: 100px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;

}

#resume {
    padding: 20px 30px;
    background-color: black;
    color: #fff;
    padding-bottom: 7vw;
}

#resume h5 {
    text-transform: uppercase;

    opacity: 0.6;
}

#resume h3 a {
    text-decoration: none;
    color: #fff;
}

#resume h3 {
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 10px;

}

#footer {
    height: 50px;
    /* or whatever the intended height is */
    background-color: black;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1px 30px;
    width: 100%;
    position: absolute;
    bottom: 0;

}



#footer-left {
    display: flex;
    gap: 20px;

}

#footer-right {
    display: flex;
    gap: 30px;
}

#footer a {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
}

/* Existing CSS remains the same until the end */

/* Media Queries for Responsiveness */
@media (max-width: 768px) {

    /* Adjust navigation for smaller screens */
    #nav {
        padding: 10px 20px;
    }

    #nav a {
        font-size: 16px;
    }

    /* Adjust heading for smaller screens */
    #heading h1 {
        font-size: 15vw;
        margin-left: 10px;
    }

    #heading #secondh1 {
        margin-left: 50px;
    }

    /* Adjust blocktext for smaller screens */
    .blocktext h5 {
        font-size: 12px;
    }

    /* Adjust small headings for smaller screens */
    #small-headings h5 {
        font-size: 3vw;
    }

    /* Adjust hero footer for smaller screens */
    #hero-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    #hero-footer a {
        margin-bottom: 10px;
    }

    /* Adjust about section for smaller screens */
    #about {
        flex-direction: column;
        padding: 10vw 5vw;
        text-align: center;
    }

    #text-about {
        width: 100%;
    }

    #about img {
        width: 150px;
        margin-top: 20px;
    }

    /* Adjust elements in the second section */
    .elem {
        flex-direction: column;
        align-items: flex-start;
        padding: 5vw 3vw;
    }

    .elem h1 {
        font-size: 10vw;
    }

    .elem h5 {
        margin-top: 10px;
    }

    /* Adjust footer for smaller screens */
    #footer {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    #footer-left,
    #footer-right {
        gap: 10px;
    }

    #footer a {
        font-size: 12px;
    }

    .skills-container h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .skills-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skills-list li {
        font-size: 14px;
        padding: 15px;
    }

    .skills-list li b {
        font-size: 12px;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {

    /* Further adjustments for very small screens */
    #heading h1 {
        font-size: 20vw;
    }

    #heading #secondh1 {
        margin-left: 20px;
    }

    .blocktext h5 {
        font-size: 10px;
    }

    #small-headings h5 {
        font-size: 4vw;
    }

    #hero-footer {
        padding: 0 10px;
    }

    #about {
        padding: 10vw 2vw;
    }

    #about img {
        width: 120px;
    }

    .elem h1 {
        font-size: 12vw;
    }

    #footer {
        padding: 5px;
    }

    #footer a {
        font-size: 10px;
    }

    .skills-container {
        padding: 30px 15px;
    }

    .skills-container h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .skills-list li {
        font-size: 13px;
        padding: 12px;
    }

    .skills-list li b {
        font-size: 11px;
    }
}

/* Existing CSS remains the same until the end */

/* Media Queries for Responsiveness */
@media (max-width: 768px) {

    /* Adjust navigation for smaller screens */
    #nav {
        padding: 10px 20px;
    }

    #nav a {
        font-size: 16px;
    }

    /* Adjust heading for smaller screens */
    #heading h1 {
        font-size: 15vw;
        margin-left: 10px;
    }

    #heading #secondh1 {
        margin-left: 50px;
    }

    /* Adjust blocktext for smaller screens */
    .blocktext h5 {
        font-size: 12px;
    }

    /* Adjust small headings for smaller screens */
    #small-headings h5 {
        font-size: 3vw;
    }

    /* Adjust hero footer for smaller screens */
    #hero-footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    #hero-footer a {
        margin-bottom: 10px;
    }

    /* Adjust about section for smaller screens */
    #about {
        flex-direction: column;
        padding: 10vw 5vw;
        text-align: center;
    }

    #text-about {
        width: 100%;
    }

    #about img {
        width: 150px;
        margin-top: 20px;
    }

    /* Adjust elements in the second section */
    .elem {
        flex-direction: column;
        align-items: flex-start;
        padding: 5vw 3vw;
    }

    .elem h1 {
        font-size: 10vw;
    }

    .elem h5 {
        margin-top: 10px;
    }

    /* Adjust footer for smaller screens */
    #footer {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    #footer-left,
    #footer-right {
        gap: 10px;
    }

    #footer a {
        font-size: 12px;
    }

    .skills-container h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .skills-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skills-list li {
        font-size: 14px;
        padding: 15px;
    }

    .skills-list li b {
        font-size: 12px;
        margin-bottom: 5px;
    }
}

@media (max-width: 474px) {

    /* Further adjustments for very small screens */
    #nav {
        padding: 10px;
    }

    #nav a {
        font-size: 14px;
    }

    #heading {
        height: 50vh;
    }

    #heading h1 {
        font-size: 15vw;
        margin-left: 5px;
    }

    #heading #secondh1 {
        margin-left: 30px;
    }

    .blocktext h5 {
        font-size: 10px;
    }

    #small-headings h5 {
        font-size: 4vw;
    }

    #hero-footer {
        padding: 0 10px;
    }

    #about {
        padding: 10vw 2vw;
    }

    #about img {
        width: 120px;
    }

    .elem h1 {
        font-size: 12vw;
    }

    #footer {
        padding: 5px;
    }

    #footer a {
        font-size: 10px;
    }

    /* Adjust dropdown menu for very small screens */
    .dropdown-content-wrap {
        top: 50%;
        right: 0;
        min-width: 140px;
    }

    .dropdown-content {
        padding: 10px;
    }

    .dropdown-content a {
        font-size: 12px;
    }
}
