@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Jura:wght@300..700&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    behavior: smooth;
}

body {
    background-color: rgba(255, 255, 255, 0.65);
    min-height: 100vh;
    font-family: "JetBrains Mono", monospace;
    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: #b16262;
    z-index: 1;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    max-width: 1600px;
}

.navbar-logo {
    color: white;
    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;
}

.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: #b16262;
		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;
	align-items: center;
	gap: 40px;
	margin-top: 50px;
}

.profile-image img {
	width: 350px;
	height: auto;
	object-fit: cover;
}

.profile-data {
    line-height: 1.5;
	font-size: 100%;
}

.user {
    background-color: #675656;
    color: white;
    font-size: 30px;
    text-align: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.data {
	font-size: 100%;
    background-color: #B16262;
    color: white;
    padding: 30px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.data p {
    margin-bottom: 10px;
}

@media screen and (max-width: 880px) {
	.profile-section {
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}

    .profile-image img {
        width: 300px;
        height: auto;
        object-fit: cover;
    }
}

@media screen and (max-width: 320px) {
	.profile-section {
		margin-top: 20px;
	}
	
	.profile-image img {
		width: 200px;
		height: auto;
	}

    .profile-data {
        font-size: 80%;
    }
}

/* ==================== 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-left-radius: 10px;
    border-top-right-radius: 10px;
}

.about-content {
    text-align: justify;
    background-color: #B16262;
    padding: 20px;
    color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* ==================== Album Section ==================== */

.album-section {
    justify-content: center;
    align-items: center;
    width: 90%;
    overflow: hidden;
    margin: 100px auto;
    margin-top: 100px;
    flex-wrap: wrap;
}

.picture-title {
    background-color: #5c504c;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 30px;
}

.picture-list {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
    flex-direction: row;
}

.picture-list img {
    width: 30%;
    height: auto;
    border-radius: 10px;
}

@media screen and (max-width: 880px) {
    .picture-list {
        flex-direction: column;
    }

    .picture-list img {
        width: 50%;
    }
}