
html, body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #fdfdfd;
  color: #222;
  overflow-x: hidden; 
}

a {
  text-decoration: none;
  color: #00cfff;
  transition: color 0.3s;
}

ul { list-style: none; padding: 0; margin: 0; }


header {
  background: #00bfff;  
  color: #fff; 
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,200,255,0.2);
  position: relative;
}
header .logo img { height: 50px; }


nav {
  display: flex;
}
nav ul {
  display: flex;
  gap: 25px;
}
nav a {
  font-weight: bold;
  color: #fff;
}


.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


h1, h2, h3 {
  color: #00bfff;
  text-shadow: 0 0 2px #00bfff, 0 0 5px #00bfff;
  transition: transform 0.3s, text-shadow 0.3s, color 0.3s;
  cursor: default;
}
h1:hover, h2:hover, h3:hover {
  transform: scale(1.08);
  text-shadow: 0 0 5px #00bfff, 0 0 10px #00bfff;
}


#hero {
  background: linear-gradient(to bottom, #ccefff, #fff);
  text-align: center;
  padding: 60px 20px;
  border-bottom: 1px solid #eee;
}
#hero h1 { margin: 0; font-size: 3em; }
#hero p { font-size: 1.3em; color: #00aaff; }

#hero .hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 60px 20px;
}
#hero img {
  max-width: 800px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ddd;
}
.hero-text {
  max-width: 500px;
  text-align: left;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 12px;
}


#cafe {
  padding: 50px 20px;
  background: #f9fcff;
  text-align: center;
  border-bottom: 1px solid #eee;
}
#cafe img { width: 100%; max-width: 700px; border-radius: 12px; border: 1px solid #ddd; }


#programs {
  padding: 50px 0;
  background: #f5f9ff;
  text-align: center;
}
#programs .list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 70%;
  margin: 0 auto;
}
.item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,200,255,0.12);
  transition: transform 0.25s, box-shadow 0.25s;
}
.item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,200,255,0.25);
}
.item img { width: 20vw; border-radius: 10px; margin: 20px 0; }


#about {
  padding: 50px 20px;
  background: #f9fcff;
  border-top: 1px solid #eee;
}


footer {
  background: linear-gradient(to top, #00bfff, rgba(0, 191, 255, 0));
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); 
  font-weight: bold; 
  font-size: 1.1em; 
}


@media (max-width: 768px) {

  header {
    padding: 15px 20px;
  }

  .hamburger {
    display: flex;
  }
  
  nav {
    position: absolute;
    top: 60px;
    right: 0;
    width: 70%;
    max-width: 250px;
    transform: translateX(100%);
    flex-direction: column;
    background: #00bfff;
    border-radius: 0 0 0 12px;
    z-index: 1000;
  }
  nav.show {
    transform: translateX(0);
  }
  nav ul {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }

  #hero .hero-container {
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
  }

  #hero h1 { font-size: 2em; }
  #hero p { font-size: 1em; }


  #programs .list {
    grid-template-columns: 1fr;
    width: 90%;
    gap: 15px;
  }
  .item img { width: 100%; margin: 10px 0; }

  #cafe, #about {
    padding: 30px 10%;
  }
  footer {
    padding: 30px 10%;
  }
}




#library {
  padding: 50px 20px;
  background: #ffe6e6; /* ljusrött tema */
  text-align: center;
  border-top: 30px solid #ffcccc;
  border-bottom: 30px solid #ffcccc;
}

#library h2 {
  color: #ff4d4d;
  text-shadow: 0 0 2px #ff9999, 0 0 5px #ff6666;
}

.library-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.library-text {
  max-width: 500px;
  text-align: left;
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255,0,0,0.1);
}

.library-image img {
  max-width: 550px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #ffcccc;
  box-shadow: 0 8px 20px rgba(255,0,0,0.15);
}


@media (max-width: 768px) {
  .library-container {
    flex-direction: column;
    gap: 20px;
    padding: 0 10%;
  }

  .library-text, .library-image img {
    max-width: 100%;
  }
}


#scroll-to-top {
  position: fixed;
  right: 20px;
  bottom: 40px;
  background-color: #00bfff;
  color: white;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.6);
  z-index: 1000;
  animation: bounce 2s infinite;
  user-select: none;
  transition: background-color 0.3s ease;
}

#scroll-to-top:hover {
  background-color: #0096d6;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}




#activities {
  padding: 60px 20px;
  background: #e6f7ff;
  text-align: center;
}

#activities h2 {
  color: #0099cc;
  text-shadow: 0 0 3px #99e6ff, 0 0 6px #66d9ff;
  margin-bottom: 40px;
}

.activities-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.activity-box {
  display: block; 
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 153, 204, 0.15);
  padding: 25px;
  max-width: 300px;
  flex: 1 1 250px;
  transition: transform 0.3s, box-shadow 0.3s, text-decoration 0.3s;
  color: #222;
  text-align: left;
  text-decoration: none; 
}

.activity-box h3 {
  color: #00aaff;
  margin-bottom: 10px;
  transition: text-decoration 0.3s;
}

.activity-box p {
  color: #333;
  line-height: 1.5;
  font-size: 0.95em;
  transition: text-decoration 0.3s;
}


.activity-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 153, 204, 0.25);
  text-decoration: underline;
}

.activity-box:hover h3,
.activity-box:hover p {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .activities-container {
    flex-direction: column;
    align-items: center;
  }
  .activity-box {
    max-width: 90%;
  }
}












