header {
    background-color: #333;
    color: #eee;
    text-align: center;
    background: linear-gradient(135deg, #273a4d, #126364);
    width: 100%;
    box-sizing: border-box;
}

header h1 {
    width: 80%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Futura', sans-serif;
    font-size: 2.5em;
}

header h1:not(.main-menu-exception) {
    margin-top: 6%;
    transition: margin-top 0.3s ease;
}

@media screen and (max-width: 1000px) {
    header h1:not(.main-menu-exception) {
        margin-top: 16%;
    }
}

header h2
{
    font-family: 'Futura', sans-serif;
    font-size: 1.5em;
    margin-left: 13%;
    margin-right: 13%;
}

.contact-button h3 {
    font-family: 'Futura', sans-serif;
    font-size: 1em;
    margin: 1%;
    text-align: center;
}

body {
    font-family: 'Futura', sans-serif;
    font-size: 20px;
    background: no-repeat linear-gradient(135deg, #c0cabf, #535368);
    margin: 0;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
}


img.picture {
    display: block;
    margin: 0 auto;
    width: 30%;
    min-width: 200px;
    max-width: 500px;
    height: auto; 
}

img.picture-music {
    display: block;
    margin: 0 auto;
    width: 40%;
    min-width: 200px;
    max-width: 500px;
}


section {
    width: 80%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.menu-button {
    text-align: center;
    display: block;
    width: 100%;
    margin: 10px auto;
    padding: 20px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, background-color 0.3s;
}


.menu-button:hover {
    background-color: #e5efef;
    color: #366;
    transform: scale(1.1);
}

.menu-button img {
    width: 40%;
    height: auto;
    transition: 
    transform 0.3s ease,
    box-shadow 0.8s ease;
}

.contact-button {
    text-align: center;
    display: block;
    width: 100%;
    margin: 10px auto;
    padding: 20px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, background-color 0.3s;
}


.contact-button:hover {
    background-color: #e5efef;
    color: #366;
    transform: scale(1.1);
}


.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #273a4d; /* dark background to match your header */
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 1em;
  font-family: 'Futura', sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s, transform 0.2s;
  z-index: 1000;
}

.back-button:hover {
  background-color: #126364;
  transform: translateX(-3px);
}


#tag-selector button {
    background-color: #0c3049aa;
    color: #dfdfdf;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#tag-selector button:hover {
    background-color: #060a2abf;
}

#tag-selector button[data-tag="ALL"] {
    background-color: #4d3b5faa; 
}

#tag-selector button[data-tag="ALL"]:hover {
    background-color: #2b0f31bf; 
}

#tag-selector button[data-tag="ALL"].active {
    background-color: #601c1c; 
    color: #fff;
    font-weight: bold;
}



#tag-selector button[data-tag="VIOLIN PIANO DRUMS"].active {
    background-color: #4d3b5faa; 
}

#tag-selector button[data-tag="ALL"].active {
    background-color: #601c1c; 
    color: #fff;
    font-weight: bold;
}

#tag-selector button.active {
    background-color: #126364;
    color: #fff;
    font-weight: bold;
}



.programming-project {
    position: relative;
    overflow: hidden;
    width: 70%;
    max-width: 1000px;
    height: 70%;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project {
    position: relative;
    overflow: hidden;
    width: 70%;
    height: 70%;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project:hover {
    transform: scale(1.1);
}

.project-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    filter: brightness(1) blur(0px);
    transition: transform 0.3s, filter 0.3s;
    background: linear-gradient(90deg, #9da5ad, #c5cfcf);
    text-align: center;
}

.project-thumbnail:hover {
    transform: scale(1.3);
}

.project-thumbnail:hover img {
    filter: brightness(0.5) blur(8px);
    transition: filter 0.3s;
}

.project-thumbnail img {
    height: 70%;
    width: 70%;
    filter: brightness(1) blur(0px);
    transition: filter 0.3s;
    object-fit: cover;
}

.project-thumbnail:hover video {
    z-index: 0;
    filter: brightness(0.5) blur(8px);
    transition: filter 0.3s;
}

.project-thumbnail video {
    z-index: 0;
    height: 70%;
    width: 70%;
    filter: brightness(1) blur(0px);
    transition: filter 0.3s;
    object-fit: cover;
}


.project-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    text-align: center;
    word-wrap: normal;
    color: #fff;
    -webkit-text-stroke: 1px #30303075;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, width 0.4s ease-in-out, transform 0.4s ease-in-out;
}


.project-info p {
    z-index: 2;
    margin: 0;
}

.project-thumbnail:hover .project-info {
    opacity: 1;
    width: 70%;
}

.project-name {
    font-size: 10px;
    font-weight: bold;
}

.project-thumbnail:hover .project-name {
    font-size: 10px;
    text-shadow: 1px 1px 2px #00000074;
}

.project-description {
    font-size: 5px;
    margin-top: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, font-size 0.2s ease-in-out;
}

.project-thumbnail:hover .project-description {
    max-height: 100px;
    font-size: 5px;
    text-shadow: 1px 1px 2px #00000074;
}

@media screen and (min-width: 300px) {
    .project-name {
        font-size: 15px;
    }
    .project-description {
        font-size: 10px;
    }
    .project-thumbnail:hover .project-name {
        font-size: 15px;
    }
    .project-thumbnail:hover .project-description {
        font-size: 10px;
    }
}

@media screen and (min-width: 500px) {
    .project-name {
        font-size: 20px;
    }
    .project-description {
        font-size: 15px;
    }
    .project-thumbnail:hover .project-name {
        font-size: 20px;
    }
    .project-thumbnail:hover .project-description {
        font-size: 15px;
    }
}

@media screen and (min-width: 1000px) {
    .project-name {
        font-size: 25px;
    }
    .project-description {
        font-size: 20px;
    }
    .project-thumbnail:hover .project-name {
        font-size: 25px;
    }
    .project-thumbnail:hover .project-description {
        font-size: 20px;
    }
}

@media screen and (min-width: 1500px) {
    .project-name {
        font-size: 30px;
    }
    .project-description {
        font-size: 25px;
    }
    .project-thumbnail:hover .project-name {
        font-size: 30px;
    }
    .project-thumbnail:hover .project-description {
        font-size: 25px;
    }
}

.favorite {
    text-align: center;
    display: block;
    width: 50%; 
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
    z-index: 5;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, background-color 0.3s;
}

.favorite img {
    width: 40%;
    height: auto;
    transition: 
    transform 0.3s ease,
    box-shadow 0.8s ease;
}

#photo-gallery, #art-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  margin-left: 5%;
  margin-right: 5%;
  gap: 20px;
  padding: 20px;
  justify-items: center;
}

#photo-gallery img.photo,
#art-gallery img.photo {
  width: 70%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 8px;
  background-color: #efefef;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: 
    transform 0.3s ease,
    box-shadow 0.5s ease,
    background-color 0.5s ease;
}

.favorite img:hover,
#photo-gallery img.photo:hover,
#art-gallery img.photo:hover {
    transform: scale(1.05);
    z-index: 100;
    cursor: zoom-in;
}

#photo-gallery img.photo:active,
.favorite img:active,
#photo-gallery img.photo.expanded,
.favorite img.expanded,
#art-gallery img.photo:active,
#art-gallery img.photo.expanded {
    transform: scale(1.8);
    border-radius: 0;
    background-color: #000;
    box-shadow: 0 0 120px 120px rgba(0,0,0,1);
    transform-origin: center center;
    cursor: none;
    z-index: 100;
    cursor: none;
    transition: 
        transform 0.8s ease, 
        box-shadow 0.8s ease, 
        background-color 0.7s ease;
}

@media screen and (min-width: 2000px) {
    #photo-gallery img.photo:active,
    .favorite img:active,
    #photo-gallery img.photo.expanded,
    .favorite img.expanded,
    #art-gallery img.photo:active,
    #art-gallery img.photo.expanded {
        transform: scale(3);
        border-radius: 0;
        background-color: #000;
        box-shadow: 0 0 120px 120px rgba(0,0,0,1);
        transform-origin: center center;
        cursor: none;
        z-index: 100;
        cursor: none;
        transition: 
            transform 0.8s ease, 
            box-shadow 0.8s ease, 
            background-color 0.7s ease;
    }
}

.other {
    text-align: center;
    display: block;
    width: 80%; 
    max-width: 800px;
    margin: 10px auto;
    padding: 20px;
    background-color: #eee;
    color: #333;
    text-decoration: none;
    font-size: 1.2em;
    z-index: 5;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.other img {
    width: 60%;
    min-width: 200px;
}


.music-project {
  text-align: center;
  display: block;
  width: 80%;
  max-width: 800px;
  margin: 30px auto;
  padding: 25px;
  background-color: #f7f7f7;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.15);
  transition: transform 0.3s, background-color 0.3s;
}

.music-project:hover {
  transform: scale(1.02);
  background-color: #ececec;
}

.music-project h2 {
  margin-top: 0;
  font-family: 'Futura', sans-serif;
  font-size: 1.4em;
  color: #123;
}

.music-project video {
  width: 80%;
  height: 50%;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.music-project video:hover {
  transform: scale(1.03);
}

.music-project p {
  font-size: 1em;
  color: #333;
  margin-top: 10px;
  line-height: 1.5;
}