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

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

body {
    background-color: #222831;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    padding: 0.5rem;
    max-width: 1200px;
}

.nav ul {
    display: flex;
    list-style-type: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: #ffffff;
}

.nav a:hover {
    text-decoration: none;
    color: #00adb5;
}

hr {
    opacity: 10%;
}

.FirstLogo {
    width: 45px;
    height: 45px;
}

.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: 4rem;
    color: #ffffff;
}

.Title {
    font-size: 4rem;
    color: #00adb5;
}

.HeroButton {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.HireMe {
    background-color: #00adb5;
    color: #ffffff;
    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: #ffffff;
    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;
}

.TextCon {
    display: flex;
    flex-direction: column;
}

.TextTitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 2rem;
}

.AboutName {
    color: #ffffff;
}

.Me {
    color: #00adb5;
}

.AboutMePar {
    text-align: justify;
    color: rgba(238, 238, 238, 0.75);
}

.Works {
    background-image: url(assets/svg/background.svg);
    padding: 10rem 10rem;
    margin: 5rerm 0rem;
}

.WorksCon {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: left;
    margin: 5rem auto;
    max-width: 1200px;
}

.ProjectTitle {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 5px;
    font-size: 2rem;
}

.Works ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style-type: none;
    align-items: center;
    justify-content: space-between;
}

.Works li {
    border-radius: 16px;
    background-color: rgba(57, 62, 70, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem 4rem;
}

.Works li img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: transform 0.2s;
}

.Works li:hover {
    transform: scale(1.1);
}

.ContactCon {
    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: #ffffff;
    text-decoration: none;
}

.EmailAndPhone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.SocialMedia {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.SocialMedia a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background-color: rgba(57, 62, 70, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.SocialMedia img {
    width: 24px;
    height: 24px;
}

footer {
    color: #ffffff;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 1023px) {
    header {
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .Hero {
        flex-direction: column;
        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;
    }

    .TextCon {
        align-items: center;
        margin: 0rem 5rem;
        gap: 1rem;
    }

    .AboutName,
    .AboutTitle {
        font-size: 2rem;
    }

    .Light {
        width: 60px;
    }

    .AboutMeImg {
        width: 400px;
    }

    .Works {
        padding: 0;
    }

    .WorksCon {
        padding: 5rem 0rem;
        gap: 3rem;
    }

    .ProjectTitle {
        margin-left: 1rem;
    }

    .Works ul {
        flex-direction: column;
        gap: 1rem;
    }

    .ContactCon {
        margin: 10rem 5rem;
        gap: 2rem;
    }

    .Contact {
        flex-direction: column;
        gap: 1rem;
        margin-right: 0;
    }

    .Me {
        font-size: 2rem;
    }
}