* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --gold: #e49e1a;
  --hellgold: #fde2ac;
  --a: #fddb9b;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--a);
  overflow-x: hidden;
}

/*-----navbar-----*/

.navbar {
  position: absolute;
  width: 100%;
  left: 50%;
  height: 10vh;
  z-index: 15;
  opacity: 0.9;
  transform: translateX(-50%);
}

.logo img {
  color: #000;
  width: 5vw;
  left: 2vw;
  top: 1vw;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  border: 2px solid var(--hg);
  border-radius: 50px;
}

.menu-btn {
  color: #000;
  font-size: 2.2vw;
  font-weight: bold;
  position: absolute;
  right: 0;
  text-decoration: none;
  cursor: pointer;
  padding: 30px;
}

.menu-btn:hover {
  color: #e49e1a;
  transition: 0.5s;
}

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  overflow-x: hidden;
  transition: 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #fff;
  z-index: 100;
}

.sidebar a {
  padding: 25px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.5rem;
  color: var(--green);
  display: block;
  transition: 0.3s;
  text-align: center;
  z-index: 100;
}

.sidebar a:hover {
  color: #ddd;
  transform: translateY(30%);
  transition: 0.5s;
}

.sidebar .closebtn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 30px;
}

/*-----page-----*/

#page {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: -1;
}

.hero {
  color: #000;
  position: absolute;
  top: 30%;
  font-size: 7vw;
  line-height: 0.8;
  letter-spacing: -0.06em;
  width: 80%;
  margin: 0 auto;
  padding: 10px;
  animation: slideUpFadeIn 4s ease-out forwards;
}

.minihero {
  color: #000;
  letter-spacing: 0;
  margin-top: 1em;
  font-size: 1.5vw;
  animation: fadeInRight 4s ease-out forwards;
}

.image-container {
  position: absolute;
  top: 55%;
  width: 100%;
  text-align: center;
  z-index: -1;
}

.responsive-img {
  width: 100%;
}

.container-a {
  position: absolute;
  bottom: 200px;
  right: 0;
  width: 110px;
  height: 110px;
  z-index: 1000;
}
.icon {
  color: #000;
  font-size: 3em;
}

@keyframes slideUpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}
@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 0.9;
    transform: translateX(0);
  }
}

/*-----page 1-----*/

.page1 {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffe5b6;
  padding: 5vw;
}

.page1 .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page1 .column {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.page1 .image-left,
.page1 .text-right,
.page1 .text-left,
.page1 .image-right {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page1 img {
  max-width: 60%;
  height: auto;
  border-radius: 20px;
}

.right1 h1 {
  margin-bottom: 10px;
  font-size: 3vw;
  text-align: center;
  text-decoration: underline;
}

.right1 p {
  font-size: 1.5vw;
  text-align: left;
  background-color: var(--a);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/*-----page2-----*/

.page2 {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  cursor: pointer;
  margin-top: 200px;
  margin-bottom: 200px;
}

.heading {
  letter-spacing: -0.06em;
  font-size: 6vw;
  color: #000;
  text-decoration: underline;
}

.subheading {
  letter-spacing: -0.03em;
  font-size: 2.5vw;
  margin-bottom: 150px;
  text-align: center;
  line-height: 1.5;
}

.flip-box-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.flip-box {
  position: relative;
  width: 20vw;
  height: 20vw;
  perspective: 1000px;
  border-radius: 20px;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
  transform: rotateY(180deg);
}

.flip-box-front,
.flip-box-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.6em;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 20px;
}

.flip-box-front {
  background-image: url("/assets/bild/sea.png");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.flip-box-back {
  background-color: #fee9c0;
  transform: rotateY(180deg);
  font-size: 1.3vw;
}

/*-----page3-----*/
.page3 {
  width: 100%;
  height: 100%;
  padding: 0 20px;
}

.headingg {
  margin-bottom: 100px;
  letter-spacing: -0.06em;
  font-size: 6vw;
  color: #333;
  display: flex;
  justify-content: center;
  text-decoration: underline;
}
.p-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 100px;
}

.p-container img {
  max-height: 100%;
  max-width: 40%;
  border-radius: 20px;
  box-shadow: 4px 8px 12px rgba(0, 0, 0, 0.5);
}

.p-container img:hover {
  transform: scale(1.05);
  transition: 0.5s;
  cursor: pointer;
}

/*----page4----*/
.aboutme {
  display: none;
}

.page4 {
  width: 100%;
  height: 305vh;
  padding: 20px;
  background: #fff;
  margin-top: 50px;
}

.headline {
  height: 4em;
  width: 100%;
  font-size: 2vw;
}

.headline h1 {
  text-align: center;
}

.text {
  margin: 0.8em 0 0 0;
  height: 1em;
  width: 100%;
  font-size: 1.5vw;
  text-align: center;
}

.gallery {
  display: flex;
}

.left {
  width: 50%;
}

.detailsWrapper {
  margin: auto;
  width: 80%;
}

.details {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.right {
  width: 50%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.still {
  border-radius: 20px;
}

.still img {
  width: 100%;
  float: right;
  display: block;
  border-radius: 90px;
  padding: 70px;
  max-width: 700px;
}

/*----page5----*/

.page5 {
  width: 100%;
  height: 60vh;
  z-index: 2;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.content-wrapper {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 20px;
}

.contact-image img {
  max-width: 250px;
  width: 10vw;
  height: auto;
  margin-left: 100px;
}

.contact-info {
  color: #000;
  max-width: 500px;
  position: relative;
  left: 20%;
  margin-bottom: 100px;
}

.contact-info h1 {
  font-size: 3vw;
  margin-bottom: 10px;
}

.contact-links a {
  color: #000;
  display: block;
  margin-bottom: 5px;
  font-size: 1.5vw;
  text-decoration: none;
}

.contact-icons a {
  color: #000;
  font-size: 1.8vw;
  text-decoration: none;
}

.contact-links a:hover,
.contact-icons a:hover {
  color: var(--gold);
}

.footer {
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  padding: 30px;
  border-top: 3px solid #000;
}

.footer a {
  color: #000;
  text-decoration: none;
  margin: 5px;
  font-size: 1.8vw;
}

.footer a:hover {
  transform: translateY(-20%);
  transition: 0.5s;
  color: var(--gold);
}

.copyright {
  font-size: 0.9em;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 1.3vw;
  color: #000;
}

/*-----Media-----*/

@media screen and (max-width: 1024px) {
  .page1 .column {
    flex-direction: column;
    text-align: center;
  }

  .right1 h1 {
    font-size: 5vw;
    text-align: center;
    margin-bottom: 30px;
  }
  .right1 p {
    font-size: 3vw;
    text-align: center;
  }
  .page1 img {
    display: none;
  }

  .page4 {
    height: 100vh;
  }

  .aboutme {
    display: contents;
    font-size: 2vw;
    text-align: center;
  }

  .myheadline {
    margin-top: 100px;
    margin-bottom: 40px;
    text-decoration: underline;
    font-size: 2.5vw;
  }

  .right {
    display: none;
  }

  .detailsWrapper {
    display: none;
  }

  .flip-box-back {
    font-size: 1vw;
  }

  .flip-box-front {
    font-size: 2.5vw;
  }
}

@media (max-width: 768px) {
  .menu-btn {
    font-size: 3vw;
  }

  .hero {
    font-size: 8vw;
  }

  .minihero {
    font-size: 2vw;
  }

  .logo img {
    width: 8vw;
    left: 2vw;
    top: 2vw;
  }

  .page1 {
    padding: 10vw;
  }

  .right1 h1 {
    font-size: 5vw;
  }

  .right1 p {
    font-size: 3.5vw;
  }

  .page2 {
    margin-top: 200px;
  }

  .flip-box {
    width: 200px;
    height: 200px;
  }

  .flip-box-back {
    font-size: 1.5vw;
  }

  .flip-box-container {
    flex-direction: column;
    align-items: center;
  }

  .p-container {
    flex-direction: column;
  }

  .contact-info h1 {
    font-size: 3.5vw;
  }

  .contact-links a {
    font-size: 2vw;
  }

  .contact-icons a{
    font-size: 2.5vw;
  }

  .footer a {
    font-size: 2.5vw;
  }

  .copyright {
    font-size: 2vw;
  }
}

@media (max-width: 480px) {
  .page4 {
    height: 130vw;
  }

  .page5 {
    height: 40vh;
  }

  .menu-btn {
    font-size: 4vw;
  }

  .logo img {
    width: 9vw;
    left: 3vw;
    top: 2vw;
  }

  .right1 h1 {
    font-size: 6vw;
  }

  .right1 p {
    font-size: 4vw;
    text-align: center;
  }

  .heading {
    font-size: 6vw;
  }
  .info-box {
    padding: 10px;
  }

  .info-box h3 {
    font-size: 4vw;
  }

  .info-box p {
    font-size: 3.5vw;
  }

  .flip-box-back {
    font-size: 2.5vw;
  }

  .p-container img {
    max-width: 50%;
  }

  .mytext {
    font-size: 3vw;
  }

  .contact-info h1 {
    font-size: 4.5vw;
  }

  .contact-links a{
  font-size: 2.5vw;
  }

  .contact-icons a{
    font-size: 3vw;
  }

  .contact-image img {
    margin-left: 50px;
  }

  .footer a {
    font-size: 4vw;
    text-align: center;
  }

  .copyright {
    font-size: 3vw;
    left: 0;
  }
}
