html, body {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
}

body, html {
    height: 100%;
}

.page {
    display: flex;
    margin-top: 70px;
}

#homepage {
    background-color: white;
    height: auto; 
    overflow-y: auto;
}

.header {
    position: fixed;
    top: 0; 
    background-color: #f2f2f2;
    padding: 1rem;
    width: 100%;
    height: 70px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.left-header {
    display: flex;
    align-items: center;
    text-align: left;
    margin-left: auto;
    font-family: 'Inter';
    font-weight: 500;
    color: #000000;
    font-size: 1.3rem;
    margin-left: 1.5rem;
}

.header-box:first-child {
    margin-right: 2rem;
}

.header-box:last-child {
    margin-left: 2rem;
}

.header-box a {
    text-decoration: none;
    color: inherit;
}

.header-box a:hover {
    color: #404040;
}

.header-box:hover {
    filter: brightness(2);
    cursor: pointer;
}

.right-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: auto;
    margin-right: 1.5rem;
}

.linkedin img,
.mail img {
    max-height: 1.3rem;
    width: auto;
    vertical-align: middle;
    margin-right: 1.5rem;
}

.linkedin img:hover,
.mail img:hover {
    filter: brightness(2);
    cursor: pointer;
}

.main-footer {
    position: relative;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    padding-bottom: 1.3rem;
    padding-top: 2rem;
}

.main-footer-text {
    font-size: 15px;
    font-family: 'Inter';
    font-weight: 300;
    color: black;
    margin-bottom: 0.5rem;
}

body.main-container::-webkit-scrollbar {
    width: 8px;
}

body.main-container::-webkit-scrollbar-track {
    background-color: #FFFFFF;
}

body.main-container::-webkit-scrollbar-thumb {
    background-color: #000000;
    z-index: 4;
}

body.main-container::-webkit-scrollbar-thumb:hover {
    background-color: #616161;
    z-index: 4;
}

.main-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; 
}

/* .main-image div {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
    width: auto; 
    max-width: 100%; 
} */

.main-image div {
    overflow: hidden;
    position: relative;
    width: 80%;
    height: auto;
}

.main-image img {
    transition: transform 0.5s ease;
}

.additional-images img, 
.logo-image {
    transition: transform 0.5s ease;
}

.additional-images img:hover, 
.logo-image:hover {
    transform: scale(1.05);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-image img {
    width: 100%;
    height: auto;
}

.main-image img:hover {
    transform: scale(1.05);
}

.content {
    display: flex;
    justify-content: center;
    align-items: top;
    gap: 80px;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 140px;
    padding-right: 140px;
}

.title {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 3rem;
    flex: 1;
}

.title-sub {
    font-family: 'Inter';
    font-weight: 500;
    font-size: 2rem;
    flex: 1;
}

.description {
    font-family: 'Inter';
    font-weight: 300;
    flex: 2;
    font-size: 1em;
}

.main-image img, .additional-images img {
    cursor: zoom-in;
    max-width: 100%;
    height: auto;
}

.additional-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px;
    padding: 10px;
}

.additional-images div {
    display: flex; 
    justify-content: center; 
    align-items: center;
    overflow: hidden;
    width: 100%;
}

#color-palette-section .additional-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;
    flex-wrap: wrap;
}

#color-palette-section .additional-images div {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.additional-images img:hover {
    transform: scale(1.05); 
}

.additional-images .logo-image {
    width: 50%; 
    height: auto; 
}

.fullscreen-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -50px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.image-container img {
    margin: auto;
    display: none;
}

.image-container img.show {
    display: block;
    max-width: 100%;
    max-height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media (max-width: 900px) {
    .main-image div {
        width: 95%;
    }

    .content {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .title, .title-sub {
        font-size: 2rem;
    }

    .description {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .main-image div {
        width: 90%;
    }

    .additional-images, 
    #logo-section .additional-images, 
    #color-palette-section .additional-images, 
    #watercolor-process-section .additional-images {
        grid-template-columns: 1fr; 
        gap: 10px;
        padding: 10px;
    }
    
    .additional-images img, 
    #logo-section .additional-images img, 
    #color-palette-section .additional-images img, 
    #watercolor-process-section .additional-images img {
        width: 100%; 
        height: auto;
    }

    .content {
        padding: 15px;
        gap: 15px;
    }

    .title, .title-sub {
        font-size: 1.5rem;
    }

    .description {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .left-header {
		font-size: 1rem;
	}

	.linkedin img,
	.mail img {
	max-height: 1rem;
	}
}