@import url('https://fonts.googleapis.com/css2?family=Jura:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
	box-sizing: border-box;
}

html {
    behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Jura", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* ==================== Navbar ==================== */

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80px;
    position: sticky;
    top: 0;
    background-color: #5E5555;
    z-index: 1;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    max-width: 1600px;
}

.navbar-logo {
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	border-radius: 10px;
	padding: 3px 20px;
}

.navbar-logo:hover {
	background-color: #000000;
	color: #ffffff;
}

.navbar-container .navbar-menu {
	display: flex;
	text-align: center;
	gap: 1rem;
	list-style: none;
}

.navbar-container .navbar-menu li a {
	text-decoration: none;
	font-size: 1.3rem;
	color: #ffffff;
	font-weight: bold;
	padding: 10px;
	border-radius: 10px;
	border: 2px solid transparent;
	transition: all 0.3s ease-in-out;
	z-index: 1;
    font-family: "Jura", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.navbar-container .navbar-menu li a:hover {
	background-color: #000000;
	color: #ffffff;
}

.navbar-toggle {
	display: none;
	background: transparent;
	padding: 10px;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
	border-radius: 10px;
}

.bar {
	display: none;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: #ffffff;
	transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 880px) {
	.navbar-container .navbar-menu {
		display: none;
		flex-direction: column;
		align-items: flex-start;
		gap: 1.7rem !important;
		position: fixed;
		height: 100vh;
		top: 0;
		right: 0;
		background-color: #5E5555;
		padding: 5rem 1.5rem;
		box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
		backdrop-filter: blur(10px);
	}

	.navbar-toggle {
		display: block;
		z-index: 1;
	}

	.navbar-toggle:hover {
		background-color: #000000;
		color: #ffffff;
	}

	.bar {
		display: block;
	}

	.navbar-container .navbar-menu.active {
		display: flex;
	}

	.navbar-toggle.active .bar:nth-child(1) {
		transform: rotate(45deg) translateY(11px);
		margin-left: 15px;
	}

	.navbar-toggle.active .bar:nth-child(2) {
		opacity: 0;
	}

	.navbar-toggle.active .bar:nth-child(3) {
		transform: rotate(-45deg) translateY(-11px);
		margin-left: 15px;
	}
}

/* ==================== Profile Section ==================== */

main {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
}

.profile-section {
    display: flex;
    justify-content: center;
    height: 50vh;
    margin-top: 50px;
}

.profile-image img {
	width: 350px;
	height: auto;
	object-fit: cover;
}

.profile-data {
    margin-top: 100px;
    margin-left: 50px;
	line-height: 1.0;
	font-size: 100%;
}

.user-data {
    font-size: 40px;
    color: #5E5555;
}

.data {
    margin-top: 10px;
    font-size: 20px;
}

.type {
    color: #6A7477;
}

.color {
    color: black;
    margin-left: 10px;
}

@media screen and (max-width: 880px) {
    .profile-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .profile-data {
        margin-top: 50px;
    }
}

@media screen and (max-width: 320px) {
	.profile-section {
		margin-top: 20px;
	}
	
	.profile-image img {
		width: 150px;
		height: auto;
	}

    .user-data {
        font-size: 30px;
    }
    
    .data {
        font-size: 20px;
    }
}

/* ==================== About Section ==================== */

.about-section {
    justify-content: center;
    align-items: center;
    width: 90%;
    overflow: hidden;
    margin: 100px auto;
    margin-top: 100px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-title {
    background-color: #5c504c;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 30px;
    border-top: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;
}

.about-content {
    text-align: justify;
    border: 1px solid black;
    background-color: #d9d9d9;
    padding: 20px;
    color: #5E5555;
    font-size: 20px;
    line-height: 1.6;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ==================== Link Section ==================== */

.link-section {
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	border-radius: 8px;
}

.link-title {
	margin-bottom: 10px;
	color: rgb(0, 0, 0);
	width: 100%;
	text-align: center;
}

.card {
	display: flex;
	align-items: center;
	flex-direction: column;
	width: 180px;
	padding: 20px;
	background-color: white;
	border-radius: 10px;
	text-decoration: none;
	box-shadow: 0 0px 10px 0 rgb(255 255 255 / 20%), 0 6px 20px 0 rgb(33 33 33);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-body h1 {
	font-size: 16px;
	font-weight: normal;
	margin: 0;
	text-align: center;
	color: black;
}

.card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.card:hover .card-img {
	transform: scale(1.1);
}

.card-body {
	text-align: center;
	width: 100%;
}

.card h1 {
	color: black;
	font-size: 18px;
}

.card-img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	margin-bottom: 15px;
	transition: transform 0.3s ease;
}

@media (max-width: 880px) {
	.profile-image img {
		width: 250px;
	}
}

@media (max-width: 500px) {
	.link-title {
		flex-wrap: wrap;
	}

	.card {
		width: 100%;
		max-width: 300px;
	}

	.profile-image img {
		width: 200px;
	}
}

/* ==================== Artwork Section ==================== */

.artwork-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 100px;
	padding: 0 20px;
}

.artwork-title {
	text-align: center;
	color: #000;
	width: 100%;
	margin-bottom: 20px;
}

.recent-works {
	font-size: 20px;
	margin-bottom: 30px;
}

.artwork-cards {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	width: 100%;
}

.card-artwork {
	background-color: #f0f0f0;
	border-radius: 8px;
	overflow: hidden;
	width: 300px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.artwork-date {
	font-size: 16px;
	color: #5a5a5a;
	margin: 16px;
}

.border-card {
	display: flex;
	flex-direction: column;
	padding: 0 16px 16px 16px;
}

.border-header {
	border: none;
	height: 4px;
	background-color: #4d4d4d;
	margin: 0;
	width: 100%;
	margin-bottom: 12px;
}

.artwork-img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	object-fit: cover;
	margin-bottom: 12px;
}

.artwork-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.4;
	margin: 0;
}

.previous-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 50px;
	margin-bottom: 100px;
	padding: 0 20px;
}

.previous-works {
	font-size: 20px;
	margin-bottom: 30px;
}

/* ==================== Contact Section ==================== */

.contact-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin-top: 100px;
	color: black;
	text-align: center;
}

.contact-title {
	margin-bottom: 20px;
}

input, textarea {
	background-color: #D9D9D9;
	width: 90%;
	padding: 15px;
	border: none;
	margin-top: 10px;
	border-radius: 10px;
	font-size: 100%;
}

textarea {
	color: black;
	height: 500px;
	resize: none;
	font-size: 100%;
	font-family: "Jost", sans-serif;
}


.contact-description {
	margin-top: 20px;
	margin-bottom: 30px;
}

.contact-submit {
	margin-top: 30px;
	border: none;
	background-color: #D9D9D9;
	padding: 10px;
	color: #6A7477;
	font-size: 100%;
	border-radius: 10px;
	width: 90%;
	margin-bottom: 50px;
}

.contact-submit:hover {
	background-color: #4d4d4d;
	color: white;
}