/* ----------portfolio-------------- */
* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
.container{
    padding: 10px 10%;
}

#portfolio {
    padding: 60px 0;
}

body {
    background: #080808;
    color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Adjust the width as needed */
    grid-template-rows: repeat(2, 1fr);
    margin-top: 50px;
    grid-gap: 50px;
    justify-content: center; /* Center the columns horizontally */
    border-radius: 10px;
}

.project {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    border-radius: 10px;
}

.project img {
    width: 100%; /* Adjust to fill the container */
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #00a2ff);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
    color: #fff;
    font-weight: 300px;
    border-radius: 10px;
}

.layer h3 {
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.layer a {
    margin-top: 20px;
    color: #00a2ff;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}

.project:hover img {
    transform: scale(1.1);
}

.project:hover .layer {
    height: 100%;
}

/*.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #00a2ff;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}

.btn:hover {
    background: #00a2ff;
} */

.sub-title1 {
    font-size: 45px;
    font-weight: 550;
    color: #fff;
    margin-left: 5px;
    margin-top: -50px;
}

#portfolio .container h4{
    font-size: 25 px;
    font-weight: 500;
    color: #fff;
    margin-left: 5px;
    margin-top: 9px;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    width: 140px;
}

nav ul li{
    display:inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position:relative;
}

nav ul li a::after{
    content:'';
    width: 0;
    height: 3px;
    background: #00a2ff;
    position: absolute;
    left:0;
    bottom: -6px;
    transition: 0.5s;

}

nav ul li a:hover::after{
    width:100%;
}

.header1-text{
    margin-top: 20%;
    font-size: 35px;
}

.header1-text h1{
    font-size: 60px;
    margin-top: 20px;
}

.header1-text h1 span{
    color:#00a2ff;
}
