@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

:root {
  --bg-color:#ede6f1;
  --fg-color:#444444;
  --accent-color:#690cff;
  --accent-color2: rgb(83, 25, 108);
}

@font-face{
  font-family: meteor;
  src: url('./fonts/meteor.otf');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: var(--bg-color);
  margin: 150px auto 0 auto;
  max-width: 60%;
  font-family: "EB Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-size: 14pt;
}

h1,h2,h3{
    line-height:1.2;
    text-align: left;
    font-family: meteor;
    font-size: 26pt;
}
  
h1, h2 {
  margin-top: 50px;
  margin-bottom: 25px;

}

.content1 {
  text-align: justify;
  margin-top: 2%;
  margin-bottom: 3%;
}

.content2 {
  text-align: justify;
  margin-bottom: 7%;
}

.header {
  font-family: meteor;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--fg-color);
  text-align: center;
}

.header .title {
  font-size: 70px;
  font-weight: bold;
  line-height: .5;
  text-align: center;
  max-width: 150pt;
  margin: 0px auto 0 auto;
  display: block;
  transform: translateX(-20%);
}

.sidebar {
  margin-top: 5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  line-height: 1.2;
}

.sidebar a {
  flex: 0 1 auto;            
  min-width: 50px;          
  position: relative;
  color: var(--accent-color);
  text-decoration: none;
  padding: 5px;             
  display: block;            
  transition: color 0.4s;
  line-height: 1.2;          
  white-space: nowrap;       
}

.sidebar a:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px; 
}

.sidebar a:hover {color: var(--fg-color);}
.sidebar a.active::before {
  content: '';
  position: absolute;
  left: 0px;
  top: 0%;
  bottom: 2%;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  /* background-color: var(--accent-color); */
  border-bottom: 2px dotted var(--accent-color);

}
  
.footer {
  background: var(--accent-color2);   
  color: #333333;       
  text-align: center;
  margin-top: 30%;
  padding: 2em 0;
  width: 100%;          
  left: 0;
}

a:link {
  color: var(--accent-color); 
  text-decoration: none;
  font-weight: bold;
}
a:visited {color: var(--accent-color);}
a:hover {
  color: var(--accent-color2); 
  text-decoration: none; 
  transition: color .4s;
}
a:active {color: var(--accent-color);}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background-color: var(--bg-color);
}

header, footer {
  background-color: var(--fg-color);
  color: var(--bg-color);
  margin-top: 100px;
  padding: 15px;
  text-align: center;
}

.gallerie {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 20px;
  justify-items: center;
  align-items: center;
}

.image {
  height: 100%;
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 0px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  margin-top: 30px;
  display: block;
  transition: transform 0.3s ease, box-shadow .4s ease;
}
.image:hover {
  transform: scale(4.5);
  box-shadow: 0px 0px 300px rgba(0, 0, 0, 1);
}

.image-item {
  text-align: center;
  max-width: 200px;
}

.image-caption {
  font-size: 1.1em;
  margin-top: 12px;
  font-weight: 800;
}

.blog-post {
  font-size: 12px;
  width: 100%;
  margin-top: 10px;
  border-bottom: 2px dotted black;
  margin-bottom: 15px;
}

.blog-post h3 {
  font-size: 22px;
}

.blog-post a {
  text-decoration: none;
  display: block;
}

.blog-post a:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
}
.title-container a:hover {
  background: rgba(0,0,0,0);
}

.title-container img {
  width: 100%;
  border-bottom: 2px solid black;
}

.title-container h1 {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 100px;
}

.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between; 
  align-items: flex-start;
  max-width: 900px;
  width: 100%;
  padding: 40px;
  gap: 40px; 
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 25px;
  margin-bottom: 50px;
}

.text-column p {
  line-height: 1.6;
  color: #555;
  text-indent: 30px;
  text-align: justified;

}

.text-column {
  flex: 1;  text-align: justified;

}
.bandcamp-column {
  flex: 0 0 350px;
}

@media (max-width: 768px) {
.container {
  flex-direction: column;
  align-items: center;
  min-width: 370px;
  max-width: 70%;
}
.bandcamp-column {margin-top: 20px;}}

.container:hover{border: 1px solid #7f2aad; 
  transition: transform 0.3s ease, box-shadow .4s ease;
  box-shadow: 0 0 50px 50px #e187cf; 
}

.text-column h1 {
  margin-top: 0;
  color: #2e2e2e;
  text-align: justified;
}

.back-arrow a{
  color: var(--accent-color);
  position: absolute;
  top: 20px;    
  left: 30px;   
  z-index: 100; 
  cursor: pointer;
  border-radius: 3px;
  padding: 10px;
  background-color: var(--bg-color);

}
.back-arrow a:hover{ 
  color: var(--bg-color);
  border-radius: 3px;
  padding: 10px;
  transition: transform 0.3s ease, background-color .4s ease;
  background-color: var(--accent-color);

}
