@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');

html {
  scroll-behavior: smooth;
}

:root {
  --bg-color: whiteSmoke;
  --header-color: white;
  --nav-color: white;
  --nav-color-hover: rgb(97, 4, 97);
  --page-color: white;
  --footer-color: white;
  --border-color:rgb(97, 4, 97);
  --active-color: rgb(97, 4, 97);
  --site-title-color: rgb(97, 4, 97);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url('./img/fractal-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  color: black;
  font-family: 'Lato', san-serif;
  line-height: 1.2;
}
a {
  color: white;
  text-decoration: none;
}
#site-title {
  color: var(--site-title-color);
}
h1{
  font-size: 2rem;
  font-weight:400;
  margin:0;
}
.fix{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}
span {
    text-align:center;
    width:100%;
}
.fix div {
    width:100%;
    text-align:center;
    display:flex;
    justify-content:center;
    align-items:center;
}
.nav-btn:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-in;
  cursor: pointer;
  color: var(--site-title-color);
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.container::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
.header-container {
  height: 100px;
  width: 100vw;
  position: fixed;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: white;
  z-index: 100;
}
header {
  font-size: xx-large;
  font-weight: 400;
  height: 100%;
  width: 100vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 1rem;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

nav {
  background-color: var(--nav-color);
  z-index: 100;
}
nav ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  transform: translateX(+100%);
  border-top: 1px solid rgb(97, 4, 97);
  border-bottom: 1px solid rgb(97, 4, 97);
}
.slide-out {
  transform: translateX(+100%);
  transition: transform 0.5s ease-in;
}
.slide-in {
  transform: translateX(0%);
  transition: transform 0.5s ease-in;
}
nav ul li {
  list-style-type: none;
  font-weight: 300;
}
  .navi {
    color: black;
  }
  .navi:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in;
    color: var(--nav-color-hover);
  }
.header-clearfix {
  height: 100px;
}
.page {
  margin: 2rem 0;
  padding: 2rem 0 0 1rem;
  height: 88vh;
  width: 100vw;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  box-shadow: lightgray 2px 2px 2px 2px;
  border-radius: 5px;
}
.home {
  margin: 0 0 4rem 0;
}
.contact {
  margin: 4rem 0 -1rem 0;
}
.text-white {
  color: black;
}
.text-white:hover {
  color: var(--nav-color-hover);
}
footer {
  width: 100vw;
  height: 50px;
  border-top: 1px solid var(--active-color);
  border-bottom: 1px solid var(--active-color);
  position: fixed;
  bottom: 0;
  background-color: var(--footer-color);
}
footer ul {
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}
footer ul li {
  list-style-type: none;
}
footer ul li i {
  color: black;
}

.menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
}
.line {
  fill: none;
  stroke: black;
  stroke-width: 6;
  transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.line2 {
  stroke-dasharray: 60 60;
  stroke-width: 6;
}
.line3 {
  stroke-dasharray: 60 207;
  stroke-width: 6;
}
.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
  stroke-width: 6;
}
.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
  stroke-width: 6;
}
.article {
  height: 88vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 1rem 1rem 0;
  margin: 0;
}
li {
  list-style-type: none;
}
.title {
  margin-top: 1rem;
  padding: 1rem;
  font-weight: 400;
}

.bread-text {
  font-weight: 400;
}

p {
  padding: 1rem;
}

.last {
  padding-top: 2rem;
  margin-bottom: -1rem;
}

.pic > img {
  height: 10rem;
  margin: 1rem 0 1rem 0;
  border-radius: 15px;
}
.cv-pic {
  width: 100%;
  max-width:300px;
  height: auto;
  margin: 1rem;
  box-shadow: grey 2px 2px 2px 2px;
}

.mini-grid {
  margin-top: 50px;
  display: grid;
  gap: 10px;
  grid-template: auto/repeat(2, minmax(20px, 1fr));
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.repo-display {
  border: 1px solid var(--border-color);
  border-radius: 5px;
  padding: 5px;
  margin-top: 4em;
  margin: 5px;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-wrap: break-word;
  word-wrap: break-word;
  
  background-color: white;
  text-align:center;
  
}
.repo-display a {
  color: black;
  font-size: xx-small;
  
}

.app-name {
    text-transform:unset !important;    
}

.repo-display a:hover {
  color: var(--nav-color-hover);
}
.repo-display:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
  border-color: var(--border-color);
  z-index: 10;
  box-shadow: lightgray 1px 1px 1px 1px;
}
.contact i {
  margin-right: 1rem;
}
.contact li {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.contact ul {
  height: 50%;
  margin-bottom: 2rem;
}
.bread-text li {
  padding: 0.2rem;
}
#title {
  margin-top: 2rem;
}
.active {
  border-bottom: 3px solid var(--active-color);
  border-radius: 3px;
}

@-webkit-keyframes anim1 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@-moz-keyframes anim1 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@-o-keyframes anim1 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes anim1 {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 768px) {
  body {
    font-size: 15px;
  }
  .header-container {
    height: 75px;
    border-bottom: 0.5px solid var(--border-color);
    box-shadow: lightgray 1px 1px 1px 1px;
  }
  header {
    font-size: xx-large;
    font-weight: 400;
    background-color: var(--header-color);
    /* border: 1px solid var(--border-color); */
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 1rem;
  }
  h1 {
      font-size: 2.5rem;
  }
  .menu {
    display: none;
  }
  nav {
    height: 20px;
    display: flex;
    justify-content: center;
  }
  nav ul {
    width: 50%;
    border: 0px;
  }
  nav li {
    font-size: medium;
  }
  #navbar {
    transform: translateX(0%);
  }

  #title {
    font-size: xx-large;
    margin: auto;
  }
  .title {
    margin: 0;
  }

  .page {
    height: 78vh;
    width: 80vw;
    margin: 1rem 0;
    padding: 0;
  }
  .article {
    height: 100%;
    box-shadow: gray 5px 5px 5xp 5px;
    padding-top: 0;
  }
  .press {
    width: 60%;
    text-align: center;
    margin-top: 0;
    padding: 0;
    padding-top: 1rem;
  }
  #article-home.title {
    font-size: medium;
  }
  #article-cv > figure > a > img {
    height: 350px;
  }

  .contact:last-of-type {
    margin: 4rem 0 4rem 0;
  }
  .char-list {
    margin-top: 1rem;
    line-height: 1.2;
  }
  .repo-display a {
    font-size: small;
  }

  .footer {
    display: flex;
    height: 30px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .footer ul {
    width: 30%;
    justify-content: space-evenly;
  }
}
@media screen and (min-width: 1290px) {
  body {
    font-size: 18px;
  }
  .header-container {
    height: 150px;
  }
  header {
    font-size: xx-large;
    font-weight: 400;
    background-color: var(--header-color);
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding-left: 1rem;
  }
  h1 {
      font-size: 3rem;
  }
  .menu {
    display: none;
  }
  nav {
    height: 40px;
    display: flex;
    justify-content: center;
  }
  nav ul {
    width: 50%;
  }
  nav li {
    font-size: medium;
  }
  #navbar {
    transform: translateX(0%);
  }
  .page {
    height: 80vh;
  }
  .article {
    height: 70vh;
  }
  .press {
    width: 50%;
    text-align: center;
    margin-top: 0;
    padding: 0;
    padding-top: 1rem;
  }
  #article-home.title {
    font-size: x-large;
    margin: 0 0 2rem 0;
  }
  #title {
    margin: 1rem 0 2rem 0;
  }
  .char-list {
    margin: 2rem;
  }
  .repo-display a {
    font-size: medium;
    font-weight: 400;
  }
  .anchor {
    position: absolute;
    top: -185px;
    left: 0;
  }
}
