@import url('https://fonts.googleapis.com/css2?family=Yeseva+One&family=Canva+Sans&display=swap');

/* Headings */
h1 {
    font-family: 'Yeseva One', cursive !important;
    font-size: 90px !important;
    text-align: left;
    margin-left: 0;
    align-self: flex-start;
    margin-bottom: 10px;
}

h2 {
    font-family: 'Canva Sans', sans-serif !important;
    font-size: 70px !important;
    text-align: left;
    margin-left: 0;
    align-self: flex-start;
    margin-bottom: 10px;
}

/* Navbar */
.navbar-nav {
    font-family: 'Canva Sans', sans-serif !important;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 2rem;
    font-size: 25px;
}

/* Hero section */
.hero {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

/* Profile image */
.profile-img {
    border-radius: 49% / 30%;
    width: 500px;
    height: 800px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    animation: float 2s ease-in-out infinite;
    margin-top: 20px;
}

/* Float animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0px); }
}

/* Button */
.custom-btn {
    display: inline-block;
    background-color: black;
    color: white;
    text-decoration: none;
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    cursor: pointer;
    font-family: 'Canva Sans', sans-serif;
    transition: background-color 0.3s ease;
}

.custom-btn:hover {
    background-color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .image-section {
        margin-top: 20px;
    }
}

/* About Section */
#about {
    background-color: #000000;
}

#aboutme {
    font-family: 'Poppins', sans-serif !important;
    font-size: 30px !important;
    text-align: center !important;
    margin: 60px 0 !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
    padding: 0 !important;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
    color: #ffffff;
}

#aboutme:hover {
    animation: float 2s ease-in-out infinite;
}

/* Projects Section */
#projects {
    background-color: #e8e8e8;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#projecttitle {
    color: #333;
    font-size: 100px !important;
}

.projects-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 40px 0;
}

.project-card {
    background-color: white;
    border: 4px solid rgba(0, 0, 0);
    backdrop-filter: blur(10px);
    color: #fff;
    width: 80%;
    padding: 25px;
    height: 300px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: float 2s ease-in-out infinite;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.8);
}

.project-card h3 {
    margin-top: 0;
    color: black;
    text-align: center;
    font-size: 70px;
}

.project-card p {
    margin-top: 0;
    color: black;
    text-align: center;
    font-size: 30px;
}

.project-card a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
    font-size: 30px;
}

.project-card a:hover {
    text-decoration: underline;
}

/* Contact Section */
#contact {
    background-color: #3f3b3b;
    color: #f5f5f5;
    padding: 40px 20px;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-left, .contact-right {
    flex: 1;
}

.contact-left h3,
.contact-right h3 {
    text-align: center;
    font-size: 40px;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: larger;
}

input, textarea {
    width: 100%;
    box-sizing: border-box;
    background-color: #656161;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
}

input:focus, textarea:focus {
    outline: none;
    background-color: #777;
}

/* Icons */
.icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.icon-container img {
    width: 80px;
    height: 80px;
    transition: transform 0.3s;
}

.icon-container img:hover {
    transform: scale(1.15);
}

.icon-container iframe {
    width: 500px;
    height: auto;
}

/* Divider */
.divider {
    width: 2px;
    background-color: white;
    height: 250px;
    align-self: center;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 25px;
    height: 16px;
}

::-webkit-scrollbar-thumb {
    background-color: #000;
    border-radius: 10px;
    border: 3px solid #fff;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #333;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 10px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thick;
    scrollbar-color: #000 #fff;
}

/* Mobile Responsiveness for screens up to 600px */
@media (max-width: 600px) {
  h1 {
    font-size: 40px !important;
    text-align: center;
  }
  h2 {
    font-size: 30px !important;
    text-align: center;
  }
  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
    font-size: 18px;
  }
  .hero {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .profile-img {
    width: 60vw;
    height: 80vw;
    max-width: 220px;
    max-height: 300px;
    border-radius: 49% / 30%;
    object-fit: cover;
    display: block;
    margin: 20px auto 20px auto;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  #projecttitle {
    font-size: 40px !important;
    text-align: center;
  }
  .projects-container {
    padding: 10px 0;
    gap: 15px;
  }
  .project-card {
    width: 98%;
    height: auto;
    padding: 10px;
    min-height: unset;
  }
  .project-card h3 {
    font-size: 30px;
  }
  .project-card p,
  .project-card a {
    font-size: 16px;
  }
  #aboutme {
    font-size: 18px !important;
    margin: 30px 0 !important;
  }
  #contact {
    padding: 20px 5px;
  }
  .contact-container {
    flex-direction: column;
    gap: 20px;
    max-width: 100vw;
    align-items: center;
  }
  .contact-right {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .contact-right h3 {
    text-align: center;
    width: 100%;
  }
  form {
    width: 100%;
    padding: 0 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  input, textarea {
    width: 100%;
    font-size: 16px;
    padding: 12px 10px;
  }
  .contact-right form button,
  .contact-right form .submit {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 14px 0;
    font-size: 18px;
    border-radius: 6px;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.3s;
  }
  .contact-right form button:hover,
  .contact-right form .submit:hover {
    background: #333;
  }
  .icon-container {
    gap: 10px;
  }
  .icon-container img {
    width: 40px;
    height: 40px;
  }
  .icon-container iframe {
    width: 90vw;
    min-width: 200px;
  }
  .divider {
    display: none;
  }
  .custom-btn {
    width: 100%;
    margin: 20px 0;
    font-size: 18px;
    padding: 14px 0;
  }
}
