*, *:before, *:after {
  box-sizing: border-box;
}

a {
  text-decoration: none !important;
  color: #FFFFFF !important;
}

body {
  background-color: #393E46;
  color: #FFFFFF;
  font-family: 'Jura';
  margin: 0;
  width: 100vw;
  overflow-x: hidden;
}

h3 {
  color: #FFFFFF;
  font-family: 'Jura';
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 0px;  
}

::-webkit-scrollbar-thumb {
  background: #678983;
}

.navcontainer {
  display: none;
}

@media only screen and (min-width: 768px) {
  .navcontainer {
    display: flex;
    padding-left: 3%;
    padding-right: 3%;
    padding-top: 1%;
    font-size: larger;
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    z-index: 1000;
    background-color: #393E46;
  }
}

.link {
  font-family: 'Jura'!important;
  font-size: revert!important;
  min-height: auto!important;
  text-transform: none!important;
  color: #FFFFFF!important;
}

.link:hover {
  color: #F2E7D5!important;
}

.nav-contact-button {
  background-color: #678983;
  padding: 4px 32px 4px 32px;
  border-radius: 15px 0px;
  cursor: pointer;
  color: #F2E7D5;
  font-weight: 500;
}

.nav-contact-button svg {
  margin-bottom: 5px;
  margin-left: 10px;
}

@media only screen and (min-width: 768px) {
  section {
    padding-left: 3%;
    padding-top: 26vh;
    height: 100vh;
  }
}

.intro {
  font-size: 40px;
  padding-left: 5%;
  padding-right: 5%;
  margin: 0px;
  padding-top: 10%;
}

.intro-subtitle {
  font-size: 30px;
  padding-left: 5%;
  padding-right: 5%;
  margin: 0px;
  padding-bottom: 5%;
}

@media only screen and (min-width: 768px) {
  .intro {
    font-size: 64px;
    margin-bottom: 0px;
    padding-top: 0%;
    padding-left: 0%;
    padding-right: 0%;
  }

  .intro-subtitle {
    font-size: 40px;
    margin-top: 0px;
    padding-left: 0%;
    padding-right: 0%;
    margin: 0px;
    padding-bottom: 0%;
  }
}

.intro-pic {
  display: none;
}

.intro-pic-mobile {
  display: block;
  margin: auto;
  padding-bottom: 10%;
}

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

  .intro-pic {  
    display: block;
    position: absolute;
    top: 4vh;
    right: 0vw;
    height: 600px;
    width: 450px;
  }
}

.firstname {
  color: #F2E7D5;
}

.lastname {
  color: #678983;
}

.intro-social {
  display: flex;
  justify-content: space-evenly;
}

.intro-social span p {
  display: none;
}

@media only screen and (min-width: 768px) {
  .intro-social {
    flex-direction: column;
    position: absolute;
    bottom: 0;
    right: 0;
    padding-bottom: 1%;
  }

  .intro-social span {
    display: flex;
    margin-bottom: 8px;
    margin-right: 8px;
    justify-content: end;
    cursor: pointer;
  }

  .intro-social span p {
    display: block;
    visibility: hidden;
    margin: 14px 5px 0px 0;
  }

  .intro-social span:hover p {
    cursor: pointer;
    visibility: visible;
    color: #F2E7D5;
    fill: #F2E7D5;
  }

  .intro-social span:hover svg g {
    fill: #F2E7D5;
  }
}

.polygon1 {
  display: none;
}

.polygon2 {
  display: none;
}

.polygon3 {
  display: none;
}

@media only screen and (min-width: 768px) {

  .polygon1 {
    display: block;
    transform: rotate(130deg);
    position: absolute;
    top: 382px;
    right: 402px;
  }

  .polygon2 {
    display: block;
    transform: rotate(130deg);
    position: absolute;
    top: 354px;
    right: 433px;
  }

  .polygon3 {
    display: block;
    transform: rotate(130deg);
    position: absolute;
    top: 330px;
    right: 462px;
  }

}

.about {
  margin-top: 10%;
  padding-left: 5%;
  padding-right: 5%;
}

@media only screen and (min-width: 768px) {
  .about {
    margin-top: 0%;
    padding-left: 15%;
    padding-right: 15%;
    opacity: 0;
  }
}

@media only screen and (min-width: 768px) {
  .education {
    padding-top: 15vh;
    height: 100vh;
    opacity: 0;
  }
}

.info-header {
  text-align: center;
  font-size: 40px;
}

.about div {
  overflow-wrap: break-word;
}

.light {
  color: #F2E7D5;
  font-family: 'Jura'!important;
}

.dark {
  color: #678983;
  font-family: 'Jura'!important;
}

.edu-timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 2%;
  margin-right: 2%;
}

@media only screen and (min-width: 768px) {
  .edu-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 52%;    
    margin-left: 24%;
    margin-right: 24%;
  }
}

.edu-row {
  display: flex;
  width: 100%;
}

.er-left {
  display: flex;    
  flex-direction: column;
  width: 50%;
  border-style: solid;
  border-width: 0px 1px 0px 0px;
  border-color: #F2E7D5;
}

.er-right {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.timeline-title {
  width: 100%;
  box-sizing: border-box;
  border-style: solid;
  border-width: 0px 0px 1px 0px;
  border-color: #F2E7D5;
  font-size: larger;
  color: #F2E7D5;
}

.timeline-title p {
  margin-bottom: 0px;
}

.timeline-title-left {
  /*padding: 16px 120px 8px 10px;*/
  padding: 16px;
  align-self: flex-end;
  transform: translate(-100%, 0px)
}

.timeline-title-right {
  /*padding: 16px 10px 8px 120px;*/
  padding: 16px;
  text-align: right;
  align-self: flex-start;
  transform: translate(100%, 0px)
}

.timeline-body {
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
}

.timeline-body-right {
  text-align: right;
  align-self: flex-start;
  transform: translate(100%, 0px)
}

.timeline-body-left {
  align-self: flex-end;
  transform: translate(-100%, 0px)
}

@media only screen and (min-width: 768px) {
  .experience {
    padding-top: 18vh;
    /* height: 100vh; */
    height: fit-content;
    padding-right: 3%;
  }
}

@media only screen and (min-width: 768px) {
  .raena {
    opacity: 0;
  }
}

.experince-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
}

@media only screen and (min-width: 768px) {
  .experince-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 0;
  }
}

.experince-header p {
  margin: 0;
  padding: 0;
}

.experince-position {
  font-size: 1.8rem;
}

.experince-company {
  font-size: 1.2rem;
}

.experience-company-name {
  font-size: 1.5rem;
}

.experience-tag {
  margin-top: 16px;
  font-size: 1.2rem;
}

.experience-skills {
  width: 10%;
}

.experience-subheader {
  font-size: 1.2rem;
}

.experience-tech-used {
  padding-top: 5%;
  padding-bottom: 6%;
}

.experience-tech-used .icons {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  .experience-tech-used .icons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }
}

.experience-wrapper {
  border: 1px solid;
  border-radius: 10px;
  border-color: #ffffff17;
  margin: 12px;
  padding: 2%;
}

.icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.icon p {
  margin: 0;
}

.nth-experience {
  /* padding-top: 10vh; */
}

.skills {
  padding-top: 24vh;
  /* height: 100vh; */
  height: fit-content;
  padding-right: 3%;
}

.skills-tech-used {
  padding-bottom: 3%;
  text-align: center;
}

.skills-tech-used .icons {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  .skills-tech-used .icons {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
  }
}

.footer {
  background-color: #2f36354d;
  padding-top: 10px;
  padding-left: 0%;
  height: fit-content;
}

.footer-social {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

@media only screen and (min-width: 768px) {
  .footer-social {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
}

.copywright {
  padding: 10px;
  text-align: center;
}

.projects {
  height: fit-content;
  padding-right: 3%;
  padding-bottom: 3%;
}

/* The device with borders */
.smartphone {
  position: relative;
  width: 280px;
  height: 568px;
  margin: auto;
  border: 16px black solid;
  border-top-width: 60px;
  border-bottom-width: 60px;
  border-radius: 36px;
}

/* The horizontal line on the top of the device */
.smartphone:before {
  content: '';
  display: block;
  width: 60px;
  height: 5px;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 10px;
}

/* The circle on the bottom of the device */
.smartphone:after {
  content: '';
  display: block;
  width: 35px;
  height: 35px;
  position: absolute;
  left: 50%;
  bottom: -65px;
  transform: translate(-50%, -50%);
  background: #333;
  border-radius: 50%;
}

/* The screen (or content) of the device */
.smartphone .content {
  background: black;
}

video {
  max-width: 100%;
  height: 468px;
}

.project-wrapper {
  display: flex;
  flex-direction: column;
  padding-top: 2%;
  padding-left: 3%;
  padding-right: 3%;
  padding-bottom: 5%;
  width: 100%;
  justify-content: space-between;
  border: 1px solid;
  border-radius: 10px;
  border-color: #ffffff17;
  margin: 12px;
}


@media only screen and (min-width: 768px) {
  .project-wrapper {
    display: flex;
    flex-direction: row;
    padding-top: 2%;
    padding-left: 3%;
    padding-right: 3%;
    padding-bottom: 5%;
    width: 100%;
    justify-content: space-between;
    border: 1px solid;
    border-radius: 10px;
    border-color: #ffffff17;
    margin: 12px;
  }
}

.project-detail {
  width: 100%;
}

.project-demo {
  width: 100%;
}

.project-icon {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  padding: 8px;
}

.project-icon p {
  padding-left: 16px;
}

.project-name h3 {
  font-size: 1.7rem;
}


.footer-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (min-width: 768px) {
  .samsung, .qrius, .samsung-internship, .femiza, .appcraftz {
    opacity: 0;
  }
}

.footer-social p {
  cursor: pointer;
  visibility: visible;
}

.footer-social a:hover g{
  fill: #F2E7D5;
}

.footer-social a:hover p {
  color: #F2E7D5;
}