body {
		background-color: white;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		height: 100vh;
		margin: 0;
		overflow: auto;
	}
header {
		display: flex;
		align-items: center;
		padding: 0;
		background-color: white;
		width: 100%;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 10;
		box-sizing: border-box;
}
header .name {
  		display: flex;
		flex-direction: column;
		align-items: flex-start;
		margin-right: 5px;
}
header a {
	margin-left: auto;
}
main {
		flex-grow: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 10px;
		width: 100%;
		margin-top: 180px;
		box-sizing: border-box;
}
footer {
		background-color: white;
		text-align: center;
		padding: 5px;
		position: fixed;
		width: 100%;
		bottom: 0;
		z-index: 10
}
.animated-button {
	padding: .65vw .75vw;
	font-size: .75vw;
	color: #fff;
	background-color: #71a3d8;
	border: none;
	border-radius: 60px;
	cursor: pointer;
	transition: all 0.3s ease;
    width: 120px; /* Set a fixed width */
    height: 40px; /* Set a fixed height */
    text-align: center; /* Center text inside the button */
    align-items: center;
}
.animated-button:hover {
	background-color: #71a3d8;
	transform: scale(1.1);
}

.animated-button:active {
background-color: #004080;
transform: scale(1.05);
}
.inactive {
    background-color: #cccccc;
    color: #666666; 
    border: 2px solid #999999; 
    cursor: not-allowed;
}
header .name h1 {
	color: rgb(154, 184, 234);
	font-weight: bold;
	margin: 0;
	font-size: 3.5vw;
    white-space: nowrap;
}
header .name h2 {
	color: black;
	font-size: 1.5vw;
	margin: 0;
  	margin-left: 5px;
    white-space: nowrap;
}
header .name h2::after {
    content: "";
    display: block;
	position: absolute;
	top: 95%;
    width: 100%;
    border-top: 2px solid #71a3d8; 
    margin-top: 5px; 
}
.button-container {
	display: flex;
	gap: 60px;
	margin: 0 auto;
	margin-left: 150px;
}

header .button-container a {
	margin: 0;
}
.main-content {
    display: flex;
	flex-direction: row;
    align-items: flex-start; 
	justify-content: flex-start;
    padding: 2px;
}
.photo-container {
	flex: 0 0 35%;
}
.main-photo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 0 0;
}
.hidden {
    display: none;
}
.content-group {
	flex-direction: row;
}
.button-group {
    display: flex;
	justify-content: center;
    flex-direction: row;
    gap: 10px;
    margin-left: 5px;
	margin-top: 50px; 
	align-self: flex-start;
	position: relative;
}
.button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
	position: relative;
	margin: 0 auto;
}
.info-button {
    width: 100px;
	height: 100px;
	padding: 0;
    font-size: 16px;
    color: #fff;
    background-color: #71a3d8;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-left: 200px;
}
.info-button:hover {
    background-color: #004080;
    transform: scale(1.05);
}
.info-button:active {
    background-color: #003366;
    transform: scale(0.95); 
}
.info-button.active {
    background-color: #320b67; 
    color: #fff; 
    transform: scale(1.1); 
}
.text-content {
    margin-top: 20px; /* Adjust the margin as needed */
    width: 100%; /* Adjust the width as needed */
    max-width: 800px; /* Set a maximum width */
    padding: 10px;
    line-height: 1.6; /* Adjust line height for better readability */
	margin-left: 150px;
}
.text-content p {
    font-size: 1vw; /* Adjust the font size as needed */
    color: #333;
    text-align: left;
}

/* contact form */
.contact-container {
	width: 90%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}
.contact-form {
	width: 60%;
	margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
}
.contact-form h2 {
    text-align: center;
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
	box-sizing: border-box;
}
.contact-form textarea {
    height: 200px;
}
.contact-form .submit-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #71a3d8;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form .submit-button:hover {
    background-color: #004080;
}
.social-box {
    width: 80%;
    padding: 20px;
    text-align: center;
	margin-left: 30px;
}
.social-box h3 {
	font-weight: bold;
}
.social-link {
    display: flex;
    align-items: center;
	text-decoration: underline;
    color: #000;
	margin-top: 10px;
	justify-content: center;
}
.social-icon {
    width: 48px;
    height: 48px;
    margin-top: 10px;
	vertical-align: middle;
}
.social-link span {
    font-size: 16px;
	line-height: 48px;
}
h4 {
	font-size: 16px;
	font-weight: bold;
}
/* Portfolio */
main.split-page {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 0;
    padding-bottom: 40px;
}
.split {
    flex: 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.split.top {
	background-image: url('Assets/Projects.jpg');
	background-size: cover;
	background-position: center;
	transform: scale(1.1); 
	transition: transform 0.3s ease-in-out;
}

.split.bottom {
	background-image: url('Assets/bround.jpg');
	background-size: cover;
	background-position: center;
	transform: scale(1.1); 
	transition: transform 0.3s ease-in-out;
}

.split a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    font-size: 24px;
}
h5 {
	background-color: #007bff;
	border-width: 2px;
	border-style: solid;
	border-color: black;
	font-size: 20px;
	width: 90px;
	clear: left;
	color: #fff;
	margin-top: 10px;
	margin-bottom: 1px;
	text-align: center;
}
.split .content h5 {
    transition: transform 0.3s ease-in-out;
}

.split .content:hover h5 {
    transform: scale(1.2);
}
.intro-text {
    text-align: center;
    margin: 20px 0;
}
.intro-text2 {
    text-align: center;
	margin-top: 40px;
    padding: 0;
}
.intro-text3 {
    text-align: center;
    margin-bottom: 325px;
}
h6 {
	background-color: #007bff;
	border-width: 2px;
	border-style: solid;
	border-color: black;
	font-size: 20px;
	width: 140px;
	clear: left;
	color: #fff;
	margin-top: 10px;
	margin-bottom: 1px;
	text-align: center;
}
.image-row {
	display: flex;
	flex-direction: row;
	width: 100%;
	height: 100%;
	justify-content: center;
	margin: 0;
    padding: 0;
}
.image-container,
.image-container2,
.image-container3 {
    position: relative;
    width: 25%;
    height: 225px;
    overflow: hidden;
	margin: 0;
    padding: 0;
}
.expandable-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease-in-out, width 0.5s ease-in-out, height 0.5s ease-in-out;
	position: relative;
    z-index: 1;
}
.image-container:hover .expandable-image,
.image-container3:hover .expandable-image {
    position: fixed;
    top: 50%;
    left: 50%;
	width: auto;
	height: auto;
    max-width: 100vw;
    max-height: 100vh;
    transform: translate(-50%, -50%);
    z-index: 1000;
}
.image-container2:hover .expandable-image {
    position: fixed;
    top: 50%;
    left: 50%;
	width: auto;
	height: auto;
    max-width: 80vw;
    max-height: 80vh;
    transform: translate(-50%, -50%);
    z-index: 1000;

}
.image-container::before,
.image-container2::before,
.image-container3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 999;
	margin-left: 10px;
    padding: 0;
}
.image-container:hover::before,
.image-container2:hover::before,
.image-container3:hover::before {
    opacity: 1;
}
.gif-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    justify-content: center;
    margin: 0;
    padding: 0;
	margin-top: -250px;
	margin-bottom: 20px;
}
.gif-container {
    position: relative;
    width: 25%;
    height: auto;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hover-gif {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}
.project-icon {
    display: block;
    margin: 20px auto;
    width: 150px; /* Adjust the width as needed */
    height: auto;
}
/* code display */
.code-container {
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 20px 0;
    max-height: 400px; /* Adjust the height as needed */
    overflow: auto;
    font-family: 'Courier New', Courier, monospace;
}

pre {
    margin: 0;
}

code {
    display: block;
    white-space: pre-wrap; /* Wrap long lines */
    word-wrap: break-word; /* Break long words */
}

/* responsive styles */ 
@media (max-width: 1024px) {
    body {
        flex-direction: column;
        align-items: center;
        overflow-x: hidden;
    }

    header {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }
	header .name {
   		align-items: flex-start; /* Ensure child elements are aligned to the left */
    	padding: 0; /* Remove padding inside the .name container */
    	margin: 0; /* Remove margin inside the .name container */
    	width: 100%;
	}

    header .name h1 {
        font-size: 5.5vw; /* Adjust font size for smaller screens */
        text-align: left;
        width: 100%;
  }

    header .name h2 {
        font-size: 3vw;
        text-align: left;
        width: 100%;
  }

    header .name h2::after {
        content: "";
        display: block;
        position: absolute;
        top: 95%;
        width: 100%;
        border-top: 2px solid #71a3d8; 
        margin-top: 5px;
        left: 0;
    }
 	 .animated-button {
    	padding: .5vw .75vw;
    	font-size: 2vw;
    	color: #fff;
    	background-color: #71a3d8;
    	border: none;
    	border-radius: 50px;
    	cursor: pointer;
    	transition: all 0.3s ease;
    	width: 80px; /* Set a fixed width */
    	height: 35px; /* Set a fixed height */
    	text-align: center; /* Center text inside the button */
    	align-items: center;
	}

    .button-container {
        flex-direction: row;
        gap: 20px;
        margin-left: 5px;
    	justify-content: center; 
    }

    .text-content {
        margin-left: 0;
        padding: 10px;
        max-width: 100%;
        font-size: 4vw; /* Adjust font size for readability */
    }

    .info-button {
        width: 80px;
        height: 80px;
        font-size: 14px;
        margin-left: 0;
    }

    .contact-container {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 10px;
    }

    .contact-form {
        width: 90%;
        padding: 10px;
    }

    .social-box {
        width: 100%;
        margin-left: 0;
        padding: 10px;
    }

    .image-row {
        flex-direction: column;
        align-items: center;
    }

    .image-container,
    .image-container2,
    .image-container3 {
        width: 90%;
        height: auto;
    }

    .gif-row {
        flex-direction: column;
        align-items: center;
        margin-top: 0;
    }

    .gif-container {
        width: 90%;
        height: auto;
    }

    footer {
        position: relative;
        padding: 10px;
    }
  	.photo-container {
        margin-bottom: 20px;
  	}
    .main-content {
        flex-direction: column; /* Stack elements vertically */
        align-items: center; /* Center-align content */
    }
    .button-group {
        margin-left: 0; /* Reset left margin */
        margin-top: 10px; /* Add spacing above the button group */
        align-self: center; /* Center-align the button group */
    }
    .info-button {
        width: 80px; /* Adjust button size for smaller screens */
        height: 80px;
        font-size: 2vw; /* Adjust font size */
        margin: 5px 0; /* Add spacing between buttons */
    }
  	.text-content p {
		font-size: 3vw; /* Adjust the font size as needed */
		color: #333;
		text-align: left;
	}
}