@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');



*{

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'Open Sans', sans-serif;
}


body{

    background-color: #142d4c;

}

header{

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

.nav-bar ul {

    display: flex;
    list-style-type: none;
    gap: 2rem;

}

.nav-bar a {

    text-decoration: none;
    color: #eeeeee;

}

.nav-bar a:hover {

    color: #ff9a3c;

}

hr{
    
    margin: 1rem auto;
    max-width: 1620px;
    border: 10px solid#ff9a3c;
    border-radius: 5px;

}

.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);

}
 
.herosup{

    display: flecx;
    flex-direction: column;
    gap : 0.5rem;
 
 } 


.name  {

    font-size: 2.5rem;
    color:#eeeeee;
} 

.title{

    font-size: 2rem;
    color: #3ab1c8;
    
} 

.Contact{

    margin-top: -1rem;
    color: #eeeeee;
    font-size: 1rem;
    background-color: #00adb5;
    text-decoration: none;
    border-radius: 24px;
    padding: .5rem 1.5rem;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.CV{

    margin-top: -1rem;
    color: #eeeeee;
    font-size: 1rem;
    background-color: rgba(57,62, 70, 0.75);
    text-decoration: none;
    border-radius: 24px;
    padding: .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);
}

.herobtns{

    display:flex;
    gap: 2rem; 
    margin-top:2rem; 
} 

.about-me{

    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
    gap: 10rem;
}

.lightbulb {
    width: 6rem;
    position: absolute;
    transform: translateX(12rem) translateY(-5rem);
}

.textcontainer{

    display: flex;
    flex-direction: column;
}

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

.about-name{
    display: flex;
    vertical-align: middle;
    font-size: 2rem;
    color:#eeeeee;
} 

.about-title{

    font-size: 2rem;
    color: #3ab1c8;
    display: flex;
    margin-right: 0.5rem;
} 

.about-text{
   
    color: #eeeeee;
    font-size: 1.2rem
    
} 
.Works{

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

.works-container{

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

.project-title{

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

.Works ul{

    display: flex;
    list-style-type : none;
    align-items : center;
    justify-content: space-between;


} 

.Works li{

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

    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: 1s;
    
}

.Works li :hover{

    transform: scale(1.5);
}

.container{


    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: space-around;
    gap:2rem;
    margin: 2rem auto;
    max-width: 1200px;

} 

.title{

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 2rem;
}

.Contact{

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20rem;
}

.socialmedia{

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

    display: flex;
    justify-content: center;
    align-items: 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: #eeeeee;
   padding: 2rem;
   text-align: center;
} 


@media (max-width: 1023px) {
    header {
        margin: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .nav-bar ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        margin: 2rem 1rem;
    }

    .hero-img {
        width: 80%;
        max-width: 400px;
    }

    .herobtns {
        justify-content: center;
    }

    .about-me {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 1rem;
        text-align: center;
    }

    .about-img {
        width: 80%;
        max-width: 400px;
    }

    .lightbulb {
        display: none;
    }

    .Works {
        padding: 2rem 1rem;
    }

    .works-container {
        margin: 2rem 1rem;
    }

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

    .Works li {
        padding: 1rem;
    }

    .Works li img {
        width: 150px;
        height: 150px;
    }

    .container {
        margin: 2rem 1rem;
    }

    .socialmedia {
        flex-wrap: wrap;
        gap: 1rem;
    }
}