@font-face {	
	font-family: charter;
	font-style: normal;
	font-weight: normal;
	font-stretch: normal;
	src: url('/fonts/charter_regular.woff2') format('woff2');
}

@font-face {	
	font-family: charter;
	font-style: italic;
	font-weight: normal;
	font-stretch: normal;
	src: url('/fonts/charter_italic.woff2') format('woff2');
}

@font-face {	
	font-family: charter;
	font-style: normal;
	font-weight: bold;
	font-stretch: normal;
	src: url('/fonts/charter_bold.woff2') format('woff2');
}

@font-face {	
	font-family: charter;
	font-style: italic;
	font-weight: bold;
	font-stretch: normal;
	src: url('/fonts/charter_bold_italic.woff2') format('woff2');
}

:root {
	--background: #f1f1f1;
	--highlight: #111;
	--highlight-soft: rgba(0, 0, 0, 0.2);
	--highlight-super-soft: rgba(0, 0, 0, 0.05);
	/*
	--highlight: red;
	--highlight-soft: rgba(255, 0, 0, 0.2);
	--highlight-super-soft: #fff4f4;
	--desktop: 768px;
	*/
}


body {
	font-family: "mala", serif;
  	font-optical-sizing: auto;
    line-height: 1.5;
	font-weight: 400;
	font-size: min(max(16px, 2vw), 20px);
	word-wrap: break-word;
	font-kerning: normal;
	font-feature-settings: "kern", "liga", "clig", "calt";
	text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;

	background: #fefff8;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
}

input, button, textarea, select {
	font: inherit;
}

p {
	margin-bottom: 2rem;
}

a {
	color: var(--highlight);
}


.wrapper {
	max-width: 800px;
	margin: 0 auto;
}

.header {
	margin-top: 4rem;
	text-align: center; 
}

.main {
	display: flex;
	flex-direction: column;
	height: 100vh;
	margin: 0 1.5rem;
}

.footer {
	border-top: 1px solid var(--highlight);
	font-size: 0.9rem;
	color: #666;
	margin-top: 6rem;
}

.contact {
	display: flex;
	flex-direction: column;
	padding: 2rem 0;
	border-top: 1px solid var(--highlight);
	border-bottom: 1px solid var(--highlight);
	margin-bottom: 2rem;
	row-gap: 1.5rem;
}


@media screen and (min-width: 768px) {
  .contact {
    flex-direction: row;
	justify-content: space-between;
	align-items: center;
  }
}


.resume-button {
	text-decoration: none;
	padding: .5rem .8rem;
	color: white;
	background-color: var(--highlight);
	border-radius: 6px;
	text-align: center;
	font-weight: 600;
}

.logo {
	height: 5rem;
	width: auto;
	margin-top: 2rem;
	margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {
	.logo {
		margin-top: 6rem;
	}
}

.content {
	flex-grow: 1;
	margin-top: 1rem;
}

.cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 2rem;
}

.heading {
	text-align: center;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.footer {
	margin-top: 6rem;
	padding-top: 1rem;
	padding-bottom: 0.5rem;
	border-top: 1px solid var(--highlight);
}

 .drop-area {
	width: 400px;
	height: 200px;
	border: 2px dashed #ccc;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Arial, sans-serif;
	color: #666;
	transition: border-color 0.3s ease;
	cursor: pointer;
}

.drop-area.drag-over {
	border-color: #007bff;
	background-color: #f8f9fa;
}

.file-input {
	display: none;
}

.upload-status {
	margin-top: 20px;
	font-family: Arial, sans-serif;
}

.progress-bar {
	width: 100%;
	height: 20px;
	background-color: #f0f0f0;
	border-radius: 10px;
	margin-top: 10px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background-color: #007bff;
	width: 0%;
	transition: width 0.3s ease;
}

.file-list {
	margin-top: 20px;
	border: 1px solid #ddd;
	border-radius: 8px;
	max-height: 300px;
	overflow-y: auto;
}

.file-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px;
	border-bottom: 1px solid #eee;
	font-family: Arial, sans-serif;
}

.file-item:last-child {
	border-bottom: none;
}

.file-info {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.file-name {
	font-weight: 500;
	margin-bottom: 2px;
}

.file-size {
	font-size: 0.8em;
	color: #666;
}

.file-status {
	font-size: 0.8em;
	margin-left: 10px;
}

.file-status.pending {
	color: #666;
}

.file-status.uploading {
	color: #007bff;
}

.file-status.success {
	color: #28a745;
}

.file-status.error {
	color: #dc3545;
}

.remove-file {
	background: #ff4757;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 4px 8px;
	cursor: pointer;
	font-size: 0.8em;
}

.remove-file:hover {
	background: #ff3838;
}

.upload-button {
	background: #007bff;
	color: white;
	border: none;
	border-radius: 8px;
	padding: 12px 24px;
	font-size: 16px;
	cursor: pointer;
	margin-top: 20px;
	font-family: Arial, sans-serif;
}

.upload-button:hover {
	background: #0056b3;
}

.upload-button:disabled {
	background: #6c757d;
	cursor: not-allowed;
}

.hidden {
	display: none;
}


.table {
	border-collapse: collapse;
	display: none;
}


@media screen and (min-width: 768px) {
  .table {
	display: inherit;
  }
}

.table.full {
	width: 100%;
}

.table th {
	text-align: left;
	font-size: 1rem;
	padding-bottom: .2rem;
	font-weight: 600;
}

.table > tbody td {
	border-top: 1px solid var(--highlight-soft);
	font-size: 1rem;
}

.table > thead th:not(:first-child) {
	padding-left: 2rem;
}

.table > tbody td:not(:first-child) {
	padding-left: 2rem;
}


.table td.numeric {
	text-align: right;
}

.table > caption {
	text-align: left;
	font-weight: 600;
	font-size: 1rem;
	margin-bottom: 0.6rem;
}


.mobile-table {
}

.mobile-table-title {
	margin-bottom: .5rem;
	font-weight: 600;
}

@media screen and (min-width: 768px) {
  .mobile-table {
	display: none;
  }
}


.position {
	position: relative;
	display: table;
	width: 100%;
	padding-left: 1.35rem;
	padding-top: 1.65rem;
	padding-right: 1rem;
	padding-bottom: 1rem;
	background-color: var(--highlight-super-soft);
	border-radius: 4px;
}

.position-row {
	display: table-row;
}

.position-cell {
	display: table-cell;
}

.position-cell:first-child {
	font-weight: 600;
	padding-right: .5rem;
}

.position-rank {
	position: absolute;
	top: 0;
    background: var(--highlight);
    font-weight: bold;
    line-height: 1;
    color: white;
    padding: 0.15rem 0.35rem;
}

.my-table {
  display: table;
  width: 100%;
}

.my-row {
  display: table-row;
}

.my-cell {
  display: table-cell;
  padding: 10px;
  border: 1px solid #ccc;
  vertical-align: middle; /* Example of using table-cell features */
}

