@font-face {
  font-family: "Agraham";
  src: url(agraham/Agraham.otf);

  font-family: "Antic";
  src: url(Antic/Antic-Regular.ttf);
  font-size: large;

  font-family: "ElaineKinandhita";
  src: url(elainekinandhita/ElaineKinandhita.ttf);

  font-family: "The Seasons";
    src: url(The\ Seasons\ Font/)

}

.julius-sans-one-regular {
font-family: "Julius Sans One", sans-serif;
font-weight: 400;
font-style: normal;
}

.antic-regular {
font-family: "Antic", sans-serif;
font-weight: 400;
font-style: normal;
}

.livvic-thin {
font-family: "Livvic", sans-serif;
font-weight: 100;
font-style: normal;
}

.livvic-extralight {
font-family: "Livvic", sans-serif;
font-weight: 200;
font-style: normal;
}

.livvic-light {
font-family: "Livvic", sans-serif;
font-weight: 300;
font-style: normal;
}

.livvic-regular {
font-family: "Livvic", sans-serif;
font-weight: 400;
font-style: normal;
}

.livvic-medium {
font-family: "Livvic", sans-serif;
font-weight: 500;
font-style: normal;
}

.livvic-semibold {
font-family: "Livvic", sans-serif;
font-weight: 600;
font-style: normal;
}

.livvic-bold {
font-family: "Livvic", sans-serif;
font-weight: 700;
font-style: normal;
}

.livvic-black {
font-family: "Livvic", sans-serif;
font-weight: 900;
font-style: normal;
}

.livvic-thin-italic {
font-family: "Livvic", sans-serif;
font-weight: 100;
font-style: italic;
}

.livvic-extralight-italic {
font-family: "Livvic", sans-serif;
font-weight: 200;
font-style: italic;
}

.livvic-light-italic {
font-family: "Livvic", sans-serif;
font-weight: 300;
font-style: italic;
}

.livvic-regular-italic {
font-family: "Livvic", sans-serif;
font-weight: 400;
font-style: italic;
}

.livvic-medium-italic {
font-family: "Livvic", sans-serif;
font-weight: 500;
font-style: italic;
}

.livvic-semibold-italic {
font-family: "Livvic", sans-serif;
font-weight: 600;
font-style: italic;
}

.livvic-bold-italic {
font-family: "Livvic", sans-serif;
font-weight: 700;
font-style: italic;
}

.livvic-black-italic {
font-family: "Livvic", sans-serif;
font-weight: 900;
font-style: italic;
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

body {
size: 100%;
font-family: "Antic";
background-color: #FFE7D4;
color: #4d2e1d;
line-height: 1.6;
overflow-x: hidden;
}

a {
text-decoration: none;
color: inherit;
}

header {
position: sticky;
top: 0;
z-index: 1000;
background-image: linear-gradient(to right, #FFE7D4, #FFCBA3);
background-repeat: no-repeat;
opacity: 95%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 5%;
margin: 2% 10%;
border-radius: 30px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
margin-top: 5px;
}

.logo img {
max-width: 100%;
height: auto;
}

nav {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px;
}

nav a {
margin: 0 15px;
padding: 10px 15px;
border-radius: 10px;
background: #4d2e1d;
color: #fff;
font-family: "Livvic";
font-weight: 200;
font-size: 18px;
font-weight: light;
opacity: 100%;
display: inline-block;
transition: all 0.3s ease;
white-space: nowrap;
}

nav a:hover {
transform: translateY(-5%);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-btn {
background: #F8B9B1;
color: #4d2e1d;
margin: 0 15px;
padding: 10px 15px;
border-radius: 10px;
font-family: "Livvic";
font-weight: 200;
font-size: 18px;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
white-space: nowrap;
}

.contact-btn:hover { 
transform: translateY(-5%);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about {
display: flex;
flex-wrap: wrap;
padding: 60px 10%;
gap: 40px;
align-items: center;
animation: fadeInUp 1s ease forwards;
}

.about .text {
flex: 1;
min-width: 280px;
font-family: "Antic";
}

.about h3 {
  font-family: "Livvic";
  font-weight: 400;
  font-size: 50px;
}

.about h2 {
font-size: 40px;
font-family: "Agraham";
margin-bottom: 5px;
font-weight: lighter;
}

.about .subtitle {
color: #d78e7e;
font-family: "Livvic";
font-size: 30px;
margin-bottom: 5px;
}

.about .flower-icon {
  float: left;
  position: relative;
  padding-top: 10px;
  padding-right: 10px;
}

.about .flower-icon img {
max-width: 100%;
height: auto;
}

.about p {
  font-size: 17px;
}

.about .photo {
flex: 1;
min-width: 250px;
text-align: center;
}

.about .photo img {
max-width: 100%;
height: auto;
border-radius: 15px;
}

.hero {
width: 500px;
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
background: url('flowers.png') no-repeat center right;
background-size: 40px contain;
}

.education {
padding: 60px 5%;
text-align: center;
position: relative;
overflow: hidden;
}

.education-header {
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin-bottom: 60px;
}


.leftbranch, .rightbranch {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 500px;
height: 100px;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
}

.leftbranch {
left: 0;
background-image: url(Group\ 1.png);
}

.rightbranch {
right: 0;
background-image: url(Group\ 37.png);
}

.education h2 {
font-size: 40px;
font-family: "Agraham";
font-weight: 400;
color: #4d2e1d;
margin: 0;
padding: 30px 20px;
z-index: 2;
position: relative;
}

.education-info {
display: flex;
align-items: center;
justify-content: center;
position: relative;
margin-bottom: 100px;
}

.education-info img {
max-width: 100%;
height: auto;
}

.skills-section {
width: 100%;
margin: 0 auto;
padding: 30px;
background: linear-gradient(to bottom, #F8B9B1, #ED6C6E);
position: relative;
z-index: 10;
}

.section-title-skills {
font-family: "Agraham";
text-align: center;
padding: 40px;
font-size: 40px;
}

.skills-container {
  max-width: 1300px;
  height: auto;
  margin: 0 auto;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.skill-category {
text-align: center;
margin: 20px 75px;
}

.category-title {
font-size: 40px;
color: #4d2e1d;
margin-bottom: 30px;
font-family: "Livvic";
font-weight: 400;
}

.skill-item {
display: flex;
align-items: center;
margin-bottom: 70px;
gap: 70px;
position: relative;
}

.skill-icon {
width: 40px;
height: 40px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.skill-bar {
width: 100%;
height: 20px;
background-color: #4d2e1d;
border-radius: 10px;
overflow: hidden;
}

.skill-progress {
height: 100%;
background: #FFE7D4;
border-radius: 10px;
width: 0%;
animation: progressFill 2s ease-in-out forwards;
}

.skill-progress.figma { --target-width: 60%; }
.skill-progress.ai { --target-width: 75%; }
.skill-progress.xd { --target-width: 80%; }
.skill-progress.ps { --target-width: 40%; }
.skill-progress.id { --target-width: 50%; }
.skill-progress.pr { --target-width: 25%; }

@keyframes progressFill {
from { width: 0%; }
to { width: var(--target-width); }
}

.skill-desc-figma {
font-size: 20px;
position: absolute;
top: 100%;
left: 29%;
transform: translateX(-50%);
white-space: nowrap;
}

.skill-desc-ai {
font-size: 20px;
position: absolute;
top: 100%;
left: 38%;
transform: translateX(-50%);
white-space: nowrap;
}

.skill-desc-xd {
font-size: 20px;
position: absolute;
top: 100%;
left: 40%;
transform: translateX(-50%);
white-space: nowrap;
}

.skill-desc-ps {
font-size: 20px;
position: absolute;
top: 100%;
left: 38%;
transform: translateX(-50%);
white-space: nowrap;
}

.skill-desc-id {
font-size: 20px;
position: absolute;
top: 100%;
left: 36%;
transform: translateX(-50%);
white-space: nowrap;
}

.skill-desc-pr {
font-size: 20px;
position: absolute;
top: 100%;
left: 40%;
transform: translateX(-50%);
white-space: nowrap;
}

.hobby-section {
width: 100%;
margin: 0 auto;
padding: 30px;
position: relative;
z-index: 10;
justify-content: center;
}

.flower {
position: absolute;
left: -50px;
bottom: 120px;
width: 100px;
height: 100px;
}

.flower img {
width: 200%;
height: 200%;
object-fit: contain;
}

.container {
width: 100%;
padding: 60px 40px;
text-align: center;
}

.section-title {
font-family: "Agraham";
font-size: 40px;
color: #4d2e1d;
margin-bottom: 80px;
font-weight: 300;
}

.hobbies-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
align-items: center;
justify-items: center;
}

.hobby-item {
display: flex;
flex-direction: column;
align-items: center;
transition: transform 0.3s ease;
}

.hobby-item:hover {
transform: translateY(-10px);
}

.hobby-card {
width: 220px;
height: 180px;
background: #4d2e1d;
border-radius: 25px;
margin-bottom: 25px;
box-shadow: 0 8px 25px rgba(93, 64, 55, 0.3);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.hobby-card .icon {
padding-top: 10px;
}

.hobby-card .icon img {
max-width: 100%;
height: auto;
}

.hobby-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
opacity: 0;
transition: opacity 0.3s ease;
}

.hobby-item:hover .hobby-card {
transform: scale(1.05);
box-shadow: 0 12px 35px rgba(93, 64, 55, 0.4);
}

.hobby-item:hover .hobby-card::before {
opacity: 1;
}

.hobby-label {
font-size: 35px;
color:#4d2e1d;
font-weight: 600;
letter-spacing: 1px;
text-transform: lowercase;
}

.hobby-card .icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 3rem;
color: rgba(255, 255, 255, 0.15);
transition: all 0.3s ease;
}

.hobby-item:hover .hobby-card .icon {
color: rgba(255, 255, 255, 0.25);
transform: translate(-50%, -50%) scale(1.1);
}

@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.hobby-item {
animation: fadeInUp 1.5s ease forwards;
}

.hobby-item:nth-child(1) { animation-delay: 0.1s; }
.hobby-item:nth-child(2) { animation-delay: 0.2s; }
.hobby-item:nth-child(3) { animation-delay: 0.3s; }

footer {
background: #4d2e1d;
color: white;
text-align: center;
padding: 30px 10px;
font-family: "Antic";
}

.footer p {
margin: 5px;
}

footer .social-icons a img {
margin: 10px;
max-width: 100%;
height: auto;
}

.social-icons a img {
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Desktop adjustments - 1200px and up */
@media screen and (max-width: 1200px) {
.skills-container {
  max-width: 900px;
}

.skill-category {
  margin: 20px 40px;
}

.leftbranch, .rightbranch {
  width: 300px;
}

.hero {
  width: 400px;
}
}

/* Tablets - 992px and below */
@media screen and (max-width: 992px) {
header {
  margin: 2% 5%;
  padding: 15px 3%;
}

.about {
  padding: 40px 5%;
  flex-direction: column;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
}

.about h3 {
  font-size: 40px;
}

.about .subtitle {
  font-size: 25px;
}

.hero {
  width: 100%;
  max-width: 400px;
  order: -1;
}

.skills-grid {
  grid-template-columns: 1fr;
  gap: 40px;
}

.skill-category {
  margin: 20px 20px;
}

.category-title {
  font-size: 35px;
}

.hobbies-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.leftbranch, .rightbranch {
  display: none;
}

.education h2 {
  font-size: 35px;
}

.section-title {
  font-size: 35px;
}

.section-title-skills {
  font-size: 35px;
}
}

/* Small tablets and large phones - 768px and below */
@media screen and (max-width: 768px) {
header {
  flex-direction: column;
  gap: 15px;
  padding: 20px 3%;
  margin: 2% 3%;
}

nav {
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  margin: 5px;
  padding: 8px 12px;
  font-size: 16px;
}

.contact-btn {
  margin: 5px;
  padding: 8px 12px;
  font-size: 16px;
}

.about {
  padding: 30px 5%;
}

.about h2 {
  font-size: 2rem;
}

.about h3 {
  font-size: 30px;
}

.about .subtitle {
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.about p {
  font-size: 16px;
}

.education {
  padding: 40px 3%;
}

.education h2 {
  font-size: 30px;
  padding: 20px 10px;
}

.skills-section {
  padding: 20px;
}

.section-title-skills {
  font-size: 30px;
  padding: 30px;
}

.category-title {
  font-size: 28px;
}

.skill-item {
  gap: 30px;
  margin-bottom: 50px;
}

.skill-icon {
  width: 35px;
  height: 35px;
}

.skill-bar {
  height: 18px;
}

.skill-desc-figma,
.skill-desc-ai,
.skill-desc-xd,
.skill-desc-ps,
.skill-desc-id,
.skill-desc-pr {
  font-size: 16px;
}

.hobbies-grid {
  grid-template-columns: 1fr;
  gap: 30px;
}

.hobby-card {
  width: 200px;
  height: 160px;
}

.hobby-label {
  font-size: 28px;
}

.section-title {
  font-size: 30px;
  margin-bottom: 60px;
}

.container {
  padding: 40px 20px;
}

.flower {
  display: none;
}
}

/* Mobile phones - 576px and below */
@media screen and (max-width: 576px) {
body {
  line-height: 1.4;
}

header {
  width: calc(100% - 20px);
  margin: 10px;
  padding: 15px;
  border-radius: 20px;
  flex-direction: column;
  gap: 10px;
}

.logo img {
  width: 120px;
  max-width: 120px;
}

nav {
  width: 100%;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}

nav a, .contact-btn {
  width: 100%;
  max-width: 200px;
  padding: 10px 12px;
  font-size: 14px;
  border-radius: 12px;
  text-align: center;
  margin: 2px 0;
}

.about {
  padding: 20px 4%;
  gap: 20px;
}

.about .text {
  min-width: auto;
}

.about h2 {
  font-size: 1.8rem;
}

.about h3 {
  font-size: 24px;
}

.about .subtitle {
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.about p {
  font-size: 15px;
}

.about .photo {
  min-width: auto;
}

.hero {
  max-width: 100%;
  width: 300px;
}

.education {
  padding: 30px 4%;
}

.education h2 {
  font-size: 24px;
  padding: 15px 5px;
}

.education-info img {
  width: 100%;
  height: auto;
}

.skills-section {
  padding: 15px 10px;
}

.section-title-skills {
  font-size: 24px;
  padding: 20px 10px;
}

.skill-category {
  margin: 15px 5px;
}

.category-title {
  font-size: 22px;
  margin-bottom: 20px;
}

.skill-item {
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.skill-icon {
  width: 60px;
  height: 60px;
}

.skill-bar {
  width: 100%;
  max-width: 250px;
  height: 16px;
}

.skill-desc-figma,
.skill-desc-ai,
.skill-desc-xd,
.skill-desc-ps,
.skill-desc-id,
.skill-desc-pr {
  font-size: 14px;
  position: static;
  transform: none;
  white-space: normal;
  margin-top: 8px;
}

.hobby-section {
  padding: 20px 10px;
}

.hobby-card {
  width: 160px;
  height: 130px;
}

.hobby-card .icon {
  font-size: 2rem;
  padding-top: 5px;
}

.hobby-label {
  font-size: 20px;
}

.section-title {
  font-size: 24px;
  margin-bottom: 40px;
}

.container {
  padding: 30px 15px;
}

footer {
  padding: 20px 10px;
}

footer .social-icons a img {
  margin: 5px;
  width: 30px;
  height: 30px;
}
}

/* Extra small phones - 375px and below */
@media screen and (max-width: 375px) {
header {
  margin: 5px;
  padding: 12px;
}

.logo img {
  width: 100px;
}

nav a, .contact-btn {
  max-width: 180px;
  font-size: 13px;
  padding: 12px 16px;
}

.about {
  padding: 15px 3%;
}

.about h2 {
  font-size: 1.6rem;
}

.about h3 {
  font-size: 20px;
}

.about .subtitle {
  font-size: 16px;
}

.about p {
  font-size: 14px;
}

.education {
  padding: 20px 3%;
}

.education h2 {
  font-size: 20px;
  padding: 10px 5px;
}

.section-title-skills {
  font-size: 20px;
  padding: 15px 5px;
}

.section-title {
  font-size: 20px;
  margin-bottom: 30px;
}

.category-title {
  font-size: 18px;
  margin-bottom: 15px;
}

.skill-icon {
  width: 50px;
  height: 50px;
}

.skill-bar {
  max-width: 200px;
  height: 14px;
}

.skill-desc-figma,
.skill-desc-ai,
.skill-desc-xd,
.skill-desc-ps,
.skill-desc-id,
.skill-desc-pr {
  font-size: 12px;
}

.hobby-card {
  width: 140px;
  height: 110px;
}

.hobby-label {
  font-size: 18px;
}

.container {
  padding: 20px 10px;
}

.skills-section {
  padding: 10px 5px;
}

.skill-category {
  margin: 10px 0;
}
}

/* Landscape orientation adjustments for mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
header {
  position: relative;
  padding: 10px;
  margin: 5px;
}

.about {
  padding: 15px 5%;
  flex-direction: row;
}

.education {
  padding: 15px 3%;
}

.skills-section {
  padding: 15px;
}

.container {
  padding: 15px;
}

.section-title,
.section-title-skills,
.education h2 {
  margin-bottom: 20px;
}
}

/* High DPI displays */
@media screen and (-webkit-min-device-pixel-ratio: 2),
      screen and (min-resolution: 192dpi) {
.hobby-card,
.skill-icon {
  image-rendering: -webkit-optimize-contrast;
}
}