
#name {
    font-size: 3rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

#typing {
    min-height: 2em;
    display: block;
    font-size: 1.5rem;
}

#home.active {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    opacity: 1;
    visibility: visible;
    position: relative;
}

.card {
    font-weight: bold;
    padding: 1em;
    text-align: right;
    color: #181a1a;

    width: 300px;
    height: 400px;
    box-shadow: 0 1px 5px #00000099;

    border-radius: 10px;
    background-image: url("https://ik.imagekit.io/AISHIK999/img/profile.jpg?updatedAt=1739094701447");
    background-size: cover;

    position: relative;

    transition-duration: 300ms;
    transition-property: transform, box-shadow;
    transition-timing-function: ease-out;
    transform: rotate3d(0, 0, 0, 0);

    border: 5px solid var(--color-tx);
}

.card:hover {
    transition-duration: 150ms;
    box-shadow: 0 5px 20px 5px #00000044;
}

.card .glow {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 10px;
    background-image: radial-gradient(circle at 50% -20%, #ffffff22, #0000000f);
}

/* Container styles */
#home .vertical-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#home .horizontal-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    /*margin-top: 10%;*/
    height: 100vh;
}

/* Left content container */
#content-desc {
    position: relative;
    left: 5%;
    max-width: 50%;
    align-items: flex-start;
    padding-left: 5%;
}

#content-desc .btn-con {
    padding-left: 0;
}

/* Right image container */
#user-image {
    position: relative;
    right: 5%;
    max-width: 40%;
}

@media (max-width: 768px) {
    #home {
        width: 100%;
        overflow-x: hidden;
        align-items: center;
        justify-content: center;
    }

    .card {
        display: none;
    }

    #home .horizontal-container {
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        height: auto;
        padding: 1rem;
    }

    #content-desc {
        position: static;
        max-width: 100%;
        padding: 1rem;
        margin: 0;
        align-items: center;
        text-align: center;
    }

    #name {
        font-size: 2rem;
        text-align: center;
    }

    #typing {
        font-size: 1.2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #name {
        font-size: 1.75rem;
    }

    .card {
        display: none;
    }

    #typing {
        font-size: 1rem;
    }
}