/* Setup Color */
:root {
    --brown-dark: rgb(59, 21, 11);
    --brown:#fcf7ea;
    --font-main: 'Andine', serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Atur ukuran font dasar */
}

/* Setup Font */
@font-face {
  font-family: 'Andine';
  src: url('src/fonts/Andine.woff2') format('woff2'),
       url('src/fonts/Andine.woff') format('woff'),
       url('src/fonts/Andine.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Body */

body {
  font-family: var(--font-main);
  position: relative;
  overflow-x: hidden;
}

* {
    transition: background-color 0.5s ease, color 0.5s ease;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: var(--brown-dark);
}

/* Hero */

.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    background-color: black;
    z-index: 15;
    /* position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0px 5px 15px 2px rgba(0,0,0,0.5); */
}

.hero img {
    max-height: 250px; /* Atur sesuai kebutuhan */
    height: auto;
    width: auto;
    filter: invert(1);
}

@media (max-width: 425px) {
    .hero img {
        max-height: 150px; /* Atur untuk layar kecil */
    }
}

.hero a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 0.1rem solid white;
    border-radius: 4rem;
    transition: all 0.3s ease;
}

.hero a:hover {
    background-color: white;
    color: black;
    font-size: 1.2rem;
    padding: 1.5rem 2.5rem;
}

/* Gallery */

.gallery {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* height: 100vh; */
    width: 100%;
    /* background-color: #f0f0f0; */
    gap: 3rem;
    background-color: var(--brown); 
    padding-bottom: 40vh;  
}

@media screen and (min-width: 425px) {
    .gallery {
        gap: 0.5rem;
    }
}

.gallery img {
    z-index: 50;
    width: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 5px 15px 2px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    /* transform: rotate3D(1, 1, 0, deg); */
}

@media screen and (min-width: 1024px) {
    .gallery img {
        max-height: 400px;
    }
}

.gallery img:first-child {
    margin-top: 1rem;
}

.gallery img:last-child {
    margin-bottom: -3rem;
}
/* Text Animation */

.text-animation {
    background-color: var(--brown);
}

@media screen and (min-width: 1024px) {
    .text-animasi {
    font-size: 10vw;
}
}

@media screen and (min-width: 425px) {
    .text-animasi {
    font-size: 20vw;
}
}

/* Swiper */
.swiper {
  height: 100vh;
}

.swiper-embed {
  width: 100%;
  height: 100%;
  border: none;
}
