* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-family: "Montserrat", sans-serif;
}

body {
    background: #eee;
    background-image: url("https://www.transparenttextures.com/patterns/cubes.png");
}


header h1 {
    color: #fff;
    font-family: "McLaren", cursive;
    font-weight: 200;
    display: inline;
    padding-right: 10px;

}


/* Home Page CSS */

/* Main container styling */
.top-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    padding: 20px;
    background-color: #FEF4EA;
}


/* Content styling */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    /* Center align text on small screens */
    margin-bottom: 20px;
}

.content h1 {
    color: black;
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin-top: 90px;
    padding-bottom: 20px;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: .15em;
    animation:
        typing 3.5s steps(30, end),
        blink-caret .5s step-end infinite;
    font-size: 24px;
    /* Adjust font size for small screens */
}

.content p {
    color: black;
    font-size: 16px;
    /* padding: 0 10px; */
}

/* Main image styling */
.main-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-image img {
    padding-top: 20px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Media query for mobile screens */
@media only screen and (max-width: 768px) {

    .content {
        align-items: flex-start;
        text-align: left;
    }

    /* Hide the main image on small screens */
    .main-image {
        display: none;
    }
}

/* Media query for medium and larger screens */
@media only screen and (min-width: 768px) {
    .top-container {
        flex-direction: row;
        padding: 0 70px;
    }

    .content {
        align-items: flex-start;
        text-align: left;
        margin-bottom: 0;
    }

    .content h1 {
        font-size: 48px;
        border-right: .15em solid #FEF4EA;
    }

    .content p {
        font-size: 20px;
    }

    .main-image img {
        padding-top: 100px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}