@import url(https://fonts.googleapis.com/css?family=Montserrat);

@keyframes slide-in {
  0% {
    top: -50px;
  }
  40% {
    top: 20px;
  }
  70% {
    top: 10px;
  }
  100% {
    top: 15px;
  }
}

@keyframes fadeInColour {
  from {
    color: rgb(222, 222, 222);
  }
  to {
    color: #FFC876;
  }
}

@keyframes fadeOutColour {
  from {
    color: #FFC876;
  }
  to {

    color: whitesmoke;
  }
}

html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(#7fb2f0, #215ca4);
  background-repeat: no-repeat;
  background-size: cover;
}

body {
  margin: 0;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}

hr{
  width: 6vw;
  height: 0.5vh;
  background-color:#FFC876;
  border-color: #FFC876;
  margin: 2vh;
}

.FlexCenterColumn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#DanielDeGeer{
  position: absolute;
  width: 60vw;        /* Full width of the screen */
  height:60vh;      /* Set a fixed height */
  top: 27%;
}

#danielbild{
  width: 100%;
  height: auto;
  object-fit: cover;  /* Cover the container while maintaining aspect ratio */

}

#loading {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background-image: url(simple-pre-loader/images/loader-128x/Preloader_6.gif);
  background-repeat: no-repeat;
  background-position: center;
}

.subtitle {
  margin-bottom: 10px;
  text-align: center;
  flex-grow: 1;
}

h1 {
  margin-top: 5rem;
  font-size: 3rem;
  color: rgb(222, 222, 222);
	font-family: 'Morn';
}

h2 {
  margin-top: 1rem;
  font-size: 1rem;
  color: rgb(222, 222, 222);
  font-family: 'Morn';
}

h3 {
  margin-top: 2rem;
  font-size: 1rem;
  color: rgb(222, 222, 222);
  font-family: 'Morn';
}

.textbox1 {
  width: 500px;
  height: 300px;
  margin: auto;
  overflow: auto;
  display: flex;
  text-align: center;
}

.scrollable-container {
  display: flex;
  gap: 10px;
  z-index: 6;
  display: flex;
  flex-wrap: nowrap;
  margin-top: 30vh;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.scrollable-item {
  z-index: 6;
  max-width: 20%;
  height: 30vh;
  width: 70vh;
  cursor: pointer;
  margin-right: 1rem;
  border-radius: 10px;
  box-shadow: 0px 3px 3px rgba(255, 255, 255, 0.048);
  object-fit: cover;
  transition: transform 0.1s ease; /* Smooth transition */
}

.scrollable-item:last-child {
  margin-right: 0;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

#AboutPage {
  z-index: 10;
  transition: opacity 1s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 9vh;
  animation: fadeIn 2s;
}

#CollectionPage {
  z-index: 2;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

#ContactPage {
  display: none;
  z-index: 10;
  transition: opacity 1s;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 20px;
  width: 300px;
  margin: 25vh auto;
  font-family: "Morn";
  background: linear-gradient(#7fb2f0, #518dd6);
  border-radius: 20px;
  border: 1px solid #ffffff;
  animation: fadeIn 1s;
}

  
  #ContactPage p,
  #ContactPage a {
      color: rgb(231, 228, 233);
      text-decoration: none;
      margin: 10px 0; /* add some margin to the text */
  }

  #GlbWrapper {
    position: fixed; /* Ensure it does not affect layout flow */
    background: transparent; /* Transparent background */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    transition: opacity 1s;
    justify-content: center;
    align-items: center;
    margin: auto;
  }

* {
  margin: 10;
  padding: 0;
  box-sizing: border-box;
}


.header-container {
  animation: slide-in 1s ease-out;
  z-index: 10;
  position: relative; /* Add a position property */
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  top: 2.2vh;
}

#contact_text{
  margin: 2vh;
}

.header-container .Title:hover {
  animation-name: fadeInColour;
  animation-duration: 1s;
  color: #ffc876;
}

.header-container .Title:not(:hover) {
  animation-name: fadeOutColour;
  animation-duration: 1s;
  color: whitesmoke;
}

.header-container .Title:active {
  color:#ffc87682;
}

.top {
  color: white;
  font-family: "Morn", sans-serif;
  justify-content: center;
  align-items: center;

  margin: auto;
  margin-top: 10rem;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 3.5rem;
}

.Title {
  margin-bottom: 10px;
  margin-left: 15vw;
  margin-right: 15vw;
  text-align: center;
  cursor: pointer;
}

accordion-menu{
  position: absolute;
  width: 300px;
  z-index: 4;
  top: 35%;
  left: 70%;
}

#Bild1Accordion{
  opacity: 0;
  transition: opacity 1s, transform 1s;
}

#Bild2Accordion{
  opacity: 0;
  transition: opacity 1s, transform 1s;
}

#Bild1Accordion.show {
  opacity: 1;
}

#Bild2Accordion.show {
  opacity: 1;
}

li {
  color: white;
  font-weight: bolder;
  display: flex;
  justify-content: center;
  list-style: none;
}

.content {
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.content img {
  z-index: 4;
  object-fit: cover;
}

.content img:hover {
  opacity: 0.8;
}

#bild {
  transition: opacity 1s, transform 0.4s;
  transition-delay: 200ms;
  cursor: pointer;
}


.testCanvas {
  margin-top: 3vh;
  top: 0;
  left: 0;
  position: absolute;
  z-index: 1;
  cursor: default;
  border: none; 
  outline: none;
  box-shadow: none; 
  }

li {
  display: flex;
  list-style: none;
}

#spacebaricon {
  opacity: 0;
  margin: 2%;
  width: 40%;
}

.mitten {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  bottom: 5%;
  left: 0;
  right: 0;
  text-align: center;
}

#orangetext{
  color: #FFC876;
}

#Grid1{
  z-index: -1;
  position: absolute;
  width: 160vw;
  height: 12vh;
  left: -30vw;
  top: 70vh;
  transform: rotate(-6deg) scale(1.5);
  pointer-events: none;
}
