@keyframes scaleIn {
0% {transform: scale(0.2);}
65% {transform:scale(1.1);}
100% {transform:scale(1);}
}

@keyframes move {
0% {transform: translateY(0);}
100% {transform: translateY(300px);}
}

body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: #ceccc0;
    font-family: Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    justify-content: flex-end;
    align-items: center; /* Center items vertically */
    height: 100%;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center; /* Center text vertically */
    margin-right: 20px; /* Adjust this value to move closer to the image */
    height: 50%; /* Adjust height to control vertical centering */

	animation-name: scaleIn;
	animation-duration: 1s;
}

.text-line {
    font-size: 90px;
    line-height: 90px;
}

.scott {
    color: #699c4d;
}

.friese {
    color: #ceccc0;
}

.portfolio, .resume {
    color: #ceccc0;
    font-size: 20px;
    text-decoration: none;
}

.portfolio, .resume {
    margin: 10px 0;
}

.line {
    width: 100%;
    height: 1px;
    background-color: #699c4d;
}

.short-line {
    width: 185px; /* Adjust this value if the length of "professional resume" text changes */
}

.image {
    max-width: 50%;
    height: auto;
    object-fit: cover;
    object-position: top right;
    margin-left: 20px; /* This margin will help maintain consistent spacing */
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .text-container {
        align-items: center;
        text-align: center;
        margin-right: 0;
        margin-bottom: 20px; /* Ensure it stays lower on smaller screens as well */
    }

    .text-line {
        font-size: 48px; /* Adjust font size for smaller screens */
        line-height: 48px;
    }

    .portfolio, .resume {
        font-size: 16px; /* Adjust font size for smaller screens */
    }

    .short-line {
        width: 130px; /* Adjust width for smaller screens */
    }

    .image {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-left: 0;
    }
}
