/* Currently using */

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

li, a, button {
  font-family: 'Garbriela';
  font-weight: 500;
  font-size: 22px;
  color: #272259;
  text-decoration: none;
}

header {
  background: #E3CBC9;
  /* height: 120px; */
  display: flex;
  justify-content: flex-end;
  align-content: center;
  padding: 10px;
}

.logo {
  width: 80px;
  height: auto;
  cursor: pointer;
  margin-right: auto;
  margin-top: -1%;
  margin-bottom: -1%;
  margin-left: 2%; 
  /* padding: 10px 10px; */

}

.nav_links {
  list-style: none;
}

.nav_links li {
  display: inline-block;
  padding: 9px 40px;
}

.nav_links li a {
  transition: all 0.3s ease 0s;
}

.nav_links li a:hover {
  color: #FAF6EA;
}

button {
  margin-left: 50px;
  padding: 9px 25px;
  background-color: #FAF6EA;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  color: #6B5A7A;
}

button:hover {
  background-color: #EFE2CF;
  color: #2f2836;
}

/* .button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 20px;
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  border-radius: 4px;
  background-color: #ff5227;
  color: #fff;
}

.button:hover {
  background-color: #feb47b;
  transition: all 0.3s ease;
  color: #ffffff;
} */

/* .navbar {
  background: #faf6ea;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  position: sticky;
  top: 0;
}

.navbar_container {
    list-style-type: none;
    margin: 0;
    padding: 0;
} */


h1 {
  font-family: 'Garbriela';
  font-size: 50px;
  padding: 20px;
}

h1 {
  font-family: 'Garbriela';
  font-size: 40px;
  padding: 20px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    margin: 0;
}

p {
  font-family: 'Garbriela';
  padding: 0 20px;
  margin-bottom: 20px;
}

body, html {
    height: 100%;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  /* background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("images/Hero.jpg"); */
  background-image: url("images/Hero.jpg");

  /* Set a specific height */
  height: 50%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
  font-family: 'Garbriela';
  text-align: center;
  position: relative;
  margin-left: 65%;
  margin-right: -5%;
  /* padding-top: 35%; */
  /* margin-top: 50%; */
  top: 50%;
  /* left: 70%; */
  transform: translate(-50%, -50%);
  color: #faf6ea;
}

.hero-text .h1{
  font-size: 70px;
}

.fa {
  margin: 20px 5px auto;
  padding: 10px;
  font-size: 40px;
  width: 60px;
  height: 35px;
  text-align: center;
  text-decoration: none;
  border-radius: 10%;
}

/* Add a hover effect if you want */
.fa:hover {
  opacity: 0.7;
}

.fa-github {
  background:#bea0d8
}

.fa-linkedin {
  background-color: #9aa4cf;
}


.header h1 {
font-size: 40px;
} 

.aboutMe {
  background-color: antiquewhite;
  display: block;
  justify-content: flex-start;
}

#aboutMe .p{
  padding: 20px 90px 20px 20px !important;
  margin-bottom: 20px;
  margin-right: 60px;
}


.card-carousel {
    position: relative;
    /* width: 90%; */
    /* max-width: 1200px; */
    height: 500px;
    margin: 0 auto;
    perspective: 1000px;
    background-color: #efe2cf;
}

.card-carousel .h1 {
  margin: 0;
}
.card-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    position: absolute;
    width: 320px;
    height: 360px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    text-align: center;
    opacity: 0;
    z-index: 0;
}

.card.active {
    opacity: 1;
    z-index: 2;
    transform: translateX(0) scale(1);
}

.card.left {
    transform: translateX(-100%) scale(0.8);
    opacity: 0.7;
    z-index: 1;
}

.card.right {
    transform: translateX(100%) scale(0.8);
    opacity: 0.7;
    z-index: 1;
}

.card.far-left {
    transform: translateX(-180%) scale(0.6);
    opacity: 0.3;
    z-index: 0;
}

.card.far-right {
    transform: translateX(180%) scale(0.6);
    opacity: 0.3;
    z-index: 0;
}

.card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.card-desc {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.card-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: rgb(145, 145, 145);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    display: inline-block;
}

.card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--secondary-color);
    color: white;
}

.prev {
    left: -25px;
}

.next {
    right: -25px;
}

.card-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--secondary-color);
    transform: scale(1.3);
}

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

/* 响应式设计 */
@media (max-width: 820px) {
    h1{
        font-size: 40px;
    }

    button {
        margin-left: 20px;
    }

    .nav_links li {
        padding: 9px 20px;
    }

    .card-carousel {
        height: 550px;
    }
    
    .card {
        width: 240px;
        height: 320px;
        padding: 1.5rem 1rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .prev {
        left: -20px;
    }                             
    
    .next {
        right: -20px;
    }
}
.photography{
  background-color: #E3CBC9;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 40px;
  gap: 30px;
}
.slideshow-container {
  width: 50%;
  max-width: 500px;
  position: center;
  overflow: hidden;
}

.mySlides {
  display: none;
  position: relative;
}

/* Fading animation */
.fade {
  animation-name: fadeEffect; /* must match */
  animation-duration: 1.5s;
}

@keyframes fadeEffect {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Next & previous buttons */
.slideprev, .slidenext {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  user-select: none;
  background-color: rgba(0,0,0,0.4);
  border-radius: 50%;
}

.slideprev:hover, .slidenext:hover {
  background-color: rgba(0,0,0,0.8);
}

.slideprev {
  left: 10px;
}

.slidenext {
  right: 10px;
}

/* Caption text */
.slidetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
  border-radius: 5px;
}

/* Number text (1/3 etc) */
.slidenumbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.5);
  border-radius: 0 0 5px 0;
}

/* The dots/bullets/indicators */
.slidedot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.slidedot.active, .slidedot:hover {
  background-color: #ffffff;
}

/* Dot container */
.dots-container {
  text-align: center;
  margin-top: 10px;
}


.description-container {
  width: 40%;
  max-width: 400px;
}


/* Slideshow container */
 /* .slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  background-color: #E3CBC9;
} */

/* Hide the images by default */
/* .mySlides {
  display: none;
} */

/* Next & previous buttons */
/* .slideprev, .slidenext {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
} */

/* Position the "next button" to the right */
/* .slidenext {
  right: 0;
  border-radius: 3px 0 0 3px;
} */

/* On hover, add a black background color with a little bit see-through */
/* .slideprev:hover, .slidenext:hover {
  background-color: rgba(0,0,0,0.8);
} */

/* Caption text */
/* .slidetext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
} */

/* Number text (1/3 etc)
.slidenumbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
} */

/* The dots/bullets/indicators */
/* .slidedot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
} */

/* .active, .slidedot:hover {
  background-color: #ffffff;
} */

/* Fading animation */
/* .fade {
  animation-name: fade;
  animation-duration: 1.5s;
} */

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
} 

.footer{
  text-align: center;
  padding: 2rem 1rem;
  background-color: #afa0bd;
}