*{
    margin: 0;
    padding : 0;
    box-sizing : border-box;
    font-family:'Nunito',san-serif;}
body{
    margin:0;
}


html{
  scroll-behavior:smooth;
}

.gradient{
    background:linear-gradient(50deg,#ee9032,#f16d52, #ec4a77, #a063aa,#5d419c, #4b6eb5,#109aaf, #6bb97f);
    height: 100vh;
    display:inline-block;
    width:100%;
    animation: movinggradient 10s ease infinite;
    background-size:200%;
}
@keyframes movinggradient{
    0%{
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

h1{

    font-size:28px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family:'Nunito',san-serif;
    color:white;
}

.a_text{
  font-size:19px;
}

.container{
    max-width:1280px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

nav{
    position:relative;
    z-index:99;
    top:0;
    left:0;
    right:0;
    padding: 16px 32px;
    margin-bottom: 10px;

}

.hamburger{
    display:none;

    z-index: 100;
    user-select: none;
    appearance : none;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
  
}

.hamburger span{
    display:block;
    width: 33px;
    height: 4px;
    margin: 5px 5px;
    position:right;
    background-color : white;
    border-radius:6px;
    z-index:99;
    transform-origin: 0 0;
    transition: 0.5s;
}


.hamburger:hover span:nth-child(2){
    transform: translateX(5px);
    background-color:black;
}

.hamburger.is-active span:nth-child(1){
    transform: translateX(7px) translate(0px, -2px) rotate(45deg) ;   
}

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

.hamburger.is-active span:nth-child(2){
    transform: translateX(15px);
    opacity: 0;   
}
.hamburger.is-active:hover span{
    background-color: lightpink;
}

.back{
    background : rgba(1,1,1,0.5);
    padding:5px 5px;
    border-radius:10px;
}



.menu{
    display: flex;
    flex: 1 1 0%;
    justify-content: flex-end;
    margin: 0 - 16px;
}

.menu a{
     color: white;
     margin: 0 16px;
     font-weight: 600;
     text-decoration: none;
     transition: 0.4s;
     padding: 9px 16px;
     border-radius:99px;
}

.menu a.is-active{
    background-color:black;
}

a.diff:hover{
    color:black;
}

.ham-nav{
  padding:0;
  width:20%;
  margin:0;
  transition: 1s ease;
  display:none;
  position:fixed;
  top:0;
  right:0;
  height:100%;
  min-height:100vh;
}
.ham-nav li a, .quickLinks li a{
  color:white;
  text-decoration: none;
  display:block;
  text-align:center;
  margin-bottom:16px;
  padding:12px 16px;
}

.ham-nav li a:hover{
  color:skyblue;
}

.ham-nav li{
  list-style: none;
  padding: 16px 0;
}

.ham-nav.menu-visible{
  background-color:rgba(1,1,1,0.5);
  height:100vh;
  margin: 0;
  font-size: 16px;
  position:fixed;
  z-index: -100;
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  
}

@media(max-width: 500px){
  .ham-nav{
      width: 100%    
    }}
a.contact:hover{
    color:transparent;
}



.details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%; /* or any other fixed height */
}

.details h1 {
    font-size:40px;
    font-family:'Nunito',san-serif;
    justify-content:center;
    text-align:center;
    color:white;
}
 
.details .hi{
    font-size:20px;
}


.About_me{
  padding:30px 0;
}
.About_me h1{
    color: black;
    text-align:center;
    padding-top: 30px;
    font-size:30px;
}

.About_me p{
    padding: 0px 15%;
    margin-left: 5%;
    margin-right:5%;
    margin-top:10px;
    line-height: 1.6;
}

@media (max-width: 770px) {
  .About_me{
    text-align:center;
  }
}
.icons{
    display: flex;
    align-items:center;
    justify-content:center;
    margin-top:0;
}
.icon{
    width: 40px;
    height: 40px;
    border-radius: 100px;
    background: #fff;
    margin: 5px;
    text-align: center;
    font-size: 18px;
    line-height: 40px;
    font-family: 'Nunito',san-serif;
    overflow: hidden;
    box-shadow: 5px 10px 20px rgba(150, 150, 150, .3);
    transition: all .4s ease-out;
}

.icon:hover i{
    color: #fff;
}

.icon:hover{
    width:125px;
    cursor:pointer;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    color:white;
}




.icon .fa-github{
    color: #000;
}
.gh:hover{
    background: #000;
}

.icon .fa-linkedin-in{
    color: #0077B5;
}
.ln:hover{
    background: #0077B5;
}

.Contact h1{
    color: black;
    text-align:center;
    padding-top: 30px;
    font-size:30px;
}

.row {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 12px;
}

.row h1{
    padding-top:20px;
    color:black;
    text-align:center;
    margin-bottom:20px;
}

/*Languages section*/
.languages{
  background-color:#E6E6E3;
  padding:20px 0;
}

.language__img {
  width: 100%;
  max-width: 125px;
  transition: all 300ms;
}

.language:hover .language__img {
  filter: brightness(80%);
  opacity: 0.86;
  transform: scale(0.9);
}

.language {
  width: 25%;
  padding:20px 0px;
  display: flex;
  justify-content: center;
  position: relative;
}
.language__img--wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px 16px;
}

.language__list {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.language__name {
  position: absolute;
  bottom: 0;
  transform: scale(0);
  transition: all 300ms;
  font-size: 20px;
  opacity: 0;
}
.language:hover .language__name {
  transform: scale(1);
  opacity: 1;
}





.ham_container{
    display: none;
    position:fixed;
    right:5%;
    align-content:right;
    border-radius:10px;
    
}


@media(max-width: 1050px){
    .hamburger{
        display:block;
    }
   .ham_container{ 
       display: block;
   }
    .menu{
        display:none;
    }
}

.lcontainer{
    padding: 50px 0;
}

@media (min-width: 1050px) {
  .ham_container {
    display: none;
  }
}


/* Projects */
.projects {
  margin: 10px auto;
  padding: 20px 10%;
}

.projects h1 {
  margin-top:20px;
  margin-bottom:20px;
  color: #000;
  padding-bottom: 15px;
  text-align: center;
  text-shadow: 0 15px 10px rgba( 0.5);
}

.p-container {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(2, 1fr);
  justify-items: center;
  width: 100%;
  max-width: 820px; /* Add this line */
  margin: 0 auto; /* Add this line */
}

.box {
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  background: white;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  flex: 0 0 270px; /* Add this line */
  max-width: 400px;
  min-height: 300px; /* Add this line */
  display: flex; /* Add this line */
  flex-direction: column; /* Add this line */
  align-items: center;
  flex: 1; /* Add this line */
}

.box img {
  height: 70px;
}

.box h3 {
  color: black;
  padding: 20px;
  font-size: 20px;
}

.box p {
  color: black;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
  word-wrap: break-word; 

}

.box:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 770px) {
  .projects {
    padding: 20px;
  }
  .p-container{
      grid-template-columns: repeat(1, 1fr);
  }
}

.codelinks{
  display:flex;
  margin-top:10px;
  justify-content:center;
}

.codelinks ul{
  display:flex;
}

.codelinks ul {
  list-style: none;
  gap:20px; 
}

.codelinks ul i{
  width: 36px;
  height:36px;
  background-color:black;
  color:white;
  text-align:center;
  line-height:36px;
  font-size:18px;
  cursor:pointer;
  border-radius:5px;
  transition:0.1s;
}


.codelinks ul li:nth-child(1):hover{
  transform: scale(1.2);
  border-radius:5px;
}

.codelinks ul li:nth-child(2):hover{
transform: scale(1.2);

  border-radius:5px;
}

/*Contact Section*/
.contact{
  background-color:#E6E6E3;
  width: 100%;
  margin: 0 auto;
  padding: 20 12px
}

.contact h1{
  color:black;
  text-align:center;
  padding-top:30px;
}

.contact-box input textarea label{
  font-family: 'Nunito',san-serifs;
}

.contact-box{
  max-width:1320px;
  margin: 0 auto;
  
}

form{
  max-width:500px;
  margin: 0 auto;
  text-align: left;
  padding:20px 0;
}

input,
.submit,
textarea,
label{
  display:block;
  margin:0 auto;
  width: 100%;
}

input,
.submit,
textarea{
  padding:10px;
  border:3px solid black;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  font-family: 'Nunito',san-serifs;
}

.submit{
   background-color:grey;
  padding-top: 15px;
  color:white;
  font-size: 16px;
  border-radius: 5px;
  margin-top:29px;
  margin-bottom: 15px;
  cursor:pointer;
  transition:all .3s ease ;
  padding-bottom:10px;
}

.submit:hover{
  background:white;
  color:black;
  border-bottom: none;
  border: 3px solid red;
}

input,
textarea{
  color:black;
  font-size:16px;
  padding:10px;
}


input:focus,
textarea:focus{
  border-bottom: 3px solid red;
}

.confirmation{
  display: none;
}

.error{
  color:red;
  border-bottom:1px solid red;
}

#success{
  color:green;
}
textarea {
  overflow-y: scroll;
  resize: none;
  height: 100px;
}

.status, .error{
  display:none;
}
br{
  font-size: smaller;
}

.status{
  text-align: center;
}

/*Footer*/

.footer{
  height: 275px;
  background-color:#191714;
}


.quick {
  display: flex; /* Make the list items display horizontally */
  justify-content: center; /* Center the list items horizontally */
  list-style: none; /* Remove the default list item markers */
}

.quickLinks li a{
  margin-top:30px;
  margin-bottom:32px;
  font-size: 20px;
  flex-direction:horizontal;
}
.quickLinks li a:hover{
  color:skyblue;
}

.copyright{
  text-align:center;
  margin-top:35px;
}

.copyright p{
  color:white;
}
