/* general */
:root {
  --animate-duration: 2s;
  /*--dark: #1B2A37;*/
  /*--medium: #425668;*/
  /*--light: #d3c0be;*/
  --dark: #1B2A37;
  --medium: #275a79;
  --shadow: rgba(39, 90, 121, 0.4);
  --light: #f3ebea;
  --accent: #f1784f;
  --lightest: rgba(255, 255, 255, 0.3);
}

* {
  color: #000;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
}
a, a:hover {
  color: #000;
}
html, body{
  margin: 0;
  overflow-x: hidden;
}
html{
  height: 100%;
}
body{
  background-color: var(--light);
  min-height: 100%;
  height: 100vh;
  position: relative;
}
header, footer {
  background-color: var(--dark);
}
header{
  height: 4.5rem;
}
header a, footer a{
  color: #fff;
  text-decoration: none;
}
main{
  padding: 7em 0;
}
h1{
  font-size: 2em;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0;
  margin-inline-end: 0;
}
h1, h3 {
  font-weight: bold;
}
p, a, li{
  font-size: 1.2rem;
}
hr{
  height: 3px !important;
  background: var(--dark);
  font-size: 0;
  border: 0;
  opacity: 1;
  width: 80%;
  margin: auto;
}
.lightHr {
  width: 100%;
  height: 1px !important;
  background: var(--dark);
  opacity: 0.3;
  margin-bottom: 0.5rem;
}
.clickable {
  transition: 0.3s;
}
.clickable:hover{
  display: inline-block;
  transform: scale(1.05);
  transition: 0.3s;
  cursor: pointer;
  color: #fff;
}

/* header */
header{
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10;
}
nav {
  height: 100%;
  padding: 0 10em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo{
  width: 3em;
  vertical-align: middle;
}
/* navlist */
.menulist {
  animation-duration: 0s;
  float: right;
  margin: 0;
}
.menulist li{
  display: inline-block;
  margin: 0 0 0 3em;
  font-size: 1.2em;
}
.menulist li a {
  text-transform: uppercase;
}
.menulist li a:hover {
  color: #fff;
}
.navactive{
  text-decoration: underline;
  transform: scale(1.05);
}
/* mobile */
.hamburgermenu, #toggle {
  text-align: right;
  font-size: 3em;
  display: none;
}

/* index */
#indexMain {
  height: calc(100vh - 4.5rem);;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0;
  margin-top: 4.5rem;
}
.general{
  padding: 0 2em;
  display: flex;
  justify-content: center;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 0 0 0 10px;
  margin: 2em auto;
  width: 80%;
}
.general .generalText {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  order: 1;
}
.general h1, .general h2, .general p {
  margin: 0;
}
.me{
  height: 20em;
  order: 2;
  margin: auto 0 0 4em;
}
.button{
  display: inline-block;
  text-align: center;
  border: none;
  border-radius: 10px;
  margin: 0.5em;
  padding: 0.5em 1.5em;
  background-color: var(--medium);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 3px 3px var(--shadow);
}
.buttonsmobile{
  display: none;
}
.rest{
  width: 100%;
  padding: 2em 8em;
  display: inline-flex;
  justify-content: center;
}
.rest img{
  height: 6em;
  display: block;
  padding: 0 2.5em;
}
.rest a{
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 1.5em;
}
.rest a:hover {
  color: #000;
}
/*background circles*/
.circle {
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 20%, var(--medium));
  opacity: 0.2;
  position: absolute;
  z-index: -5;
}
.circle.zero {
  position: absolute;
  width: 25rem;
  height: 25rem;
  opacity: 0.1;
  bottom: 0;
  right: 75%;
}
#aboutMeMain .circle.zero {
  top: 80em;
}
#portfolioMain .circle.zero {
  top: 135em;
}
.circle.one {
  width: 9em;
  height: 9em;
  top: 12em;
  right: -2em;
  background: linear-gradient(135deg, transparent 20%, var(--accent));
}
.circle.two {
  width: 7em;
  height: 7em;
  top: 3em;
  right: 8em;
}
.circle.three {
  width: 14em;
  height: 14em;
  top: 40em;
  left: -4em;
}
.circle.four {
  width: 4em;
  height: 4em;
  top: 3em;
  right: 16em;
  background: linear-gradient(135deg, transparent 20%, var(--accent));
}
.circle.five {
  width: 10em;
  height: 10em;
  top: 20em;
  right: -3em;
}
.circle.six {
  width: 18em;
  height: 18em;
  bottom: 30em;
  right: 2em;
  background: linear-gradient(135deg, transparent 20%, var(--accent));
}
#aboutMeMain .circle.six, #portfolioMain .circle.six  {
  top: 110em;
}
.circle.seven {
  width: 18em;
  height: 18em;
  top: 28em;
  left: -5em;
  background: linear-gradient(135deg, transparent 20%, var(--accent));
}
.circle.eight {
  width: 5em;
  height: 5em;
  top: 4em;
  right: 20em;
}
.circle.nine {
  width: 8em;
  height: 8em;
  top: 25em;
  right: -4em;
}
.circle.ten {
  width: 7em;
  height: 7em;
  top: 2em;
  left: 20em;
}
.circle.eleven {
  width: 20em;
  height: 20em;
  top: 25em;
  right: -4em;
  background: linear-gradient(135deg, transparent 20%, var(--accent));
}
.circle.twelve {
  width: 15em;
  height: 15em;
  top: 75em;
  left: 10em;
}

/* portfolio */
.portfolioTitle {
  text-align: left;
  width: 80%;
  margin: auto;
  padding: 0.67em;
  /*border-left: 3px solid var(--dark);*/
  /*border-bottom: 3px solid var(--dark);*/
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 0 0 0 10px;
}
.projectContainer{
  width: 80%;
  margin: 1.5rem auto;
  display: flex;
  flex-wrap: wrap;
}
.projectContainer a {
  width: 20%;
  margin: auto;
  text-align: end;
}
.projectContainer .portfolioLogo {
  height: 9rem;
  margin: auto;
  padding: 0.5rem;
}
.projectContainer .info{
  width: 80%;
  text-align: left;
  padding: 0 2em;
  top: 0;
  bottom: 0;
  margin: auto;
}
.projectContainer h1 {
  font-size: 1.3em;
}
.projectContainer h2, .projectContainer h2 a, .projectContainer p, .projectContainer li, .projectContainer span{
  font-weight: normal;
  font-size: 1.2rem;
}
.info a, .expandedContent a, #aboutMeMain a {
  text-decoration: none;
}
.info h2 a, .info p a, .expandedContent a, #aboutMeMain a {
  color: rgba(0, 0, 0, 0.7);
}
#video {
  width: 30%;
}
#bookingImg, #editingImg {
  width: 80%;
  margin: 1rem;
  border-right: 5px;
}
.seeExpandButtons {
  left: 0;
  right: 0;
  margin: auto;
}
.seeExpandButtons a {
  text-decoration: none;
  color: #fff;
  font-size: inherit;
}

/*carousel*/
.carousel-control-next, .carousel-control-prev {
  filter: invert(100%);
}
.carousel-indicators [data-bs-target] {
  background-color: var(--dark);
}
.carousel-indicators {
  margin-bottom: 3rem;
}
.carousel-item {
  transform: scale(0.8);
}
.carousel-item span {
  text-align: center;
  display: block;
}
.carousel-indicators button {
  width: 20px !important;
  height: 20px !important;
  border-radius: 100%;
  margin-top: 50px;
  top: 50px !important;
  position: relative;
}

/*expanding*/
.projectContainer {
  height: fit-content;
  max-height: 15em;
  min-height: 1em;
  overflow: hidden;
  transition: all 1s ease-in-out;
  position: relative;
}
.projectContainer.expand-active {
  height: fit-content;
  min-height: 15em;
  max-height: 200em;
  transition: all 1s ease-in-out;
  position: relative;
}
.expandMore {
  width: 80%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  left: 0;
  right: 0;
  margin: 1rem auto;
}
.expand-active .expandMore {
  flex-direction: column-reverse;
}
.expandMore .expandedContent {
  display: none;
}
.expand-active .expandMore .expandedContent{
  display: block;
}
.expandedContent ul {
  margin-bottom: 0;
}
.btnExpandMore {
  font-size: 1rem;
  align-self: center;
  width: fit-content;
  margin: 0;
  background-color: var(--lightest);
  box-shadow: 0 3px 3px var(--shadow);
  color: #000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btnExpandMore:hover {
  color: #000;
}
/*nav buttons*/
#navButtons {
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  height: calc(100% - 4.5em);
  top: 4.5em;
  justify-content: space-between;
  padding: 1rem 0;
  z-index: 50;
  letter-spacing: 4px;
}
.navButton {
  /*writing-mode: vertical-rl;*/
  /*text-orientation: upright;*/
  writing-mode: vertical-rl;
  transform:scale(-1);
  text-decoration: none;
  padding: 0.7rem 0.5rem;
  margin: 0;
  font-size: 1rem;
  background-color: var(--lightest);
  box-shadow: 0 -3px 3px var(--shadow);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navButton:hover {
  color: #000;
  transform:scale(-1.05) !important;
}
#professional, #personal, #uni {
  scroll-margin-top: 5rem;
}
#professional {
  margin-top: 1rem;
}


/* contact */
.grecaptcha-badge {
  margin-bottom: 5em;
  z-index: 20;
}
/*contact form*/
/*source: https://github.com/sefyudem/Contact-Form-HTML-CSS*/
#formContainer {
  position: absolute;
  width: 70%;
  height: 70%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: var(--lightest);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#formContainer h1 {
  margin: 0;
  /*border-left: 3px solid var(--dark);*/
  /*border-bottom: 3px solid var(--dark);*/
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 0 0 0 10px;
  padding: 1rem;
  text-align: left;
}
.input-container {
  position: relative;
  margin: 1rem 0;
  width: 50%;
}
.textarea {
  width: 100%;
}
.input {
  width: 100%;
  outline: none;
  border: 2px solid var(--dark);
  background: none;
  padding: 0.6rem 1.2rem;
  color: var(--dark);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-radius: 10px;
  transition: 0.3s;
}
.textarea.input {
  padding: 0.8rem 1.2rem;
  min-height: 150px;
  resize: none;
  overflow-y: auto;
}
.input-container label {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  padding: 0 0.4rem;
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 400;
  pointer-events: none;
  z-index: 1000;
  transition: 0.5s;
}
.input-container.textarea label {
  top: 1rem;
  transform: translateY(0);
}
.input-container span {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translateY(-50%);
  font-size: 0.8rem;
  padding: 0 0.4rem;
  color: transparent;
  pointer-events: none;
  z-index: 500;
}
.input-container span:before,
.input-container span:after {
  content: "";
  position: absolute;
  width: 10%;
  opacity: 0;
  transition: 0.3s;
  height: 5px;
  background-color: #f7f1f0;
  top: 50%;
  transform: translateY(-50%);
}
.input-container span:before {
  left: 50%;
}
.input-container span:after {
  right: 50%;
}
.input-container.focus label {
  top: 0;
  transform: translateY(-50%);
  left: 25px;
  font-size: 0.8rem;
}
.input-container.focus span:before,
.input-container.focus span:after {
  width: 50%;
  opacity: 1;
}
.submitform {
  font-size: 1.1rem;
}

/* about */
.aboutMe, .mySkills {
  width: 80%;
  /*border-left: 3px solid var(--dark);*/
  /*border-bottom: 3px solid var(--dark);*/
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  border-radius: 0 0 0 10px;
  margin: 1em auto;
  padding: 1rem;
  text-align: left;
}
#aboutMeMain{
  text-align: center;
  padding: 5em 0 2em 0;
}
#aboutMeMain .button {
  color: #fff;
}
#aboutMeMain p, #aboutMeMain h2 {
  text-align: left;
}
.about, .techskills, .perskills, .interests {
  width: 80%;
  margin: auto;
}
#mockups {
  width: 70%;
}

/* footer */
footer{
  width: 100%;
  text-align: center;
  vertical-align: middle;
  z-index: 0;
  position: absolute;
  height: 5em;
}
footer a.clickable{
  text-align: center;
  display: inline-block;
  margin: 1em 2em 0 2em;
}
.iconfooter{
  height: 1.5em;
  vertical-align: middle;
  margin-right: 0.5em;
}
.footerlinks a:hover {
  color: #fff;
}
.mobilefooterlinks{
  display: none;
}
.copyright{
  float: right;
  margin: 0 10em 0 0;
}
.logofooter{
  width: 0.9em;
  vertical-align: middle;
}
.copyright, .copyright a{
  color: #ffffff99;
}

/* responsiveness */
@media only screen and (max-width: 1112px) {
  html, body, header, main, footer{
    width: 100% !important;
  }
  main{
    padding: 5em 0;
  }
  hr{
    width: 90%;
  }
  /* header */
  nav{
    padding: 0 2em;
    vertical-align: middle;
  }
  /* index */
  #indexMain {
    padding: 0;
  }
  .general{
    width: 90%;
  }
  .me{
    margin: auto 0 0 0;
  }
  .button{
    margin: 0.15em;
  }
  .rest{
    padding: 2em 2em;
  }
  .rest img{
    padding: 0 1.5em;
  }
  /* portfolio */
  .portfolioTitle, .projectContainer, .expandMore, #bookingImg {
    width: 90%;
  }
  .projectContainer .portfolioLogo {
    height: 8.5rem;
  }
  /* contact */
  .contactlink{
    width: 60%;
  }
  #formContainer {
    width: 80%;
  }
  .grecaptcha-badge {
    margin-bottom: 4em;
  }
  /* about */
  .aboutMe, .mySkills, .about, .techskills, .perskills, .interests {
    width: 90%;
  }
  #mockups {
    width: 80%;
  }

  /* footer */
  footer{
    height: 4.5em;
  }
  footer a, .copyright{
    font-size: 1em;
  }
  .copyright{
    margin-right: 2em;
  }
  #video {
    width: 40%;
  }
}

@media only screen and (max-width: 900px) {
  h1 {
    font-size: 1.9em;
  }
  /*portfolio*/
  #portfolioMain {
    padding-left: 1rem;
  }
  .navButton {
    padding: 0.7rem 2px;
  }
  #arctaurusImages {
    width: 90% !important;
  }
  .projectContainer h1, .projectContainer h3{
    font-size: 1.2em;
  }
  .projectContainer h2, .projectContainer h2 a, .projectContainer p, .projectContainer li, .projectContainer span{
    font-weight: normal;
    font-size: 1.1rem;
  }
  #video {
    width: 50%;
  }
}
@media only screen and (max-width: 875px) {
  h1 {
    font-size: 1.8em;
  }
  /*portfolio*/
  #arctaurusImages {
    width: 95% !important;
  }
  /*index*/
  .rest a{
    font-size: 1.4em;
  }
}
@media only screen and (max-width: 768px) {
  h1 {
    font-size: 1.7em;
  }
  hr{
    width: 95%;
  }
  #portfolioMain {
    padding-left: 2rem;
  }
  /* hamburger menu */
  .hamburgermenu{
    display: inline;
    cursor: pointer;
    float: right;
    margin: 0 0.5em;
    padding: 0;
  }
  nav{
    display: inline;
  }
  .logo{
    width: 4.5em;
    padding: 0.3em 0.8em;
  }
  .menu{
    background-color: var(--dark);
    padding: 0;
  }

  .menulist{
    animation-duration: 0.8s;
    display: none;
    width: 100%;
    text-align: right;
    padding: 0;
    border-top: 1px solid var(--dark);
  }
  .menulist li{
    background-color: RGB(66, 86, 104, 0.97);
    display: block;
    padding: 0.5em 1.5em;
    margin: 0;
    border-bottom: 1px solid var(--dark);
  }
  #toggle:checked + .menulist{
    display: block;
  }
  /* index */
  .general{
    width: 95%;
    padding: 0 1em;
    margin: 1em auto;
  }
  .me{
    height: 15em;
    display: inline-flex;
  }
  .buttons{
    display: none;
  }
  .buttonsmobile{
    width: 95%;
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  .buttonsmobile .button{
    margin: 0.5em;
    padding: 0.5em 1em !important;
  }
  .rest{
    padding: 1em 0.5em;
    margin-bottom: 2em;
  }
  .rest img{
    height: 5.5em;
    padding: 0 1.5em;
  }
  /* portfolio */
  #navButtons {
    padding: 0.5rem 2px;
    /*letter-spacing: 4px;*/
  }
  .portfolioTitle, .projectContainer {
    width: 95%;
  }
  .projectContainer .portfolioLogo{
    height: 8rem;
  }
  .projectContainer h1, .projectContainer h3{
    font-size: 1.1em;
  }
  .projectContainer h2, .projectContainer h2 a, .projectContainer p{
    font-weight: normal;
    font-size: 1rem;
    margin: 0.4em 0;
  }
  .expandMore {
    width: 95%;
    gap: 1.5rem;
  }
  .carousel-indicators {
    margin-bottom: 2.5rem;
  }
  #bookingImg {
    width: 95%;
  }
  #arctaurusImages {
    width: 100% !important;
  }
  /* contact */
  .contactlink{
    width: 65%;
    font-size: 1.2em;
  }
  .icon{
    margin: 2em 2em;
  }
  #formContainer {
    width: 90%;
    padding: 0.5rem 1.5rem;
    height: fit-content;
  }
  .textarea {
    margin-bottom: 0.2rem !important;
  }
  /* about */
  .aboutMe, .mySkills, .about, .techskills, .perskills, .interests {
    width: 95%;
  }
  #mockups {
    width: 90%;
  }
  /* footer */
  footer a, .copyright{
    font-size: 1em;
  }
  footer a.clickable{
    margin: 0.5em 0.5em 0.5em 0.5em;
  }
  .copyright{
    margin-right: 1em;
  }
  #video {
    width: 60%;
  }
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 1.6em;
  }
  /*index*/
  main{
    padding: 5em 0;
  }
  #indexMain {
    padding: 0;
  }
  #portfolioMain {
    padding-left: 2rem;
  }
  .general{
    justify-content: center;
    text-align: left;
  }
  .me{
    display: block;
  }
  .rest img{
    height: 5em;
    padding: 0 1em;
  }
  /* about */
  .about{
    font-size: 1em;
  }
  /* contact */
  .contactlink{
    width: 75%;
    font-size: 1.1em;
  }
  .input-container {
    width: 100%;
  }
  /* portfolio */
  .projectContainer .portfolioLogo {
    height: 7.5rem;
  }
  .projectContainer h1, .projectContainer h3{
    font-size: 0.85em;
  }
  .expandMore {
    margin: 1rem auto;
  }
  .navButton {
    padding: 0.5rem 2px;
  }
  /* footer */
  .footerlinks{
    display: none;
  }
  .mobilefooterlinks{
    display: inline-block;
    width: 100%;
  }
  .iconfooter{
    height: 2em;
  }
  #video {
    width: 70%;
    padding-top: 1em;
  }
}

@media only screen and (max-width: 480px) {
  h1 {
    font-size: 1.5em;
  }
  /*index*/
  .general h1{
    font-size: 1.4em;
  }
  .general h2{
    font-size: 1.2em;
  }
  .general p{
    font-size: 1.1em;
  }
  .rest{
    font-size: 1em;
  }
  .rest img{
    height: 4em;
    padding: 0 0.75em;
  }
  .buttonsmobile .button{
    font-size: 1em;
  }
  .me {
    height: 12em;
  }
  /* about */
  #aboutMeMain h1{
    font-size: 1.3em;
  }
  #aboutMeMain h2{
    font-size: 1.2em;
  }
  .about, .techskills, .perskills {
    font-size: 0.9em;
  }
  /* contact */
  .contactlink{
    width: 80%;
  }
  /* portfolio */
  .projectContainer .portfolioLogo {
    height: 7em;
  }
  .projectContainer h2, .projectContainer p, .projectContainer li, .projectContainer span, .projectContainer a, .projectContainer h2 a{
    font-size: 0.8rem;
  }
  #video {
    width: 80%;
  }
  .carousel-indicators {
    margin-bottom: 2rem;
  }
  .expandMore {
    margin: 0 auto;
  }
}

@media only screen and (max-width: 320px) {
  h1 {
    font-size: 1.4em;
  }
  /*index*/
  .general h1{
    font-size: 1.3em;
  }
  .general h2{
    font-size: 1.1em;
  }
  .general p{
    font-size: 1em;
  }
  .rest{
    font-size: 0.8em;
    padding: 2em 0.2em;
  }
  .rest img{
    height: 3em;
    padding: 0 1.5em;
  }
  .buttonsmobile .button{
    font-size: 0.9em;
    margin: 0.2em;
  }
  .me {
    height: 10em;
  }
  /* about */
  #aboutMeMain h1{
    font-size: 1.2em;
  }
  #aboutMeMain h2{
    font-size: 1.1em;
  }
  .about, .techskills, .perskills{
    font-size: 0.8em;
  }
  /* contact */
  .contactlink{
    width: 95%;
    font-size: 1em;
  }
}
