/* fonts voor de website */
@font-face {
  font-family: "zodiakbold";
  src: url("./fonts/zodiak/zodiak-bold-webfont.woff2") format("woff2"),
    url("./fonts/zodiak/zodiak-bold-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "zodiakregular";
  src: url("./fonts/zodiak/zodiak-regular-webfont.woff2") format("woff2"),
    url("./fonts/zodiak/zodiak-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "eudoxus_sansbold";
  src: url("./fonts/eudoxus/eudoxussans-bold-bf659b6cb1408e5-webfont.woff2")
      format("woff2"),
    url("./fonts/eudoxus/eudoxussans-bold-bf659b6cb1408e5-webfont.woff")
      format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "eudoxus_sanslight";
  src: url("./fonts/eudoxus/eudoxussans-light-bf659b6cb2036b5-webfont.woff2")
      format("woff2"),
    url("./fonts/eudoxus/eudoxussans-light-bf659b6cb2036b5-webfont.woff")
      format("woff");
  font-weight: 300;
  font-style: normal;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* scrollbar */
::-webkit-scrollbar {
  width: 15px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: #e3dbdc;
}

::-webkit-scrollbar-thumb:hover {
  background: #478cde;
}

/* website zelf */
body {
  background-color: #665342;
}

.background-decor-spiral {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
}

a {
  color: #e3dbdc;
  text-decoration: none;
}

header {
  display: flex;
  height: 100px;
  width: 100%;
}

#logo {
  height: 15rem;
  width: 15rem;
}

nav {
  position: fixed;
  right: 0;
  padding-right: 50px;
  padding-top: 50px;
  font-family: "zodiakregular", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 26px;
  z-index: 1;
}

nav ul {
  display: flex;
  justify-content: end;
  gap: 50px;
  list-style: none;
}

main {
  height: 95vh;
  width: 100%;
  padding: 0 100px 0 100px;
}

section {
  height: 95vh;
  width: 100%;
  padding: 0 100px 0 100px;
}

footer {
  height: 95vh;
  width: 100%;
  padding: 0 100px 0 100px;
}

body h1 {
  font-size: 4rem;
  font-family: "zodiakregular", Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #478cde;
  letter-spacing: 10px;
  padding: 0 0 3rem 0;
}

body p {
  font-family: "eudoxus_sanslight", Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: #e3dbdc;
  padding: 0 0 1.5rem 0;
  font-size: 2rem;
  line-height: 40px;
}

.appearing-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.5s ease-out;
}

.appearing-textVisible {
  opacity: 1;
  transform: translateY(0);
}

#page-title {
  position: absolute;
  font-family: "zodiakregular";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e3dbdc;
  font-size: 15em;
  letter-spacing: 30px;
}

.about-me-page {
  flex-direction: column;
  position: relative;
}

.background-decor-butterfly {
  position: absolute;
  z-index: -1;
  right: 100px;
  bottom: 10px;
  transform: rotate(25deg);
  max-width: 100%;
}

.background-decor-spiral-white {
  position: absolute;
  z-index: -1;
  left: -115px;
  top: 0;
  bottom: 200px;
}

.about-me-page p {
  width: 75%;
}

.learning-outcomes-page {
  display: flex;
  flex-direction: column;
}

.learing-outcomes-page p {
  width: 75%;
}

/* carousel */
.carousel {
  display: grid;
  gap: 40px;
  grid-auto-flow: column;
  margin-left: -50px;
  margin-right: -65px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  list-style: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-picture {
  margin-top: 60px;
  width: 500px;
  height: 400px;
  border-radius: 10px;
}

/* contact form */
.contact-page {
  display: flex;
  position: relative;
  flex-direction: column;
  height: 100vh;
}

.contact-form {
  display: flex;
  gap: 10px;
  width: 700px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.text-box {
  font-family: "eudoxus_sanslight", Arial, Helvetica, sans-serif;
  font-weight: 300;
  background-color: #e3dbdc;
  border-radius: 5px;
  width: 700px;
  height: 70px;
  padding: 10px 20px;
  border: 0;
  font-size: 1.5rem;
}

.text-box + .message {
  height: 200px;
  padding: 20px;
  font-size: 1.5rem;
}

.submit-button {
  font-family: "eudoxus_sansbold", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  border-radius: 5px;
  width: 300px;
  height: 60px;
  background-color: #478cde;
  border: 0;
  color: #e3dbdc;
  cursor: pointer;
  transition-duration: 0.3s;
}

.submit-button:hover {
  background-color: #e3dbdc;
  color: #478cde;
}

.socials {
  display: flex;
  align-items: center;
}

span {
  font-family: "eudoxus_sanslight", Arial, Helvetica, sans-serif;
  font-weight: 300;
  color: #e3dbdc;
  font-size: 2rem;
}

#btn-top-page {
  display: none;
  position: fixed;
  bottom: 50px;
  right: 50px;
  padding: 10px 0;
  font-family: "eudoxus_sansbold", Arial, Helvetica, sans-serif;
  font-weight: 700;
  width: 5%;
  text-align: center;
  border-radius: 5px;
  border: 0;
  font-size: 18px;
  background-color: #478cde;
  color: #e3dbdc;
  cursor: pointer;
  transition-duration: 0.3s;
}

#btn-top-page:hover {
  background-color: #e3dbdc;
}

#btn-top-page:hover .arrow-up {
  filter: invert(50%) sepia(23%) saturate(1825%) hue-rotate(176deg)
    brightness(99%) contrast(76%);
}

.arrow-up {
  height: 20px;
  width: 100%;
}

.confirmation-page {
  margin: 5rem;
}

/* projects page */
#main-projects {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 85vh;
  width: 100%;
  padding: 180px 100px 0 100px;
}

.project-titles {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.big-pictures {
  width: 50%;
}

.figma-exports {
  width: 35%;
}

/* overlay modals en de knoppen die erbij horen */
.closebtn {
  width: 40px;
  color: black;
  background-color: #e3dbdc;
  font-size: 3em;
  border: none;
  cursor: pointer;
}

.modal-title {
  font-size: 4rem;
  font-family: "zodiakregular", Arial, Helvetica, sans-serif;
  font-weight: 400;
  color: #478cde;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}

.btn {
  font-family: "eudoxus_sansbold", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #665342;
  padding: 1.5rem 3rem;
  border: 2px solid #e3dbdc;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  width: auto;
  max-width: 25%;
}

.btn:active {
  transform: scale(0.95);
}

.btn:hover {
  background-color: #478cde;
  border-color: #478cde;
}

.close-modal {
  background: none;
  border: none;
  font-size: 3rem;
}

.modal {
  display: none;
}

.modal.active {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 90%;
  position: fixed;
  border: 1px solid #e3dbdc;
  border-radius: 5px;
  z-index: 200;
  background-color: #e3dbdc;
  overflow-y: auto;
}

.modal .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e3dbdc;
  margin: 30px 40px;
  background-color: #e3dbdc;
}

.modal .body {
  margin: 30px 60px;
  font-size: 1.5rem;
  color: #665342;
  font-family: "eudoxus_sanslight", Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 30px;
}

.modal-text {
  font-size: 1.5rem;
  color: #665342;
  font-family: "eudoxus_sanslight", Arial, Helvetica, sans-serif;
  font-weight: 300;
  line-height: 30px;
  padding-bottom: 30px;
}

.modal-subtitle {
  font-size: 2rem;
  color: #665342;
  font-family: "eudoxus_sansbold", Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 30px;
  padding-bottom: 30px;
}

.summary-list {
  padding-bottom: 40px;
  padding-left: 20px;
}

.modal .body img {
  max-width: 80%;
  padding-bottom: 30px;
  padding-right: 40px;
}

.modal a {
  color: #478cde;
  text-decoration: underline;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(3px);
  z-index: 100;
}

#overlay.active {
  display: block;
}
