*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
*::-webkit-scrollbar{
    width: 10px;
  }
body{
    font-family: "SF Pro Display",
    -apple-system,
    BlinkMacSystemFont, 
    "Segoe UI", 
    Roboto,
    Oxygen, 
    Ubuntu, 
    Cantarell, 
    "Open Sans", 
    "Helvetica Neue", 
    sans-serif;
    background-image: url("https://img.freepik.com/premium-photo/stylish-workplace-with-wireless-keyboard-smartphone-copy-space-coffee-cup-black-table_67155-6168.jpg?semt=ais_hybrid&w=740");
    background-color: #000;
    background-repeat:no-repeat;
    background-attachment: fixed;
    background-size: cover;
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
    transition: background-image 0.3s ease, 
    color 0.3s ease;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    border: 1px solid rgba(20, 19, 19, 0.5);
    backdrop-filter: blur(15px);
    z-index: 100;
    padding: 1rem;
    color: #000;
    background-color: rgba(0, 0, 0, 0.819);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    transition: background-color 0.3s ease,
    border-bottom-color 0.3s ease;
}
nav{
    display: flex;
    color: #fff;
    justify-content: space-between;
    align-items: center;
}
.logo span{
    margin: 2px;
    padding: 2.5px;
    text-decoration:solid;
    font-weight: bold;
    font-family:cursive;
    font-style: oblique;
    font-size: 1.5rem;

}
.nav-menu {
    list-style-type: none;
    
    display: flex;
    justify-content: space-between;
}
nav a{
    position: relative;
    text-transform: uppercase;
    
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bolder;
    margin: 15px 15px;
}
nav a:before{
    content: "";
    position: absolute;
    top: 75%;
    left: 0;
    width: 0 ;
    height: 2px;
    border-bottom: 2px solid rgb(255, 255, 255);
    transition: all 0.4s linear;
}

nav a:hover:before{
    width: 100%;
}
main{
    max-width:1200px;
    margin: 0 auto;
    padding: 7rem 2rem 2rem;
    backdrop-filter: blur(10px);
}
section{
    margin-bottom: 4rem;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2rem;
    border-radius: 1.5rem;
    transition:  background-color 0.3s ease;
    box-shadow: 0 0 10px rgb(255, 255, 255);
    

}
.intro-lecture{
    display: flex;
    justify-content:space-around;
    align-items:center;
    margin-right:16rem;
}
.intro-lecture img{
    max-width: 250px;
    max-height: 250px;
    filter: drop-shadow(0.5rem 0.5rem 6px #000000a9);
}
.intro-text h2{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight:bolder;
    font-size:xx-large;
}
.intro-text span{
    font-style:oblique;
    font-family: cursive;
    font-size:larger;
}
.intro-text p{
    font-size:large;
    font-weight:600;
    color: #fff;
}
.intro-text p:before{
    content: "";
    position: absolute;
    top: 75%;
    left: 0;
    width: 0 ;
    height: 2px;
    border-bottom: 2px solid black;
    transition: all 0.4s linear;
}

.intro-text p:hover:before{
    width: 100%;
}
footer{
    text-align: center;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: background-color 0.3s ease;
}
h1,h2,h3{
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transition: color 0.3s ease;
}
h1{
    font-size: 3rem;
}
h2{
    font-size: 2.5rem;
}
h3{
    font-size: 2rem;
}
p{
    margin-bottom: 1.5rem;
    transition: color 0.3s ease;
}
a{
    color: #4fa555;
    text-decoration: none;
    transition: color 0.3s ease;
}
.webname{
    text-align: center;
    margin-bottom: 4rem;
}
.webname p{
    font-size: 1.4rem;
    color: #fff;
    transition: colour 0.3s ease;
}
.projects{
    display: flex;
    position:relative;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background-color: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
.project-card{
    border: 1px solid #fffffff7;
    box-shadow: 0 0 1px rgb(255, 255, 255);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
  }
.contact-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;  
}
.contacts-grid span{
    color: #fff;
}
footer{
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
}
.footer ul{
    list-style-type: none;
    padding: 0;
}
.footer ul li{
    margin-bottom: 1.5rem;
}
.footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto 2rem;
    gap: 1rem;
}
.footer-section{
    flex: 1;
    min-width: 150px;
    margin-bottom: 1.4rem;
    text-align: left;
}
.footer-section h4{
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1 rem;
}
.footer-section a{
    color: #fff;
    text-decoration: none;    
}
.footer-section a:hover{
    color: #4fa555;
}
.footer-section p {
    color: rgb(255 255 255 / 70%);
    font-size: 0.9rem;
    line-height: 1.5;
}
.footer-bottom {
    border-top: 1px solid rgb(255 255 255 / 10%);
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}
.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.copyright {
    font-size: 0.9rem;
    color: rgb(255 255 255 / 50%);
}
.copyright a {
    color: inherit;
    text-decoration: none;
}

.copyright a:hover {
    color: #4fa555;
    text-decoration: underline;
}
@media (width <= 768px) {
    .footer {
      flex-direction: row; 
      overflow-x: auto; 
      padding-bottom: 0.5rem;
      gap: 0.5rem; 
    }
  
    .footer-section {
      flex: 0 0 auto; 
      min-width: 120px;
      font-size: 0.9rem; 
      text-align: left; 
      margin-bottom: 1rem; 
    }
  
    .footer-section h4 {
      font-size: 1rem; 
    }
  
    .footer-section ul li {
      margin-bottom: 0.4rem;
    }
}
@media (width <= 480px) {
    .footer{
      flex-wrap: wrap;
    }
  
    .footer-section {
      flex: 1 0 40%;
      min-width: 120px;
    }
}