@import url('https://fonts.googleapis.com/css?family=Poppins');

body {
    font-family: 'Poppins', sans-serif;
    padding:0px;
    margin:0px;
    max-width:100vw;
    overflow-x:hidden;
    scroll-behavior: smooth;
}

.myName {
    font-size: 2em; /* Bisa sesuaikan lebih besar dari normal h3 */
    color: #bb473f; /* Atau warna lain yang ingin kamu highlight */
    font-weight: bold;
    display: inline-block;
}

#loading {
    width: 100vw;
    height: 100vh;
    position: fixed;
    background: #f0e2d3;
    z-index: 999;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#spinner {
    animation: rotate 0.56s infinite linear;
    width:50px;
    height:50px;
    border:12px solid #281b0d;
    border-bottom:12px solid #f0e2d3;
    border-radius:50%;
    margin:0;
}
@keyframes rotate {
    0% {transform: rotate(0deg);}
    100% {transform: rotate(360deg);}
}
header {
    width:92vw;
    padding:6vh 4vw;
    position:fixed;
    font-weight:bold;
    background:transparent;
    color:#f0e2d3;
    transition:0.4s ease-in-out;
    z-index:2;
}
header table {
    width:100%;
    margin-bottom: 20px;
}
#logo {
    width:20%;
}
#navigation {
    width:80%;
}
#magnify {
    width:100vw;
    height:100vh;
    background:rgba(0, 0, 0, 0.92);
    position:fixed;
    z-index:4;
    display:none;
    flex-direction: column;
    justify-content:center;
}
#magnify h1 {
    position:absolute;
    top:0;
    right:0;
    margin:20px 40px;
    color:#f0e2d3;
    transition:0.4s ease-in-out;
}
#magnify h1:hover{
    color:#281b0d;
    cursor:pointer;
}
#img_here {
    width:90%;
    height:90%;
    background-size:contain !important;
    background-repeat:no-repeat !important;
    margin:0px auto;
}
#logo {
    font-size:24px;
    color:#281b0d;
}
#navigation {
    text-align:right;
}
#navigation a {
    color:inherit;
    text-decoration:none;
    padding:5px 10px;
    border-bottom:2px solid transparent;
    margin-left:4vw;
    transition:0.4s ease-in-out;
}
#navigation a:hover{
    border-bottom:2px solid #f0e2d3;
}
#top_part {
    width:100%;
    border:2vh solid #f0e2d3;
    background-color: #f0e2d3;
}
#top_part tr td{
    width:50%;
}
#about {
    width:84% !important;
    height:95vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    text-align:left;
    padding:0px 8%;
    background-color: #f0e2d3;
}
#about h1 {
    font-size:45px;
    word-wrap:break-word;
}
#about table {
    width:70%;
    margin-top:4vh;
}
#about table tr td {
    width:20% !important;
    text-align:left;
}
.social {
    color:#281b0d;
    font-size:23px;
    padding:12px 17px;
    border-radius:50%;
    background:transparent;
    transition:0.4s ease-in-out;
    font-weight:bold;
    margin:0px 8px;
}
.social:hover { 
    cursor: pointer;
    color:#f0e2d3;
    background:#281b0d;
    box-shadow:0px 10px 30px rgba#281b0d;
}
.btn_one {
    font-size:16px;
    font-family: 'Poppins', sans-serif;
    color:#281b0d;
    background:#f0e2d3;
    border:3px solid #281b0d;
    padding:8px 40px;
    width:35%;
    border-radius:80px;
    font-weight:bold;
    margin:2vh 0px;
    transition:0.4s ease-in-out;
}
.btn_one:hover {
    box-shadow:0px 10px 30px #281b0d;
    cursor:pointer;
    color:#f0e2d3;
    background:#281b0d;
}
#rightImage {
    width: 100%;
    height: 95vh;
    background: url("assets/avatar.png") center center;
    background-size: cover;
    background-repeat: no-repeat;
}



@keyframes floatImage{
    0%{
       transform: translateY(0);
 
    }
    50%{
       transform: translateY(-22.4rem);
    }
    100%{
       transform: translateY(0);
    }
 
  }
 
#artwork {
    width:92vw;
    padding:6vh 4vw;
    font-weight:bold;
    background-color: #f0e2d3;
}
#artwork h1 {
    padding:5px 0px;
    border-bottom:4px solid #281b0d;
    width:6%;
}
#photos {
    width:100%;
    columns:3;
    column-gap:4%;
    z-index:1;
    transition:0.4s ease-in-out;
}
#photos img {
    width:100%;
    border-radius: 10px;
    height:auto;
    margin:4.5% 0px;
    transition:0.4s ease-in-out;
    box-shadow:0 0 1rem #281b0d;
    overflow: hidden;
    display: flex;
}
#photos img:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#inner_div table{
    width:100%;
}
#inner_div table tr td{
    font-weight:bold;
}
#inner_table tr td{
    padding:10px 20px !important;
}

#address {
    position:relative;
    top:-25px;
    left:30px;
}
#footer {
    width:100%;
    padding:10vh 0px;
    text-align:center;
    font-weight:bold;
    background-color: #f0e2d3;
}
#footer a {
    color:#281b0d;
    text-decoration:none;
}
::placeholder {
    color:#000;
}
button:focus {
    outline:none;
}
::-webkit-scrollbar {
    width:5px;
    height:5px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: rgb(0, 0, 0); 
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0,0.8); 
}

@media (max-width: 1000px){
    #photos {
    columns:1;
    column-gap:0%;
    }
    #photos img {
        margin:2% 0px;
    }
    #photos img:hover {
        transform: scale(1);
        cursor: pointer;
    }
    #rightImage {
        display:none;
    }
    #top_part {
        border:0px;
        background-color: #f0e2d3;
    }
    #top_part tr td{
        width:100%;
        text-align:center;
    }
    #about {
        width:92% !important;
        height:75vh;
        padding-top:20vh !important;
        text-align:center;
        padding:0px 4%;
    }
    #about table {
        width:100%;
        margin-top:6vh;
    }
    #about table tr td {
        text-align:center;
    }
    .btn_one {
    padding:6px 30px;
    width:60%;
    margin:4vh auto;
    box-shadow:0px 10px 20px #281b0d;
    background:#281b0d;
    color:#f0e2d3;
    }
    .btn_one:hover {
        box-shadow:0px 10px 40px #281b0d;
        cursor:pointer;
    }
    
    #artwork h1 {
        width:19%;
    }
  
    header {
        width:96vw;
        background:#f0e2d3;
        padding:4vh 2vw;
        position:absolute;
    }

    #header {
    color: #281b0d;
    }

    #header table tr td {
        width:100%;
        display:block;
        text-align:center;
        padding:15px 0px;
    }
    #navigation a {
        color:#000;
    }
}


.work-intro {
  text-align: center;
  font-size: 1.1em;
  color: #666;
  margin-bottom: 2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 0 2rem;
}

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  transition:0.4s ease-in-out;
    box-shadow:0 0 1rem #281b0d;
    overflow: hidden;
}

.work-card img {
  width: 100%;
  height: 220px; 
  object-fit: cover;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.work-card img {
  width: 100%;
  display: block;
}

.work-overlay {
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.95);
  color: #f0e2d3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  transition: right 0.4s ease;
}

.work-card:hover .work-overlay {
  right: 0;
}

.work-description {
  text-align: center;
}

.work-info h3 {
  color: #281b0d;
  font-weight: bolder;
}
.work-info p {
  color: #281b0d;
  font-weight: bolder;
}

.work-description h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.work-description p {
  font-size: 14px;
  margin-bottom: 15px;
}

.work-btn {
  padding: 8px 16px;
  color: #f0e2d3;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.work-btn:hover {
  background-color: #f0e2d3;
}



.work-content {
  padding: 1rem;
}

.work-content h3 {
  margin-top: 0;
  color: #222;
}

.work-content p {
  color: #555;
  margin: 0.5rem 0 1rem;
  font-size: 0.95em;
}

.tools {
  display: inline-block;
  font-size: 0.85em;
  color: #999;
  margin-bottom: 0.5rem;
}

.work-link {
  font-size: 1.2em;
  color: #333;
  transition: color 0.2s;
}

.work-link:hover {
  color: #007bff;
}


.work-section {
  padding: 2rem;
  text-align: center;
  justify-content: space-between;
  font-weight: bold;
  background-color: #f0e2d3;
  margin: auto; 
}


.work-section h1 {
    padding: 5px 0px;
    font-weight: bold;
    font-size: xx-large;
    border-bottom: 4px solid #281b0d;
    width: 100%; 
    text-align: center; 
}


.work-filters {
  margin: 1rem 0 2rem;
}



.work-filter-btn {
  padding: 0.5rem 1rem;
  font-size:16px;
  font-family: 'Poppins', sans-serif;
  color:#281b0d;
  background:#f0e2d3;
  border:3px solid #281b0d;
  cursor: pointer;
  border-radius:80px;
  font-weight:bold;
  background-color: #f0e2d3;
  transition:0.4s ease-in-out;
}

.work-filter-btn.active,
.work-filter-btn:hover {
  box-shadow:0px 10px 30px #281b0d;
  cursor:pointer;
  color:#f0e2d3;
  background:#281b0d;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.work-card {
  background: #f0e2d3;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow:0 0 1rem #281b0d;
}


.work-card:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.work-info {
  padding: 1rem;
}

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}


.work-btn {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: auto;
  padding: 8px 20px;
  background-color: #281b0d;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.work-btn:hover {
  background-color: #281b0d;
}


#contact {
  width: 92vw;
  padding: 6vh 4vw;
  font-weight: bold;
  background-color: #f0e2d3;
  color: #281b0d;
  text-align: center;
}

#contact h1 {
  padding: 5px 0px;
  border-bottom: 4px solid #281b0d;
  width: fit-content;
  margin: auto;
  margin-bottom: 4vh;
  font-size: 2rem;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 5%;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
  text-align: left;
}

.contact-container form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
}

.contact-container input,
.contact-container textarea {
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #281b0d;
  border-radius: 10px;
  background-color: #fff;
  color: #000;
  font-family: 'Poppins', sans-serif;
}

.contact-container textarea {
  resize: vertical;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  padding: 20px;
  font-size: 1rem;
  line-height: 1.6;
  background-color: #fff;
  border: 2px solid #281b0d;
  border-radius: 10px;
  color: #000;
  box-shadow: 0 0 1rem #281b0d;
}

.contact-info p {
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-info {
    margin-top: 20px;
  }
}


.marquee-container {
  width: 100%;
  overflow: hidden;
  background-color: #281b0d;
  padding: 0.8em 0;
  box-shadow: 0 2px 8px rgba(40, 27, 13, 0.3);
  margin-top: -40px; 
  position: relative;
  z-index: 2;
}

/* Tambahkan media query untuk layar kecil (mobile) */
@media (max-width: 768px) {
  .marquee-container {
    margin-top: 10px; 
    color: #f0e2d3;
  }
}



.marquee-text {
  display: inline-block;
  white-space: nowrap;
  color: #f0e2d3;
  font-size: 1em;
  animation: scroll-left 15s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}






* {
  font-family: 'Poppins', sans-serif;
}

#chatbot-container {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  overflow: hidden;
  z-index: 9999;
  font-family: sans-serif;
}

#chatbot-header {
  background: #bb473f;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chatbot-close {
  cursor: pointer;
  font-size: 20px;
}

#chatbot-messages {
  max-height: 300px;
  overflow-y: auto;
  padding: 10px;
}

.chat-message {
  padding: 8px 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 90%;
  clear: both;
}

.chat-message.bot {
  background: #f0e2d3;
  align-self: flex-start;
}

.chat-message.user {
  background: #e5c3d1;
  align-self: flex-end;
  text-align: right;
}

#chatbot-options {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.chat-option {
  padding: 8px 12px;
  background-color: #bb473f;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9em;
}
.chat-option:hover {
  background-color: #944038;
}
