body {
  margin: 0px;
  font-family: "Sarabun", sans-serif;
  font-weight: lighter;
  transition:smooth transition;
  margin-right:0px;
  width: 100%;
}
html{
  scroll-behavior: smooth;
}

/* -------------------scroll bar---------------- */


::-webkit-scrollbar {
  width: 0px;
}

/* ---------------------scroll end----------------- */
#navbar {
  border: 0px solid transparent;
  width: 100%;
  color: rgb(197, 197, 197);
  background-color: rgba(230, 230, 230, 0.705);
  display: flex;
  justify-content: space-between;
  position: fixed;
  /* border-bottom: 1px solid rgb(223, 223, 223); */
  backdrop-filter: saturate(180%) blur(1px);
  background-image: url("https://capsule-render.vercel.app/api?type=waving&color=gradient&height=90");
  background-size: cover;
  background-position: center;
}
a{
  text-decoration: none;
}
.mm{

  margin-left: 3%;
}
#MM {
  background-image: linear-gradient(45deg, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.navbar-inner {
  display: flex;
  margin-right: 5%;
  align-content: center;
}
.navbar-inner> a> h3 {
  font-size: 150%;
  color: black;
  width:fit-content;
}
.navbar-inner>a{
  text-decoration: none;
  margin-right: 7%;
}


/* -------------------------intro--------------------------- */
#details {
  margin-top: 100px;
  display: flex;
  width:100%;
  justify-content: center;
  height: 55vh;
  margin-top: 0px;
  padding: 180px 0px 100px 0px;
  background: rgb(241, 241, 241);
  height: fit-content;
}


.details {
  color: #fff;
  width:50%;
  align-content: center;
}
.photo{
  width: 50%;
  justify-content:right;
}

.photo > img {
  height:90%;
  border-radius: 50%;
}
.details > p {
  color: rgb(30, 172, 207);
}
.details > button {
  color: rgb(0, 0, 0);
  background-color: #3697ff;
  border: 0px;
  border-radius: 10px;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: bold;
}
.details > button:hover {
  background-color: #096bd4;
}
.intro-text {
  font-weight: lighter;
  color: rgb(31, 31, 31);
}
.name-color-change {
  color: rgb(37, 37, 37);
  font-weight: bold;
}

.imgs {
  margin-top: 10px;
}
.imgs > img {
  margin-right: 5px;
}

.txt-rotate {
  color: rgb(29, 159, 219);
}
#details>div{
  height: 300px;
  width: 35%;
}

/* --------------------------About--------------------------- */

#About {
  margin-top: 0px;
  padding: 10px;
  padding-top: 70px;
  background-color: rgb(248, 248, 248);
}

.about {
  margin: auto;
  width: 50%;
  text-align: center;
  color: rgb(0, 0, 0);
  font-weight: lighter;
}

.contact-info {
  padding: 10px;
  display: flex;
  width: fit-content;
  margin: auto;
}
.contact-info > div {
  display: flex;
  align-content: center;
  padding-left: 25px;
}
.contact-info > div > img {
  height: fit-content;
  margin-right: 10px;
}

.contact-info > div > p {
  margin-top: 0px;
  color: rgb(0, 0, 0);
}

/* ------------------Skills----------------------- */

#sec-2 {
  text-align: center;
  background: rgb(241, 241, 241);
  padding-top: 70px;
  padding-bottom: 50px;
}
.skill-images {
  flex-wrap: wrap;
  margin: auto;
  width: fit-content;
}

.top-div {
  display: flex;
  gap: 5%;
  width: fit-content;
  justify-content: center;
  margin: auto;
  margin-top: 30px;
}

.bottom-div {
  display: flex;
  gap: 5%;
  width: fit-content;
  margin: auto;
  padding-top: 30px;
}

.top-div > div {
  height: 130px;
  width: 140px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
  border-radius: 20px;
}

.bottom-div > div {
  height: 130px;
  width:130px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
  border-radius: 20px;
}

.top-div > div > img {
  height: 80px;
  margin-top: 20px;
}

.bottom-div > div > img {
  width: 80px;
  margin-top: 20px;
}
.skill-images > div > div:hover {
  margin-top: 4px;
  margin-bottom: -4px;
  transition: 0.5s;
}
.figma{
  border-radius: 10px;
}
.java{
  border-radius: 10px;
}
/* ------------------Projects-------------------------- */

#sec-3 {
  text-align: center;
  margin: 0px;
  padding: 0px;
  padding-top: 70px;
}

.imagediv {
  width: 80%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  /* gap: 100px; */
  padding: 30px;
  justify-content: space-evenly;
}
.imagediv > div {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.image {
  border-radius: 10px;
  padding: 10px;
  margin-top:20px;
  /* width:30% */
  min-width: 250px;
  max-width: 350px;

}

.Bowl {
  padding: 20px;
  height: 150px;
  background-image: url(./projectpics/bowl/1.png);
  animation: slide 10s ease-out infinite;
  margin: auto;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
}

@keyframes slide {
  20% {
    background-image: url(./projectpics/bowl/6.png);
  }
  40% {
    background-image: url(./projectpics/bowl/2.png);
  }
  60% {
    background-image: url(./projectpics/bowl/3.png);
  }
  80% {
    background-image: url(./projectpics/bowl/4.png);
  }
  95% {
    background-image: url(./projectpics/bowl/5.png);
  }
}

.croma {
  padding: 20px;
  height: 150px;
  background-image: url(./projectpics/croma/1.png);
  animation: slider 10s infinite;
  margin: auto;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
}

@keyframes slider {
  15% {
    background-image: url(./projectpics/croma/2.png);
  }
  30% {
    background-image: url(./projectpics/croma/3.png);
  }
  45% {
    background-image: url(./projectpics/croma/4.png);
  }
  65% {
    background-image: url(./projectpics/croma/5.png);
  }
  80% {
    background-image: url(./projectpics/croma/6.png);
  }
  90% {
    background-image: url(./projectpics/croma/7.png);
  }
}

.Swiggy {
  padding: 20px;
  height: 150px;
  background-image: url(./projectpics/swiggy/image\ 5.png);
  animation: sliders 15s infinite;
  margin: auto;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
}

@keyframes sliders {
  25% {
    background-image: url(./projectpics/swiggy/image\ 6.png);
  }
  50% {
    background-image: url(./projectpics/swiggy/image\ 7.png);
  }
  75% {
    background-image: url(./projectpics/swiggy/image\ 8.png);
  }
  90% {
    background-image: url(./projectpics/swiggy/image\ 9.png);
  }
}

.Club {
  padding: 20px;
  height: 150px;
  background-image: url(./projectpics/Club/image1.png);
  animation: slides 15s infinite;
  margin: auto;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
}

@keyframes slides {
  25% {
    background-image: url(./projectpics/Club/image2.png);
  }
  50% {
    background-image: url(./projectpics/Club/image3.png);
  }
  75% {
    background-image: url(./projectpics/Club/image4.png);
  }
  90% {
    background-image: url(./projectpics/Club/image5.png);
  }
}

.buttonDiv {
  border: 0px;
  display: flex;
  justify-content: space-evenly;
}
.image > p {
  height: 50px;
}
.buttonDiv > button {
  border: 0px;
  background-color: black;
  color: white;
  padding: 10px 25px;
  border-radius: 10px;
}
.buttonDiv > button:nth-child(2) {
  background-color: #ff9036;
  color: black;
}
.buttonDiv > button:hover {
  color: white;
  background-color: rgb(74, 81, 114);
  transition: 1s ease-in-out;
}
.buttonDiv > button:nth-child(2):hover {
  background-color: rgb(245, 180, 105);
  color: black;
  transition: 1s ease-in-out;
}
/* ---------------form---------------- */

#sec-4 {
  text-align: center;
  background: rgb(241, 241, 241);
  padding-top: 10px;
  padding-bottom: 50px;
  display: flex;
  margin: auto;
  justify-content: space-around;
}
#sec-4 > div {
  width: 40%;
}
form > input {
  width: 90%;
  padding: 2% 0%;
  border-radius: 10px;
  margin-bottom: 5%;
  border: 0px;
  padding-left: 10px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
}

input:focus {
  outline: 0px;
}

form > textarea {
  width: 90%;
  padding:5% 0%;
  padding-left: 10px;
  margin-bottom: 5%;
  border-radius: 10px;
  border: 0px;
  border: 1px solid #e9e9e9;
  box-shadow: 5px 5px 8px #e6e6e6;
  font-size: 15px;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
textarea:focus{
  outline:0px;
}
#submit {
  width: 50%;
  margin-right: 40%;
  background-color: #3697ff;
  border: 0px;
  box-shadow: 0px 0px;
}
#submit:hover {
  background-color: #1b7adf;
  box-shadow: 5px 5px 8px #e6e6e6;
}
#sec-4{
  font-size:100%;
  width: 98%
}

.contact-data>div{
  display: flex;
}
.contact-data > div {
  display: flex;
  align-content: center;
}
.contact-data > div > img {
  height: fit-content;
  margin-right: 10px;
}

.contact-data > div > p {
  margin-top: 0px;
  color: rgb(0, 0, 0);
}
.contact-data{
  text-align: left;
  padding-left: 70px;
  margin-top: 60px;
}
.contact-data>h1{
  color:#164488
}
.contact-data>h3{
  color:rgb(121, 121, 121)
}


/* ------------------------------- Media Quaries--------------------------- */

@media only screen and (min-width: 519px) and (max-width:988px){
  .top-div{
    width:100%;
    gap: 0px;
    display: flex;
    flex-wrap: wrap;
  }
  .bottom-div{
    width:100%;
    gap: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
  }

  .contact-info{
    display:block;
  }
 
  .about{
    width:80%
  }
  
  /* .imagediv{
    display:block;
    width: 90%;
  } */
  .image{
    width:90%
  }
  .navbar-inner> a> h3 {
    font-size: 100%;
    color: black;
    width:fit-content;
  }
  #navbar{
    justify-content: space-between;
    align-content: center;
    width:95%;
  }
  body{
    margin: auto;
  }

 
  .navbar-inner{
    margin-right:5%;
    display: none;
  }
  .contactInfo>h1{
    font-size:100%
  }
  form>h2{
    font-size:100%
  }
  #details{
    display:block;
  }
  #details>div{
    margin:auto;
    width:70%;
  }
  .contact-data{
    text-align: left;
    padding-left: 1px;
    margin-top: 10px;
  }
}


@media only screen and (max-width: 518px){
  .top-div{
    width:100%;
    gap: 0px;
    display: flex;
    flex-wrap: wrap;
  }
  .bottom-div{
    width:100%;
    gap: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
  }

  .contact-info{
    display:block;
  }
 
  .about{
    width:100%
  }
  
  .imagediv{
    display:block;
    width: 80%;
  }
  .image{
    width:90%
  }
  .navbar-inner{
    margin-right:5%;
    display:none;
  }
  #navbar>h2{
    	margin-left:10%;
  }
  .navbar-inner> a> h3 {
    font-size: 100%;
    color: black;
    width:fit-content;
  }
  #navbar{
    width:100%;
  }
  body{
    margin: auto;
  }
  .Bowl {
    padding: 20px;
    width: 90%;
    height: 150px;
    background-image: url(./projectpics/bowl/1.png);
    animation: slide 10s ease-out infinite;
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 1px solid #e9e9e9;
    box-shadow: 5px 5px 8px #e6e6e6;
  }
  .croma {
    padding: 20px;
    width: 90%;
    height: 150px;
    background-image: url(./projectpics/croma/1.png);
    animation: slider 10s infinite;
    margin: auto;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 10px;
    border: 1px solid #e9e9e9;
    box-shadow: 5px 5px 8px #e6e6e6;
  }
  .contactInfo>h1{
    font-size:100%
  }
  form>h2{
    font-size:100%
  }
  #details{
    display:block;
  }
  #details>div{
    margin:auto;
    width:70%;
  }
  .contact-data{
    text-align: left;
    padding-left: 1px;
    margin-top: 10px;
    font-size:70%;
    height:fit-content;
  } 
}

