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

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

body {
    width: 100%;
    min-height: 100vh;
    overflow-y: auto;
    background-color: rgb(0, 0, 0);
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
    margin-bottom: 60px;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    color: #ff00aa;
    text-shadow: 0 0 10px #010842;
}

.hamburg,
.cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
}

.nav-container .links a {
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #ff00aa;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before {
    width: 100%;
}

.nav-container .links a:hover {
    color: #ff00aa;
}

.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
}

.dropdown .links a {
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #ff00aa;
}

section {
    width: 100%;
    height: auto; /* Adjust height to be flexible */
}

.main-container {
    width: 100%;
    height: auto; /* Set to auto for flexible resizing */
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap; /* Ensures elements wrap on smaller screens */
    padding: 20px; 
}

.main-container .image {
    width: 500px;
    height: 500px;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0 0 50px #ff00aa;
}

.main-container .image img {
    width: 100%;
}

.main-container .image:hover {
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
    0% {
        scale: 1;
    }

    50% {
        scale: 1.05;
    }

    100% {
        scale: 1;
    }
}

.main-container .content {
    color: white;
    width: 40%;
    min-height: 100px;
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span {
    color: #ff00aa;
    text-shadow: 0 0 10px #001353;
}

.content .typewriter {
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}

.content .typewriter-text {
    color: #ff00aa;
    text-shadow: 0 0 10px #020a55;
}

.content p {
    font-size: clamp(0.4rem, 0.2rem + 9vw, 1rem);
    margin: 10px 0;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #ff00aa;
    border-radius: 50%;
    color: #ff00aa;
    margin: 5px 15px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover {
    scale: 1.3;
    color: black;
    background-color: #ffffff;
    filter: drop-shadow(0 0 10px #ff00aa);
}

.content button {
    width: 50%;
    height: 6vh;
    margin: 30px;
    background-color: #ff00aa;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover {
    scale: 1.1;
    color: #ffffff;
    border: 2px solid #ff00aa;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #ff5bc8;
}

@media (max-width:884px) {
    nav .logo {
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .main-container {
        display: flex;
        flex-direction: column;
    }

    .nav-container .links {
        display: none;
    }

    .hamburg,
    .cancel {
        display: block;
    }

    .main-container .content {
        width: 80%;
    }

    .social-links i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }

    .main-container .image {
        z-index: -1;
        width: 50%;
        height: 60%;
    }
}

@media (max-width:440px) {
    .main-container .image {
        width: 50%;
        height: 50%;
        margin-bottom: 0px;
    }

    .main-container .content {
        width: 80%;
    }

    .main-container button {
        margin-top: 15px;
    }
}

.skills-section {
    width: 100%;
    min-height: 100vh;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #000000;
}

.skills-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}
.skills-container{
    margin-top: 50px;
}
.project-section {
    width: 100%;
    min-height: 100vh;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #000000;
}

.project-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-top: 40px;
}

.boxes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.boxes-container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: -30px;
}

.projectbox1 {
    margin-top: 50px;
    margin-bottom: -40px;
    width: 100%; /* Make boxes take full width on smaller screens */
    max-width: 450px; /* Set a max width so they don't become too large on bigger screens */
    height: auto;
    background-color: #000000;
    border: 2px solid #ffffff;
    border-radius: 10px;
}

@media (max-width: 884px) {
    .boxes-container1 {
        flex-direction: column;  /* Stack the boxes vertically */
        align-items: center; /* Center them horizontally */
    }
    
    .projectbox1 {
        width: 90%;  /* Reduce width on small screens */
        height: auto;  /* Let height adjust automatically */
        margin-bottom: 20px; /* Add space between boxes */
    }
}

@media (max-width: 440px) {
    .projectbox1 {
        width: 95%;  /* Reduce width further on extra small screens */
        margin-bottom: 15px; /* Reduce space between boxes */
    }
}

.box {
    width: 470px;
    height: 250px;
    background-color: #000000;
    border: 2px solid #ffffff;
    border-radius: 10px;
}
@media (max-width: 884px) {
    .boxes-container{
        flex-direction: column;  /* Stack the boxes vertically */
        align-items: center; /* Center them horizontally */
    }
    

    .box {
        width: 90%;  /* Reduce the width of each box */
        height: auto;  /* Let the height adjust automatically */
        margin-bottom: 20px; /* Add space between boxes */
    }
}


@media (max-width: 440px) {
    .box {
        width: 95%;  
        margin-bottom: 15px; 
    }
}
.box h2 {
    margin: 30px;
    margin-top: 60px;
    color: white;
}

.box p {
    margin: 30px;
    color: white;
}

.box-icon {
    width: 60px;
    height: auto;
    float: right;
    margin-right: 50px;
    margin-top: 30px;
    transition: transform 0.2s ease-in-out;
}

.projectbox {
    margin-top: 0px;
    margin-bottom: -40px;
    width: 450px;
    height: 400px;
    background-color: #000000;
    border: 2px solid #ffffff;
    border-radius: 10px;
}

.projectbox1 p {
    margin: 20px;
    color: #cccccc;
    font-size: 16px; 
    margin-top: 10px;
    text-align: center; 
    word-wrap: break-word; 
}
.projectbox h1, .projectbox1 h1 {
    color: #ffffff;
    font-size: 24px;
    margin-top: 10px;
}

.projectbox p, .projectbox1 p {
    margin: 20px;
    color: #cccccc;
    font-size: 16px;
    margin-top: 10px;
}


#contact {
    height: auto;
    padding: 30px 20px;
}

.contact-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #000000;
}

.contact-section h1 {
    margin-top: 40px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

.contact-info {
    margin-top: -30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-info a {
    text-decoration: none;
    color: white;
}

.contact-info i {
    font-size: 1.5rem;
    color: white;
    margin-right: 10px;
    margin-bottom: 10px;
}
/* Contact Section Styling (for content inside) */
.contact-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; 
    background-color: #000000;
}

/* Contact Section Heading */
.contact-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px; /* Reduced space below the heading */
}

/* Contact Info Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between contact info items */
    max-width: 500px; /* Limit width */
    width: 100%;
    text-align: center;
    background-color: #000000;
    padding: 20px;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow */
    margin-bottom: 20px; /* Small space below contact info */
}

/* Contact Info Paragraph */
.contact-info p {
    font-size: 1.2rem;
    font-weight: normal;
    color: #ffffff;
}

/* Bold Contact Info Labels */
.contact-info strong {
    font-weight: bold;
    color: #ff00bb; /* Highlight color for labels */
}

.video-container {
    position: relative;
    width: 100%; /* Full width of the parent container */
    padding-top: 56.25%; /* 16:9 aspect ratio  */
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video scales and crops to fit the container */
    border-radius: inherit; /*  ensures video corners match container */
}
html {
    scroll-behavior: smooth;
  }
  