/* universal style for full page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* shared style */
.container {
  width: 71%;
  max-width: 1140px;
  margin: 0 auto;
}

.font-open-sans {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
}

.logo h2 {
  font-size: 45px;
  font-weight: 900;
}

.color-orange {
  color: #fd6e0a;
}

.btn {
  background-color: #fd6e0a;
  border: none;
  padding: 17.28px 35px 20.3px 36px;
  border-radius: 5px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.text-center {
  text-align: center;
  /* margin: 50px auto 113px; */
}

.section-heading {
  max-width: 827px;
  text-align: center;
  margin: 0 auto;
}

#about,
#skills,
#resume {
  padding-top: 130px;
}

/* main style */
/* header section style */
header {
  background:
    url("../images/developer.png"), url("../images/header_bg.png"), #fff8f3;
  background-position:
    left 23px top 38px,
    bottom right;
  background-repeat: no-repeat;
  padding-top: 50px;
}

/* nav style */
nav {
  /* width: 71%;
    max-width: 1140px;
    margin: 0px auto; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border: 1px solid black; */
}

nav .menu {
  display: flex;
  list-style-type: none;
  align-items: center;
  gap: 51px;
}

nav .menu a {
  font-size: 20px;
  color: #474747;
  text-decoration: none;
}

/* banner style */
#banner {
  /* border: 1px solid red; */
  margin: 46px 38px 0px 230px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#banner .banner-content {
  max-width: 585px;
}

#banner .banner-content h2 {
  font-size: 45px;
  font-weight: 600;
  color: #474747;
  margin-bottom: 5px;
}

#banner .banner-content h1 {
  font-size: 85px;
  font-weight: bold;
  color: #181818;
  margin-bottom: 20px;
}

#banner .banner-content p {
  font-size: 18px;
  line-height: 30px;
  font-weight: regular;
  color: #757575;
  margin-bottom: 30px;
}

#banner .banner-image img {
  max-width: 584px;
  vertical-align: middle;
}

/* about section style */
#about .about-container {
  /* width: 71%;
    max-width: 1140px;
    margin: 0 auto; */
  text-align: center;
  background-color: #fff8f3;
  padding: 131px 156px;
}

/* .section-heading {
    max-width: 827px;
    text-align: center;
    margin: 0 auto;
}
 */
.section-heading h2 {
  font-size: 35px;
  margin-bottom: 30px;
}

.section-heading p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 30px;
  color: #757575;
}

#about .about-container .about-info {
  display: flex;
  justify-content: space-around;
}

.about-info .info-card p {
  font-size: 20px;
  line-height: 30px;
  color: #757575;
}

.about-info .info-card h4 {
  font-size: 20px;
}

/* skills section style */
/* #skills .skills-container {
    width: 71%;
    max-width: 1140px;
    margin: 0 auto;
}
 */
#skills .skills-container .skill-box {
  display: flex;
  gap: 24px;
}

.skill-box .skill-card {
  /* border: 1px solid yellow; */
  padding: 30px;
  box-shadow: 0 6px 50px 0px #00000027;
  max-width: 267px;
}

.skill-card img {
  max-width: 44px;
  margin-bottom: 30px;
}

.skill-card h3 {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #181818;
  margin-bottom: 20px;
}

.skill-card p {
  font-size: 16px;
  line-height: 28px;
  color: #757575;
}

/* resume section style */
#resume .resume-container {
  /* width: 71%;
    max-width: 1140px;
    margin: 113px auto 0; */
  margin-top: 113px;
  margin-bottom: 50px;
  display: flex;
  gap: 24px;
}

.resume-container hr {
  margin: 30px 0;
}

.resume-container .section-title {
  font-size: 30px;
  margin-bottom: 30px;
}

.resume-card .experience-card {
  max-width: 511px;
  margin-right: 47px;
}

.resume-card .card-title,
.experience-card .card-title {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #474747;
}

.resume-card .card-info,
.experience-card .card-info {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #757575;
}

.resume-card .card-text,
.experience-card .card-text {
  font-size: 16px;
  line-height: 28px;
  color: #757575;
}

/* footer section style */
footer {
  margin-top: 113px;
  background-color: #fff8f3;
  padding: 130px 0;
}

footer .footer-container {
  /* width: 71%;
    max-width: 1140px;
    margin: 0 auto; */
  display: flex;
  gap: 117px;
}

.footer-container .connection {
  max-width: 562px;
}

.footer-container h2 {
  font-size: 35px;
  font-weight: bold;
  color: #181818;
  margin-bottom: 20px;
}

.footer-container .connection p {
  color: #474747;
  line-height: 28px;
  font-size: 16px;
  margin-bottom: 30px;
}

.footer-container .icons a {
  margin-right: 24px;
}

.footer-container form input[type="text"],
input[type="email"],
.footer-container form textarea {
  width: 461px;
  padding: 18px 31px;
  margin-bottom: 24px;
  border: none;
  border-radius: 5px;
  color: #757575;
}

/* MOBILE VIEW (max-width: 576px and min-width: 350px) */
@media screen and (max-width: 576px) {
  /* shared style */
  .container {
    width: 95%;
  }

  #about,
  #skills,
  #resume {
    padding-top: 60px;
  }

  nav,
  #banner,
  #about .about-container .about-info,
  #skills .skills-container .skill-box,
  #resume .resume-container,
  footer .footer-container,
  .form {
    flex-direction: column;
  }

  /* main style */
  /* nav style */
  nav {
    /* flex-direction: column; */
    gap: 20px;
  }

  nav .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* banner style */
  #banner {
    margin: 20px;
    /* flex-direction: column; */
    gap: 20px;
    text-align: center;
  }

  #banner .banner-content h2 {
    font-size: 35px;
  }

  #banner .banner-content h1 {
    font-size: 44px;
  }

  .btn-group {
    justify-content: center;
  }

  #banner .banner-image img {
    width: 100%;
  }

  /* header style */
  header {
    background: url(../images/header_bg.png), #fff8f3;
    background-position: bottom left;
    background-repeat: no-repeat;
    padding-top: 50px;
  }

  /* about section style */
  #about {
    /* width: 95%; */
    margin: 0 auto;
  }

  #about .about-container {
    padding: 10px;
  }

  #about .about-container .about-info {
    /* flex-direction: column; */
    gap: 30px;
  }

  /* skill section style */
  #skills {
    margin: 0 auto;
  }

  /* #skills .skills-container .skill-box {
    flex-direction: column;
  } */

  .skill-box .skill-card {
    max-width: 95%;
    margin: 0 auto;
  }

  /* resume section style */
  #resume .resume-container {
    margin-top: 60px;
    /* flex-direction: column; */
    padding: 10px;
    gap: 40px;
  }

  .resume-container .section-title {
    text-align: center;
  }

  /* footer section style */
  footer {
    margin-top: 60px;
  }

  footer .footer-container {
    /* flex-direction: column; */
    gap: 60px;
  }

  .footer-container .connection {
    text-align: center;
  }

  .footer-container h2 {
    text-align: center;
  }

  .form {
    display: flex;
    /* flex-direction: column; */
    align-items: center;
  }

  .footer-container form input[type="text"],
  input[type="email"],
  .footer-container form textarea {
    width: 100%;
    padding: 20px;
  }

  form div {
    width: 95%;
  }
}
