/* Global styling */
* {
  margin: 0;
  padding: 0; }

html {
  font-size: 12pt;
  font-family: Montserrat;
  overflow-x: hidden; }

body {
  width: 100%;
  height: 100%;
  background: white;
  background-size: cover;
  color: black;
  overflow-x: hidden; }

section {
  padding: 4rem 0; }

a {
  text-decoration: none;
  color: #5068b8; }

p {
  font-size: 11pt;
  font-weight: 300; }

img {
  width: 100%; }

/* Resuable styles */
.container {
  width: 90%;
  max-width: 120rem;
  height: 100%;
  margin: 0 auto;
  position: relative; }

.section-heading {
  text-align: center;
  color: black;
  margin-bottom: 3rem; }

.section-heading h2 {
  font-size: 14pt;
  text-transform: uppercase;
  font-weight: 300;
  position: relative;
  margin-bottom: 1rem; }

.section-heading h2::before {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75);
  width: 18rem;
  height: 3px;
  border-radius: 2px; }

/* Header */
header {
  width: 100%;
  height: 100vh;
  background: #343434;
  filter: opacity(5);
  background-repeat: no-repeat;
  background-size: cover; }

header h1 {
  -webkit-animation: 2s ease 0s normal forwards 1 fadeIn;
  animation: 2s ease 0s normal forwards 1 fadeIn; }

header h4 {
  -webkit-animation: 3.5s ease 0s normal forwards 1 fadeIn;
  animation: 3.5s ease 0s normal forwards 1 fadeIn; }

.top-nav {
  width: 100%;
  height: 100vh;
  position: fixed;
  top: -100vh;
  z-index: 50;
  background-image: linear-gradient(to bottom right, #343434, #585858);
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 100%;
  transition: all 700ms cubic-bezier(1, 0, 0, 1); }

.nav-list {
  list-style: none;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center; }

li {
  margin: 12px; }

.nav-link {
  font-size: 20pt;
  padding: 10px;
  color: white; }

.nav-link:hover, .nav-link:focus {
  background: #cecece;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; }

.top-nav.open {
  top: 0;
  border-radius: initial; }

.menu-toggle {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 48px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1500;
  transition: transform 700ms ease-out; }

.menu-toggle.open {
  transform: rotate(-45deg); }

.bar {
  background: white;
  width: 100%;
  height: 4px;
  border-radius: 8px; }

.bar.start {
  transform-origin: right;
  transition: transform 700ms cubic-bezier(0.55, -0.8, 0.6, 0.6); }

.open .bar.start {
  transform: rotate(-90deg) translateX(8px) translateY(-24px); }

.bar.end {
  align-self: flex-end;
  transform-origin: left;
  transition: transform 700ms cubic-bezier(0.55, -0.8, 0.6, 0.6); }

.open .bar.end {
  transform: rotate(-90deg) translateX(-8px) translateY(24px); }

.landing-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 1; }

.landing-text h1 {
  font-size: 64pt;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 10px;
  user-select: none; }

.landing-text h4 {
  font-size: 20pt;
  font-weight: 300;
  color: #7e7e7e; }

/* About */
.about-me .container {
  display: flex;
  align-items: center;
  justify-content: center; }

#about-heading h2 {
  font-size: 40pt;
  opacity: 0.3;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 4rem; }

.profile-pic {
  flex: 1;
  margin-left: 2rem; }

.profile-pic img {
  width: 70%;
  height: auto;
  box-shadow: 4px 4px 7px #b8b8b8; }

.about-content {
  flex: 1;
  line-height: 1.5rem; }

/* Skills */
.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  grid-gap: 2rem;
  text-align: center; }

.skill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.5rem; }

.skill h2 {
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 1rem, -2px, 1rem, 0; }

.icon-container {
  width: 4rem;
  height: 4rem;
  background-color: white;
  margin-bottom: 1rem;
  display: flex; }

.icon-container i {
  color: grey;
  font-size: 40pt;
  margin: auto;
  transform: rotate(-45deg); }

/* Projects */
.project {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem; }

.project:last-child {
  margin-bottom: 2rem; }

.project-pic {
  flex: 1;
  margin-right: 4rem; }

.project-demo-link {
  line-height: 2rem; }

.project-desc {
  flex: 1; }

.project-desc h4 {
  font-size: 20pt;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.3; }

.project-desc h2 {
  font-size: 40pt;
  font-weight: 300;
  margin: 1rem 0; }

.project-desc .cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 16pt;
  text-transform: uppercase;
  color: #FCA5F1;
  transition: color 700ms; }

.project-desc .cta:hover {
  color: #679fe4; }

/* Interests */
.photography {
  display: flex;
  align-items: center;
  justify-content: center; }

.lightwidget {
  width: 30%;
  margin-right: 2rem;
  margin-top: 2rem; }

.sports {
  display: flex;
  align-items: center;
  justify-content: center; }

.interest-text h2 {
  font-size: 20pt; }

.interest-text p {
  font-size: 12pt; }

/* Contact */
.contact {
  background-color: white; }

.icons {
  margin-top: 3rem; }

.icons i {
  font-size: 4rem;
  transition: color 700ms; }

.fa-envelope:hover {
  color: #2e2e2e; }

.fa-github:hover {
  color: #2e2e2e; }

.fa-linkedin-in:hover {
  color: #2e2e2e; }

/* Footer */
.copyright {
  width: 100%;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  position: relative; }

.up {
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: #eee;
  top: -1rem;
  right: 3rem;
  border-radius: 100%;
  display: flex;
  animation: pulse 2s infinite;
  cursor: pointer; }

.up i {
  color: #545454;
  font-size: 1rem;
  margin: auto; }

.copyright p {
  font-size: 12pt;
  color: #545454; }

/* Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(126, 126, 126, 0.9); }
  70% {
    box-shadow: 0 0 0 1rem rgba(252, 158, 255, 0); }
  100% {
    box-shadow: 0 0 0 0 rgba(252, 158, 255, 0); } }

@keyframes fadeIn {
  0% {
    opacity: 0; }
  66% {
    opacity: 0; }
  100% {
    opacity: 1; } }

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0; }
  66% {
    opacity: 0; }
  100% {
    opacity: 1; } }

/* Media Queries */
@media screen and (max-width: 768px) {
  body {
    width: 100%;
    height: 100%;
    background: url("") no-repeat center fixed;
    background-size: cover; }
  .landing-text h1 {
    font-size: 80pt; }
  .landing-text h4 {
    font-size: 15pt; }
  .top-nav .nav-list {
    flex-direction: column; }
  li {
    margin: 1rem 0; }
  .nav-link {
    font-size: 36pt; }
  .about-heading h2 {
    font-size: 28pt; }
  .section-heading h2 {
    font-size: 20pt; }
  .about-content .nav-list {
    flex-direction: initial; }
  .about-content li {
    margin: 0 1rem; }
  .icon-container {
    width: 5rem;
    height: 5rem; }
  .icon-container i {
    font-size: 36pt; }
  .photography {
    display: flex;
    flex-direction: column; }
  .lightwidget {
    width: 80%;
    justify-content: center; }
  .interest-text {
    justify-content: center;
    margin-top: 1rem; }
  .icons i {
    margin: 1rem; }
  .up {
    right: 2rem; }
  .vanta {
    display: none; } }

@media screen and (max-width: 600px) {
  .menu-toggle {
    top: 1rem;
    right: 1rem; }
  .landing-text h1 {
    font-size: 60pt; }
  .landing-text h4 {
    font-size: 12pt; }
  .nav-link {
    font-size: 28pt; }
  #about-heading {
    line-height: 4rem; }
  .about-me .container {
    flex-direction: column; }
  .profile-pic {
    margin: 0 0 4rem 6rem; }
  .project {
    flex-direction: column; }
  .project img {
    justify-content: center; }
  .photography {
    display: flex;
    flex-direction: column; }
  .lightwidget {
    width: 80%;
    justify-content: center; }
  .interest-text {
    justify-content: center;
    margin-top: 1rem; } }
