@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Sofia');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #1f242d;
    color: #fff;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #1f242d;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    position: relative;
}

.logo {
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    display: flex;
    align-items: center;
}

.logo span {
    color: orange;
    font-size: 24px; /* Change the font size to your desired value */
    font-weight: 700; /* Change the font weight to your desired value */
    font-style: italic; /* Change the font style to your desired value, e.g., italic or normal */
    font-family: 'Sofia', sans-serif; /* Change the font family to the desired font */
  }
  
  

.logo-image {
    max-height: 25px;
    margin-right: 8px;
}

.navbar a {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    opacity: 0;
    transition: 0.3s;
    animation: slideTop 1s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: #b7b2a9;
}

.home {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5vh 10% 0;
    /*padding: 70px 10% 0;*/
}

.home-content {
    max-width: 600px;
}

.home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: .7s;
}

.home-content h3 span {
    color: #b7b2a9;
}

.home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.home-content p {
    font-size: 16px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 0.7s;
}

.home-img img {
    max-width: 450px;
    border-radius: 50%;
    margin-right: -20px;
    box-shadow: 0 0 20px #b7b2a9;
    opacity: 0;
    animation: zoomIn 1s ease forwards, floatImage 4s ease-in-out infinite;
    animation-delay: 2s, 3s;
}

.home-background {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("IMG_0926.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}


.home-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("IMG_0926.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    animation: floatImage 4s ease-in-out infinite;
    animation-delay: 3s;
    z-index: -1;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #b7b2a9;
    border-radius: 50%;
    color: #b7b2a9;
    font-size: 20px;
    text-decoration: none;
    margin: 30px 15px 30px 0;
    transition: 0.5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}

.social-media a:hover {
    background: #b7b2a9;
    color: #1f242d;
    box-shadow: 0 0 20px #b7b2a9;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: #b7b2a9;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 0 10px #b7b2a9;
    font-size: 16px;
    color: #1f242d;
    letter-spacing: 1px;
    font-weight: 600;
    transition: 0.5s ease;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
}

.btn:hover {
    box-shadow: 0 0 20px #b7b2a9;
}

.btn:active {
    background: none;
    color: #b7b2a9;
    border: 2px solid #b7b2a9;
}


/* About Section */
.about {
    padding: 70px 10%;
  }
  
  .about h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
  }
  
  .about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .about-text {
    max-width: 50%;
    font-size: 18px;
    line-height: 1.6;
  }
  
  .about-image {
    max-width: 40%;
  }
  
  .about-image img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

/* About Section */
.about {
  padding: 70px 10%;
  position: relative;
}

.about h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  max-width: 50%;
  font-size: 18px;
  line-height: 1.6;
}

.about-image {
  max-width: 40%;
}

.about-image img {
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}



/* 动画 */

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-24px);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 20px 5%;
    }

    .home {
        padding: 70px 5% 0;
    }

    .navbar a {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px 5%;
        background: rgba(0, 0, 0, 0.7);
    }

    .logo {
        margin-bottom: 20px;
    }

    .navbar a {
        font-size: 16px;
        margin-left: 10px;
    }

    .home {
        flex-direction: column;
        padding: 100px 5% 0;
        background-image: url("IMG_0926.jpg");
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }

    .home-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
        background: rgba(0, 0, 0, 0.7);
        padding: 16px;
        border-radius: 4px;
    }

    .home-img img {
        display: none;
        max-width: 300px;
    }

    .home-background {
        display: block;
    }

    .about {
        background-image: url('IMG_0038.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
      }
    
      .about-content {
        flex-direction: column;
      }
    
      .about-text {
        max-width: 100%;
        margin-bottom: 30px;
        background-color: rgba(31, 36, 45, 0.7); /* Add a semi-transparent background to the text */
        padding: 20px;
        border-radius: 5px;
      }
    
      .about-image {
        display: none; /* Hide the image on mobile devices */
      }


}

@media (max-width: 480px) {
    .navbar a {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
}

@media (max-width: 1024px) {
    .header {
        padding: 20px 5%;
    }

    .home {
        padding: 70px 5% 0;
    }

    .navbar a {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 10px 5%;
        background: rgba(0, 0, 0, 0.7);
    }

    .logo {
        margin-bottom: 20px;
    }

    .navbar a {
        font-size: 16px;
        margin-left: 10px;
    }

    .home {
        flex-direction: column;
        padding: 100px 5% 0;
    }

    .home-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px;
        background: rgba(0, 0, 0, 0.7);
        padding: 16px;
        border-radius: 4px;
    }

    .home-content::before {
        display: none;
    }

    .home-img img {
        display: none;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .navbar a {
        display: block;
        text-align: center;
        margin: 10px 0;
    }
}

/* Add this to your CSS */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 10%;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: #fff;
}

/* Add this media query to your CSS */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #1f242d;
        transition: left 0.3s ease;
    }

    .navbar a {
        display: block;
        margin: 15px 0;
    }
}

