
*{
  margin:0;
  padding: 0;
  font-family:'Poppins',sans-serif;
  box-sizing: border-box;  
}
html{
    scroll-behavior: smooth;
}
body{
    background: #0d131b;
    color: white;
}
.background-container {
  background-image: url('images/morse.png');
  background-position:center;
  background-repeat: no-repeat;
  background-size:auto;
  width: 100%;
  height: 90vh; /* or any height you want */
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/morse.png);
    background-size:contain;
    background-position: center;
}
.container{
padding: 10px 10%;

}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    justify-content:end;
}
nav ul li{
    display:inline-block;
    list-style: none;
    margin: 10px 20px;
    ;
}
nav ul li a{
    color:white;
    text-decoration:blanchedalmond;
    font-weight: bold;
    font-size: 20px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background:rgb(245, 240, 243);
    position: absolute;
    left:0%;
    bottom: -6px;
   transition: 0.5s; 
}
nav ul li a:hover::after{
    width: 100%;
}
.header-text{
    margin-top: 20%;
    font-size: 30px;
}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
    font-weight: 500px;
}
.header-text h1 span{
    color:#eab60e;
}

/*---about----*/
#about{
    padding: 80px;
    color: #eff19d;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.sub-title{
    font-size: 60px;
    font-weight: 100;
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 200;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background:rgb(231, 229, 238);
    position:absolute;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 50%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px;
}
.tab-contents ul li span{
    color: rgb(246, 248, 250);
    font-size: 18px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}

/*------service--------*/

#learn{
    padding:30px 0;
}
.services-list{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap:40px;
    margin-top: 50px;
}
.services-list div{
    background: #9095ab;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom:15px ;

}
.services-list div a{
    text-decoration: none;
    color:#96f796;
    font-size:18px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background: #181718;
    }

    /*------portfolio----*/

    #portfolio{
        padding: 50px 0;
    }
    .work-list{
    display:grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    grid-gap:40px;
    margin-top: 50px;
    }
    .work{
        border-radius: 10px;
        position: relative;
        overflow:hidden;
    }
    .work img{
        width:100%;
        border-radius: 10px;
        display: block;
    }
 .layer{
    width:100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6),#606bce);
    border-radius: 10px;
    position:absolute;
    left:0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 12px;
    color: #eff19d;

 }
 .layer h3{
    font-weight: 500;
    margin-bottom: 20px;
    color: rgb(243, 165, 21);
 }
 .layer a{
    text-decoration: none;
    color:#f0b031;
    font-size:20px;
    margin-top: 20px;
    display: inline-block;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    background: #f8e5a8;
    height: 60px;
 }
.home-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.home-button:hover {
  background-color: #0056b3;
}
