@charset "UTF-8";
/* CSS Document */


html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    transition: 1.5s ease;
}


body {
	background: #eeeeee;
    font-family: 'Trebuchet MS', 'Tahoma', sans-serif;
    align-content: center;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
	}

#logo {
    display: block;
    z-index: 20;
}

.darkmode {
    background-color: #222;
    color: #fff;
}

.darkmode #about,
.darkmode #contact {
    background-color: #333;
    color: #fff;
}

.darkmode #about p,
.darkmode #contact p {
    color: #ddd; /* Softer white for paragraph text */
}

.button {
    cursor: pointer;}
    
h1 {
	/*background: linear-gradient(to right, black, grey, grey);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;*/
	font-size: max(2vw, 24px);
	transition: 0.3s;
	animation: fade 3s ease-in-out;
    font-family: "bebas-neue", sans-serif;
    font-weight: 600;
    font-style: bold;
   
	}
    

/*keyframes fade {
	0%{ opacity: 0; filter: blur(5px);}
	100%{ opacity: 1; filter: blur(0px);}
	}*/
	
/*:hover {
	color: grey;
	filter: blur(2px);
	}*/
	
h2 {
	display: block;	
	}
    
    
a {
    color: inherit;
    text-decoration: none;
    padding: 5px;
}

a:hover {
  text-decoration: bold;

}

kbd {
	background-color: saddlebrown;
	padding: 4px;
	border-radius: 4px;
}
    
/* NAV STYLES */
.mobile-nav {
  position: relative;
  padding: 1rem;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}

/* Nav List */
.nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  justify-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: max-height 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    max-height: 0;
	z-index: 10;
  }

  .nav.show {
    max-height: 300px; /* enough for a few items */
  }
}

ul {
    list-style-type: none;
    }

.nav li {
    backdrop-filter: blur(0);
    transition: all 0.3s ease;
    padding-right: 20px;
    z-index: 1;
    }

@media (min-width: 769px) {
  .nav:hover li {
    filter: blur(1px);
  }

  .nav li:hover {
    filter: blur(0);
    z-index: 2;
  }
}

.head-wrap {
    margin: 50px;
}

.header {
    position: relative;
    height: min(75vh, 500px);
    overflow: hidden;
    border-radius: 8px;
    z-index: 1;
    margin: 60px;
}

@media (max-width: 768px) {
    .header {
        height: min(40vh, 300px);
        margin: 10px;
    }
    
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("images/header.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform-origin: center center;
    animation: smoothZoom 30s ease-in-out infinite;
}


.header-content {
    padding: 1rem;
	position: relative;
	z-index: 10;
}

@keyframes smoothZoom {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* smooth 10% zoom */
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .header {height: min(40vh, 300px);}
    .gallery { scrollbar-width: none;
    -webkit-scrollbar-display: none;}
}
	
		


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(clamp(400px, 25vw, 420px), 1fr));
    gap: 20px;
    margin: 50px;
    padding: 20px 20px 0;
    }

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(clamp(300px, 70vw, 400px), 1fr));
        margin: 10px;
        padding: 10px 10px 0;
    }
}

.gallery img {
    display: block;
    height: auto;
    width: 100%;
    transition: transform 0.3s ease;
    user-select: none;
    touch-action: manipulation;
    }

.gallery img:hover {
    transform: scale(1.02);
    }

.gallery2 {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 2rem;
    max-height: auto;
    scroll-snap-type: x mandatory;
    gap: 0.5rem;
    scroll-behavior: smooth;
    }

.gallery2 img {
    flex: 0 0 auto;
    height: min(60rem, 600px);
    width: auto;
    aspect-ratio: attr(width) / attr(height);
    display: block;
    transition: transform 0.3s ease;
    user-select: none;
    touch-action: manipulation;
    scroll-snap-align: center;
    border-radius: 8px;
    }

.gallery2 img:hover {
    transform: scale(1.02);
    }


img {
    border-radius: 8px;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    user-select: none;
    touch-action: manipulation;
    max-width: 100%;
    }
    
#about {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 4rem 1rem;
    margin: 2rem;
    border-radius: 8px;
    transition: 1.5s;
    }

#contact {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 4rem 1rem;
    margin: 2rem;
    border-radius: 8px;
    transition: 1.5s;
	overflow: auto;
}

details {
	font-size: 16px;
	cursor: pointer;
	transition: 1s;
}

.paragraph {
    border-radius: 8px;
    padding: 2rem;
    width: min(700px, 70rem);
    position: relative;
    -webkit-text-wrap: pretty;
}

#icon {
    max-height: 1.2rem;
    max-width: 1.2rem;
    filter: invert(1);
}

#icon:hover {
    filter: invert(0.5);
}

.footer {
    align-content: center;
    text-align: left;
    position: sticky;
    height: 20rem;
    margin-top: 2rem;
    padding-top: 2rem;
    padding-left: 4rem;
    padding-bottom: 6rem;
    background-color: #111;
    color: #eee;
    border: 4px;
    border-radius: 8px;
    }

