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

body {
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.wrapper {
    width: 100%;
    overflow-x: hidden;
}

.nav-container {
    display: flex;
    background-color: #2d2929;
    width: 100%;
    padding: 0.3rem 1rem;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
}

.logo {
    height: 60px;
    width: 60px;
}

.nav-links-container {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    padding-right: 2%;
}

.links {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    transition: transform 200ms ease;
}

@media screen and (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        background-color: #2a2a2a;
    }

    .nav-links-container {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.8rem;    
        padding: 0;
    }

    .links {
        font-size: 0.9rem;
        font-weight: 700;
    }
}

.links:hover {
    transform: translateY(-2px) scale(1.05);
    color: #00bfff;
}

.hero-container {
    background-image: url("./Images/flat-lay-workstation-with-copy-space-laptop.jpg");
    background-position: center;
    font-family: cursive;
    background-attachment: fixed;
    background-size: 105%;
    background-repeat: no-repeat;
    display: flex;
    width: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    width: 100%;
}

.animation-container {
    display: none;
}

.span-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.name-text {
    font-size: 4rem;
    color: white;
    font-weight: bold;
}

.name-text.highlight {
    color: #00bfff;
}

.domain-text {
    font-size: 2rem;
    color: white;
    font-style: italic;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.resume-button,
.contact-button {
    padding: 0.7rem 1.5rem;
    background-color: transparent;
    outline: none;
    border: none;
    font-size: 1.2rem;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.resume-button:hover,
.contact-button:hover {
    background-color: #00bfff;
}

@media screen and (max-width: 768px) {
    .hero-container {
        background-image: none;
        background: linear-gradient(145deg, #1a1a1d, #2e2e34);
        height: 40vh;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        text-align: center;
        padding: 1rem;
    }

    .animation-container {
        display: block;
    }

    .info-container {
        gap: 2rem;
        align-items: center;
    }

    .name-text {
        font-size: 2rem;
    }

    .domain-text {
        font-size: 1.2rem;
    }

    .resume-button,
    .contact-button {
        font-size: 1rem;
        padding: 0.5rem 1.2rem;
    }
}

.skills-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1d, #2e2e34);
    padding: 10%;
    padding-bottom: 30%;
}

.skills-text-container {
    font-size: 4rem;
    padding-bottom: 10%;
    color: #00bfff;
}

.skills-image-container {
    width: 100%;
    padding: 2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.8rem;
    line-height: 10px;
}

.skill-image {
    width: 70px;
    height: 70px;
}

.skill {
    width: 80px;
    height: 80px;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.3rem;
    padding: 1rem;
    transition: transform 300ms ease;
}

.skill:hover {
    transform: scale(1.05) translateY(-5px);
    text-shadow: 0 0 12px white;
}

@media screen and (max-width:768px) {

    .skills-image-container {
        gap: 1.9rem;
    }

    .skill {
        gap: 1rem;
    }
}

.about-container {
    width: 100%;
    padding: 15% 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #1a1a1d, #2e2e34);
}

.about-sub-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    border-radius: 10px;
    padding: 4rem 2rem;
    transition: all 300ms ease;
    background: rgba(255, 255, 255, 0.05);
    /* border: 2px solid rgba(255, 255, 255, 0.2); */
}

.about-sub-container:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 7px white;
}

.about-header {
    text-align: center;
    font-size: 4rem;
    color: #00bfff;

}

.about-card {
    color: gray;
    font-size: 1.3rem;
}

@media screen and (max-width: 768px) {
    .about-container {
        padding: 30% 5%;
    }

    .about-header {
        font-size: 2rem;
    }

    .about-sub-container {
        width: 85%;
    }

    .about-card {
        font-size: 1rem;
    }
}

.project-container {

    display: flex;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(35deg, #1a1a1d, #2e2e34);
    justify-content: center;
    gap: 2rem;
    align-items: center;
}



.project-sub-container {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.project-text {
    font-size: 4rem;
    color: #00bfff;
    padding-bottom: 2rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    width: 30%;
    border: 1px solid white;
    transition: transform 300ms ease;
}

.project-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 0 7px white;
}


.project-image {
    width: 100%;
    height: 250px;
}

.project-info-container {
    color: white;
    display: flex;
    padding: 1rem;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    flex: 1;
}

.project-name {
    font-size: 1.5rem;
}

.project-desc {
    font-size: 1.05rem;
    color: gray;
}

.view-project {
    padding: 1rem 1.5rem;
    background-color: purple;
    width: fit-content;
    outline: none;
    border: none;
    border-radius: 10px;
    color: white;
    align-self: flex-start;
}

@media (max-width: 768px) {
    .project-card {
        width: 100%;
    }

    .project-text {
        font-size: 2.5rem;
        padding: 2rem;
    }
}

.contact-container {
    width: 100%;
    padding-top: 20%;
    background: linear-gradient(130deg, #1a1a1d, #2e2e34);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 3rem;
}

.contact-form-container {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    margin: 0 auto;
    padding: 5% 0;
    gap: 2rem;
    color: white;
    padding: 1rem;
    border: 1px solid white;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);

}

.contact-form-header {
    font-size: 4rem;
    color: #00bfff;
    padding-bottom: 2rem;
}

.form-part {
    width: 45%;
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    gap: 1rem;
}

input,
textarea {
    padding: 1rem 1.5rem;
    border: 1px solid #555;
    border-radius: 8px;
    background-color: #1e1e1e;
    color: white;
    font-size: 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    transition: border 0.3s ease, background-color 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border: 1px solid #00bfff;
    background-color: #2a2a2a;
}

textarea {
    resize: none;
}

button {
    padding: 1rem 1.5rem;
    background-color: purple;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #9b59b6;
    transform: translateY(-2px);
}

.info-part {
    width: 45%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    color: white;
}

.info-part p {
    font-size: 1.2rem;
}

.contact-links-container {
    display: flex;
    gap: 1rem;
}

.contact-images {
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease;
}

.contact-images:hover {
    transform: scale(1.2);
}

@media (max-width: 768px) {

    .form-part,
    .info-part {
        width: 100%;
    }
}

.copyright-container {
    background: linear-gradient(45deg, #1a1a1d, #2e2e34);
    text-align: center;
    font-size: 1.1rem;
    color: white;
}

@media (max-width: 768px) {
    .copyright-container {
        font-size: 1rem;
    }

    .contact-form-header {
        font-size: 2.5rem;
    }

}