@import "stars.css"; /* BACKGROUND CSS */

/* CSS VARIABLES */
:root {
  --primary-color: #a3acce;
  --background-color-light: #1b2735;
  --background-color-medium: #091320;
  --background-color-dark: #090a0f;
  --text-opacity: 70%;
  --text-opacity-on-hover: 100%;
  --img-opacity: 40%;
  --img-opacity-on-hover: 50%;
  --max-width: 1400px;
}

/* LAYOUT CSS */
.parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max-width);
  /* align-items: center; */
  margin: 0 auto;
  z-index: 1;
}

.container {
  display: flex;
  flex-direction: row;
  /* overflow: hidden; */
  z-index: 1;
}

section {
  border: 1px solid var(--primary-color);
  padding: 20px;
  margin: 5px;
  z-index: 1;
}

section:hover {
  background-color: var(--background-color-medium);
  z-index: 1;
}

/* GENERAL CSS */
html {
  height: 100%;
  width: 100%;
}

img, video {
  width: 100%;
  height: 100%;
  opacity: var(--img-opacity);
}
img:hover {
  opacity: var(--img-opacity-on-hover);
}

body {
  margin: 0 auto;
  height: 100%;
  width: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(
    ellipse,
    var(--background-color-light) 0%,
    var(--background-color-dark) 100%
  );
  color: var(--primary-color);
  font-family: "JetBrains Mono", monospace;
}



h2 {
  font-size: 36px;
  line-height: 45px;
  margin-left: 20px;
  margin-right: 20px;
}

h3 {
  font-size: 14px;
  font-weight: 500;
  margin: 5px;
}

p {
  margin: 40px;
  font-size: 24px;
  line-height: 35px;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* TITLE CSS */

.title {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}

#title {
  font-weight: 600;
  margin-left: 20px;
  font-size: 40px;
  color: var(--primary-color);
}
#title:hover {
  text-decoration: none;
}

#headshot {
  width: 100px;
  height: 100px;
  opacity: 100%;
  border-radius: 50px;
}

/* ABOUT CSS */

#fingerprint {
  padding-left: 8px;
  padding-right: 8px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--primary-color);
  border-radius: 12px;
  font-size: 16px;
  background-color: var(--background-color-light);
  text-align: start;
  width:fit-content;
}

.about-wrapper {
  flex-basis: 60%;
}

/* DEEP DIVE CSS (right-hand div)*/
.deep-dive {
  flex-basis: 40%;
}

section.about{
  padding-bottom: 0px;
}

/* PROJECTS CSS */
section.projects {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-evenly;
  font-size: 16px;
  padding-top: 20px;
}

#project {
  overflow: auto;
  margin-left: 5px;
  margin-right: 5px;
  opacity: var(--text-opacity);
  display: flex;
  flex-direction: column;
  text-align: center;
  color: var(--primary-color);
  transition: color 0.3s ease;
  width: 45%;
  height: 100%;
}

#project:hover {
  text-decoration: none;
  opacity: var(--text-opacity-on-hover);
  color: white;
}

#project-title {
  font-size: 16px;
  margin: 5px;
  line-height: 16px;
}

/* ZETTELKASTEN CSS */
section.zettelkasten {
  overflow: auto;
  display: flex;
  flex-direction: column;
  flex-basis: 50%;
}

#zettels-header {
  font-size: 24px;
  text-align: center;
  text-decoration: underline;
}

#enter-zettelkasten {
  font-size: 20px;
  align-self: center;
  width: fit-content;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 900;
  background-color: var(--background-color-light);
  padding: 10px;
  border-radius: 40px;
  border-color: var(--primary-color);
  border-width: 1px;
  border-style: solid;
}
#enter-zettelkasten:hover {
  text-decoration: none;
}

#zettel {
  margin: 10px;
  font-size: 22px;
  opacity: var(--text-opacity);
  color: var(--primary-color);
  transition: color 0.3s ease;
}
#zettel:hover {
  opacity: var(--text-opacity-on-hover);
  text-decoration: none;
  color: white;
}

/* FOOTER CSS */
.footer {
  display: flex;
}

#icon {
  opacity: 50%;
  transition: opacity 0.3s ease;
  margin: 5px;
}
#icon:hover {
  opacity: 100%;
  text-decoration: none;
}

#mobile-element {
  display: none;
}

/* MEDIA CSS */
/* Changes for tablet / half-window */
@media (max-width: 1400px) {
  section {
    background-color: var(--background-color-medium);
  }
  h2 {
    margin-left: 10px;
    margin-right: 10px;
  }
  p {
    margin-left: 10px;
    margin-right: 10px;
  }
  #zettel {
    font-size: 20px;
  }
}

/* Changes for mobile */
@media (min-width: 0px) and (max-width: 650px) {
  .container {
    flex-direction: column;
  }
  section {
    background-color: var(--background-color-medium);
  }
  h3 {
    text-align: center;
  }
  h2 {
    margin-left: 5px;
    margin-right: 5px;
  }
  p {
    margin-left: 5px;
    margin-right: 5px;
  }

  #project {
    opacity: 80%;
    color: white;
    width: 45%;
  }
  #zettel {
    opacity: 80%;
    color: white;
  }
  #icon {
    display: none;
  }
  #mobile-element {
    display: inline;
  }
  .title {
    justify-content: center;
    margin: 0;
  }
  #headshot {
    width: 80px;
    height: 80px;
  }
}
