@import url("https://fonts.googleapis.com/css?family=Raleway:400,400i,700");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
    font-family:'Times New Roman', Times, serif;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  height: 100%;
}

body {
  background-image: url(../img/SleepTokenCover.jpg);
  color: white;
  font-family: Raleway, sans-serif;
  overflow-x: hidden;
}

/* Header --------------------------------------------------------------------------------------------------------------------------------------*/
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

/* båda meny knappar */
.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  font-size: 24px;
  color: #e3e3e3;
  vertical-align: middle;
}

/* Meny knappen */
#meny-toggle{
  background: none;
  border: none;
  color: black;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
}

/* Loggan */
.header-logga {
  height: 40px;
  transform: scale(1); /* Förstorar loggan utan att påverka layouten */
  transform-origin: center;
  filter: invert();
  margin: 2px;
}

/* Kundvangs knappen */
#kundvagn {
  font-size: 1.5rem;
  color: black;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Fullscreen nav menyn -------------------------------------------------------------------------------------------------------------------------------------- */
nav {
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

nav ul {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 0;
}

nav ul li {
  list-style: none;
}


nav ul li a {
  --fill-color: #ff77c2;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 5rem);
  text-transform: uppercase;
  -webkit-text-stroke: 2px var(--fill-color);
  background: linear-gradient(var(--fill-color) 0 100%) left / 0 no-repeat;
  color: transparent;
  background-clip: text;
  transition: 0.5s linear;
}

nav ul li a:hover {
  background-size: 100%;
}

/* margin */
main {
  flex: 1;
  margin-top: 64px; /* Samma höjd som headern */ 
  
}

/* SLIDESHOW INDEX -------------------------------------------------------------------------------------------------------------------------------------- */

/* Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  height: 40vh;
  max-height: 150px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #000;
   margin: 0 auto;
}

@media (min-width: 750px){
  .slideshow{
    max-height: 460px;
  }
}

.slideshow .slides {
  width: 100%;
  height: 100%;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;

}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Om oss sektion --------------------------------------------------------------------------------------------------------------------------------------*/
.om-oss {
  width: 100%;
  padding: 3rem 1rem;
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  text-align: center;
  margin-top: 0; /* Ingen oönskad extra marginal */
}

.om-oss-innehall {
  max-width: 800px;
  margin: 0 auto;
}

.om-oss h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: #fdd067;
}

.om-oss p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsiv anpassning */
@media (min-width: 750px) {
  .om-oss h2 {
    font-size: 5rem;
  }

  .om-oss p {
    font-size: 2rem;
  }
}

/* MERCH I INDEX -------------------------------------------------------------------------------------------------------------------------------------- */
.merch {
  padding: 3rem 1rem;
  background-color: rgba(24, 9, 12, 0.59);
  backdrop-filter: blur(3px);
  text-align: center;
  color: white;
}

.merch h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fdd067;
  text-transform: uppercase;
}

/* 2 kolumner per rad */
.merch-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.merch-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.merch-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.merch-item img {
  width: 350px;
  height: auto;
  margin-bottom: 0.5rem;
}

/* hover gör att bli större :DDDDDDD */
.merch-item img:hover {
  transform: scale(1.05);
}


.merch-item p {
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  color: #ff77c2;
}

.merch-link {
  text-decoration: none;
  display: inline-block;
}

.merch-link h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #fdd067;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover är bäst!! */
.merch-link:hover h2 {
  color: #ff77c2;
  transform: scale(1.05);
}

/* Responsiv: 1 per rad på små skärmar */
@media (min-width: 750px) {
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mer tshirts knapp */
.merch-knapp-container {
  text-align: center;
    padding: 0.8rem 2rem;
}

.merch-knapp {
  display: inline-block;
  padding: 0.8rem 2rem;
  text-transform: uppercase;
  font-size: 1rem;
  color: #fdbf68;
  border: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;

}

.merch-knapp:hover {
  background-color: #ff77c2;
  transform: scale(1.05);
}




/* TURNESIDA --------------------------------------------------------------------------------------------------------------------------------------*/

/* Turnelista */
.turne-sektion {
  padding: 3rem 1rem;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  color: white;
}

.turne-titel {
  font-size: 2rem;
  color: #fdd067;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.turne-tabell {
  margin: 0 auto;
  max-width: 700px;
  border-collapse: separate;
  border-spacing: 0 1rem; /* space mellan rader */
  width: 100%;
}

.turne-tabell td {
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #ff77c2;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
  text-align: left;
  transition: font-size 0.3s, transform 0.3s;
}


/* Hover-effekt på hela raden */
.turne-tabell tr:hover td {
  font-size: 1.2rem;
  transform: translateY(0);
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} 






/* KONTAKT SIDA --------------------------------------------------------------------------------------------------------------------------------------*/
.kontakt-sida {
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  padding: 1rem;
}

.kontakt-container {
  max-width: 600px;
  width: 100%;
  background-color: rgba(24, 9, 12, 0.7);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  color: white;
}

.kontakt-container h1 {
  font-size: 2rem;
  color: #fdd067;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.kontakt-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: #ccc;
}

.kontakt-form button {
  padding: 0.8rem;
  border: none;
  border-radius: 30px;
  background-color: #ff77c2;
  color: white;
  font-size: 1rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.kontakt-form button:hover {
  background-color: #fdd067;
  transform: scale(1.05);
}

.kontakt-info {
  margin-top: 2rem;
  font-size: 0.9rem;
}

.kontakt-info a {
  color: #ff77c2;
  text-decoration: none;
}

.kontakt-info a:hover {
  color: #fff;
}


/* Dator större storlek på allt */
@media (min-width: 750px) {
  .kontakt-container {
    padding: 3rem;
    max-width: 800px;
  }

  .kontakt-container h1 {
    font-size: 2.5rem;
  }

  .kontakt-container p {
    font-size: 1.2rem;
  }

  .kontakt-form input,
  .kontakt-form textarea {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .kontakt-form button {
    font-size: 1.2rem;
    padding: 1rem;
  }

  .kontakt-info {
    font-size: 1.1rem;
  }
}



/* Merchsida --------------------------------------------------------------------------------------------------------------------------------------*/

.fullscreen-merch {
  width: 100vw;
  min-height: 100vh;
  background-color: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.merch-header {
  text-align: center;
  margin-bottom: 2rem;
}

.merch-header h1 {
  font-size: 3rem;
  color: #fdd067;
  text-transform: uppercase;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.filter-buttons button {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  background-color: #ff77c2;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.filter-buttons button:hover {
  background-color: #fdd067;
  transform: scale(1.05);
}

.merch-grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 4rem 1rem;
}
/* Responsivnesssssssssssssssss */
@media (min-width: 750px) {
  .merch-grid-container {
    grid-template-columns: repeat(6, 1fr);
  }
}

.merch-item {
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s;
  opacity: 1;
}

.merch-item img {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.merch-item:hover img {
  transform: scale(1.1);
}

.merch-item p {
  color: #ff77c2;
  margin-top: 1rem;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.2rem;
}




/* Footer --------------------------------------------------------------------------------------------------------------------------------------*/
footer {
  backdrop-filter: blur(6px);
  background-color: rgba(24, 11, 0, 0.7);
  color: #e3e3e3;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  width: 100%;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-logo-info img {
  height: 0px;
}

.footer-logo-info p {
  margin: 0;
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.footer-links a {
  color: #ff77c2;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

@media (min-width: 750px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .footer-logo-info img {
  height: 30px;
  filter: invert();
  margin-bottom: 0.3rem;
}

  .footer-links {
    justify-content: flex-end;
  }
}

