* {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: Roboto-Thin;
  src: url("./font/Roboto-Thin.ttf");
  font-display: swap;
}

@font-face {
  font-family: Roboto-Regular;
  src: url("./font/Roboto-Regular.ttf");
  font-display: swap;
}

.portfolio-video {
  width: 30vw;
}

#navbar {
  display: flex;
  position: fixed;
  top: 0;
  height: 50px;
  width: 100vw;
  background-color: black;
  font-family: Roboto-Thin;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

#navbar a {
  text-decoration: none;
  color: white;
  text-align: center;
  padding: 5px;
  padding-left: 20px;
  padding-right: 20px;
  transition: 1s ease;
}

#navbar a:hover {
  cursor: pointer;
  background-color: antiquewhite;
  color: black;
}

#welcome {
  display: flex;
  flex-direction: row;
  color: #f5c138;
  font-family: "Poppins", sans-serif;
  font-weight: 100;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: #697bfa;
  flex-wrap: wrap-reverse;
}

#welcome-text {
  margin-right: 2%;
}

#welcome-title {
  font-family: Roboto-Regular;
}

#welcome-subtitle {
  font-family: Roboto-Thin;
  font-size: medium;
}

#welcome-portrait {
  margin-left: 2%;
  width: 500px;
}

#about {
  display: flex;
  flex-direction: row;
  color: black;
  font-family: Roboto-Regular;
  font-weight: 100;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #001122;
}

#about-middleline {
  width: 0px;
  height: 80vh;
  position: absolute;
  margin: auto;
}

#about-list {
  display: flex;
  flex-direction: column;
  color: white;
  z-index: 1;
  width: 80vw;
  height: 70vh;
  text-align: center;
}

#about-list li {
  width: 80vw;
  height: 5vh;
  display: flex;
  list-style-type: none;
  text-align: center;
  align-items: center;
  font-size: small;
  margin-bottom: 5vh;
}

.about-listelement-r .about-year {
  width: 10vw;
  margin-left: 35vw;
  background-color: #001122;
  align-items: center;
  border: white solid 1px;
}

.about-listelement-l .about-year {
  width: 10vw;
  margin-right: 35vw;
  background-color: #001122;
  align-items: center;
  border: white solid 1px;
}

.about-year {
  font-size: medium;
}

.about-listelement-l {
  flex-direction: row-reverse;
}

.about-listelement-r .about-info {
  margin-left: 4vw;
}

.about-listelement-l .about-info {
  margin-right: 4vw;
}

#skills {
  display: flex;
  flex-direction: row;
  color: black;
  width: 100vw;
  justify-content: center;
  background-color: #c75a4d;
}

#skills-content {
  font-family: Roboto-Regular;
  display: flex;
  flex-direction: row;
  margin-top: 10vh;
  text-align: center;
}

.skill-section {
  width: 20vw;
  width: 25vw;
  font-size: medium;
}
.skill-section label {
  font-weight: 800;
}

.skills-list {
  margin-top: 3vh;
}
.skill-section li {
  margin-top: 5px;
  list-style-type: none;
  text-align: left;
  margin-right: 5vw;
  margin-left: 2vw;
}

#skills-content hr {
  border-color: black;
}

#portfolio {
  display: flex;
  flex-direction: row;
  color: black;
  font-family: Roboto-Regular;
  font-weight: 100;
  width: 100vw;
  justify-content: center;
  background-color: #697bfa;
}

#portfolio-content {
  margin-top: 5vh;
  width: 90vw;
  display: flex;
  flex-direction: column;
}

.portfolio-project {
  margin-top: 5vh;
  width: 90vw;
}
.portfolio-project-content {
  margin-top: 3vh;
  display: flex;
}

.portfolio-project-content-2 {
  margin-top: 3vh;
  display: flex;
  flex-direction: row-reverse;
}

.portfolio-project-text {
  margin-left: 2vw;
}

.portfolio-project-text-2 {
  margin-right: 2vw;
}

.portfolio-info-text {
  margin-top: 1vh;
  font-size: small;
  font-weight: 300;
}

.portfolio-titles {
  margin-top: 1vh;
}


.link {
  margin-top: 0.5vh;
  width: 24px;
}

#book {
  filter: invert(100%) sepia(0%) saturate(770%) hue-rotate(196deg)
    brightness(117%) contrast(100%);
  transition: 2s ease;
}

#book:hover {
  filter: invert(66%) sepia(97%) saturate(3825%) hue-rotate(82deg)
    brightness(118%) contrast(124%);
}
.link:hover {
  cursor: pointer;
}

#social {
  display: flex;
  flex-direction: row;
  font-weight: 100;
  width: 100vw;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: #001122;
}

#social-content {
  display: flex;
  flex-direction: row;
  gap: 5vw;
  align-items: center;
}

.social-link {
  width: 15vw;
}

/*Filter created with: https://codepen.io/sosuke/pen/Pjoqqp */

.github {
  filter: invert(100%) sepia(0%) saturate(770%) hue-rotate(196deg)
    brightness(117%) contrast(100%);
  transition: 2s ease;
}

#linkedin {
  filter: invert(100%) sepia(0%) saturate(770%) hue-rotate(196deg)
    brightness(117%) contrast(100%);
  transition: 2s ease;
}

#mail {
  filter: invert(100%) sepia(0%) saturate(770%) hue-rotate(196deg)
    brightness(117%) contrast(100%);
  transition: 2s ease;
}

#youtube {
  filter: invert(100%) sepia(0%) saturate(770%) hue-rotate(196deg)
    brightness(117%) contrast(100%);
  transition: 2s ease;
}

#linkedin:hover {
  filter: invert(14%) sepia(100%) saturate(5701%) hue-rotate(235deg)
    brightness(93%) contrast(107%);
}

.github:hover {
  filter: invert(53%) sepia(47%) saturate(5894%) hue-rotate(6deg)
    brightness(99%) contrast(104%);
}

#mail:hover {
  filter: invert(68%) sepia(84%) saturate(976%) hue-rotate(152deg)
    brightness(101%) contrast(92%);
}

#youtube:hover {
  filter: invert(16%) sepia(97%) saturate(6832%) hue-rotate(360deg)
    brightness(92%) contrast(121%);
}

@media only screen and (min-width: 1800px) {
  .portfolio-info-text {
    font-size: large;
  }
}

@media only screen and (min-width: 1300px) {
  #navbar {
    font-size: large;
  }
  .skill-section {
    font-size: larger;
  }
    .portfolio-info-text {
    font-size: medium;
  }
  
   
}
@media only screen and (max-width: 1040px) {
    
    #welcome-portrait {
    margin-left: 2%;
    width: 50%;
    }
  .about-year {
    border: none;
  }

  #about-list {
    width: 80vw;
    align-items: center;
  }

  #about-list li {
    font-size: x-small;
    width: 80vw;
  }
  .about-listelement-l .about-year {
    margin: 0;
    width: auto;
    border: none;
  }

  .about-listelement-l .about-info {
    margin: 0;
    width: auto;
  }
  .about-listelement-r .about-year {
    margin: 0;
    width: auto;
    border: none;
  }

  .about-listelement-r .about-info {
    margin: 0;
    width: auto;
  }

  .about-listelement-l {
    flex-direction: column;
    z-index: 2;
    background-color: #001122;
    border: solid white 1px;
    width: 80vw;
    padding-top: 10px;
  }

  .about-listelement-r {
    flex-direction: column;
    z-index: 2;
    background-color: #001122;
    border: solid white 1px;
    padding-top: 10px;
  }

  .about-info {
    margin: 0;
  }
  
   #portfolio {
    height: auto;
    width: 100vw;
    align-items: center;
    text-align: center;
    margin: 0;
    margin-left: 0;
    padding: 0;
    flex-direction: column;
  }

  #portfolio-content {
    align-items: center;
    justify-content: center;
  }

  .portfolio-video {
    width: 80vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .portfolio-project-content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0;
  }

  .portfolio-project-content-2 {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: auto;
    margin: 0;
  }
  .portfolio-project-text {
    width: 90vw;
    margin: 0;
    margin-top: 20px;
    margin-left: none;
    align-items: center;
  }

  .portfolio-project-text-2 {
    width: 90vw;
    margin: 0;
    margin-top: 20px;
    margin-left: none;
    align-items: center;
  }
}

@media only screen and (max-width: 600px) {
  #navbar {
    font-size: x-small;
  }

  .skill-section {
    font-size: small;
  }
}

/*How to make curves: https://www.youtube.com/watch?v=lPJVi797Uy0 */
.spacer {
  aspect-ratio: 960/300;
  width: 100vw;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.layer1 {
  background-image: url(./image/welcome-wave.svg);
}

.layer2 {
  background-image: url(./image/about-wave.svg);
}

.layer3 {
  background-image: url(./image/skills-wave.svg);
}
