@font-face {
  font-family: "AUTHENTICSans-90";
  src: url("fonts/AUTHENTICSans-90.woff") format("woff");
}
@font-face {
  font-family: "discipuli_britannica_bold.woff";
  src: url("fonts/discipuli_britannica_bold.woff") format("woff");
}
main {
  display: flex;
}
div {
  font-family: "AUTHENTICSans-90";

  justify-content: space-between;
  display: flex;
  width: 100%;
  box-sizing: border-box;
}
.sign {
  font-family: "discipuli_britannica_bold.woff";
  font-size: 40px;
  padding-left: 5px;
  width: 800px;
}
.bio {
  padding-top: 0.6rem;
  padding-left: 27%;
  justify-content: flex-end;
  font-size: 18px;
}
a {
  color: black;
  text-decoration: none;
}
a:hover {
  color: cornflowerblue;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 8%;
  text-underline-offset: 7%;
  text-underline-position: from-font;
}
.active-link {
  color: cornflowerblue;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 8%;
  text-underline-offset: 7%;
  text-underline-position: from-font;
}

nav {
  padding-left: 63.6%;
  flex-direction: column;
  box-sizing: border-box;
}
ul {
  list-style-type: none;
  font-family: "AUTHENTICSans-90";
  font-size: 18px;
  text-align: left;
  display: flex;
  padding-left: 0;

  flex-direction: column;
  color: black;
}

.projects {
  flex-direction: column;
  width: 55%;
  margin-bottom: 4rem;

  position: relative;
  display: inline-block;
}
.projects img {
  display: block;
  width: 100%;
  height: auto;
}
.arrow {
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  color: rgb(218, 201, 201);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;

  opacity: 0;
  transition: opacity 0.3s;
}

.projects:hover .arrow {
  opacity: 1;
}
.arrow.left {
  left: 0;
}
.arrow.right {
  right: 0;
}
.slide {
  display: none;
}
.description {
  justify-content: space-between;
  margin-top: 1rem;
}
.text {
  font-size: 18px;
  text-align: left;
  line-height: 22px;
  width: 1000px;
}
.year {
  font-size: 18px;
  text-align: right;
  justify-content: right;
  line-height: 22px;
}
.title {
  font-family: "AUTHENTICSans-90";
  display: flex;
  width: 100%;
  margin-top: 5rem;
  padding-left: 0.5rem;
  font-weight: 100;
  font-size: 30px;
}
.back {
  font-size: 30px;
  display: flex;
}

.totalproject {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}
.foto {
  height: 20%;
  width: 100%;
  flex-direction: column;
}
.projectinfos {
  justify-content: space-between;
  margin-top: 0.7rem;
  display: flex;
}
.projectdescription {
  font-family: "AUTHENTICSans-90";
  text-align: left;
  justify-content: left;

  padding-right: 40%;
}
.infos {
  text-align: left;
  justify-content: left;
  display: flex;
  width: 300%;
}
.aboutme {
  position: absolute;
  flex-direction: column;
  width: fit-content;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-right: 0.7rem;
}
.me {
  width: 100%;
  margin-top: 2rem;
  font-family: "AUTHENTICSans-90";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;

  flex-shrink: 0;
}
.info {
  width: 83%;
  font-family: "AUTHENTICSans-90";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  transform: rotate(-2.33deg);
  padding-bottom: 4rem;
  flex-shrink: 0;
}
.edu {
  font-family: "AUTHENTICSans-90";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  width: 60%;
  height: 111.977px;
  transform: rotate(1.313deg);
  flex-shrink: 0;
}
.funfact {
  font-family: "AUTHENTICSans-90";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  height: 111.977px;
  padding-left: 0.5rem;
  margin-top: 2rem;

  flex-shrink: 0;
}

.hover-trigger {
  position: relative;
  cursor: pointer;
  display: inline-block;
  text-decoration: underline;
  text-decoration-thickness: 8%;
  text-underline-offset: 7%;
  text-underline-position: from-font;
}

.hover-trigger .hover-image {
  position: absolute;
  top: -150%;
  left: 50%;
  width: 240px;
  height: auto;
  transform: translateX(-50%);
  display: none;
  z-index: 999;
}

.hover-trigger:hover .hover-image {
  display: block;
}
.hidden {
  display: none;
}
.contacts {
  font-family: "AUTHENTICSans-90";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;

  transform: rotate(3.6deg);

  margin-top: 2rem;
  flex-shrink: 0;
  position: absolute;
}
#draggable-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  cursor: grab;
  z-index: 1000;
}

#draggable-logo {
  width: 70%;
  height: 70%;
}

#drag-hint {
  position: absolute;
  width: 100px;
  top: -60px;
  left: 30%;
  color: rgb(217, 180, 186);
  transform: translateX(-50%);
  font-size: 12px;
  padding: 2px 5px;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#drag-hint {
  animation: fadeOut 0s 5s forwards;
}

@media (max-width: 680px) {
  nav {
    justify-content: space-around;
  }
  .photo1 {
    display: none;
  }
  nav {
    padding-left: 0;
    flex-direction: column;
  }
  ul {
    justify-content: space-between;
    display: flex;
    list-style-type: none;
    flex-direction: row;
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
    font-size: 15px;
  }
  .sign {
    font-size: 30px;
  }
  .bio {
    padding-left: 20%;
    justify-content: left;
    font-size: 14px;
  }
  .description {
    margin-top: 1rem;
  }
  .projects {
    flex-direction: column;
    width: 100%;
  }
  .text {
    font-size: 14px;
    line-height: 18px;
  }
  .year {
    font-size: 14px;
    line-height: 18px;
  }
  .head {
    flex-direction: column;
  }
  .back {
    margin: 0;
  }
  .title {
    font-family: "AUTHENTICSans-90";
    justify-content: center;
    display: flex;
    width: 100%;
    margin-top: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-weight: 100;
    font-size: 22px;
    box-sizing: border-box;
  }
  .aboutme {
    position: relative;
  }
  .me {
    margin-top: 2rem;
    font-family: "AUTHENTICSans-90";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    padding-left: 0.2rem;
    padding-right: 0.2rem;

    flex-shrink: 0;
  }
  .info {
    font-family: "AUTHENTICSans-90";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    width: 342.302px;
    height: 111.977px;
    transform: rotate(-2.33deg);
    padding-left: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 6rem;

    flex-shrink: 0;
  }
  .edu {
    font-family: "AUTHENTICSans-90";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;

    margin-top: 7rem;
    transform: rotate(1.313deg);
    padding-left: 1.5rem;
    flex-shrink: 0;
  }
  .funfact {
    display: none;
  }

  .hover-trigger {
    position: relative;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 8%;
    text-underline-offset: 7%;
    text-underline-position: from-font;
  }

  .hover-trigger .hover-image {
    position: absolute;
    top: -150%;
    left: 50%;
    width: 164px;
    height: 108px;

    display: none;
    z-index: 20;
  }

  .hover-trigger:hover .hover-image {
    display: block;
  }
  .contacts {
    font-family: "AUTHENTICSans-90";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    width: 411px;
    transform: rotate(3.6deg);
    padding-left: 2rem;
    margin-top: 4rem;
    margin-bottom: 5rem;
    flex-shrink: 0;
    position: relative;
  }

  .totalproject {
    box-sizing: border-box;
    flex-direction: column;
    width: 100%;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
  .projectinfos {
    box-sizing: border-box;
    flex-direction: column;
    margin-top: 0rem;
    display: flex;
  }
  .projectdescription {
    box-sizing: border-box;
    font-family: "AUTHENTICSans-90";
    text-align: left;
    font-size: 14px;

    width: 100%;
    padding-right: 0;
  }
  .infos {
    box-sizing: border-box;
    text-align: left;
    justify-content: left;
    display: flex;
    width: 100%;
    font-size: 14px;
  }
  #draggable-container {
    display: none;
  }
}
