body {
  font-family: "Oswald", sans-serif;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

section {
  /* height: 500px; */
  background-color: rgb(255, 255, 255);
  /* border: 2px solid red; */
}

.hero {
  background-color: #1c1d25;
  opacity: 5;
  z-index: -1;
  height: 100vh;
  color: white;
  font-size: 30px;
  background: url(../img/bg2.jpg);
  width: 100%;
  opacity: 1;
  z-index: 1;
}

.navbar {
  height: 5vh;
  /* display: inline-block; */
  display: flex;
}

.navbar > img {
  background-color: rgb(0, 58, 128);
  border-radius: 50%;
  align-content: center;
/* width: vw; */
height: 7vh;
}

#nav-list a:hover {
  color: rgb(4, 160, 100);
}

ul li a{
  margin: 1vw;
}

ul {
  display: flex;
  list-style-type: none;
  width: auto;
  justify-content: space-evenly;
}

li {
  text-decoration: none;
}

h1 {
  font-size: 80px;
  margin: 0;
}

h2 {
  font-size: 50px;
}

p {
  margin: 0;
  font-weight: 400;
  font-size: 50px;
}

@media only screen and (max-width: 1000px) {
  .hero-area .hero-text {
    width: auto;
  }

  h1 {
    font-size: 50px;
    margin: 0;
  }

  ul li a {
    font-size: 1.5rem;
    margin: 1vw;
    padding-right: 2px;
  }

  .socials , .hero-text{
    margin-top: 25vh;
  }

  .sub-section h2 {
    font-size: 30px;
  }

  .sub-section-alt > h2 {
    /* height: 500px; */
    font-size: 1rem;
  }

  #contact-me h2 {
    font-size: 40px;
  }

  #skills1 {
    display: flex;
    flex-wrap: wrap;
  }

  #skills img {
    width: 87px;
    margin: 15px;
    height: auto;
  }

  #font-size {
    font-size: 30px;
  }
}

ul.show {
  display: block;
}

.subtext {
  font-size: 15px;
  font-weight: 300;
}

.project-link {
  font-size: 20px;
}

.hero-area {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  margin-left: 50px;
  margin-bottom: 200px;
}


.button {
  width: 20vw !important;
  height: 7.2vh;
  border-radius: 30px;
  background-color: rgb(0, 58, 128);
  text-align: center;
  cursor: pointer;
  font-weight: 400;
  margin: 30px;
  border: none;
  text-decoration: none;
}

.button:hover {
  background-color: rgb(4, 160, 100);
  color: white;
}

.socials {
  padding: 20px;
  margin-bottom: 220px;

}

.socials a svg:hover {
  background-color: rgb(255, 35, 35);
  border-radius: 50%;
}

.logo {
  margin: 10px;
  height: 90px;
}

.social {
  margin: 20px;
}

.sub-section {
  height: 100vh;
  display: flex;
  justify-content: space-around;
  padding: 80px;
}

.sub-section>.info {
  margin-top: 26vh;
  /* font-size: 1rem; */
}

.info>h2 {
  font-size: 3rem;
}

.info> {
  font-size: 1rem;
}

.exp {
  color: red;
}

.designation{
  font-size: 1.8rem;
}

.designation>span {
  color: rgb(26, 96, 248);
}

@media only screen and (max-width: 540px) {

  .sub-section {
    height: auto;
  }

  .sub-section>.info {
    margin-top: 8vh;
  }

  .sub-section-alt {
    margin-top: 10vh;
    height: auto;
  }

  .sub-section-alt>h2 {
    height: auto;
    /* font-size: 2rem; */
  }

  .info h2 {
    font-size: 39px;
    margin-left: 20px;
  }

  .info p {
    margin-top: 10vh;
  }

  .sub-section-alt2 {
    height: auto;
  }

  p {
    font-size: 25px;
    margin-left: 45px;
  }

  /* .headshot-container >img {
    width: 140px;
    border-radius: 50%;
  }

  .headshot {
    margin-top: 100px;
  } */

  .hero-area .hero-text {
    width: auto;
  }

  p {
    margin: 0;
  }

  ul li a {
    font-size: 1.5rem;
    margin: 1vw;
    padding-right: 0px;
  }

  .button {
    width: 100px;
    height: 30px;
    border-radius: 30px;
    background-color: rgb(0, 58, 128);
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    font-weight: 200;
    margin: 10px 0;
    padding-bottom: 5px;
  }

  #contact-me h2 {
    font-size: 35px;
  }

  #contact-me p {
    font-size: 20px;
    margin: 5px;
  }

    .project-card {
    justify-content: space-evenly;
    width: 40.53vw;
    height: 37.21vh !important;
    box-shadow: 5px 5px 20px rgb(197, 195, 195);
    margin: 12px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

.sub-section-alt2 h2 {
  margin-top: 1rem;
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: white;
}

.sub-section-alt {
  display: flex;
  flex-direction: column;
  height: 100vh;
  text-align: center;
}

.sub-section-alt > h2 {
  font-size: 2rem;
  margin-top: 10vh;
}

.sub-section-alt2 {
  display: flex;
  flex-direction: column;
  height: 100vh;
  text-align: center;
  padding: 40px;
}

.skills-container {
  height: 300px;
  margin-top: 120px;
  display: grid;
  grid-template-columns: 100px 100px 100px 100px 100px 100px;
  justify-content: space-between;
}

.skills-container .icon {
  width: 100px;
  height: auto;
  display: flex;
}

p {
  font-size: 25px;
}

.subtext {
  font-size: 15px;
  font-weight: 300;
}

.headshot {
  width: 20vw;
  /* height: 250px; */
  border-radius: 50%;
  margin-left: 25px;
}

.headshot-container {
  display: flex;
  align-items: center;
}

.project-card {
  justify-content: space-evenly;
  width: 19.53vw;
  height: 40.21vh;
  box-shadow: 5px 5px 20px rgb(197, 195, 195);
  margin: 12px;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.project-container {
  margin-top: 15vh;
  display: grid;
  grid-template-columns: auto auto auto auto;
  justify-content: space-around;
}

@media only screen and (max-width: 1000px) {

  .headshot-container>img {
    width: 28vw;
    border-radius: 50%;
  }

  .headshot {
    margin-top: 100px;
  }

  /* .sub-section-alt2 {
    height:100vh;
  } */

  .sub-section-alt {
    height: auto;
    margin-bottom: 5vh;
  }

  .sub-section-alt>h2 {
    margin-top: 30vh;
  }

  .project-container {
    display: grid;
    grid-template-columns: auto auto;
    height: auto;
  }

  .project-card {
    justify-content: space-evenly;
    width: 40.53vw;
    height: 48.21vh;
    box-shadow: 5px 5px 20px rgb(197, 195, 195);
    margin: 12px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
}

.project-img {
  margin: 10px;
  /* width: 280px; */
  height: auto;
  border-radius: 5px;
  /* width: 90%; */
}

hr {
  margin-left: 20px;
  margin-right: 20px;
}

.project-link {
  text-decoration: none;
  color: royalblue;
}


@media only screen and (max-with: 1000px) {

  ul {
    display: none;
    background-color: turquoise;
    margin: 0px;
  }

  ul.show {
    display: flex;
  }

  nav {
    display: flex;
    flex-direction: column-reverse;
  }

  .logo {
    display: none;
  }
}

footer {
  background-color: rgb(29, 29, 37);
  color: white;
  height: 250px;
  text-align: center;
  padding: 60px;
}

@media only screen and (max-width: 432px) {

  .headshot-container {
    /* display: flex; */
    margin-top: 15vh;
    align-items: center;
  }

  .sub-section {
    /* margin-top: auto; */
    padding: 20px;
  }

  .sub-section>.info {
    margin-top: 8vh;
  }

  .designation {
    margin-top: 2vh;
    font-size: 1.5rem;
  }

  .info>h2 {
    font-size: 2rem;
    text-align: right;
  }

    /* .sub-section-alt {
    margin-top: 100px;
  } */

  .sub-section-alt > h2{ 
    font-size: 2rem;
   }
  
 #skills > h2 {
    font-size: 2rem ;
   }

   .project-card {
    justify-content: space-evenly;
    width: 45.53vw;
    height: 33.21vh;
    box-shadow: 5px 5px 20px rgb(197, 195, 195);
    margin: 12px;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  #project {
    margin-top: 30vh;
  }

  ul li a {
    font-size: 1.1rem;
    margin: 1vw;
    padding-right: 1px;
  }
}

