/* ANIMATIONS */

@keyframes fadeInAnimation {
  from {
	opacity: 0;
  }
  to {
	opacity: 1;
  }
}



.home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: auto;
}



.fade-in {
  opacity: 0;
  animation: fadeInAnimation 2s ease-in forwards;
}





/* MENU */

#menu {
  font-family: newnord;
  font-size: 2ch;
  color: #F3EEDC;
  text-align: center;
  margin-top: 10px;
  gap: 1rem;
  display: flex;
  position: absolute;
  top: 0;
  right: 10px;
  margin: 10px;
  padding-left: 1%;
  padding-top: 1%;
  text-transform: uppercase;
  z-index: 1000;
}

.menu-item {
  display: inline;
  margin: 0 0ch;
  color: #F3EEDC;
  text-decoration: none;
  border: #F3EEDC 2px solid;
  padding: 10px;
  border-radius: 5px;
  letter-spacing: 0.5px;
}

.menu-item:hover {
  background-color: #F3EEDC;
  color: #C5C5F5;
}


.menu-separator {
  width: 1.5px;
  height: 1.5rem;
  background-color: #F3EEDC;
  display: inline-block;
  border-radius: 1px;
  align-self: center;
}


/* TITLE */


#title {
  font-family: newnord-extended;
  font-size: 11ch;
  color: #F3EEDC;
  text-align: center;
  margin-top: 125px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

#subtitle {
  margin-top: -80px;
}


/* HUGE */

.huge-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  
}

#huge {
  font-family: playfair-display;
  font-size: 6ch;
  margin: 0 50px;
  color: #5656B3;
  text-align: center;
  line-height: 0.8;
}

.italic {
  display: inline-block;
  transform: skewX(-15deg);
}



/* PHOTO */

.photocontainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 50px 20px;
}

.news-item img {
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease, filter 300ms ease;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
}

.news-item img:hover {
  transform: scale(1.06);
  z-index: 10;
  box-shadow: 0 12px 30px #00000059;
  filter: brightness(0.5);
}



.news {
  font-family: newnord;
  font-size: 5ch;
  color: #5656B3;
  font-weight: bold;
  text-transform: uppercase;
  margin-left: 100px;
  letter-spacing: 2px;
}

.news-item {
  position: relative;
  display: inline-block;
}

.news-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.news-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  color: white;
  font-size: 4ch;
  font-family: newnord;
  text-transform: uppercase;
  

  overflow: hidden;
  word-wrap: break-word;

  pointer-events: none;

  opacity: 0;
  transition: opacity 0.3s ease;
}

.news-item:hover .news-text {
  opacity: 1;
}



/* CONTENT */

.content {
  display: flex;
  justify-content: center;
  width: 100%;
  line-height: 1.6;
  padding-bottom: 30px;
}

#content {
  font-family: playfair-display;
  font-size: 4.5ch;
  color: #5656B3;
  text-align: justify;
  font-weight: bold;
  padding: 0 40px;
  max-width: 90%;
  margin: 0 50px;
}

.bg-text {
  background-color: #F3EEDC;
  padding: 0 6px;
  display: inline;
}


