html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* webpage style */



/* Hide scrollbar for IE, Edge and Firefox */
html {
  scroll-behavior: smooth;
}

body {
  -ms-overflow-style: none;  /* IE and Edge */
  margin: 0;
  overflow-x: hidden;
}

*{
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}

.hero .background-image {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 0;
  left: 0;  
  z-index: -1;
  background-color: #e0e0e0;
  opacity: 0.9;
  overflow: hidden;
  min-width: 100%;
  max-height: 100%;
}


/* header and navigation */
.navbar {
  padding-top: 30px;
}

nav {
  padding-bottom: 20px;
  padding-top: 10vh;
  

  display: flex;
  float: none;
  position: absolute;
  left: 50%;
  justify-content: space-between;
  padding: 0;
  list-style: none;
  text-align: center;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0px;
  margin-bottom: 30px;
  padding-top: 40px;
  padding-bottom: 0px;
  transform: translate(-50%, -50%);

  font-family: "Karla", sans-serif;
  width: 375px;
  font-weight: 350;
}

/* .navbar .logo {
  max-width: 100%;
  max-height: 80px;
  float: left;
  padding-left: 80px;
  padding-bottom: 20px;
} */

.navbar::after {
  content: "";
  display: table;
  clear: both;
}

nav #main_nav li {
  float: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 22px;
  margin-left: 10px;
  margin-right: 30px;
  padding-top: 5px;
  
  position: relative;
}

nav a {
  display: block;
  color: rgb(0, 0, 0);
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  color: #383838;
}

nav a::before {
  content: "";
  display: block;
  border-radius: 2vw;
  height: 2px;
  background: #383838;

  position: absolute;
  bottom: -3px;
  width: 0%;

  transition: width ease-in 250ms;
}

nav a:hover::before {
  width: 100%;
}

nav li.current-page a::before {
  content: "";
  display: block;
  height: 2px;
  background: #383838;
  position: absolute;
  bottom: -3px;
  width: 100%;
}

.nav_2 {
  /* background-color: #f8f8f8; */
  padding-bottom: 20px;
  margin-top: 10vh;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
  list-style: none;
  text-align: left;
  margin-top: 0px;
  padding-top: 40px;

  max-width: 211px;
  position: fixed;
  top: 170px;
  font-family: "Karla", sans-serif;
}

.nav_2 .portfolio_nav li {
  font-size: 18px;
  position: relative;
  width: fit-content;
  
  

}



.nav_2 a {
  display: block;
  color: rgb(0, 0, 0);
  text-decoration: none;
  text-transform: uppercase;
  padding-top: 10px;
  padding-bottom: 10px;
}

.nav_2 .back-to-top {
  opacity: 0;
  animation: 1s fade-in;
  animation-delay: 1.75s;
  animation-fill-mode: forwards;
  max-width: 140px;
  display: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nav_2 #all {
  opacity: 0;
  animation: 1s fade-in;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}

.nav_2 #envi {
  opacity: 0;
  animation: 1s fade-in;
  animation-delay: 0.25s;
  animation-fill-mode: forwards;
}

.nav_2 #char {
  opacity: 0;
  animation: 1s fade-in;
  animation-delay: .5s;
  animation-fill-mode: forwards;
}

.nav_2 #anim {
  opacity: 0;
  animation: 1s fade-in;
  animation-delay: .75s;
  animation-fill-mode: forwards;
}

.nav_2 #grap {
  opacity: 0;
  animation: 1s fade-in;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}


.nav_2 a:hover {
  color: #888888;
}

.nav_2 a::before {
  content: "";
  display: block;
  border-radius: 2vw;
  height: 2px;
  background: #000000;

  position: absolute;
  bottom: 7px;
  width: 0%;

  transition: width ease-in 250ms;
}

.nav_2 a:hover::before {
  width: 100%;
}

.nav_2 li.current-page a::before {
  content: "";
  display: block;
  height: 2px;
  background: #383838;
  position: absolute;
  bottom: 7px;
  width: 100%;
}






.nav_2 .select {
  
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav_2 .select:hover {
  color: #646464;
}

.nav_2 .arrow {
  color: #646464;
}

.back-to-top {
  bottom: 200px;
  left: 100px;
  min-width: 70px;
  /* display: none; */
  color: #000000;
  text-decoration: none;
  opacity: 100%;
  transition: 0.2s ease-out;
  font-family: "Karla", sans-serif;
  text-transform: uppercase;
  font-size: 18px;
}

.back-to-top:hover {
  color: #888888;
}

.back-to-top::before {
  content: "";
  display: block;
  border-radius: 2vw;
  height: 2px;
  background: #000000;

  position: absolute;
  bottom: -3px;
  

  transition: width ease-in 250ms;
}

.back-to-top:hover::before {
  width: 100%;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  text-align: left;
  float: left;
  display: none;
  position: absolute;
  /* background-color: rgb(255, 255, 255, 0.9); */
  margin-top: 3px;
  padding-bottom: 5px;

  z-index: 1;
}

nav .dropdown-content a:hover::before {
  width: 100%;
}

nav li.dropdown-content .current-page a::before {
  content: "";
  display: block;
  height: 2px;
  background: #383838;
  position: absolute;
  bottom: -3px;
  width: 100%;
}

/* Links inside the dropdown */
.dropdown-content a {
  float:left;
  font-size: 20px;
  color: black;
  padding-top: 10px;
  text-decoration: none;
  display: block;
  margin-top: 0px;
  margin-left: 0px;
  padding-left: 0px;
  text-align: left;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
  
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}

.container {
  max-width: 90vw;
  min-height: 100vh;
  padding-top: 0px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0px;
  padding-right: 0px;
  
}

.row-1 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-top: 100px;
  padding-left: 5vw;
  padding-bottom: 100px;
  padding-right: 10vw;
  margin-top: 30px;
  min-height: 400px;
}

.column-2 {
  flex-basis: 1fr 3fr;
  
  align-items: center;
  padding-left: 20px;
  padding-right: 0px;
  text-transform: uppercase;
}

.column-2 img {
  max-width: 25vw;
  padding: 0px 0px;
  float: right;
  border-radius: 50%;
}

.column-2 h1 {
  font-size: 100px;
  line-height: 60px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 20px;
  padding-bottom: 30px;
}

.column-2 p {
  text-align: center;
  font-family: "Karla", sans-serif;
  text-transform: none;
  font-size: 20px;
  max-width: 472px;
  padding-top: 10px;
  padding-bottom: 20px;
}

.column-2 .title-2 {
  text-align: center;
  font-family: "Karla", sans-serif;
  text-transform: uppercase;
  font-size: 30px;
  max-width: 472px;
  padding-top: 30px;
  padding-bottom: 0px;
  margin: 0px;
}

/* portfolio */
.portfolio-container {
  max-width: 60vw;
  align-content: center;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  margin-bottom: 150px;
}

.all-portfolio-container {
  max-width: 60vw;
  align-content: center;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 30px;
  margin-bottom: 150px;
}

.portfolio-container header {
  max-width: 60vw;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px;
  padding-bottom: 40px;

  font-size: 100px;
  line-height: 60px;
  text-transform: uppercase;
  line-height: 90%;
}

.all-portfolio-container header {
  max-width: 60vw;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px;
  padding-bottom: 40px;

  font-size: 100px;
  line-height: 60px;
  text-transform: uppercase;
  line-height: 90%;
}

.portfolio-container img {
  max-width: 100%;
  height: auto;
  align-content: center;
  padding-bottom: 0px;
  margin-top: 0px;
}

.all-portfolio-container img {
  max-width: 100%;
  height: auto;
  align-content: center;
  padding-bottom: 0px;
  margin-top: 0px;
}

/* portfolio nav */

.portfolio-container .wrapper {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Karla", sans-serif;

  width: 100%;
  height:75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0vh;
}

.portfolio-container .portnav {
  height: 400px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: start;
}

.portnav .card {
  transform-origin: 0 0;
  width: 80px;
  border-radius: .75rem;
  background-size: cover;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2rem;
  margin: 0 10px;
  display: flex;
  align-items: flex-end;
  transition: 0.6s cubic-bezier(0.28, -0.03, 0, 0.99);
  box-shadow: 0px 10px 30px -5px rgba(0, 0, 0, 0.8);
}

.portnav .card > .row {
  color: white;
  display: flex;
  flex-wrap: nowrap;
}

.portnav .card img {
  display: flex;
  width: 100%;
  height: 100%;
}

.portfolio-container .card > .row > .description {
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  height: 400px;
  width: 700px;
  opacity: 1;
  transform: translateY(0px);
  transition-delay: 0.3s;
  transition: all 0.3s ease;
}

.description p {
  color: #e0e0e0;
  padding-top: 5px;
}

.description a {
  color: #e0e0e0;
}

.description h4 {
  font-size: 24px;
  text-transform: uppercase;
  transform: rotate(-90deg);
  align-content: center;
  position: absolute;
  margin-left: -321px;
  width: 700px;
  text-align: center;
  left: 0px;
  bottom: 50%;
  top: 50%;
}

.portfolio-container .card .open-card {
  display: block;
  position: absolute;
  bottom: 60px;
  align-content: center;
  width: 20%;
  text-align: center;
  position: absolute;
  color: #e0e0e0;
  animation: .5s arrow-slide-down;
  animation-fill-mode: forwards;
  text-decoration: none;
  left: 290px;
}

.portfolio-container .card .open-card .read-more {
  position: absolute;
  text-decoration: none;
  text-transform: uppercase;
  width: 100%;
  padding-top: 10px;
  padding-left: 5px;
  color: #e0e0e0;
}

input {
  display: none;
}

input[type="radio"]:checked + label {
  width: 700px;
  height: 400px;
  transition-duration: 1s;
}

input[type="radio"]:checked + label .description {
  opacity: 1;
  transform: translateY(0);
}

input[type="radio"]:checked:hover .card-img img{
  transform: scale(1.1);
}

.portfolio-container .card:hover .open-card {
  display: block;
  animation: .5s arrow-slide-up;
}

@keyframes arrow-slide-up {
  from {
    opacity: 0;
    bottom: 50px;
  }
  to {
    opacity: 1;
    bottom: 60px;
  }
}

@keyframes arrow-slide-down {
  from {
    opacity: 1;
    bottom: 60px;
  }
  to {
    opacity: 0;
    bottom: 50px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.back-to-top {
  position: fixed;
  bottom: 50px;
  right: 100px;
  min-width: 70px;
  color: #000000;
  text-decoration: none;
  opacity: 100%;
  transition: 0.2s ease-out;
  font-family: "Karla", sans-serif;
  text-transform: uppercase;
  font-size: 18px;

  opacity: 0%;
  animation: 1s fade-in;
  animation-delay: 1.75s;
  animation-fill-mode: forwards;
  max-width: 140px;
  display: none;
}

.back-to-top:hover {
  color: #888888;
}

.back-to-top::before {
  content: "";
  display: block;
  border-radius: 2vw;
  height: 2px;
  background: #000000;

  position: absolute;
  bottom: -3px;
  width: 0%;

  transition: width ease-in 250ms;
}

.back-to-top:hover::before {
  width: 100%;
}

/* portfolio projects */
/* .portfolio-main {
  margin-top: 137px;
} */



.portfolio-main h2 {
  max-width: 60vw;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 60px;
  padding-bottom: 20px;

  font-size: 100px;
  line-height: 60px;
  text-transform: uppercase;
  line-height: 90%;
  color: #353332;
}

.project-description {
  font-family: "Karla", sans-serif;
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
}

.portfolio-container img {
  max-width: 100%;
  height: 102%;
  align-content: center;
  padding-bottom: 0px;
  margin-top: 0px;
}

.all-portfolio-main {
  max-width: 980px;
  display: grid;
  grid-template-columns: 300px 300px 300px;
  column-gap: 40px;
  margin-left: auto;
  margin-right: auto;
}

.pfp {
  object-fit: cover;
  
  overflow-y: hidden;
  overflow-x: hidden;
  width: 300px;
  
}

.all-pfp img{
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
}

.portfolio-wrapper video {
  border-radius: 0.5rem;
}

.sub-header {
  font-family: 'Times New Roman', Times, serif;
  font-size: 30px;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0px;
  padding-top: 30px;
}

.portfolio-wrapper {
  position: relative;
  display: flex;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0);;
  background: none;
  aspect-ratio: 16 / 9;
  margin-bottom: 50px;
  
}

.anim-portfolio-wrapper {
  position: relative;
  display: grid;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0);;
  background: none;
  margin-bottom: 50px;
  max-width: 60vw;
  grid-template-columns: 1fr 1fr;
}

.esports-wrapper {
  position: relative;
  display: grid;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0);;
  background: none;
  margin-bottom: 50px;
  max-width: 60vw;
  grid-template-columns: 1fr 1fr;
}

/* RESUME SECTION */

.resume-container {
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15vw;
  padding-right: 15vw;
  margin-bottom: 150px;
}

.resume-line {
  color: #000000;
  height: 1px;
  border: 1px solid #c9bfaf;
  
}

.resume-header {
  display: grid;
  margin-top: 80px;
  margin-bottom: 30px;
  grid-template-columns: 1fr 5fr;
}

.resume-section {
  font-family: "Karla", sans-serif;
  text-align: right;
  font-size: 18px;
  color:#292929;
  font-style: italic;
  line-height: 30px;
  padding-right: 30px;
}

.resume-description p a {
  text-decoration: none;
  list-style-type: none;
  color: darkblue;
}

.resume-description {
  font-family: "Karla", sans-serif;
  text-align: left;
  font-size: 20px;
  line-height: 30px;
  padding-left: 30px;
  padding-right: 30px;
  color: #000000;
  
}

.resume-skills {
  display: grid;
  margin-top: 30px;
  margin-bottom: 30px;
  grid-template-columns: 1fr 5fr;
}

.resume-softwares {
  display: grid;
  margin-top: 30px;
  margin-bottom: 30px;
  grid-template-columns: 1fr 5fr;
}

.resume-experience {
  display: grid;
  margin-top: 30px;
  margin-bottom: 30px;
  grid-template-columns: 1fr 5fr;
}

.resume-education {
  display: grid;
  margin-top: 30px;
  margin-bottom: 30px;
  grid-template-columns: 1fr 5fr;
}

.job-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding-right: 30px;
}

.job-title {
  text-align: left;
  font-size: 22px;
  font-weight: bold;
  color: #646464;
}

.job-date {
  text-align: right;
  font-style: italic;
  color: #4a4a4a;
}

.job-description {
  font-size: 18px;
  color: #2c2c2c;
}

.education-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  padding-right: 30px;
}

.education-discipline {
  text-align: left;
  font-size: 22px;
  font-weight: bold;
  color: #646464;
}

.education-date {
  text-align: right;
  font-style: italic;
  color: #4a4a4a;
}

.school-location {
  font-size: 18px;
  color: #2c2c2c;
}


/* CONTACT PAGE */
.contact-head {
  display: grid;
  margin-top: 30px;
  margin-bottom: 50px;
  grid-template-columns: 1fr 1fr;
}

h1.contact-header  {
  text-align: center;
  font-size: 80px;
  line-height: 60px;
  margin-top: 90px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 0px;
}

h2.contact-header {
  text-align: center;
  font-size: 80px;
  line-height: 60px;
  margin-top: 0px;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 0px;
}

