/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
body {
 
    font-family: Calibri, Arial, sans-serif;
font-size: 1.2rem;
  min-height: 100vh;
  color: #ffffff;
}

/* Background image */
body {
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
color: #ffffff;
text-decoration: none;
}

hr {
margin:2rem 0 2rem 0;
}

/* Navigation */
.nav {
  background: rgba(20, 60, 40, 0.75);
  padding: 1rem 3rem;
}

.link-icon img {
  width: 35px;
  height: 35px;
  display: block;
}

.nav nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav a:hover {
  text-decoration: underline;
}


  ul li {
    margin-bottom: 1em;
font-size: 1.2rem;
  }


/* Hero layout */
.hero {
  display: flex;
  min-height: calc(100vh - 160px);
  padding: 3rem;
}



/* Left side */
.hero-left {
margin-top: 3rem;  
flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: top;
}

.hero-left h1 {
  font-size: 4.5rem;
margin-left:1.2rem;
  margin-bottom: 1rem;
}

.hero-left p {
  font-size: 1.4rem;
  max-width: 500px;
margin-left:1.2rem;
}

/* Right side */
.hero-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
margin-right:6rem;
}

.info-box {
  background: rgba(63, 124, 84, 0.25);
  color: white;
  padding: 2.5rem;
  border-radius: 12px;
  max-width: 500px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.info-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.info-box h3 {
  margin-bottom: 1rem;
}


.info-box p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: rgba(79, 125, 95, 0.35);
  padding: 2rem 3rem;
  text-align: left;
}

.footer p {
  font-size: 1rem;
  line-height: 1.6;
}

#fredrikpic {
margin:5px 10px 10px 0px;
float:left;
width:120px;
}

#logo {
margin:0px 0px 0px 0px;
float:left;
width:260px;  
}

#bassoons {
width:430px;
height:300px;
}

#psalm {
width:430px;
height:300px;
}


#concerto {
width:430px;
height:300px;
}

#haga {
width:430px;
height:300px;
}

#wyo {
width:430px;
height:300px;
}


#drum {
margin:0px 0px 0px 0px;
float:left;
width:140px;  
}

#singing1 {
margin:0px 0px 0px 0px;
float:right;
width:160px;  
}

#theory1 {
margin:0px 0px 0px 0px;
float:right;
width:160px;  
}

#keyboard1 {
margin:0px 0px 0px 0px;
float:left;
width:160px;  
}

#stimg {
width:430px;
}

#sonic {
width:430px;
}



:root {
  --mts-size: 64px;
  --mts-gap: 12px;
  --mts-radius: 14px;
  --mts-bg: #ffffff;
  --mts-accent: #111827;
  --mts-shadow: 0 6px 18px rgba(12, 15, 20, 0.12);
  --mts-duration: 220ms;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Container */
.mts {
  position: fixed;
  top: var(--mts-gap);
  left: var(--mts-gap);
  z-index: 1200;
 
}

/* Toggle button */
.mts-toggle {
  width: var(--mts-size);
  height: var(--mts-size);
  border: none;
  border-radius: var(--mts-radius);
  background: #f7f7f8;
  box-shadow: var(--mts-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  cursor: pointer;
}

/* Grid container (hidden by default) */
.mts-grid {
  position: absolute;
  top: calc(var(--mts-size) + 10px);
  left: 0;

  background: var(--mts-bg);
  box-shadow: var(--mts-shadow);
  border-radius: var(--mts-radius);
  padding: 8px;

  display: grid;
 grid-template-columns: repeat(3, 1fr); 
  gap: 8px;

  max-width: 520px;
  list-style: none;

  opacity: 0;
  transform: scale(0.95);
  transform-origin: top left;
  visibility: hidden;

  transition:
    opacity var(--mts-duration) ease,
    transform var(--mts-duration) ease,
    visibility var(--mts-duration) ease;
}

/* Open state */
.mts-toggle[aria-expanded="true"] + .mts-grid {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

/* Links */
.mts-grid li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 12px;
  min-height: 52px;

  border-radius: 10px;
  text-decoration: none;
  color: var(--mts-accent);
  font-size: 24px;

  transition: background var(--mts-duration) ease,
              transform var(--mts-duration) ease;
}

.mts-grid li a:hover,
.mts-grid li a:focus {
  background: rgba(17, 24, 39, 0.04);
  transform: translateY(-3px);
}

/* Icons + text */
.link-icon {
  font-size: 22px;
}

.link-text {
  font-size: 16px;
}


@media (max-width: 700px) {

 #logo {
    float: none;          /* remove float */
    display: block;       /* make it a block element */
    margin: 20px auto;    /* centre horizontally, with top/bottom spacing */
    width: 50%;           /* adjust width for mobile */
  }


.mts-grid {
 grid-template-columns: repeat(2, 1fr); 
}

  .hero {
    display: block;
    padding: 1rem;
    text-align: center;
  }

  .hero-left {
    width:100%;
    margin: 1rem auto 2rem auto;
    display: block;
 text-align: center;
clear: both;   
  }

  .hero-right {
    width:100%;
    margin: 1rem auto 2rem auto;
    display: block;
 text-align: left;
clear: both;   
  }

  .hero-left h1 {
    font-size: 2.8rem;
    margin-left: 0;
  }

  .hero-left p {
    width: 100%;
    margin-left: 0;
  }

  .info-box {
    width: 100%;
    padding: 1.5rem;
margin:0;
  }


#fredrikpic {
float:left;
width:30%;
}

#wyo {
width:100%;
}

#bassoons {
width:100%;

}

#psalm {
width:100%;

}


#concerto {
width:100%;

}

#haga {
width:100%;

}
#stimg {
  width:100%;
}

#sonic {
width:100%;
}
#drum {
width:60%;
	}
	
	#keyboard1 {
width:60%;
	}
	
	#singing1 {
width:60%;
	}
	
	#theory1 {
width:60%;
	}

}
