/*------------- CSS RESET CODE -------------*/
html {
  font-family: 'El Messiri', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  /*so that can use % for heights*/
  -webkit-font-smoothing: antialiased;
  /* better contrast for fonts*/
  text-align: center;
  color: var(--text-color-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

p {
  overflow-wrap: break-word;
  hyphens: auto;
  /*use hypen on broken words*/
  line-height: 2.3;
  letter-spacing: 1.5px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}



/* CSS GLOBAL VARIABLES */
:root {
  /* background colors */
  /* --background-primary: #161616;
  --background-light: #3d3d3d; */
  --background-primary: #0d0d0d;
  --background-light: #2c2b2b;
  --background-blue: #f2f9fa;
  /* buttons */
  --btn-primary: #04bdcf;
  --btn-secondary: #fff;
  --btn-box-shadow: 13px 16px 21px 0px #8bf5ff inset, 1px 2px 5px white;
  --btn-secondary-box-shadow: -3px -3px 7px #ffffff, 3px 3px 5px #ceced1, inset -3px -3px 7px #ffffff, inset 3px 3px 5px #ceced1, 13px 16px 21px 0px #e2eeef inset, 1px 2px 5px white;
  --btn-border: solid white 2px;
  /* text properties */
  --text-color-primary: white;
  --text-color-secondary: black;
  --text-color-tertiary: #dfe7e7;
  --text-box-shadow: inset 0 0 22px 0 var(--btn-primary);
  --cards-box-shadow: 0 0 22px 0 var(--btn-primary);
  /* nav bar */
  --nav-height: 5vw;
  /* ghost */
  --ghost-width: 24%;
  /* animation times */
  --header-ghost-time: 900ms;
  --ghost-float-time: 2.1s;
  --fade-in-time: 1.5s;
  --slide-in-time: 700ms;
  --slide-in-delay: 200ms;
}

h1 {
  font-size: 3.7vw;
  letter-spacing: 0.2rem;
  line-height: 1.8;
  font-weight: 400;
  width: 100vw;
  text-align: center;
  margin-bottom: 8%;
  font-family: 'Kaushan Script', cursive;
}

h2 {
  font-size: 2.3vw;
  letter-spacing: 0.4rem;
  margin-bottom: 6%;
  padding: 0 5%;
  font-family: 'El Messiri', sans-serif;
  font-weight: 400;
}

a {
  color: inherit;
}


.slide-up-on-scroll {
  opacity: 0;
}

.slide-up {
  -webkit-animation: slide-up 700ms ease-in-out forwards;
  -moz-animation: slide-up 700ms ease-in-out forwards;
}

.container-inner {
  width: 88%;
  /* max-width: 1519px; */
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
}

.btn {
  background: var(--btn-primary);
  box-shadow: var(--btn-box-shadow);
  border-radius: 5rem;
  border: var(--btn-border);
  font-family: 'El Messiri', sans-serif;
  font-size: 1.3vw;
  letter-spacing: 1.1px;
  font-weight: bold;
  color: var(--text-color-secondary);
}

.btn:hover {
  cursor: pointer;
  background: white;
}

/*------------- NAV BAR -------------*/
nav {
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 5vw;
  max-height: 70px;
  min-height: 50px;
  background: #161616eb;
  box-shadow: var(--btn-primary) 0 6px 15px -3px;
  border-radius: 1.2rem;
  z-index: 99;
}

.logo {
  margin-left: 2%;
  width: 4%;
  height: auto;
  max-height: 90%;
  display: flex;
  align-items: center;
}
.logo:hover{
  box-shadow: none;
  padding: 0;
}

.logo img{
  max-height: 60px;
  min-width: 40px;
}


.left-adj {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

nav li {
  list-style: none;
  display: inline-block;
  padding: 1% 20px;
}

nav a {
  text-decoration: none;
  color: var(--text-color-primary);
  font-family: 'El Messiri', sans-serif;
  font-weight: 400;
  font-size: 1.3rem;
  font-size: max(1.3vw, 17px);
  letter-spacing: 3px;
  transition: all 0.2s;
}

nav a:hover {
  font-weight: 600;
  box-shadow: var(--btn-box-shadow);
  box-shadow: 1px 1px 15px white inset, 1px 1px 15px var(--btn-primary) inset, 1px 1px 1px white;
  padding: min(2vw, 30px) 1.8vw;
}

nav .nav-socials:hover {
  color: gray;
  box-shadow: none;
  padding: 0;
}

.nav-left, .nav-right {
  height: var(--nav-height);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 20px 0 7px;
  margin: 0 3px;
}

.nav-right {
  font-size: .5
}

.nav-right li .icon {
  color: var(--text-secondary);
  font-size: min(2.6vw, 28px);
  line-height: 1.7;
}

.hamburger {
  display: none;
}

.hamburger span {
  transition: all 100ms ease-in-out;
}

.x:nth-of-type(1) {
  transition: all 100ms ease-in-out;
  transform: translate(0, -40%) rotate(45deg);
  transform-origin: top left;
}

.x:nth-of-type(2) {
  transition: all 100ms ease-in-out;
  transform-origin: center;
  width: 0;
}

.x:nth-of-type(3) {
  transition: all 100ms ease-in-out;
  transform-origin: bottom left;
  transform: rotate(-45deg);
}

.section {
  width: 100%;
  padding-bottom: 2%;
  height: auto;
}

/*------------- HEADER -------------*/
#header {
  max-height: 685px;
  aspect-ratio: 18/8;
  background: linear-gradient(360deg, var(--background-primary) 5%, var(--background-light) 100%);
}

#header .container-inner {
  width: 95%;
}

#header h1 {
  width: 90%;
  box-shadow: none;
  letter-spacing: 5px;
}

.header-inner {
  padding-top: calc(var(--nav-height) + 1.3%);
  justify-content: center;
}

.header-left, .header-center, .header-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-left {
  width: 30%;
}

.header-center {
  width: 40%;
  max-width: 675px;
  align-items: center;
  position: relative;
}

.header-right {
  width: 30%;
}

.header-heading {
  -webkit-animation: fade-in var(--fade-in-time) ease-in forwards;
  -moz-animation: fade-in var(--fade-in-time) ease-in forwards;
  -webkit-animation-delay: var(--header-ghost-time);
  -moz-animation-delay: var(--header-ghost-time);
  opacity: 0;
  margin-left: 0;
  margin-right: 0;
}

.hi {
  margin-right: 8%;
  margin-left: 6%;
}

.developer {
  margin-left: 8%;
  margin-right: 6%;
  padding-top: 15%;
}

.contact-btn {
  width: 42%;
  padding: 3%;
  align-self: center;
  transition: all 0.2s;
  opacity: 0;
  -webkit-animation: fade-in var(--fade-in-time) ease-in forwards;
  -moz-animation: fade-in var(--fade-in-time) ease-in forwards;
  -webkit-animation-delay: var(--header-ghost-time);
  -moz-animation-delay: var(--header-ghost-time);
}

.circle {
  width: 100%;
  aspect-ratio: 1/1;
  background: linear-gradient(274deg, #ff00c8, #2ce5e5, #387df1);
  box-shadow: inset 20px 18px 29px white, 20px 18px 80px black, 5px 5px 40px black inset;
  border-radius: 50%;
  /* slide right to left */
  /* -webkit-animation: slide-in-sketch calc(var(--header-ghost-time) + 0.2s); */
  /* -moz-animation: slide-in-sketch calc(var(--header-ghost-time) + 0.2s); */
  /* fade in */
  opacity: 0;
  -webkit-animation: fade-in var(--fade-in-time) ease-in forwards;
  -moz-animation: fade-in var(--fade-in-time) ease-in forwards;
  -webkit-animation-delay: var(--header-ghost-time);
  -moz-animation-delay: var(--header-ghost-time);
}

.sketch {
  transform: translate(-55%, 25.8%);
  position: absolute;
  width: 78%;
  height: auto;
  opacity: 0.8;
/* 18, 83 */
/*17.6 85*/
}


@keyframes opacityTransition {
  0% {
    opacity: 0.2;
  }
  100% {
    opacity: 1;
  }
}

.opaque {
  animation: opacityTransition 2.1s;
}

.opaque:hover{
  opacity: 1;
}

/*------------- GHOST -------------*/
.ghost {
  aspect-ratio: 1/1;
  position: absolute;
  top: 15%;
  left: 3%;
  opacity: 0;
}

.ghost-slide-in {
  -webkit-animation: slide-ghost var(--header-ghost-time) linear forwards;
  -moz-animation: slide-ghost var(--header-ghost-time) linear forwards;
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
}

.ghost-body {
  width: 85%;
  height: 85%;
  background-color: white;
  border-radius: 50%;
  -moz-animation: float-body var(--ghost-float-time) ease-in-out infinite;
  -webkit-animation: float-body var(--ghost-float-time) ease-in-out infinite;
  animation: float-body var(--ghost-float-time) ease-in-out infinite;
  animation-delay: 0.1s;
  position: absolute;
  left: 7.5%;
  z-index: 1;
  opacity: 0.98;
}

.ghost-arm-left, .ghost-arm-right {
  width: 16%;
  height: 16%;
  background: white;
  border-radius: 50%;
  margin-top: 41%;
  z-index: -1;
  -webkit-animation: float-arms var(--ghost-float-time) ease-in-out infinite;
  -moz-animation: float-arms var(--ghost-float-time) ease-in-out infinite;
  -webkit-animation-delay: 0.4s;
  -moz-animation-delay: 0.4s;
}

.ghost-arm-left {
  float: left;
}

.ghost-arm-right {
  float: right;
}

.ghost-mouth {
  width: 45%;
  margin-top: 6%;
  visibility: hidden;
  opacity: 0.8;
}

.eye-container {
  width: 100%;
  margin-top: 20%;
}

.eye {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  width: 2vw;
  max-width: 23%;
  aspect-ratio: 1/1;
  background: #ebebeb;
  margin-left: 1.5%;
  margin-right: 1.5%;
  border: 0.5px solid #ebebeb;
  background-image: url("/images/pupil.webp");
  background-position: top;
  background-repeat: no-repeat;
  background-size: 60%;
}

.ghost-color {
  transition: all 1s;
  background: ghostwhite;
}

/* GHOST CONTACT */
.fixed-ghost {
  position: fixed;
  left: 87%;
  top: 77%;
  opacity: 1;
  height: 10vw;
  z-index: 2;
  -webkit-animation: fly-to-contact 1.5s linear;
  -moz-animation: fly-to-contact 1.5s linear;
}

/*------------- ABOUT ME -------------*/
#about {
  background: var(--background-primary);
}

#about .container-inner {
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  width: 60%;
  height: auto;
  font-size: 1.4vw;
  padding-top: 8%;
}

#about h1{
  margin-top: 0;
}

#about h2 {
  margin-bottom: 9%;
  margin-top: 0;
  padding: 0;
  padding-top: 2%;
  align-self: flex-start;
}

#about h2:nth-of-type(1), #about h2:last-of-type {
  margin-bottom: 5%;
}

#about h3 {
  margin-top: 0;
  color: var(--btn-primary);
  font-size: 1.8vw;
}

#about h1, #contact h1 {
  font-family: 'El Messiri', sans-serif;
  width: 93vw;
  border-radius: 10rem;
  align-self: center;
  box-shadow: var(--text-box-shadow);
}

.about-img {
  width: 20%;
  height: auto;
  border-radius: 50%;
  border: solid white 5px;
  background-color: white;
}

.about-component {
  margin-bottom: 8%;
}

.about-component:last-child {
  margin-bottom: 0;
}

.about-component:nth-of-type(2n) img {
  float: right;
  margin-right: 0;
  margin-left: 5%;
}

.about-component:nth-of-type(2n+1) img {
  float: left;
  margin-right: 5%;
  margin-left: 0;
}

#about .education-table {
  padding-left: 0;
  margin-bottom: 3.5%;
}

#about .education-table li {
  width: 29%;
  font-size: 1.2vw;
  margin-bottom: 2%;
  margin-right: 2.3%;
  font-style: italic;
  list-style: circle;
}

#about .education-heading {
  margin-top: 8%;
}

/*------------- CONTACT -------------*/
#contact {
  background: linear-gradient(360deg, var(--background-light) 5%, var(--background-primary) 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

.contact-left, .contact-right {
  height: 100%;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
}

.contact-left {
  width: 50%;
}

.contact-right {
  width: 50%;
}

#contact li .icon {
  font-size: 2.5vw;
}

#contact a {
  text-decoration: none;
  color: var(--text-color)
}

.form {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
  margin-top: 3%
}

.form input, .form textarea {
  margin: auto;
  width: 95%;
  border-radius: 0.6rem;
  font-size: 1.3vw;
  letter-spacing: 1.1px;
  background: #fbfeff;
  padding: 1.5% 1%;
  margin-bottom: 3%;
  font-family: 'El Messiri', sans-serif;
}

.submit-btn {
  margin: auto;
  margin-top: 5%;
  -webkit-animation: none;
  -moz-animation: none;
  opacity: 1;
  width: 27%;
  padding: 1.9%;
  letter-spacing: 2px;
}

/* modal message */
.modal-container {
  position: fixed;
  height: 100%;
  width: 100%;
  background-color: #000000B2;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 3;
}

.modal-msg {
  position: fixed;
  width: 30vw;
  max-width: 390px;
  height: auto;
  top: 50%;
  left: 50%;
  margin-left: -15vw;
  margin-top: -7vw;
  color: var(--text-color);
  font-size: max(1.3vw, 17px);
  letter-spacing: 1px;
  line-height: 1.5;
  background-color: var(--offwhite-dark);
  border-radius: 2rem;
  z-index: 3;
  padding: 2%;
  background: var(--btn-primary);
}

.modal-icon {
  padding: 5% 0;
}

/*------------- CONTACT -------------*/
.contact-intro, .contact-info, .contact-socials {
  font-size: 1.8vw;
  letter-spacing: 2px;
  line-height: 2.2;
  text-align: left;
  margin-top: 4%;
}

.contact-socials {
  margin-left: 18%;
  margin-top: 0;
  font-size: 4vw;
}

#contact li {
  width: 100%;
}

.icon {
  color: var(--btn-primary);
  margin: 3%;
}

.icon-github-circled {
  margin-left: 3%;
}

.contact-socials .icon:hover {
  background: var(--background-light);
  opacity: 0.5 !important;
}

#contact .contact-info span {
  position: relative;
  left: 7%;
}

.contact-info {
  list-style: none;
  padding: 0;
  width: 75%;
  margin: auto;
}

.beautiful {
  font-family: 'Kaushan Script', cursive;
}

#contact h1 {
  margin-top: 5%;
  margin-bottom: 3%;
}

/*------------- FOOTER -------------*/
.footer-container {
  position: relative;
  background: var(--background-primary);
}

footer {
  margin: 0;
  padding: 1.7% 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  font-size: 1.3vw;
  justify-content: space-around;
}

.index-footer footer {
  width: 85%;
}

.scroll-up-arrow {
  width: 7%;
  max-width: 100px;
  height: auto;
  aspect-ratio: 1/1;
  background: var(--background-primary);
  border-radius: 50%;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -40%);
  z-index: 2;
}

.up-arrow {
  text-decoration: none;
  color: white;
  font-size: 3vw;
  font-weight: bold;
}

footer ul {
  padding: 0;
}

.footer-left, .footer-center, .footer-right, .footer-email {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  color: var(--text-color-tertiary);
  list-style: none;
  z-index: 5;
}

.footer-left {
  width: 20%;
}

.footer-center {
  width: 30%;
}

.footer-right {
  width: 10%;
  font-size: 2vw;
}

.footer-email {
  width: 15%;
}

.footer-left a, .footer-center a, .footer-right a, .footer-email {
  text-decoration: none;
  color: var(--text-color-tertiary);
}

.footer-center a:hover, .footer-right a:hover {
  color: gray;
}


/* PORTFOLIO & EDUCATION HISTORY*/
.portfolio, .education-history {
  color: black;
}

.portfolio h1, .education-history h1 {
  box-shadow: none;
  margin-bottom: 4%;
  /* margin-top: calc(var(--nav-height)+100px); */
  margin-top: 7%;
  font-weight: 900;
}

.portfolio h1 {
  margin-top: 7%;
}

.portfolio h2 {
  margin-bottom: 2%;
  margin-top: 0;
  padding: 0;
  font-weight: 500;
}

.portfolio .project-title {
  font-weight: 900;
}

.portfolio p, .technologies li, .education-history p {
  font-size: 1.4vw;
}

.portfolio .container-inner, .education-history .container-inner {
  display: flex;
  flex-direction: column;
  height: auto;
  text-align: center;
  border-radius: 1rem;
  padding: 3%;
  border: solid 3px var(--background-blue);
  box-shadow: var(--cards-box-shadow);
}

.portfolio .container-inner:last-of-type {
  margin-bottom: 7%;
}

.portfolio .btn {
  box-shadow: var(--btn-secondary-box-shadow);
  background: var(--btn-secondary);
}

.project-top {
  width: 100%;
  height: auto;
  margin-bottom: 4%;
}

.project-center {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
}

.project-bottom {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.screencast {
  width: 60%;
  height: auto;
  float: right;
}

.laptop {
  height: auto;
  width: 100%;
}

.laptop-gif {
  position: absolute;
  top: 8.4%;
  left: 12.7%;
  width: 74.4%;
  height: 77.6%;
  z-index: -1;
}

.phone-gif {
  position: absolute;
  top: 6%;
  left: 25.2%;
  height: 88.5%;
  width: 49.3%;
  z-index: -1;
  border-radius: 1rem;
}

.screencast-phone {
  height: auto;
  width: 50%;
  float: right;
  text-align: center;
}

.phone {
  width: 54%;
}

.technologies {
  width: 100%;
  text-align: center;
  height: auto;
  background: var(--background-blue);
  border-radius: 10rem;
  margin-bottom: 3%;
  padding: 2%;
}

.technologies-table, .education-table {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-left: 13%;
  line-height: 1.5;
}

.technologies-table li, .education-table li {
  width: 20%;
  text-align: left;
  margin: 0 2%;
  word-break: break-word;
  font-family: 'Montserrat', sans-serif;
}

.description {
  width: 100%;
  text-align: left;
  margin-right: 5%;
}

.center-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.center-text {
  text-align: left;
  width: 100%;
  height: auto;
}

.my-role {
  text-align: center;
  margin-bottom: 5%;
}

.center-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 100%;
  height: auto;
  border: none;
  text-align: center;
}

.center-links .btn {
  margin: 5% 20%;
  border: none;
  width: 45%;
  padding: 3%;
}

.links-container {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30%;
}

iframe {

  height: auto;
  min-height: 200px;
}

.project-bottom {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.project-bottom img {
  width: 30%;
}

hr {
  border: dotted #84a2a5 6px;
  border-bottom: none;
  width: 3%;
  margin: 5% auto;
  border-width: 15px;
}

.education-history h2 {
  font-weight: 900;
  margin-top: 8%;
  margin-bottom: 6%;
}

.education-history h3 {
  font-family: 'Montserrat', sans-serif;
  width: 75%;
  align-self: center;
  font-weight: 500;
  font-size: 1.7vw;
}

.education-history h4 {
  color: var(--btn-primary);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4vw;
  font-weight: 500;
  margin-top: 0;
}

.education-history .container-inner {
  box-shadow: none;
  border: none;
  padding-top: 0;
  margin-bottom: 7%;
}

.course-component {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: solid 3px var(--background-blue);
  border-radius: 2rem;
  margin-bottom: 2%;
}

.course-info {
  width: 92%;
  align-self: center;
}

.arrow {
  position: absolute;
  left: 2.5vw;
  top: 1.7vw;
  font-size: 1.6vw;
  font-weight: 600;
  background: none;
  border: none;
  color: gray;
}

.degree {
  font-weight: 600;
  padding-left: 2%;
  padding-right: 2%;
}

/* ============================================================================= */
/*------------- MEDIA QUERIES -------------*/
/* ============================================================================= */
@media(min-width: 1800px){
  .header-center{
    max-width: 789px;
    width: 35%;
  }

  #header{
    max-height: 800px;
  }
}

@media (max-width: 800px) {

  /* MODAL */
  .modal-msg {
    width: 240px;
    height: auto;
    margin-left: -120px;
    margin-top: -100px;
    padding: 3%;
  }

  h1 {
    font-size: 8vw;
  }

  h2 {
    font-size: 4.5vw;
  }

  h3 {
    font-size: 3.3vw;
  }

  /* NAVBAR - collapsed */
  nav {
    display: flex;
    flex-direction: row;
    justify-content: right;
    align-items: center;
  }

  .hamburger {
    width: 35px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 1% 4%;
    cursor: pointer;
  }

  .hamburger-expand {
    align-self: flex-start;
    padding-top: 1%;
  }

  nav span {
    width: 100%;
    height: 4px;
    margin: 10% 0;
    background: var(--text-color-primary);
  }

  nav li {
    width: 100%;
  }

  .nav-left, .nav-right {
    display: none;
    width: 35%;
    padding: 0;
    margin: 0;
  }

  .nav-left {
    margin-left: 7%;
  }

  .nav-right li .icon {
    font-size: min(4.5vw, 28px);
  }

  nav a:hover {
    box-shadow: none;
    color: gray;
    letter-spacing: 5px;
  }

  .expanded {
    max-height: none;
    height: auto;
  }

  .logo{
    width: 11.2%;
    max-width: 47px;
  }



  .left-adj {
    width: 80%;
    height: auto;
    display: flex;
    flex-direction: row;
  }

  .dropdown {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    line-height: 3;
    height: 100%;
  }

  .fa-lg {
    line-height: 2.3;
  }

  .logo-expanded {
    align-self: start;
    margin-top: 1.5%;
    margin-left: 2%;
  }
  /* HEADER */
  #header {
    max-height: none;
    aspect-ratio: 17/37;
    padding-top: 5%;
  }

  .container-inner {
    flex-direction: column;
  }

  .header-left, .header-center, .header-right {
    width: 85%;
    margin: 0 auto;
  }

  .header-right {
    margin-top: 3%;
  }

  .header-heading {
    font-size: 8vw;
  }

  .hi, .developer {
    margin: 13% auto;
    padding: 0;
    line-height: 2.2;
  }

  .developer {
    margin-top: 17%;
  }

  .hi {
    margin-top: 5%;
  }

  /* ABOUT & EDUCATION HISTORY*/
  #about h1{
    margin-bottom: 10%;
  }
  #about h2 {
    margin-bottom: 10%;
    margin-top: 5%;
    line-height: 1.7;
    align-self: flex-start;
  }

  #about h3 {
    font-size: 4vw;
  }

  #about .container-inner {
    width: 90%;
  }

  #about p {
    font-size: 3.6vw;
  }

  #about .education-table {
    padding-left: 2%;
  }

  #about .education-table li {
    font-size: 3vw;
  }

  .about-img{
    border-width: 4px;
  }

  .education-history p {
    font-size: 3.4vw;
  }

  .education-history h1 {
    margin-top: 13%;
  }

  .education-history h2 {
    margin-top: 14%;
    margin-bottom: 9%;
    font-size: 4.8vw;
  }

  .education-history h3 {
    font-size: 3.9vw;
  }

  .education-history h4 {
    font-size: 3.9vw;
  }

  .arrow {
    left: 1vw;
    top: 3.5vw;
    font-size: 4.5vw;
  }

  .course-component {
    margin-bottom: 5%;
  }

  /* CONTACT */
  #contact h1 {
    margin-bottom: 7%;
    margin-top: 15%;
  }

  #about h1, #contact h1 {
    width: 100vw;
    border-radius: unset;
    box-shadow: var(--cards-box-shadow);
  }

  #contact h2 {
    margin-bottom: 9%;
    margin-top: 5%;
    line-height: 1.7;
  }

  #contact a {
    padding-right: 0;
  }

  #contact li .icon {
    font-size: 3.5vw;
  }

  .contact-left, .contact-right {
    width: 100%;
  }

  .contact-intro, .contact-info {
    font-size: 2.9vw;
  }

  .contact-info {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 2%;
  }

  .contact-socials {
    width: 25%;
    margin: auto;
    margin-left: 7.55%;
    margin-bottom: 4%;
    text-align: right;
    text-align: left;
  }

  .contact-socials a {
    padding: 0 7%;
    ;
  }

  #contact li {
    width: 50%;
  }

  .contact-btn {
    font-size: 3.2vw;
  }

  .form {
    align-items: center;
  }

  .form .btn {
    margin-top: 7%;
    margin-bottom: 7%;
    padding: 3%;
    width: 38%;
    font-size: 2.6vw;
  }

  .form input, .form textarea {
    font-size: 2.9vw;
    margin: 1% 0;
  }

  .eye {
    width: 4vw;
  }

  .contact-ghost {
    opacity: 0;
  }

  /* FOOTER */
  footer {
    width: 95%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
  }

  .index-footer footer {
    width: 100%;
  }

  .scroll-up-arrow {
    width: 14%;
  }

  .up-arrow {
    font-size: 7vw;
  }

  .footer-left, .footer-center {
    font-size: 2.8vw;
  }

  .footer-left {
    width: 30%;
    justify-content: flex-start;
    margin-left: 3%;
  }

  .footer-center {
    width: 57%;
    justify-content: space-between;
    margin-right: 3%;
  }

  .footer-left, .footer-center {
    margin-top: 5%;
    margin-bottom: 5%;
  }

  .footer-right, .footer-email {
    display: none;
  }

  /* PORTFOLIO */
  .portfolio {
  }

  .portfolio h1 {
    margin-bottom: 7%;
    margin-top: 13%;
  }

  .portfolio .project-title {
    margin-bottom: 6%;
  }

  .portfolio p, .technologies li {
    font-size: 3.6vw;
  }

  .portfolio .container-inner {
    width: 83%;
    margin: auto;
  }

  .project-top {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 5%;
  }

  .screencast, .description {
    width: 100%;
    text-align: center;
  }

  .screencast, .technologies, .my-role {
    margin-bottom: 8%;
  }

  .technologies {
    border-radius: 5rem;
  }

  .technologies li {
    width: 40%;
    text-align: left;
    margin: 0 5%;
  }

  .technologies-table {
    width: 80%;
  }

  .screencast-phone {
    margin-bottom: 7%;
    width: 100%;
  }

  .screencast img {
    margin-bottom: 0;
  }

  .laptop-gif {
    height: 77%;
  }

  .center-links {
    flex-direction: column;
    align-items: center;
    margin-bottom: 5%
  }

  iframe {
    margin-bottom: 5%;
    margin-top: 6%;
  }

  .portfolio .btn {
    width: 100%;
    padding: 0;
    padding-top: 5%;
    padding-bottom: 5%;
    margin: 0;
    margin-top: 20%;
    font-size: 3.2vw;
  }

  hr {
    margin: 10% auto;
  }
}

@media (max-width: 500px) {
  .technologies {
    border-radius: 5rem;
    padding-top: 10%;
    padding-bottom: 5%;
  }
}

.remove {
  display: none;
}

/* ------------- ANIMATIONS -------------*/
.delay-animation {
  animation-delay: 0.8s;
  animation-duration: 1.6s;
}

@keyframes slide-in-sketch {
  from {
    -webkit-transform: translateX(50%);
    transform: translateX(50%);
    -webkit-opacity: 0;
    opacity: 0;
  }

  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-opacity: 1;
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    -webkit-opacity: 0;
    opacity: 0;
  }

  to {
    -webkit-opacity: 1;
    opacity: 1;
  }
}

@keyframes slide-ghost {
  from {
    width: 10%;
    -webkit-transform: translateX(-180%);
    transform: translateX(-180%);
  }

  30% {
    -webkit-transform: translateX(-130%);
    transform: translateX(-130%);
  }

  50% {
    -webkit-opacity: 0.8;
    opacity: 0.8;
  }

  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-opacity: 0.99;
    opacity: 0.99;
    -webkit-width: var(--ghost-width);
    width: var(--ghost-width);
  }
}

@keyframes float-body {
  0% {
    -webkit-transform: translatey(18%);
    transform: translatey(18%);
  }

  50% {
    -webkit-transform: translatey(0);
    transform: translatey(0);
  }

  100% {
    -webkit-transform: translatey(18%);
    transform: translatey(18%);
  }
}

@keyframes float-arms {
  0% {
    -webkit-transform: translatey(40%);
    transform: translatey(40%);
  }

  50% {
    -webkit-transform: translatey(50%);
    transform: translatey(50%);
  }

  100% {
    -webkit-transform: translatey(40%);
    transform: translatey(40%);
  }
}

@keyframes fly-to-contact {
  from {
    -webkit-transform: translate(-700%, -700%);
    transform: translate(-700%, -700%);
  }

  65% {
    -webkit-transform: translate(-400%, -200%);
    transform: translate(-400%, -200%);
  }

  to {
    -webkit-transform: translate(0, 0) rotate(1080deg);
    transform: translate(0, 0) rotate(1080deg);
  }
}

@keyframes slide-up {
  from {
    -webkit-transform: translateY(20%);
    transform: translateY(20%);
    opacity: 0;
    -webkit-opacity: 0;
  }

  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -webkit-opacity: 1;
    opacity: 1;
  }
}

body{
  font-weight: normal;
  font-size: 14px;
}
