/* Global Styles
----------------------------------------------------------- */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  position: relative; /*This is for Top  Scroll*/
  color: #343434;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.5;
}
a {
  color: #ffe66d;
}
a:hover {
  text-decoration: none;
}

h1 {
  font-size: 100px;
  line-height: 1;
}
h2 {
  margin: 0;
  font-size: 45px;
}
h1,
h2 {
  font-family: "Caveat", cursive;
  font-weight: 400;
  margin: 0;
}
.content-wrap {
  max-width: 800px;
  width: 85%;
  margin: 0 auto;
  padding: 60px 0;
}
h3 {
  margin-bottom: 0;
}
/* ===================END GLOBAL STYLES=================== */
/* ===================START LEFT SIDE PANEL W/ LOGO=================== */
.left-wrapper {
  position: fixed;
  left: 2%;
  display: flex;
  flex-direction: column;
  width: 20%;
  text-align: center;
}

.logo-wrapper {
  position: relative;
  left: 2%;
  display: flex;
  flex-direction: column;
  /* width: 20%; */
  /* border: dotted red 1px; */
}

/* ===============START Logo Spin============== */
.logo-img {
  position: relative;
  animation-name: spinning;
  animation-duration: 2s;
  animation-iteration-count: 1;
  /* linear | ease | ease-in | ease-out | ease-in-out */
  animation-timing-function: ease;
}
@keyframes spinning {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* ===============END Logo Spin============== */
/* ===================START ICONS=================== */
.icon-wrapper-left {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  float: right;
  z-index: 1;
  padding-top: 20px;
}
.icon-email,
.icon-linkedin,
.icon-github {
  height: 3rem;
}
.icon-linkedin {
  padding: 0 15px;
}
a img:hover {
  margin-top: -5px;
}
/* START Icons Slide in on Load */
.icon-wrapper-left {
  animation: slideIn 2s forwards;
}
@keyframes slideIn {
  0% {
    transform: translateX(-900px);
  }
  100% {
    transform: translateX(0);
  }
}
/* END Icons Slide in on Load */
/* Typewrite effect */
/* .typewriter {
  overflow: hidden;
  white-space: nowrap;
  animation: typing 2s forwards;
  width: 0;
}
@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
} */
/* End Typewriter effect */
/* ===================END LEFT SIDE PANEL W/ LOGO=================== */

.item-details h3 + p {
  font-style: italic;
}
.item-details h3 ~ p {
  margin: 0;
}
.divider > section {
  border-bottom: 1px dashed #343434;
  padding: 25px 0;
}
.divider > section:last-of-type {
  border-bottom: none;
}

.footer-wrapper {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* Profile
----------------------------------------------------------- */
header {
  background: #2f3061;
  color: #f7fff7;
}

/* Projects
----------------------------------------------------------- */
.broken {
  color: red;
}
.strike {
  text-decoration: line-through;
  text-decoration-color: red;
}
.project-img {
  width: 300px;
  height: 200px;
}
.projects {
  background: #f7fff7;
}
.projects a {
  color: #2f3061;
}
.projects .btn {
  color: #f7fff7;
  background: #2f3061;
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
  display: inline-block;
  border: 2px solid #f7fff7;
}
/* .projects btn:hover {
  background: rgba(47, 48, 97, 80%);
} */
.projects .btn:hover {
  text-decoration: none;
  border: 2px solid #946dff;
}
.project-item {
  overflow: hidden;
  border-bottom: 1px dashed #343434;
  padding: 25px 0;
}
.project-item h3 {
  margin-top: 0;
}
.notice {
  color: red;
}

/* Work Experience
----------------------------------------------------------- */
/* .work {
  background: #a1c6d7;
} */

/* Education
----------------------------------------------------------- */
/* .education {
  background-image: url(../images/joanna-kosinska-unsplash.jpg);
  background-size: cover;
  background-position: top right;
  padding-bottom: 100px;
}
.education p {
  width: 60%;
} */

/* Contact
----------------------------------------------------------- */
/* footer {
  background: #343434;
  color: #f7fff7;
} */
/* .contact-list {
  list-style-type: none;
  padding: 0;
}
.contact-list a {
  padding: 15px;
  display: inline-block;
} */

/* Scroll to top button
----------------------------------------------------------- */
.scroll-container {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  /* padding: 0 150px; */
}

.scroll-container .btn {
  padding: 5px 15px;
  margin-right: 25px;
}
/* // to hide the button when page first loaded */
.scroll-container:before {
  content: "";
  display: block;
  height: 100vh;
  pointer-events: none;
}

/* // fixed to right bottom of page */
.scroll-container a {
  position: sticky !important;
  top: 88vh;
  cursor: pointer;
  font-size: 20px;
}
/* Responsive styles
----------------------------------------------------------- */
/* viewports that are 1444px or LESS */
@media screen and (max-width: 1444px) {
  .left-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    width: 95%;
    left: auto;
    /* border: dotted red 1px; */
  }
  .logo-wrapper {
    position: relative;
    left: 0%;
  }
  .logo-img {
    position: relative;
    width: 15rem;
    margin: 0 auto;
    text-align: center;
  }

  .center {
    text-align: center;
  }
}

@media screen and (max-width: 938px) {
  #mindset-img {
    margin-bottom: 70px;
  }
}

/* this media query only applies to viewports that are 750px or LARGER */
@media screen and (min-width: 750px) {
  header,
  footer {
    text-align: center;
  }
  .project-item img {
    float: left;
    margin-right: 20px;
  }
  .job-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    column-gap: 20px;
  }
  .contact-list {
    display: flex;
    justify-content: center;
  }
}
/* viewports that are 749px or LESS */
@media screen and (max-width: 749px) {
  h1 {
    font-size: 75px;
    line-height: 0.9;
    margin-bottom: 20px;
  }
  h2 {
    font-size: 30px;
    line-height: 1;
  }
  .contact-list a {
    padding: 5px;
  }
  .logo-img {
    width: 15rem;
    float: none;
    margin: 0 auto;
  }
  /* .icon-wrapper {
    position: relative;
    flex-direction: row;
    justify-content: center;
    right: auto;
    padding-top: 15px;
  } */
  .project-item {
    text-align: center;
  }
  .project-img {
    float: none;
    margin-bottom: 15px;
  }
  #mindset-img {
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 425px) {
  .break::before {
    content: "\a";
    white-space: pre;
  }
}
