body {
	font-family: 'Work Sans', sans-serif;
    font-weight: 200;
}
a:link, a:visited {
	color: #6a6a6a;
}
a:hover, a:active {
	color: #2c2c2c;
}
.top-back {
	position: relative;
	background-color: #7e7e7e;
	background-image: -webkit-radial-gradient(#cecdcd, #7e7e7e);
}
.top-profile {
    position: relative;
    width: 42vw;
    padding-top: 6vw;
    display: block;
    margin: auto;
}
.banner {
    position: absolute;
    top: 45vw;
    text-align: center;
    width: 100%;
    background-color: rgba(128, 128, 128, 0.2);
    font-size: 3.5vw;
    letter-spacing: 1vw;
    color: rgba(255, 255, 255, 0.8);
}
.banner[contenteditable="true"] {
    outline: 0px solid rgba(255, 255, 255, 0.6);
    cursor: text;
    background-color: rgba(128, 128, 128, 0.4);
}
.top-social {
    position: absolute;
    top: 60vw;
    left: 2vw;
}
.social-icon-top {
    margin-left: 2vw;
    height: 3vw;
    width: 3vw;
}
.social-icon-bottom {
    margin-left: 2vw;
    height: 3vw;
    width: 3vw;
}
.arrow {
    position: relative;
    float: right;
    right: 2vw;
    height: 30px;
    width: 25px;
}
div.row.section {
	text-align: center;
	padding-top: 2vw;
	padding-bottom: 2vw;
}
div.row span.header {
	display: block;
	font-size: 5vw;
  letter-spacing: 1vw;
  color: #2c2c2c;
  margin-bottom: 2vw;
	font-weight: 100;
}
div.row span.sub-header
{
	display: block;
	font-size: 2.5vw;
	font-weight: 200;
	letter-spacing: 0.5vw;
	color: #2c2c2c;
    margin-bottom: 2vw;
}
div.row span.txt {
	font-size: 1.5vw;
	margin-bottom: 4vw;
  letter-spacing: 0.2vw;
	color: #2c2c2c;
	display: block;
	padding-left: 10vw;
	padding-right: 10vw;
}
div.row span.txt-block {
	display: block;
	margin-bottom: 2vw;
}
div.row span.txt-block.txt-block-editing {
	margin-bottom: 30px;
}
#experience button.txt-block-remove, #aboutme button.txt-block-remove, #contact button.txt-block-remove {
	margin-top: -22px;
}

#experience button.txt-block-remove.key-experience-delete {
	margin-top: -3px;
}

#experience button.txt-block-remove.experience-delete {
	margin-top: -3px;
}

div.row span.experience {
	display: block;
	margin-bottom: 2vw;
}
div.row span.title {
	font-weight: 300;
	display: block;
}
div.row span.company {
	display: block;
}
div.row span.year {
	display: block;
}
div.row span.assignment {
	font-weight: 300;
	display:block;
}
div.row span.key-experience {
	display: block;
	margin-bottom: 1vw;
}
.menu {
	font-size: 18px;
	font-weight: 300;
	letter-spacing: 1px;
	position: absolute;
	z-index: 1;
	right: 0;
	top: 0;
}
div.menu a {
	float: left;
	margin: 14px 16px;
	color: white;
	text-decoration: none;
}
div.menu a:hover {
	color: #2c2c2c;
}
div.menu a.icon {
	display: none;
}
#second-menu a {
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 1px;
	margin: 0 1vw;
	color: white;
}
#second-menu.txt {
	margin-bottom: 0;
}
.scroll-to-top {
    position: absolute;
    right: 2vw;
	cursor: pointer;
}
#to-top {
	display: none;
	cursor: pointer;
	font-weight: 300;
}
#signin {
	cursor: pointer;
}

/* Editable Section Styles */
.editable-section-header {
	cursor: pointer;
}

.txt-block-editing {
	display: block;
	outline: none;
	padding: 8px;
	margin-bottom: 30px;
	background-color: rgba(44, 44, 44, 0.04);
}

.txt-block.txt-block-editing {
	margin-bottom: 30px;
}

.txt-block-error {
	background-color: rgba(220, 53, 69, 0.4) !important;
}

.txt-block-placeholder {
	color: #999;
	font-weight: 300;
}

.txt-block-remove {
	background: none;
	border: none;
	outline: none;
	box-shadow: none;
	color: #2c2c2c;
	font-weight: 300;
	cursor: pointer;
	font-family: 'Work Sans', sans-serif;
	padding: 0;
	line-height: 1;
	font-size: 14px;
	float: right;
    margin-top: -3px;
}

.txt-block-remove:focus,
.txt-block-remove:active {
	outline: none;
	box-shadow: none;
}

.txt-block-add {
	background: none;
	border: none;
	outline: none;
	box-shadow: none;
	color: #2c2c2c;
	font-size: 14px;
	font-weight: 300;
	cursor: pointer;
	padding: 0;
	margin: 0;
	transition: color 0.2s;
	font-family: 'Work Sans', sans-serif;
	display: block;
	text-align: center;
}

.txt-block-add:focus,
.txt-block-add:active {
	outline: none;
	box-shadow: none;
}

.key-experience-assignment-editing,
.key-experience-content-editing {
	display:block;
	background-color: rgba(44, 44, 44, 0.04);
	padding: 4px;
	margin-bottom: 10px;
	outline: none;
}

.experience-title-editing,
.experience-company-editing,
.experience-year-editing {
	display:block;
	background-color: rgba(44, 44, 44, 0.04);
	padding: 4px;
	margin-bottom: 10px;
	outline: none;
}

.experience-placeholder {
	color: #999;
	font-weight: 300;
}

.experience-field-error {
	background-color: rgba(220, 53, 69, 0.4) !important;
}

.experience.experience-editing {
	border-style: solid;
    padding: 5px;
    border-color: rgba(255, 255, 255, 0.32);
	padding-bottom: 15px;
}

.key-experience-field-error {
	background-color: rgba(220, 53, 69, 0.4) !important;
}

.key-experience.key-experience-editing {
	border-style: solid;
    padding: 5px;
    border-color: rgba(255, 255, 255, 0.32);
	padding-bottom: 15px;
}

#copyright {
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 2px;
	padding: 1vw 2vw 1vw 2vw;
	margin-bottom: 0;
	color: rgba(44,44,44,0.8);
}

@media screen and (max-width:768px) {
	body {
	    font-weight: 200;
	}
	div.row span.header {
		font-size: 28px;
		letter-spacing: 6px;
	}
	div.row span.sub-header
	{
		font-size: 18px;
		letter-spacing: 2px;
	}
	div.row span.txt {
	  	font-size: 11.5px;
	    letter-spacing: 1.5px;
	    padding-left: 4vw;
	    padding-right: 4vw;
  	}
  	.top-social {
	    display: none;
	}
	.social-icon-bottom {
	  margin-left: 20px;
		height: 24px;
		width: 24px;
	}
	div.menu a {
		display: none;
	}
	div.menu a.icon {
	    display: block;
	    float: right;
	}
	div.menu.responsive a.icon {
    	position: absolute;
		right: 0;
		top: 0;
  	}
  	div.menu.responsive {
    	left: 0;
		background-color: rgba(0, 0, 0, 0.3);
  	}
  	div.menu.responsive a {
		float: none;
		display: block;
		text-align: left;
  	}
	#to-top {
		display: block;
	}
	#copyright {
		font-size: 10px;
	}
}

@media screen and (min-width:1100px) {
	.top-profile {
		width: 462px;
		padding-top: 66px;
	}
	.banner {
	    top: 495px;
	    font-size: 38.5px;
	    letter-spacing: 11px;
	}
	.top-social {
		top: 659px;
		right: 22px;
	}
	.social-icon-top {
        margin-left: 22px;
		height: 33px;
		width: 33px;
	}
	.social-icon-bottom {
	    margin-left: 22px;
		height: 33px;
		width: 33px;
	}
	div.row.section {
		padding-top: 22px;
		padding-bottom: 32px;
	}
	div.row span.header {
		font-size: 55px;
		letter-spacing: 11px;
  	}
  	div.row span.sub-header
	{
		font-size: 26px;
		letter-spacing: 5.5px;
	}
  	div.row span.txt {
	  	font-size: 16.5px;
	  	letter-spacing: 2.2px;
	  	padding-left: 15vw;
		padding-right: 15vw;
  	}
}

@media screen and (min-width:1400px) {
	div.row span.txt {
	    padding-left: 20vw;
		padding-right: 20vw;
  	}
}

/* Sign-in Modal Styling */
.signin-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.signin-modal-container {
	position: relative;
	background-color: white;
	border-radius: 4px;
	padding: 40px 30px;
	width: 90%;
	max-width: 350px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.signin-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: none;
	border: none;
	font-size: 28px;
	cursor: pointer;
	color: #6a6a6a;
	padding: 0;
	width: 30px;
	height: 30px;
}

.signin-close:hover {
	color: #2c2c2c;
}

.signin-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.signin-form-group {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.signin-input {
	padding: 10px 0;
	border: none;
	border-bottom: 1px solid #ccc;
	font-family: 'Work Sans', sans-serif;
	font-size: 14px;
	color: #2c2c2c;
	background-color: transparent;
	outline: none;
}

.signin-input::placeholder {
	color: #999;
}

.signin-input:focus {
	border-bottom-color: #2c2c2c;
}

.signin-button {
	padding: 12px 0;
	background-color: transparent;
	color: #2c2c2c;
	border: 1px solid #2c2c2c;
	font-family: 'Work Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-top: 10px;
}

.signin-button:hover {
	background-color: #2c2c2c;
	color: white;
}

.signin-error {
	color: #d9534f;
	font-size: 13px;
	text-align: center;
}

/* ── Custom Slider ── */
#custom-slider {
	position: relative;
	width: 100%;
	padding-bottom: 50%;
	overflow: hidden;
	background-color: #2c2c2c;
}

#custom-slider-track {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
}

.slide {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	opacity: 0;
	transition: opacity 2s ease;
}

.slide.active {
	opacity: 1;
}

.slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.slider-btn {
	position: absolute;
	-webkit-appearance: none;
	appearance: none;
	background: rgba(255,255,255,0.15);
	border: none;
	color: rgba(255,255,255,0.85);
	font-size: 3vw;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	opacity: 0;
	transition: opacity 0.3s ease, background 0.2s ease;
	z-index: 10;
}

.slider-btn:focus {
	outline: none;
}

.slider-btn:hover {
	background: rgba(255,255,255,0.3);
}

#custom-slider:hover .slider-btn {
	opacity: 1;
}

.slider-btn-prev {
	top: 50%;
	left: 1%;
	transform: translateY(-50%);
	width: 5vw;
	height: 8vw;
	max-width: 60px;
	max-height: 90px;
}

.slider-btn-next {
	top: 50%;
	right: 1%;
	transform: translateY(-50%);
	width: 5vw;
	height: 8vw;
	max-width: 60px;
	max-height: 90px;
}

.slider-btn-pause {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 6vw;
	height: 6vw;
	max-width: 80px;
	max-height: 80px;
	font-size: 0;
	border-radius: 50%;
}

/* Pause icon: two vertical bars */
.slider-btn-pause::before {
	content: '';
	position: absolute;
	top: 50%;
	left: calc(50% - 8px);
	transform: translateY(-50%);
	width: 4px;
	height: 40%;
	background: rgba(255,255,255,0.85);
	box-shadow: 12px 0 0 rgba(255,255,255,0.85);
}

/* Play icon: triangle */
.slider-btn-pause.paused::before {
	left: calc(50% - 5px);
	width: 0;
	height: 0;
	background: transparent;
	box-shadow: none;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 13px solid rgba(255,255,255,0.85);
}

/* ── Slider Edit Panel ── */
#slider-edit-panel {
	padding: 2vw 10vw;
	background-color: rgba(44,44,44,0.04);
	border-top: 1px solid rgba(44,44,44,0.12);
	text-align: center;
}

#slider-edit-thumbnails {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 1.5vw;
}

.slider-thumb-tile {
	position: relative;
	width: 100px;
	height: 60px;
	flex-shrink: 0;
}

.slider-thumb-tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.slider-thumb-tile .txt-block-remove {
	position: absolute;
	top: 2px;
	right: 2px;
	background: rgba(255,255,255,0.75);
	padding: 1px 4px;
	font-size: 12px;
}

#slider-upload-status {
	font-size: 13px;
	color: #6a6a6a;
	margin-top: 8px;
	min-height: 18px;
}

/* ── Crop Modal ── */
#crop-modal-overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.82);
	z-index: 2000;
	display: flex;
	align-items: center;
	justify-content: center;
}

#crop-modal-container {
	background: #fff;
	width: 90vw;
	max-width: 900px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

#crop-modal-image-wrap {
	width: 100%;
	height: 60vh;
	max-height: 540px;
	overflow: hidden;
}

#crop-modal-image {
	display: block;
	max-width: 100%;
}

#crop-modal-zoom {
	display: flex;
	justify-content: center;
	gap: 12px;
}

#crop-zoom-out,
#crop-zoom-in {
	background: none;
	border: 1px solid #2c2c2c;
	color: #2c2c2c;
	font-family: 'Work Sans', sans-serif;
	font-size: 20px;
	font-weight: 200;
	width: 40px;
	height: 40px;
	cursor: pointer;
	line-height: 1;
	transition: background 0.2s, color 0.2s;
}

#crop-zoom-out:hover,
#crop-zoom-in:hover {
	background: #2c2c2c;
	color: #fff;
}

#crop-modal-actions {
	display: flex;
	justify-content: center;
	gap: 16px;
}

#crop-cancel-btn,
#crop-confirm-btn {
	padding: 10px 28px;
	font-family: 'Work Sans', sans-serif;
	font-size: 14px;
	font-weight: 300;
	cursor: pointer;
	border: 1px solid #2c2c2c;
	background: transparent;
	color: #2c2c2c;
	transition: background 0.2s, color 0.2s;
}

#crop-confirm-btn {
	background: #2c2c2c;
	color: #fff;
}

#crop-cancel-btn:hover {
	background: #2c2c2c;
	color: #fff;
}

#crop-confirm-btn:hover {
	background: #555;
}

@media screen and (max-width: 768px) {
	#crop-modal-container {
		width: 96vw;
		padding: 12px;
		gap: 10px;
	}
	#crop-modal-image-wrap {
		height: 45vh;
		max-height: none;
	}
}

/* ── Slider responsive ── */
@media screen and (max-width: 768px) {
	.slider-btn {
		opacity: 1;
		font-size: 24px;
	}
	.slider-btn-prev,
	.slider-btn-next {
		width: 36px;
		height: 54px;
	}
	.slider-btn-pause {
		width: 56px;
		height: 56px;
	}
	.slider-thumb-tile {
		width: 80px;
		height: 50px;
	}
	#slider-edit-panel {
		padding: 16px 4vw;
	}
}
