.banner {
	background-image:  url("../img/bgbanner.png");
	width: 100%;
	overflow-y: auto;
	height:  485px;
	display:  flex;
	gap:  20px;
	padding:  0 20px 0 20px;
    background-repeat-y: no-repeat;
}

.pointer {
	cursor: pointer;
}

a, a:visited {
	color:  #fff;
}

.logo-box, .nav-box {
	flex:  1;
	display:  flex;
	flex-direction: column;
	justify-content: start;
	margin-top:  100px;
	align-items: center;
}

.logo img {
	max-width: 100%;
	min-width: 200px;
}

.nav-bar, .socials {
	display:  flex;
	justify-content: space-between;
}

.nav-bar a, .socials a {
	flex:  1;
	margin: 10px;
}

body {
	background-color: #202b2a;
	color:  #ffffff;
	font-family: Sans-Serif;
	overflow-x:  hidden;
}

.content {
	display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    gap: 18px;
    margin-top: -75px;
}

.content .row {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin:  0 18px;
}

.content .row .column {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.content .row img, .content .header img {
	max-width: 100%;
}

.footer {
	display: flex;
	flex-direction: column;
	width:  100%;
    align-items: center;
    gap:  2px;
    margin: 30px 0 0 0;
}

.footer div {
	flex: 1;
}

.footer a {
	color: #fff;
}

.footer .name {
	font-weight: bold;
}

.thumbnail {
	cursor: zoom-in;
}

.preview {
	display: none;
	position: fixed;
	z-index: 9999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat no-repeat;
	background-position: center center;
	background-color: rgba(0,0,0,0.85);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.preview .preview-img {
	max-height: calc(100% - 140px);
	background-color: #000000;
}

.preview .preview-img img {
	max-width: 100%;
	max-height: 100%;
	display: block;
	margin:  auto;
}

.preview .description {
	text-align: center;
}

.resume {
	display: flex;
	gap: 30px;
	margin-left: 30px;
    margin-right: 30px;
}

.resume .sidebar {
	display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 15px;
}

.resume .resume-content {
	display: flex;
    flex-direction: column;
    gap: 25px;
}

.resume .header {
	margin-top: 20px;
	font-size: 30px;
    font-weight: bold;
    background-image: url("../img/resume/divider.png");
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: bottom;
    padding-bottom: 20px;
}

.profile img {
	max-width: 100%;
	min-width: 150px;
}

.text {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width:  1064px;
}

.text span {
	margin-left: 10px;
}

.column-list {
	display: flex;
}

.column-list div {
	flex: 1;
}

.resume .decoration {
	margin-top: -700px;
	max-width: 1189px;
	z-index: -9999;
}

.decoration-img {
	float: right;
}

.education.text {
    width: calc(100% - 200px);
}

.resume .decoration-footer {
	display: none;
	justify-content: center;
}

.resume .decoration-footer img {
	max-width: 80%;
}

.resume .listing {
	display: flex;
	flex-wrap:  wrap;
	flex-direction: column;
}

.resume .listing span {
	flex:  1;
}

.resume .listing span:first-child {
	font-weight: bold;
}

/* Small screens */
@media all and (max-width: 1570px) {
  .nav-bar {
   flex-direction: column;
  }

  .logo-box {
  	flex: 2;
  }


}

/* Adjusting width to handle subcolumn gaps */
@media all and (max-width: 1280px) {
	.content .row .column {
		gap:  10px;
	}

	.resume .sidebar img {
    	width: 200px;
	}

	.decoration img {
		width: 145px;
	}

	.resume .decoration {
		margin-top:  -588px;
	}
}

@media all and (max-width:  1024px) {
	.resume .decoration {
		display:  none;
	}

	.resume .decoration-footer {
		display: flex;
	}

	.education.text {
	    width: unset;
	}
}

/* Smallest screens */
@media all and (max-width: 800px) {
	.banner {
		flex-direction: column;
		justify-content: start;
		gap: 0px;
	}

	.logo img {
		width: 360px;
	}

	.nav-bar img {
		height: 28px;
	}

	.socials img {
		height:  30px;
	}

	.logo-box {
		flex:  1;
	}

	.nav-box {
		flex:  4;
	}

	.logo-box, .nav-box {
		margin-top:  30px;
	}

	.content .row .column {
		gap:  5px;
	}

	.resume .sidebar img {
    	width: 150px;
	}

	.decoration img {
		width: 100px;
	}

	.resume .decoration {
		margin-top:  -388
	}
}