#home {
    height: 100vh;
    display: flex;
    justify-content: center; /* Center horizontally */
    padding-top: 12vh;
    text-align: center;
}

.home-content .home-intro {
    font-family: 'Playfair Display', serif; 
    font-size: 6rem;
    font-style: italic;
    font-weight: 400;
    color: #ff004f;
    margin-bottom: 180px;
}

.home-content h1 {
    font-size: 4rem; 
    margin-bottom: 10px;
}

.home-content .home-subtitle {
    font-size: 2rem; 
    color: #ccc; 
    margin-top: 40px;
}

#typed-text-target {
    background: linear-gradient(to right, #ff004f, #4743EF); /* Setting the background color of text to linear gradient */
    -webkit-background-clip: text; /* Clipping the background colour to only the text shape */
    background-clip: text; /* Clipping the background colour to only the text shape (For non webkit based browsers) */
    color: transparent; /* Making the text color transparent to show the gradient */
}

.home-subtitle .typed-cursor {
    font-size: 2rem;
    color: #ff004f; /* Matching the starting colour of the gradient */
}

/* The following syntax will only run when screen size is less than 768px (Mobile screens) */
@media (max-width: 768px) {
    #home {
        padding-top: 20vh;
        height: 90vh;
    }

    .home-content .home-intro {
        font-size: 3rem;
        margin-bottom: 100px;
    }

    .home-content h1 {
        font-size: 2.5rem;
    }

    .home-content .home-subtitle {
        font-size: 1.5rem;
        margin-top: 60px;
    }

    .home-subtitle .typed-cursor {
        font-size: 1.5rem;
    }
}