html {
  scroll-behavior: smooth;
}

html h2 {
  font-size: 55px;
}

@font-face {
    font-family: 'Brown Sugar';
    src: url("brown-sugar/brown-sugar.ttf") format('TrueType');
    font-weight: 700;
}

@font-face {
    font-family: 'Aileron';
    src: url("aileron/Aileron-Regular.otf") format('OpenType');
}

body {
    font-family: 'Aileron';
    src: url("aileron/Aileron-Regular.otf") format('OpenType'); 
    margin: 0;
    background-color: #e4e2dd;
    color: #292929;
    overflow-y: auto; /* scrollbar */
}

p {
    font-family: 'Aileron';
    src: url("aileron/Aileron-Regular.otf") format('OpenType'); 
    font-size: 20px;
    padding: 16px;
    text-align: justify;
}

header {
  font-size: 25px;
  background-color: #292929;
  color: #e4e2dd;
  padding: 12px;

 
  font-family: 'Brown Sugar', sans-serif; 
}

@font-face {
  font-family: 'Brown Sugar';
  src: url('brown-sugar/brown-sugar.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: auto;
  padding: 12px;
}

.header-logo {
  width: 200px;
  height: auto;
  margin-right: 15px;
}

nav {
  flex-grow: 1; 
  text-align: right; 
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block; 
}

nav li {
  display: inline;
  margin: 0 1rem;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
  .header-content {
      flex-direction: column; /* vertically */
      text-align: center; 
  }

  .header-logo {
      margin: 0 0 10px 0; 
  }

  nav {
      text-align: center; 
  }

  nav ul {
      display: flex; /*for navigation */
      flex-direction: column; 
      align-items: center; 
  }

  nav li {
      margin: 0.5rem 0; 
  }
}

.intro { /* eto ung bg ng Hi, I'm Vina!*/
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 5px solid #292929;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 100px 50px 0 50px;
    display: flex;
    align-items: center; 
    justify-content: center; 
    text-align: left; 
}

#image {
    display: block;
    margin: 0 0 0 50px;
}

.intro div {
    margin: 0 50px 0 50px;
}

.intro img {
    border-radius: 80%; 
    margin-right: 1.5rem; 
    width: 150px; 
    height: 150px; 
}


.container {
    display: flex;
    justify-content: center; /* center ng box */
    gap: 20px; 
}

.left-box, .right-box {
    flex: 1; /* equal space */
    max-width: 590px; 
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 50px;
    border: 5px solid #292929;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center; 
    justify-content: center; 
}



.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* This ensures 3 columns */
  gap: 20px; /* Space between items */
  margin: 0 auto; /* Center the grid */
}

.work-item {
  background-image: url("feather.png");
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 5px solid #292929;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.view-button {
  background: rgba(255, 255, 255, 0.1); 
  border: 2px solid rgba(255, 255, 255, 0.3); 
  border-radius: 10px; 
  padding: 10px 30px;
  color: black; 
  font-size: 25px; 
  font-weight: bold;
  font-family: 'Aileron', serif; 
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
}

.view-button:hover {
  color: #ff8c8c;
  text-shadow: 0 0 10px #ff8c8c, 0 0 20px #ff5a5a, 0 0 40px #ff2a2a;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 140, 140, 0.8); /* may pa glow */
}



.works h2 {
	margin: 0 0 10px 0;
}


footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  
    background-color: #292929;
    color: #e4e2dd;
    padding: 1rem 0;
    gap: 20px;  /* Add space between the grid items */
}

.footer-content {
    align-items: center; 
	text-align: center;
    justify-content: space-between; /* para d cla masikip */
    width: 90%; 
    margin: auto; 
    padding: 12px; /*16px*/
}

footer a {
	text-decoration: none;
    color: white;
    font-weight: bold;
}

#texts {
	align-items: center;
}

footer h1 {
	font-family: 'Brown Sugar';
	margin: 0 0 0 0;
}
	
footer a {
	font-size: 30px;
	margin: 20px 0 20px 0;
}

footer p {
    grid-column: span 4;  
    text-align: center;
    color: #e4e2dd; 
}

.contacts-icon {
	height: 75px;
	width: 75px;
	margin-top:	50px;
	transition: transform 0.3s ease;
}

.contacts-icon:hover {
	transition: transform 0.3s ease;
	transform: translateY(-15px);
}

.icon-box {
    display: flex;  /* for the icon box */
    justify-content: space-between;  
    width: 100%;  
}

.icon-left {
    position: relative;  /* Left-aligned icons */
	margin: 15px 25px 15px 0;
}

.icon-right {
    position: relative;  /* Right-aligned icons */
	margin: 15px 0 15px 25px;
}

.credentials {
    align-items: left; 
    text-align: left;
    justify-content: space-between;
    width: 90%; 
    margin: auto; 
    padding: 12px;
}

.stacked-text {
  text-align: left;
  display: inline-block;
  white-space: nowrap;
}

.stacked-text.icons {
    display: flex;  
    flex-direction: column;  
    align-items: center; 
}

#works { /*simula dito hanggang*/
  padding: 40px;
  text-align: center;
}

#works h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
}

.work-item {
  background-image: url("feather.png");
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 5px solid #292929;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-item img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
  max-height: 200px;
  margin-bottom: 15px;
}

.work-item h3 {
  margin: 10px;
  color: #292929;
}

.work-item p {
  color: #292929;
  text-align: center;
}

.work-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 1200px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
} 

.animated-item { /*angat pag nakatutok*/
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.animated-item:hover {/*angat pag nakatutok*/
  transform: translateY(-5px);
  text-shadow: 0 0 15px rgba(255, 105, 180, 0.7);
}

.animated-item a {/*angat pag nakatutok*/
  transition: color 0.3s ease;
  transform: translateY(-5px);
}

.contact-item {
  display: flex;
  align-items: center;
  margin: 1rem 0; /* spacing langs */
}

.contact-item img {
  width: 30px; 
  height: 30px; 
  margin-right: 0.5rem; /* Space between icon and text */
}
