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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "poppins", serif;
}

body {
    background-color: darkslategray;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    padding: 0 0.5rem;
    max-width: 1200px;
} 
.navigation ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}
.navigation a {
    text-decoration: none;
    color: white;
}
.navigation a:hover {
    color: aliceblue;
}
.hr {
    opacity: 50%;
}
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
} 
.arrow {
    position: absolute;
    transform: translateX(-5.5rem) translateY(1.5rem);
}
.herosub {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.name {
    font-size: 3rem;
    color: aliceblue;
}
.title {
    font-size: 4rem;
    color: whitesmoke;
}
.herobtns {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}
.hireme {
    background-color: aquamarine;
    color: aliceblue;
    border-radius: 24px;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    text-shadow: 0px 4px 4px rgba( 0, 0, 0, 0.5);
}
.cv {
    background-color: rgba(57, 62, 70, 0.75);
    color: aliceblue;
    border-radius: 24px;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
}
.aboutme {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
    gap: 10rem;
}
.textcontainer {
    display: flex;
    flex-direction: column;
}
.textTitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 2rem;
}
.aboutname {
    color: aliceblue;
}
.aboutTitle {
    color: aqua;
}
.aboutmepar {
    text-align: justify;
    color: rgba(238, 238, 238, 0.75);
}
.contactcontainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}
.contactTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 2rem;
}
.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5rem;
    gap: 20rem;
}
.contact h3, .contact a {
    color: aliceblue;
    text-decoration: none;
}
.emailAndPhone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
@media (max-width: 1023px;) {
    header {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .hero {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }
    .heroimg {
        width: 400px;
    }
    .name, .title {
        font-size: 2rem;
    }
    .arrow {
        display: none;
    }
    .aboutme {
        flex-direction: column-reverse;
        align-items: center;
        gap: 2rem;
    }
    .textcontainer {
        align-items: center;
        margin: 0rem 5rem;
        gap: 1rem;
    }
    .aboutname, .aboutTitle {
        font-size: 2rem;
    }
    .light {
        width: 60px;
    }
    .aboutmeimg {
        width: 400px;
    }
    .works {
        padding: 0;
    }
    .workscontainer {
        padding: 5rem 0rem;
        gap: 3rem;
    }
    .projectTitle {
        margin-left: 1rem;
    }
    .works ul {
        flex-direction: column;
        gap: 1rem;
    }
    .contactContainer {
        margin: 10rem 5rem;
        gap: 2rem;
    }
    .contact {
        flex-direction: column;
        gap: 1rem;
        margin: 0;
    }
    

}