@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  height: 100%;
  background-color: #080808;
}

body {
  color: white;
  line-height: 1.6;
  margin: 0;
  height: 100%;
  overflow-x: hidden;
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

a {
  text-decoration: none;
}

body.hidden {
  visibility: hidden;
}

/* Header */
header {
  width: 100%;
  margin-top: 10px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: static;
  z-index: 1;
}

.main-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0px 50px;
  background-color: transparent;
  color: white;
  box-sizing: border-box;
}

.big-name {
  font-size: 84px;
  font-weight: 500;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

.big-name {
  display: inline-block;
  transition: transform 0.3s ease;
}

.big-name:hover {
  transform: scale(1.05);
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.6), 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/*contact links*/
.contact-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-links a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-links a:hover {
  text-decoration: underline;
}

.mail-icon {
  width: 24px;
  height: 22px;
  vertical-align: middle;
}

.insta-icon {
  width: 24px;
  height: 22px;
  vertical-align: middle;
}

/* language selector */
#language-selector {
  position: absolute;
  top: 1%;
  right: 1%;
  font-size: 22px;
  z-index: 10;
}

#language-selector a {
  color: white;
  text-decoration: none;
  margin-left: 5px;
}

#language-selector a:hover {
  text-decoration: underline;
}

/* navigation */
main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0px;
}

.page-layout {
  display: flex;
  padding: 10px 35px;
  gap: 10px;
}

.nav-container {
  display: flex;
  flex-direction: row;
  width: 1%;
  height: 2%;
  padding: 0;
  background-color: transparent;
}

nav ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  list-style: none;
  padding-left: 20px;
}

nav ul li a {
  display: inline-block;
  color: white;
  text-decoration: none;
  letter-spacing: 0.1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  font-size: 28px;
  position: relative;
  transition: transform 0.3s ease;
}

nav ul li a:hover {
  transform: scale(1.25);
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.6), 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* biography */
.feature-box.biography {
  display: flex;
  justify-content: center;
  background-color: #080808;
  align-items: stretch;
  padding: 20vh 0;
  border-radius: 5px;
  width: 100%;
  flex-wrap: wrap;
}

.biography-wrapper {
  display: flex;
  justify-content: center;
}

.biography-text {
  flex: 2;
  width: 100%;
  max-width: 80vw;
  text-align: justify;
  line-height: 1.6;
}

.biography-text p {
  margin-bottom: 16px;
}

.biography-image {
  flex: 1;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: top;
  align-items: center;
  margin: 0 50px;
}

.biography-image img {
  width: 100%;
  border-radius: 3px;
}

/* footer */
footer {
  width: 100%;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 18px;
  position: relative;
  bottom: 0;
}

footer p {
  margin: 0 auto;
  text-align: center;
}

/* loading */
#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #080808;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Small phones to tablets */
@media (min-width: 376px) and (max-width: 768px) {
  span {
    font-size: 10px;
  }

  header,
  .main-header {
    padding: 20px 15px;
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 0;
  }

  .header-left {
    margin-top: 5%;
  }

  .big-name {
    font-size: 50px;
    height: 60px;
  }

  #language-selector {
    top: 10px;
    right: 10px;
    font-size: 14px;
  }

  main {
    padding: 0px 10px 20px;
    flex-direction: column;
  }

  .page-layout {
    flex-direction: column;
    padding: 10px 15px;
  }

  .nav-container {
    padding: 30px 0;
  }

  nav ul {
    display: flex;
    flex-direction: row;
    gap: 12px;
    list-style: none;
    padding-left: 0;
  }

  nav ul li a {
    font-size: 18px;
  }

  .feature-box.biography {
    padding: 5vh 0;
  }

  .biography-text {
    max-width: 80vw;
  }

  .biography-image {
    min-width: 320px;
    margin: 0 20px;
  }

  footer {
    font-size: 14px;
    background-color: #080808;
  }
}

@media (min-width: 560px) and (max-width: 768px) {

  header,
  .main-header {
    padding: 0px 25px;
  }

  .header-left {
    margin-top: 0%;
  }

  .big-name {
    font-size: 58px;
  }

  .nav-container {
    padding: 15px;
  }

  .biography-image {
    min-width: 240px;
    margin: 0 20px;
  }

}

@media (min-width: 768px) and (max-width: 1024px) {

  .big-name {
    font-size: 72px;
  }

  #language-selector {
    font-size: 16px;
  }

  .biography-image {
    min-width: 280px;
    margin: 0 20px;
  }
}