*{ 
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family:Arial, Helvetica, sans-serif;
}
html, body {
   
  min-height: 100%; /* At least viewport height */
      display: flex;
      flex-direction: column;
  margin: 0;
  padding: 0;
}
body{
    line-height: 30px;
    color: #121212;
 
   background-color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
}


#logo{
    place-content: center;
    color: #3E3F5B;
    font-weight: bold;
    font-size: 20px;
}
header{
    
   display: flex;
   justify-content: space-between;
    position: fixed;
    overflow: visible;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 1000;
    background-color: #F7FBFC;
   
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    
}
nav{-webkit-tap-highlight-color: transparent;
    list-style: none;
    outline: none;
}
.nav-menu{
    outline: none;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
    cursor: pointer;
    
}
nav ul li{
   
    gap: 10px;
 
    
    transition: all 0.3s ease;
     color: #A3D1C6;
   
}

nav li a{
       padding: 0.3rem;
    display: block;
    color: #121212;
    text-decoration: none;
       border: 2px solid #FDFBEE;
        transition: all 0.3s ease;
}
nav li a:hover{
      color: #578E7E;
 border-bottom: 2px solid #7091e6;
   
}
.sep{
   border-radius: 10px;
    width: 1px;
    height: 42px;
    background-color: #121212;
}

.hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 25px;
      cursor: pointer;
    }

    .hamburger span {
        border-radius: 8px;
      width: 100%;
      height: 3px;
      background-color: #333;
      transition: all 0.3s ease;
    }

 .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }

.hamburger{
    display: none;

}
.nav-menu2{
    display: none;
}




@media (max-width:768px){
.hamburger {
        display: flex;
      }

      .nav-menu {
        display: none;
   }
  
   .nav-menu2.active{
    display: flex;
    flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #F8EDE3;
        

   }
   nav ul{
    
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap:0px;
    cursor: pointer;
   
    
}
nav ul li{
   
    gap: 0px;
 
 
    transition: all 0.3s ease;
     color: #A3D1C6;
   
}
nav ul li:hover{

}
nav li a{
       padding: 0.8rem;
    display: block;
    color: #121212;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
     border-bottom: 2px solid #9a938c;
      
}
nav li a:hover{
      color: #fff;
 border-bottom: 2px solid #7091e6;
 background-color: #578E7E;
   
}
   
}

.about{
    margin: 10px auto;
    width: 90%;
}

.grid-child1{
    
      border-radius: 8px;
     
     
      /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15);  */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      -webkit-user-select: none;
     
      background-color: #e6eef9;
}

html{
    scroll-behavior: smooth;
}
main{
 
  min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 60px; 
    background-color: #fff;
    
}
#intro{
  
   padding:120px 50px 120px 50px;
   width: 95%;
  
    margin: 10px auto;
   flex: 1; /* Grows to fill remaining space */
    display: flex;
    flex-direction: row;
    align-items: center;
    place-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    /* background-color:azure; */
   border-radius: 8px;
   gap: 10px;
   
}

.left{
    
   flex: 1;
   

  font-size: 18px;
   color: #121212;
   

}
.right{
    
  
  
    text-align: center;
   
  
    border-radius:2px;
     transition: all 0.3s ease;
     
}
.image{
    border: 2px solid #121212;
    object-fit: cover;
    border-radius: 50%;
    margin: 10px auto;
    height:340px;
    width:340px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
                  0 6px 20px rgba(0, 0, 0, 0.15);
   
}
.top{
    display: none;

}
@media  (max-width:680px){

    .top{
       
        display: block;
           text-align: center;
   
    border-radius:2px;
     transition: all 0.3s ease;
    }
    .image{
    border-radius: 50%;
    margin: 10px auto;
    height:240px;
    width:240px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2),
                  0 6px 20px rgba(0, 0, 0, 0.15);
   
}

    #intro{
       padding:10px 10px 80px 10px;
    gap: 40px;
        flex-direction: column;
    }
    .left{
        text-align: center;
        place-content: center;
    }
    .right{
        display: none;
    }
}





.title{
    margin: 10px auto;
    font-size: 20px;
    font-weight: bold;
   width: 90%;
    padding-top:20px;
    max-width: 1380px;
    
}
hr{margin: 10px auto;
   
    border-bottom:1px solid #0b0b0b;
}


    .grid-container {
      display: grid;
      grid-template-columns: 1fr 1fr; 
      width: 98%;
      max-width: 1400px;
      margin: 15px auto; 
      gap: 40px; 
      padding: 10px; 
     
    }

    .grid-child {
      border:1px solid #e1e1e5;
      border-radius: 8px;
      padding: 18px; 
      min-height: 100px;
      /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.15);  */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      -webkit-user-select: none;
      cursor: pointer;
      background-color: #e6eef9;
     
      
    }
    .grid-child:hover{
        transform: translateY(-5px);
    }

@media (max-width: 768px) {
.grid-container {
        grid-template-columns: 1fr; 
        gap: 10px;
        padding: 5px; 
      }

      .grid-child {
        width:95%;
        margin: 10px auto;
        
      }
}



#project-link{
    text-decoration: none;
    color: #333;
}
#project-img{
    border-radius: 4px;
    width: 100%;
    
}
#goto{
    cursor: pointer;
    border: 1px solid #578E7E;
    border-radius: 100px;
    padding:8px;
    transition: all 0.3s ease;
     background-color: #578E7E;
      color: #fff;
}
#goto:hover{
   
     border: 1px solid #7091e6;
    background-color: #7091e6;
    color: #fff;
}
#site-link{
  
    text-decoration: none;
    color: #578E7E;
}
#site-link:hover{
    color: #7091e6;
}
#summary{
    margin-top: 10px;
}

.cert
{
    
    text-align: center;
 margin: 10px auto;
 padding: 10px;

 
  
 
  max-width: 95%;
   
   flex: 1; /* Grows to fill remaining space */
    display: flex;
    flex-direction: row;
    align-items: center;
    place-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #333;
    /* background-color:azure; */
   border-radius: 8px;
   gap: 10px;
  
   
}
.cert-img{
    
   
    text-align: center;
}

@media (max-width:768px){
.cert{
    display: block;
    font-size: 1rem;
}
}

.contact{
    margin: 10px auto; 
    width: 90%;
   
   
}
a{
    text-decoration: none;
    color: #578E7E;
  
}
a:hover{
    color: #7091e6;
}

/* 
#container{
    justify-content: space-between;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    margin: 10px auto;
    
    max-width: 98%;
    
    display: flex;
    gap: 10px;
   
}
#h{
    padding: 10px;
    width: 95%;
}

#left{
   width: 30%;
    max-width: 30%;
   
    padding: 8px;
    font-size: 30px;
    
    
    border-radius: 1px;
    max-height: 100%;
}
#info{
    
}
#info p{
    padding: 10px;
      text-align: left;
    
    
}


#img{
   
   
}
#profile{
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 80px auto 20px;
    border: 3px solid #121212;
   
}
#right{
    
    text-align: center;
    
    flex: 1;
   padding:0px;
   
    
}



#project{
    padding: 0;
    margin: 10px auto;
    text-align: center;
    background-color:#f9f9f9;
    height: 400px;
    width: 80%;
   
    
}
button{
    
     transition: all 0.3s ease;
     border: none;
       letter-spacing: 1px;
    
}
button:hover{
   
    background-color: #ddd;
}
#btn{
    padding: 0;
      height: 40px;
    width: 80%;
    transition: all 0.3s ease;
    
}


#dialogue{
	text-align: center;
	font: Arial, sans-serif;
	padding:20px;
	margin:10px auto;
    max-width: 80%;
	}









@media (max-width: 768px){

#container{
    
    text-align: center;
    border-radius: 5px;
  

    
    
    display: block;
    gap: 10px;
   
}
#left{
  width: 98%;
max-width: 98%;
   
}
  
#right{
    
 
}



    
}


*/

#bar{
    margin: 10px auto;
    background-color: black;
    width: 90%;
    height:1px;
    
}
footer{
     background-color: #F7FBFC;
    padding: 20px;
    text-align: center;
}
footer p{
    padding: 20px;
}
 
