@import url('https://fonts.googleapis.com/css2?family=Catamaran:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #E8E4E1;
    color: #2C2C2C;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    line-height: 1.8;
}

canvas#canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

header, main, footer {
    background-color: rgba(240, 235, 233, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
}

header .logo {
    font-family: 'Catamaran', sans-serif;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}


.beian-link {
    color: inherit;    
    text-decoration: none;  
}
.beian-link:hover {
    text-decoration: underline; 
}

@media (min-width: 769px) {
    nav ul {
        list-style-type: none;
        padding: 0;
        text-align: center;
    }

    nav ul li {
        display: inline-block;
        margin: 0 20px;
        position: relative;
        transition: transform 0.3s ease;
    }

    nav ul li a {
        color: #2C2C2C;
        text-decoration: none;
        padding: 12px 20px;
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    nav ul li:hover {
        transform: scale(1.1);
    }

    nav ul li a:hover {
        background-color: rgba(112, 93, 91, 0.3);
        color: #705d5b;
    }

    nav ul li > a::after {
        content: '';
        display: block;
        width: 0;
        height: 3px;
        background-color: #aa8a87;
        border-radius: 2px;
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        transition: width 0.3s ease;
        opacity: 1;
    }

    nav ul li:hover > a::after {
        width: 30px;
    }
}


#about #about-picture {
    text-align: center;
    margin-bottom: 20px;
}

#about #about-picture .responsive-image {
    max-width: 150px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

#about #about-picture .responsive-image:hover {
    transform: scale(1.15);
}

@media (min-width: 769px) {
    nav ul li.dropdown .dropdown-menu li a::after {
        content: '';
        display: block;
        width: 0;
        height: 3px;
        background-color: #aa8a87;
        border-radius: 2px;
        position: absolute;
        bottom: 2px;
        left: 50%;
        transform: translateX(-50%);
        transition: width 0.3s ease;
    }

    nav ul li.dropdown .dropdown-menu li:hover > a::after {
        width: 30px;
    }

    nav ul li.dropdown .dropdown-menu {
        display: none;
        position: absolute;
        top: calc(100% - 2px);
        left: 0;
        background-color: rgba(240, 235, 233, 0.95);
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 5px 0;
        min-width: 130px;
        z-index: 1001;
    }

    nav ul li.dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        display: inline-block;
        padding: 10px 20px;
        font-size: 16px;
        font-weight: bold;
        color: #2C2C2C;
        background-color: #F5F5F5;
        border-radius: 5px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .dropdown-toggle:hover {
        background-color: #E8E4E1;
        color: #705D5B;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transform: translateY(-2px);
    }

    .dropdown-toggle:active {
        background-color: #D9D2CF;
        transform: translateY(0);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    nav ul li.dropdown .dropdown-menu li {
        margin-bottom: 5px;
    }

    nav ul li.dropdown .dropdown-menu li a {
        color: #2C2C2C;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
        transition: all 0.3s ease;
    }

    nav ul li.dropdown .dropdown-menu li a:hover {
        transform: scale(1.05);
        background-color: rgba(112, 93, 91, 0.2);
        color: #705d5b;
    }
}


#hero {
    background-color: rgba(71, 50, 48, 0.85);
    padding: 50px;
    text-align: center;
    border-radius: 15px;
    color: #E8E4E1;
}

body.fade-in {
    opacity: 1;
}

body.fade-out {
    opacity: 0;
}

footer {
    background-color: rgba(71, 50, 48, 0.95);
    color: #E8E4E1;
    text-align: center;
    padding: 10px 0;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

footer p {
    margin: 0;
}

section {
    max-width: none;
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

h2, h3 {
    text-align: center;
}

.skills-section, .experience-item, .hobbies-section, .about-section {
    margin-bottom: 20px;
}

ul {
    list-style-type: disc;
    margin-left: 20px;
}

.experience-item h4, .about-section h4, .hobbies-section h4 {
    margin-bottom: 10px;
    font-size: 20px;
}

.experience-item p, .about-section p, .hobbies-section p {
    margin: 5px 0;
}

.no-layout-mods section {
    max-width: none;
    margin: 0;
    line-height: 1.8;
}

.centered-text {
    text-align: center;
}

header {
    position: relative;
    padding: 10px 20px;
    z-index: 1000;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3002;
}

.hamburger {
    display: none;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .nav-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background-color: rgba(240, 235, 233, 0.95);
        box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 3002;
        overflow-y: auto;
    }

    .nav-menu.open {
        right: 0;
    }

    body.no-scroll {
        overflow: hidden;
    }

    .hamburger {
        display: block;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 3002;
    }

    .nav-menu ul {
        list-style: none;
        padding: 20px;
        margin: 0;
    }

    .nav-menu ul li {
        margin-bottom: 10px;
    }

    .nav-menu ul li a,
    .nav-menu ul li .dropdown-toggle {
        display: block;
        padding: 10px 15px;
        color: #2C2C2C;
        text-decoration: none;
        font-size: 18px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .nav-menu ul li a:hover,
    .nav-menu ul li .dropdown-toggle:hover {
        background-color: rgba(112, 93, 91, 0.3);
        color: #705d5b;
    }

    .nav-menu ul li .dropdown-toggle {
        cursor: pointer;
        position: relative;
    }

    .nav-menu ul li .dropdown-toggle::after {
        content: '\25B6';
        position: absolute;
        right: 15px;
        transition: transform 0.3s ease;
    }

    .nav-menu ul li.open .dropdown-toggle::after {
        transform: rotate(90deg);
    }

    .nav-menu ul li .dropdown-menu {
        display: none;
        list-style: none;
        padding-left: 20px;
    }

    .nav-menu ul li.open .dropdown-menu {
        display: block;
    }

    .nav-menu ul li .dropdown-menu li {
        margin-bottom: 0;
    }

    .nav-menu ul li .dropdown-menu li a {
        font-size: 16px;
        padding: 8px 15px;
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        backdrop-filter: blur(5px);
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 3001;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .menu-overlay.visible {
        opacity: 1;
        pointer-events: all;
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
    .side-menu {
        display: none;
    }
    .menu-overlay {
        display: none;
    }
}

.skill-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.2);
}

.skill-card.card-1 {
    border: 2px solid transparent;
    background-image: linear-gradient(#FFFFFF, #FFFFFF),
                      linear-gradient(135deg, #6D1F35, #B03A52);
    background-origin: border-box;
    background-clip: content-box, border-box;
    color: #6D1F35;
}

.skill-card.card-1 h3 {
    text-align: center;
    color: #6D1F35;
    font-weight: bold;
}

.skill-card.card-1 ul li {
    padding: 5px 10px;
    border-left: 3px solid #B03A52;
    margin-bottom: 8px;
    color: #6D1F35;
}

.skill-card.card-2 {
    border: 1px solid #6D1F35;
    background-color: #F5F2F0;
    color: #6D1F35;
}

.skill-card.card-2 h3 {
    text-align: left;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #B03A52;
}

.skill-card.card-2 ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.skill-card.card-2 li {
    background: #FFFFFF;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.skill-card.card-2 li:hover {
    background: #FBEFF1;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #B03A52;
}

.skill-card.card-3 {
    background-color: #B03A52;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.skill-card.card-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10%;
    width: 120%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(0, 0, 0, 0));
    transform: skewX(-20deg);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.skill-card.card-3:hover::before {
    opacity: 1;
}

.skill-card.card-3 h3 {
    color: #FFF;
    font-weight: bold;
}

.skill-card.card-3 ul li {
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.skill-card.card-4 {
    background-color: #FFFFFF;
    border: 1px solid #6D1F35;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #6D1F35;
}

.skill-card.card-4:hover {
    transform: rotate(1deg) scale(1.02);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.skill-card.card-4 h3 {
    font-weight: bold;
    margin-bottom: 15px;
    text-align: left;
    color: #B03A52;
}

.skill-card.card-4 ul {
    list-style: none;
    padding: 0;
}

.skill-card.card-4 li {
    padding: 10px;
    margin-bottom: 10px;
    border-left: 4px solid #B03A52;
    background-color: #F5F2F0;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.skill-card.card-4 li:hover {
    background-color: #FBEFF1;
}

#skills {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 250px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
    overflow-y: auto;
}

.flip-card-front {
    background-color: #f3f3f3;
    color: #705d5b;
    font-weight: bold;
}

.flip-card-back {
    background-color: #e8e4e1;
    color: #2C2C2C;
    transform: rotateY(180deg);
    font-size: 0.9em;
    line-height: 1.6;
    padding: 15px;
    overflow-y: auto;
}

@media (max-width: 768px) {
    .flip-card {
        height: 300px;
    }

    .flip-card-back {
        font-size: 0.85em;
        line-height: 1.4;
        max-height: 100%;
        overflow-y: auto;
    }
}

.experience-section {
    padding: 40px 20px;
    background-color: #EDE7E6;
}

.intro-text {
    text-align: center;
    font-size: 1.1em;
    color: #6B3F47;
    margin-bottom: 20px;
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.experience-card {
    background-color: #FFF;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #BFA2A9;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(107, 63, 71, 0.2);
}

.experience-card h3 {
    font-size: 1.3em;
    color: #6B3F47;
}

.experience-card h4 {
    font-size: 1.1em;
    color: #8C656B;
    margin-bottom: 10px;
}

.experience-card ul {
    list-style-type: disc;
    padding-left: 20px;
    line-height: 1.6;
    color: #555;
}

.projects-section {
    padding: 40px 20px;
    background-color: #EDE7E6;
}

.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.project-card {
    background-color: #FFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 1px solid #BFA2A9;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(107, 63, 71, 0.2);
}

.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.project-info {
    padding: 15px;
    background-color: #F9F4F3;
}

.project-title {
    font-size: 1.1em;
    color: #6B3F47;
    font-weight: bold;
}

.experience-page .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(43, 26, 31, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.experience-page .modal-content {
    background-color: #FFF;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 16px rgba(43, 26, 31, 0.3);
    position: relative;
}

.experience-page .modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #6B3F47;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.gallery-page .gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.gallery-page .gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-page .gallery img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.gallery-page .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(43, 26, 31, 0.8);
    text-align: center;
}

.gallery-page .modal img {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(43, 26, 31, 0.5);
}

.gallery-page .modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content {
    animation-name: fadeIn;
    animation-duration: 0.6s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 1200px) {
    .gallery-page .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-page .gallery {
        grid-template-columns: 1fr;
    }

    .gallery-page .gallery img {
        height: auto;
    }
}

.intro-card {
    width: 250px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    z-index: 100;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.profile-pic {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.intro-card h3 {
    color: #333;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.intro-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95em;
}

.about-header {
    text-align: center;
    padding-top: 40px;
}

.about-header h2 {
    color: #333;
    font-size: 2em;
    margin-bottom: 20px;
}

.about-timeline {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    max-width: 800px;
    padding-top: 60px;
}

.about-timeline h2 {
    text-align: center;
    color: #333;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 30px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: #705d5b;
    transform: translateX(-50%);
}

.about-card {
    width: 45%;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card.left {
    margin-right: 55%;
    margin-left: -40px;
    text-align: right;
}

.about-card.right {
    margin-left: 55%;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background-color: #705d5b;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #f9f9f9;
}

.about-card.left::before {
    right: -20px;
}

.about-card.right::before {
    left: -20px;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.about-card h3 {
    font-size: 1.4em;
    color: #705d5b;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .intro-card {
        position: relative;
        margin: 20px auto;
        width: 85%;
        padding: 15px;
        top: auto;
        left: auto;
        transform: none;
    }

    .about-timeline {
        margin: 0 auto;
    }

    .about-timeline::before {
        left: 20px;
    }

    .about-card {
        width: 90%;
        margin: 20px auto;
        text-align: left;
    }

    .about-card.left, .about-card.right {
        margin: 20px auto;
    }

    .about-card.left::before, .about-card.right::before {
        left: 10px;
    }
}

#hobbies h2 {
    text-align: center;
    font-size: 2.2em;
    margin-top: 30px;
    color: #3a3a3a;
}

#hobbies p {
    text-align: center;
    font-size: 1.1em;
    color: #5f3b3b;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hobby-card {
    background-color: #E8E4E1;
    color: #5f3b3b;
    padding: 20px;
    border-radius: 12px;
    margin: 20px auto;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hover-expand:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.click-expand .details {
    display: none;
}

.click-expand.expanded .summary {
    display: none;
}

.click-expand.expanded .details {
    display: block;
    animation: fadeInDetails 0.4s ease forwards;
}

.click-me {
    position: fixed;
    font-size: 0.9em;
    color: #705d5b;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px 8px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.auto-expand .details {
    display: none;
}

.auto-expand.expanded .summary {
    display: none;
}

.auto-expand.expanded .details {
    display: block;
    animation: fadeInDetails 0.4s ease forwards;
}

.hover-animation:hover {
    background-color: #e0c4c4;
    transform: translateY(-5px) rotate(1deg);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
}

.hobby-card h3 {
    font-size: 1.5em;
    color: #5f3b3b;
    margin-bottom: 10px;
}

.hobby-card .summary, .hobby-card .details {
    font-size: 1em;
    line-height: 1.6;
}

@keyframes fadeInDetails {
    from { opacity: 0; }
    to { opacity: 1; }
}

.typewriter-effect .details {
    font-size: 1em;
    line-height: 1.6;
    color: #5f3b3b;
    white-space: pre-wrap;
}

#contact {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            text-align: center;
            background-color: #fff;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
        }

        .contact-method {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 20px 0;
    }
        .contact-item {
        text-align: center;
    }

        .contact-form {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        label {
            font-weight: bold;
            margin-bottom: 5px;
            width: 100%;
            text-align: left;
            max-width: 500px;
        }

        input[type="text"], input[type="email"], textarea {
            width: 100%;
            max-width: 500px;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 16px;
            box-sizing: border-box;
        }

        textarea {
        resize: vertical;
        height: 150px;
        width: 100%;
        max-width: 500px;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        font-family: 'Arial', sans-serif;
        font-size: 16px;
        line-height: 1.5;
        box-sizing: border-box;
        color: #333;
        background-color: #f9f9f9;
    }

    textarea:focus {
        outline: none;
        border-color: #473230;
        box-shadow: 0 0 5px rgba(71, 50, 48, 0.5);
    }

        button {
            padding: 10px 20px;
            font-size: 16px;
            background-color: #473230;
            color: #fff;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        button:hover {
            background-color: #705d5b;
            transform: scale(1.1);
            background-color: #473230;
            transition: transform 0.2s ease;
        }

        .email-header {
        display: flex;
        align-items: center;
        gap: 10px;
        text-align: left;
    }

    .contact-icon {
        width: 24px;
        height: 24px;
    }
    .contact-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 5px;
    }
    .contact-icon {
        width: 24px;
        height: 24px;
    }

    .email-list {
        text-align: center;
    }

    .email-link {
        text-decoration: none;
        color: #473230;
        font-size: 16px;
        font-weight: bold;
    }

    .email-link:hover {
        color: #705d5b;
        text-decoration: underline;
    }

    .error-message {
    color: red;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: left;
    display: block;
}