@import url("progress.css");
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");
@font-face {
  font-family: "GreyCliff", serif;
  src: url("greycliff.otf");
}
:root {
  --my-gray: #e5e5e5;
  --body--font: "Nunito", sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--body--font);
  overflow-x: hidden;
}
body::-webkit-scrollbar {
  background: white;
  border: 1px solid darkorange;
}
body::-webkit-scrollbar-button {
  background: teal;
  color: white;
}

body::-webkit-scrollbar-thumb {
  background: orange;
  border-radius: 50px;
}
svg {
  height: 45px;
  margin: 0 2em;
  fill: darkorange;
}
a {
  text-decoration: none;
}
h3,
p {
  margin: 0;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: space-around;
  position: fixed;
  top: 0;
  z-index: 11;
  background-color: white;
}
nav > span {
  color: orange;
  font-size: x-large;
  font-weight: 900;
  border: 2px solid orange;
  padding: 4px;
  width: 30px;
  height: 30px;
  text-align: center;
  margin: 6px;
  margin-left: 10px;
  border-radius: 12px;
}
nav > ul {
  list-style-type: none;
  display: flex;
  justify-content: space-evenly;
  flex-basis: 90%;
}
nav > ul > li > a {
  text-decoration: none;
  color: teal;
  font-weight: bolder;
  font-size: 20px;
}

#call-to-hire,
#button-grp #cv {
  background-color: orange;
  padding: 10px;
  border-radius: 24px;
  color: white;
  box-shadow: 0px 2px 2px rgb(0 0 0 / 25%);
}
.btn-grp {
  margin: 10px;
}
.btn-light {
  background-color: rgba(255, 165, 0, 1);
  color: white;
  padding: 3px 10px 3px 10px;
}
a#call-to-hire {
  padding-left: 20px;
  padding-right: 20px;
}
/* background transition */
@keyframes background-anim {
  from {
    background-color: orange;
  }
  to {
    background: linear-gradient(to top left, orange, teal);
  }
}
#call-to-hire:hover,
#button-grp #cv:hover {
  animation: background-anim 2s step-start infinite;
}
#intro {
  background: linear-gradient(to right, var(--my-gray), white);
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 57px;
}
#intro img {
  width: 300px;
  object-fit: contain;
}
#overview {
  margin: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

#overview h1,
#overview h3,
#overview h4 {
  margin: 0;
  font-size: 30px;
}
#hi {
  color: orange;
}
#name {
  color: teal;
}
h1#name {
  font-size: xx-large;
}
#button-grp {
  margin-top: 75px;
  margin-bottom: 25px;
}
#button-grp a {
  padding: 10px;
}

#button-grp #contact {
  border-radius: 12px;
  background-color: white;
  color: orange;
  padding: 10px;
  box-shadow: 0px 2px 2px rgb(0 0 0 / 25%);
}
#overview h1 {
  font-family: monospace;
  overflow: hidden; /* Ensures the content is not revealed until the animation */
  border-right: 0.15em solid orange; /* The typwriter cursor */
  white-space: nowrap; /* Keeps the content on a single line */
  letter-spacing: 0.15em; /* Adjust as needed */
  animation: typing 3.5s steps(30, end), blink-caret 0.5s step-end infinite;
  width: 63%;
  font-size: 40px;
}
q {
  font-size: 18px;
  margin: 10px;
}
article h3 {
  color: orange;
}
article p {
  color: teal;
}
/* The typing effect */
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 63%;
  }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: orange;
  }
}
.panel {
  width: 500px;
  display: flex;
  justify-content: center;
}
.panel img {
  width: 50px;
}
#tell {
  display: flex;
  width: 80vw;
  margin: auto;
  background-color: white;
  margin-top: -40px;
  z-index: 10;
  border-radius: 40px;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.25);
  padding: 20px;
  position: relative;
}
#tell article {
  display: flex;
  flex-direction: column;
}

#all-about {
  background-image: url("tea.gif");
  background-position: 25vw;
  background-size: 500px;
  background-repeat: no-repeat;
}
#all-about h4 {
  text-align: center;
  margin: 40px;
  text-transform: uppercase;
  color: teal;
  font-size: 30px;
}
#all-about img {
  width: 438px;
}
#about {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 3;
}
#about .skillset {
  border: 10px solid orange;
  padding: 40px;
  border-radius: 100px;
  height: 50px;
  width: 50px;
  text-align: center;
  margin: 10px;
}

.social-image {
  border-radius: 50px;
}
.number img {
  border-radius: 100%;
}
#experience {
  background: linear-gradient(to top left, orange, white);
  clip-path: polygon(18% 0, 100% 0, 93% 100%, 0 100%, 0 12%);
}
#experience h4,
#experience h6,
#portpolio h4,
#portpolio h6,
#education h4,
#education h6 {
  letter-spacing: 3px;
  margin: 2px;
  text-align: center;
  font-weight: bolder;
  font-size: 40px;
}
#education h4 {
  margin-bottom: 50px;
}
#experience h4,
#portpolio h4 {
  color: white;
}
#portpolio h4 {
  margin-bottom: 80px;
}
#experience h6,
#portpolio h6,
#education h6 {
  font-size: medium;
}
#experience h6 {
  color: orange;
  padding: 12px;
}
#portpolio h6 {
  color: teal;
}
.companies {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.company {
  margin: 10px;
}
.company .card {
  width: 250px;
  background-color: white;
  padding: 15px;
  border-top-right-radius: 30px;
  box-shadow: 0px 3px 3px rgb(0 0 0 / 25%);
  margin-top: -20px;
  /* z-index: 10000; */
}
.company .company-logo {
  border-radius: 10px;
  z-index: 2;
  background: linear-gradient(to top left, orange, white);
  padding: 6px;
  width: 40px;
  margin-left: 10px;
}
.card .company-name {
  margin-top: 10px;
  font-weight: bolder;
  font-size: 20px;
}
.card .title {
  font-size: medium;
  color: teal;
  font-weight: bold;
}
.card .date {
  font-size: smaller;
  color: orange;
}

.card ul > li {
  margin: 10px;
  margin-left: -20px;
}
#portpolio {
  background-color: rgba(0, 128, 128, 0.5);
  clip-path: polygon(74% 0, 100% 0, 100% 109%, 0 135%, 0 12%);
  padding: 30px;
}
#portpolio img {
  width: 230px;
  height: 180px;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}
#personal-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 3px;
}
#personal-projects .project {
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 3px rgb(0 0 0 / 25%);
  border-radius: 10px;
  max-width: 230px;
  margin: 10px auto 10px auto;
  background-color: white;
}

.project .project-detail {
  background-color: white;
  padding: 10px;
  border-radius: 0 0 10px 10px;
}
.project-detail h5 {
  margin: 15px auto 8px auto;
}
.project-detail .desc {
  font-size: small;
}
.project .project-detail h5 {
  font-size: medium;
}
.project-detail .tag {
  background-color: teal;
  border-radius: 50px;
  padding: 5px;
  font-size: x-small;
  color: white;
}

#schools {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.school {
  margin: 15px;
  border: 2px solid orange;
  padding: 15px;
  width: 300px;
  border-radius: 5px;
  box-shadow: 3px 3px 3px rgb(0 0 0 / 25%);
}

.school .name {
  font-weight: bolder;
  color: orange;
  margin-bottom: 0;
  margin-top: 0;
}
.school:hover {
  background: linear-gradient(to top left, orange, teal);
}
.school p span {
  font-weight: bolder;
}
footer {
  background-color: teal;
  color: white;
}
footer .middle-right {
  text-align: center;
}
/* responsive */
@media screen and (max-width: 983px) {
  #intro img {
    order: 1;
  }
  #overview {
    order: 2;
  }
  #overview {
    margin-top: -229px;
    background: rgba(255, 255, 255, 0.5);
    width: 90vw;
    margin-left: 2px;
    margin-right: 2px;
    margin-bottom: 0;
    padding: 15px;
  }
  nav > ul > li > a {
    display: none;
  }
  /* The typing effect */
  @keyframes typing-responsive {
    from {
      width: 0;
    }
    to {
      width: 83%;
    }
  }
  #overview h1 {
    animation: typing-responsive 3.5s steps(30, end),
      blink-caret 0.5s step-end infinite;
    width: 83%;
  }
  #tell {
    margin-top: -15px;
    padding: 14px;
  }
  .panel img {
    width: 40px;
    height: 40px;
  }
  article h3 {
    font-size: small;
  }
  article p {
    font-size: smaller;
  }
}
#ham-menu {
  display: none;
}

/* Style the navigation menu */
.topnav {
  overflow: hidden;
  background-color: #333;
  position: relative;
}

/* Hide the links inside the navigation menu (except for logo/home) */
.topnav #myLinks {
  display: none;
}

/* Style navigation menu links */
.topnav a {
  color: white;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
}
/* Style the hamburger menu */
.topnav a.icon {
  background: black;
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

/* Add a grey background color on mouse-over */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}
/* anything below 400 */
@media screen and (max-width: 400px) {
  article h3 {
    display: none;
  }
  article p {
    display: none;
  }
  #tell {
    width: 65vw;
    padding: 10px;
  }
  #button-grp {
    margin-left: 20px;
  }
  #all-about {
    background-position: -10vw;
  }
  #ham-menu {
    display: block !important;
  }
  nav > span {
    font-size: large;
    height: 21px;
    text-align: center;
    margin: 6px;
    margin-left: 10px;
    margin-top: 11px;
}
#intro {
  margin: 0;
}
}
