:root {
    --bg: #ffffff;
    --bg-accent: #fff2dd;
    --text: #252525;
    --navbar-hover: #eeb64e;
    --accent: #eeb64e;
    --accent-hover: #b88933;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, var(--bg), var(--bg-accent));
    z-index: -1;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    padding-top: 60px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.content {
    flex: 1;
}

.header {
    text-align: center;
    margin-top: 60px;
}

.container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: var(--accent);
    color: var(--bg);
    font-weight: bold;
    transition: 0.2s;
}

button:hover {
    background: var(--accent-hover);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 12px 20px;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.638);
    backdrop-filter: blur(10px);
}

.nav-left .logo {
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.nav-right {
    display: flex;
    gap: 5vh;
}

.nav-right a {
    color: var(--text);
    text-decoration: none;
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.nav-right a:hover {
    color:var(--navbar-hover);
}

@media (max-width: 768px) {

    .navbar {
        padding: 15px;
    }

    .nav-left .logo {
        font-size: 1.1rem;
    }

    .nav-right {
        gap: 15px;
    }

    .nav-right a {
        font-size: 1rem;
    }
}

h1 {
    font-weight: 600;
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-weight: 400;
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 2vh;
}

h3 {
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero {
    opacity: 0;
    animation: fadeUp 1.5s ease 0.5s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 80px;
    gap: 15px;
}

.hero-text {
    opacity: 0;
    animation: fadeUp 1.5s ease 1s forwards;

    display: flex;
    flex-direction: column;
    align-items: center;

    margin-top: clamp(1rem, 2vh, 2rem);

    font-weight: 200;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
}

.avatar {
  width: 15vh;
  height: 15vh;

  border-radius: 50%;
  object-fit: cover;
}

.paragraph {
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;
    margin-left: 10%;
    width: 80%;
    min-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-weight: 200;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);

}

.paragraph p {
    margin-bottom: clamp(1rem, 2vw, 2rem);
}

.paragraph p:last-child {
    margin-bottom: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery {
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;
    columns: 300px;
    column-gap: 20px;
    width: 80%;
    margin: 0 auto;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
    display:block;
    margin-bottom: 20px;
    break-inside: avoid;
    display: block;
}

.gallery img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery {
        columns: 1;
    }
}

.footer {
    margin-top: 50px;
    padding: 30px;
    text-align: center;

    font-weight: 200;
    font-size: 15px;
}

.gallery-center {
    min-height: calc(100vh - 60px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.galleryselect {
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;

    width: 80%;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.galleryselect img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;

    transition: transform 0.3s ease;
    border-radius: 10px;
    display: block;
}

.galleryselect img:hover {
  transform: scale(1.05);
}

.galleryselect a {
    display: block;
}

@media (max-width: 768px) {
    .galleryselect {
        grid-template-columns: 1fr;
    }
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.overlay img {
    max-width: 80%;
    max-height: 80%;
}

.video-gallery {
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;
    columns: 300px;
    column-gap: 20px;
    width: 80%;
    margin: 0 auto;
}

.video-gallery video {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    break-inside: avoid;
    display: block;
}

@media (max-width: 768px) {
    .video-gallery {
        grid-template-columns: 1fr;
    }
}

.video-gallery-controls {
    opacity: 0;
    animation: fadeUp 0.5s ease 0.5s forwards;
    columns: 300px;
    column-gap: 20px;
    width: 80%;
    margin: 0 auto;
}

.video-gallery-controls video {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    break-inside: avoid;
    display: block;
}

@media (max-width: 768px) {
    .video-gallery-controls {
        grid-template-columns: 1fr;
    }
}