html{
    scroll-behavior: smooth;
}



body{
    margin:0;
    padding: 0;
    background: #0f172a;
    min-height: 100vh;
    overflow-x: hidden;
    
}
header{
    position: sticky;
    top: 0;
    margin-top: 40px;
    z-index: 1;
}
.navbar{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    backdrop-filter: blur(20px);
    margin: 0 auto;
    overflow: hidden;
}
.underlist {
    display: flex;
    gap: 20px;
    list-style-type: none;
    padding: 0;
    margin: 0;
   
    
}


.underlist li a {
    text-decoration: none;
    color: #f1f5f9;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    user-select: none;
    padding: 8px 15px;
    transition: all 0.3s ease;
}
.home{
  background-color: rgba(56, 189, 248, 0.1);
}

.underlist li a:hover {
    color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.1);
    border-radius: 4px;
}

.nonso{
    font-family: "Playwrite NO", cursive;
     font-optical-sizing: auto;
  font-style: normal;
    color: #38bdf8;
    font-weight: 700;
    font-size: clamp(4rem);
    user-select: none;
}
.my-mainpage{
    width: 90%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4%;
    user-select: none;
    color: #f1f5f9;
    background: #0f172a;
    padding: 20px;
    flex-wrap: wrap;
}

.myphoto{
    width: 300px;
    height: auto;
    flex-shrink: 0;
    
    margin-right:10% ;
}

.my-self{
    flex: 1;
    min-width: 300px;
    padding: 20px;
    line-height: 1.6;
}
small{
    font-size: 1.3rem;
    font-weight: 700;
}
.name{
    font-size: 1.7rem;
    font-weight: 400;
    color: #f1f5f9;
}
.special{
    font-family: "Playwrite NO", cursive;
     font-optical-sizing: auto;
  font-style: normal;
    font-size: 1rem;
    font-weight: 300;
  
   

}
.front{
    font-weight: 700;
    font-size: 2rem;
    color: #38bdf8;
    
}
.myphoto img{
    width: 100%;
    max-width: 400px;
    border: 2px solid black;
    margin-top: 4%;
    border-radius: 70%;
    border:  none;
    background-position: center;
    
}
/*
.box1{
    width:100% ;
    height: 100vh;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #0f172a;
    text-align: center;
    letter-spacing: 1px;
    gap: 20px;
}*/

.my-about {
    
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4%;
    gap: 10px;
    user-select: none;
    margin-bottom: 20%;
}

.aboutme{
    width: 100%;
    max-width: 400px;
    min-height: 70vh;
    border-color: #38bdf8;
    color: #f1f5f9;
    padding: 40px 20px;
    letter-spacing: 2px;
    line-height: 20px;
    background-color: #38bff821;
    border-radius: 10px;
}
.aboutme p::first-line{
    font-size: 1rem;
    font-weight: 400;
    font-family: Arial, Helvetica, sans-serif;
    color: #38bdf8;
    letter-spacing: 1px;

}
.not{
    text-align: center;
    letter-spacing: 1px;
    color: #f1f5f9;
    font-weight: 700;
    font-size: 1.7rem;
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 20px 0;
    user-select: none;
    position: relative;
}
.not::first-letter{
    font-size: 2em;
    color: #38bdf8;
}

/* Section divider used between main sections (About / Skills / Services) */
.section-divider,
hr.section-divider {
    width: clamp(120px, 20%, 220px);
    height: 4px;
    background-color: #38bdf8;
    border: none;
    margin: 12px auto 36px; /* space around divider */
    display: block;
    border-radius: 2px;
}

.my-skills{
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 5%;
    flex-wrap: wrap;
}

.flex {
   width: 100%;
   max-width: 250px;
   min-height: 80px;
    text-align: center;
   background: linear-gradient(144deg, #0f172a, #00507e1f);
    backdrop-filter: blur(30px);
    border: 3px solid #38bdf8;
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 1px;
    box-shadow: rgba(65, 130, 252, 0.2) 0 15px 30px -5px;
    user-select: none;
    cursor: pointer;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: transform 0.3s ease;
}

.flex:hover {
    transform: scale(1.05);
}



.services {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    padding: 40px 20px;
    flex-wrap: wrap;
}
.flex1{
    width: 100%;
    max-width: 350px;
    min-height: 250px;
    padding: 20px;
    background-color: #00507e1f;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.flex1 h3{
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    font-family: "Playwrite NO", cursive;
     font-optical-sizing: auto;
  font-style: normal;
    color: #38bdf8;
    margin-bottom: 15px;
}
.flex1 p{
    font-size: 1rem;
    font-weight: 400;
    line-height: 30px;
    color: #f1f5f9;
}

/* Contact section styles */




#contact{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-me{
    max-width: 90%;
    min-height: 40vh;
    padding: 40px 30px;
    background-color: rgba(56, 189, 248, 0.05);
    display: inline-block;
    border: 2px solid #38bdf8;
    border-radius: 4px;


}

input{
   width: 300px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 2%;
    outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
   font-size: 1rem;
   font-weight: 300;
   background: transparent;
   border: none;
   color: #f1f5f9;
}
label{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
   font-weight: 300;
   color: #f1f5f9;
}
.area{
     width: 300px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 2%;
    border: none;
    outline: none;
    background: transparent;
   
   border-radius: 2px;
   color: #f1f5f9;
}
/* From Uiverse.io by cssbuttons-io */ 
button {
  align-items: center;
  background-image: linear-gradient(144deg, #0f172a, #0070a0 50%);
  border: 0;
  border-radius: 8px;
  box-shadow: rgba(151, 65, 252, 0.2) 0 15px 30px -5px;
  box-sizing: border-box;
  color: #ffffff;
  display: flex;
  font-size: 18px;
  justify-content: center;
  line-height: 1em;
  max-width: 100%;
  min-width: 140px;
  padding: 3px;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s;
}

button:active,
button:hover {
  outline: 0;
}

button span {
  background-color: rgb(5, 6, 45);
  padding: 16px 24px;
  border-radius: 6px;
  width: 100%;
  height: 100%;
  transition: 300ms;
}

button:hover span {
  background: none;
}

button:active {
  transform: scale(0.9);
}

.contact-me i{
    max-width: 300px;
    max-height: 300px;
    text-align: center;
    padding: 7px;
   margin: 0 auto;
    color: #38bdf8;
    font-size: 3rem;
}
   






/* Media Queries */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .underlist {
        flex-wrap: wrap;
        justify-content: center;
    }

    .my-mainpage {
        flex-direction: column-reverse;
        text-align: center;
    }

    .my-self {
        padding: 10px;
    }

    .name {
        font-size: 1.5rem;
    }

    .front {
        font-size: 1.8rem;
    }

    .my-about {
        flex-direction: column;
        text-align: center;
    }

    .relative {
        width: 250px;
        height: 250px;
    }

    .flex1 {
        max-width: 100%;
    }
    hr{
        display: none;
    }
    .my-skills {
        gap: 20px;
        padding: 30px 15px;
    }
    
    .flex {
        max-width: 200px;
        min-height: 70px;
        font-size: 1.1rem;
        padding: 10px 12px;
    }
}

@media screen and (max-width: 480px) {
    .nonso {
        font-size: 1.5rem;
    }

    .underlist {
        gap: 10px;
    }

    .underlist li a {
        padding: 5px 10px;
        font-size: 0.9rem;
    }

    .myphoto {
        width: 250px;
    }

    small {
        font-size: 1.1rem;
    }

    .name {
        font-size: 1.3rem;
    }

    .front {
        font-size: 1.5rem;
    }

    .not {
        font-size: 1.5rem;
    }

    .my-skills {
        gap: 15px;
        padding: 20px 10px;
    }
    
    .flex {
        max-width: 100%;
        min-height: 60px;
        font-size: 1rem;
        padding: 8px 10px;
    }
    hr{
        display: none;
    }
    .contact-me{
        width:90%;
    }
    
}
