* {
  margin: 0;
  padding: 0;
}

body {
  background-color: rgb(6,5,19);
  /* background-color: rgb(5,28,55); */
  color: white;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Navbar Styling */

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 80px;
  background-color: rgb(53,20,141);
  /* background-color: rgb(25,84,155); */
}

nav ul {
  display: flex;
  justify-content: center;
}

nav ul li {
  /* text-decoration: none; */
  list-style: none;
  margin: 0px 22px;
  
}

nav ul li a{
  text-decoration: none;
  color: white;
  font-size: 1.6rem;
}

nav ul li a:hover{
  color: rgb(166, 143, 231);
  font-size: 1.7rem;
}

.left img{
  width: 50px;
  height: 50px;
  border-radius: 50px;
}

/* Main Styling */

/* First Section: Intro */

.firstSection{
  display: flex;
  justify-content: space-around;
}

/* .firstSection div{
  width: 50%;
  height: 50%;
  margin: 30px 60px;
} */

.leftSection{
  width: 60%;
  height: 50%;
  margin: 101px 8px;
  padding-top: 90px;
  padding-left: 0px;
}

.leftSection h1{

  margin: 0px 50px;
  padding: 0px 30px;
  font-size: 3rem;
  /* background-color: red; */

}

.rightSection{
  margin: 70px 40px;
  width: 50%;
  height: 50%;
}
.rightSection img{
  height: 500px;
  width: 650px;
  background-color: rgb(0, 0, 33);
  /* margin: 60px; */
  opacity: 0.6;
  /* border-radius: 100px;
  border: 2px solid rgb(188,108,137); */
}

.purple{
  color: rgb(166, 143, 231);
}

main hr{
  border: 0;
  background: #9c97f1;
  height: 1.2px;
  margin: 56px 80px;
}

/* Second Section: About  */

/* .secondSection {

} */

.secondSection{
  margin: 55px 0px;
  /* padding: 20px 0px; */
}
.secondSection h1{
  margin: 20px 70px;
  padding: 0px 50px;
  font-size: 2.5rem;
}

.secondSection h3{
  margin: 30px 70px;
  padding: 0px 60px;
  font-size: 1.3rem;
}


/* Third Section: Resume */


.square{
  margin: 50px 40px;
  border: 2px solid rgb(156,151,241);
  padding: 39px 0px;
  border-radius: 7px;
}
.thirdSection{
  /* display: flex;
  flex-direction: column; */
  margin: 10px 40px;
}

.thirdSection h1{
  margin: 20px 40px;
  padding: 0px 50px;
  font-size: 2.5rem;
}

/* Education */

.education{
  margin: 30px 70px;
  padding: 5px 30px;
}

.education ul{
  margin: 13px 0px;
}

.education ul li{
  padding: 5px 0px;
}


/* Skills */

.skills{
  margin: 30px 70px;
  padding: 0px 30px;
}

skillList{
  margin: 2px 3px;
}

.skills ul{
  margin: 13px 0px;
}

.skills ul li{
  padding: 5px 0px;
}

/* Projects */

.projects{
  margin: 30px 70px;
  padding: 0px 30px;
}

.projects ul{
  margin: 13px 0px;
}

.projects ul li{
  padding: 5px 0px;
}

/* Co-curicular */

.cocuricular{
  margin: 30px 70px;
  padding: 0px 30px;
}

.cocuricular ul{
  margin: 13px 0px;
}

.cocuricular ul li{
  padding: 5px 0px;
}

/* Research Work */

.researchWork{
  margin: 30px 70px;
  padding: 0px 30px;
}

.researchWork ul{
  margin: 13px 0px;
}

.researchWork ul li{
  padding: 5px 0px;
}


/* Fourth Section: Contact Us */

.fourthSection{
  margin: 18px 83px;
  
}

.fourthSection h1 {
  /* display: flex; */
  /* align-items: center; */
  margin-left: 620px;
  font-size: 2rem;
}

.fourthSection h3{
  margin-left: 460px;
  margin-bottom: 30px;
  font-size: 1.5rem;
}
.container{
  background-color: rgb(255,255,255);
  height: 600px;
  display: flex;
  border-radius: 10px;
  /* border: 2px solid rgb(156,151,241); */
  /* justify-content:space-around; */
}

.fourthBox1{
  background-color: rgb(53,20,141);
  width: 450px;
  margin: 20px 30px;
  border-radius: 5px;
}

.fourthBox1 h2{
  color: white;
  display: inline-block;
  margin: 26px 19px;
  padding-top:20px;
}

.fourthBox1 p{
  margin: 2px 22px;
}

.fourthBox1 li {
  list-style: circle;
  color: white;
  /* background-color: red; */
}

.fourthBox1 a{
  /* text-decoration: none; */
  color:white;
  margin: 2px 22px;
}

.fourthBox1 img{
  height: 60px;
  width: 60px;
  padding: 10px 10px;
  border-radius: 45px;
  margin-left: 125px;
  margin-top: 40px;
}


.fourthBox2{
  margin: 111px 118px;
  padding: 94px 156px;
  
  
}


/* Apply some basic styling to the form */
form {
  max-width: 400px;
  margin: 0 auto;
}

/* Style for text input fields */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  box-sizing: border-box;
  border: 2px solid black;
}

/* Style for the submit button */
button {
  display: block;
  margin: 0 auto;
  background-color: rgb(53,20,141);
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Hover effect for the submit button */
button:hover {
  background-color: rgb(166,143,231);
}


/* Refer for contact me design */
/* https://www.searchenginejournal.com/wp-content/uploads/2022/09/active-network-63106673be55a-sej-scaled.jpg */


.footer{
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(53,20,141);
  height: 50px;
  margin-top: 43px;
  font-size: 1.2rem;
}

/* MEDIA QUERRY   */


/*  ***************************************Mobile Phones***************************************  */


@media screen and (max-width: 430px) {
  /* Navbar Styling */

nav {
  width: 440px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

nav ul {
  display: flex;
  flex-direction: row;
}

.left img{
  width: 25px;
  height: 25px;
  border-radius: 50px;
  margin-left: 22px;
  /* margin-right: 10px; */
}

nav ul li a{
  font-size: 0.8rem;
}

/* First Section: Main */
.firstSection{
  display: flex;
  flex-direction: column;
  text-align: center;
}

.leftSection{
  width: 100%;
  height: 60%;
  margin: 25px 8px;
  padding-top: 25px;
}

.leftSection h1{
  font-size: 1.2rem;
}

.rightSection img{
  height: 400px;
  width: 400px;

}

/* Second Section: About */

.secondSection{
  text-align: center;
  margin: 0px 0px;
}

/* .secondSection h1{
  font-size: 1.3rem;
} */

.secondSection h3{
  font-size: 1rem;
}

/* Third Section: Resume */

/* .thirdSection h1{
  font-size: 1.2rem;
} */

.thirdSection h1{
  margin-left: 38px;
}

.square{
  /* text-align: left; */
  padding: 10px 30px;
  margin: 2px 2px;
  margin-left: 20px;
}

.education{
  margin: 30px 10px;
  padding: 5px 20px;
}

/* .education ul{
  margin: 0px 0px;
} */

/* .education ul li{
  padding: 5px 0px;
} */

.skills{
  margin: 30px 10px;
  padding: 5px 20px;
}

.projects{
  margin: 30px 10px;
  padding: 5px 20px;
}

.cocuricular{
  margin: 30px 10px;
  padding: 5px 20px;
}

.researchWork{
  margin: 30px 10px;
  padding: 5px 20px;
}

/* Fourth Section: Contact */

.fourthSection{
  margin: 10px;
}

.fourthSection h1 {
  margin-top: 30px;
  margin-left: 120px;
  font-size: 1.8rem;
}

.fourthSection h3{
  text-align: center;
  margin-left: 60px;
  margin-right: 40px;
  margin-top: 10px;
  font-size: 1.2rem;
}

.container{
  width: 410px;
  height: 300px;
  display: flex;
  flex-direction: row;
}

.fourthBox1{
  width: 200px;
  margin: 10px 10px;
  border-radius: 5px;
}

.fourthBox1 h2{
  font-size: 1.1rem;
}

.fourthBox1 p{
  font-size: 0.8rem;
}

.fourthBox1 ul{
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 0;
}

.fourthBox1 li {
  list-style: circle;
  color: white;
  
}

.fourthBox1 a{
  /* text-decoration: none; */
  color:white;
  margin: 2px 22px;
}

.fourthBox1 img{
  height: 30px;
  width: 30px;
  padding: 10px 5px;
  border-radius: 45px;
  margin-left: 10px;
  margin-top: 5px;
}

.fourthBox1 a{
  margin: 2px 2px;
}

.fourthBox2{
  margin: 10px  10px;
  padding: 15px 0px;
}

form {
  max-width: 150px;
  margin: 0 auto;
}

button{
  margin-top: -9px;
}

.footer{
  width: 440px;
}
}


/* ***************************************Tablets*************************************** */

@media (min-width: 430px) and (max-width: 1217px) {
  nav {
    /* width: 440px; */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  
  nav ul {
    display: flex;
    flex-direction: row;
  }
  
  .left img{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    margin-left: 50px;
    /* margin-right: 10px; */
  }
  
  nav ul li a{
    font-size: 1.5rem;
  }
  
  /* First Section: Main */

  .firstSection{
    display: flex;
    /* flex-direction: column; */
    /* text-align: center; */
  }
  
  .leftSection{
    /* width: 100%; */
    height: 60%;
    margin: 60px 0px;
    padding-top: 100px;
    
  }
  
  .leftSection h1{
    font-size: 1.5rem;
  }
  
  .rightSection img{
    height: 400px;
    width: 400px;
  
  }
  
  /* Second Section: About */
  
  .secondSection{
    /* text-align: center; */
    margin: 0px 0px;
  }
  
  /* .secondSection h1{
    font-size: 1.3rem;
  } */
  
  .secondSection h3{
    font-size: 1.3rem;
  }
  
  /* Third Section: Resume */
  
  /* .thirdSection h1{
    font-size: 1.2rem;
  } */
  
  .square{
    /* text-align: left; */
    padding: 10px 63px;
    margin: 53px 2px;
  }
  
  .education{
    margin: 30px 10px;
    padding: 5px 20px;
  }
  
  /* .education ul{
    margin: 0px 0px;
  } */
  
  /* .education ul li{
    padding: 5px 0px;
  } */
  
  .skills{
    margin: 30px 10px;
    padding: 5px 20px;
  }
  
  .projects{
    margin: 30px 10px;
    padding: 5px 20px;
  }
  
  .cocuricular{
    margin: 30px 10px;
    padding: 5px 20px;
  }
  
  .researchWork{
    margin: 30px 10px;
    padding: 5px 20px;
  }
  
  /* Fourth Section: Contact */
  
  .fourthSection{
    margin: 10px;
  }
  
  .fourthSection h1 {
    margin-top: 30px;
    margin-left: 287px;
    /* font-size: 1.8rem; */
  }
  
  .fourthSection h3{
    text-align: center;
    margin-left: 60px;
    margin-right: 40px;
    margin-top: 10px;
    font-size: 1.2rem;
  }
  
  .container{
    /* width: 410px; */
    margin: 0px 57px;
    height: 300px;
    display: flex;
    flex-direction: row;
  }
  
  .fourthBox1{
    width: 250px;
    margin: 10px 10px;
    border-radius: 5px;
  }
  
  .fourthBox1 h2{
    font-size: 1.4rem;
  }
  
  .fourthBox1 p{
    font-size: 1rem;
  }
  
  .fourthBox1 ul{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0;
  }
  
  .fourthBox1 li {
    list-style: circle;
    color: white;
    
  }
  
  .fourthBox1 a{
    /* text-decoration: none; */
    color:white;
    margin: 2px 22px;
  }
  
  .fourthBox1 img{
    height: 40px;
    width: 40px;
    padding: 10px 13px;
    border-radius: 45px;
    margin-left: 10px;
    margin-top: 5px;
  }
  
  .fourthBox1 a{
    margin: 2px 2px;
  }
  
  .fourthBox2{
    margin: 10px  10px;
    padding: 15px 0px;
  }
  
  form {
    max-width: 250px;
    margin: 0 33px;
  }
  
  button{
    margin-top: -9px;
  }
  
  
  
}

/* 430 722 */

@media (min-width: 430px) and (max-width: 722px) {
  
  /* Navbar */

  nav {
    width: 722px;
  }

  .footer{
    width: 722px;
  }
  
  
}