@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

header {
  height: 100vh;
  background: url("img/banner.jpg");
  background-size: cover;
  background-position: center;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 40px 100px;
  position: fixed;
  transition: 0.5s;
}

nav.sticky {
  background: #fff;
  padding: 20px 100px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

nav .logo {
  font-size: 24px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  visibility: hidden;
}

nav.sticky .logo {
  color: #111;
  visibility: visible;
}

nav ul {
  display: flex;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  display: inline-block;
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
}

nav.sticky ul li a {
  color: #111;
}

.textBx {
  padding: 200px 100px;
  color: #fff;
}

.textBx h2 {
  font-size: 3em;
  font-weight: 500;
  line-height: 1.5em;
}

.textBx h2 span {
  font-size: 1.5em;
  font-weight: 700;
}

.textBx h3 {
  font-size: 1.5em;
  font-weight: 500;
}

.btn {
  background: #5385a4;
  display: inline-block;
  color: #fff;
  margin-top: 20px;
  padding: 10px 30px;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}

section {
  padding: 100px;
}

section h2 {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 30px;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contentBx {
  align-self: flex-start;
  padding-right: 30px;
}

.contentBx h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.column {
  min-width: 50%;
}

img {
  max-width: 100%;
}

#skills {
  background: #121e38;
  color: #fff;
}

#skills .content {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

#skills .content .skillsBx {
  text-align: center;
}

#skills .content .skillsBx .icon {
  max-width: 100px;
  border: 6px solid #fff;
  border-radius: 50%;
  box-shadow: 0px 3px 8px #111;
}

#skills .content .skillsBx h2 {
  font-size: 20px;
  font-weight: 600;
}

#projects {
  background: #ccc;
}

#projects .content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.project {
  max-width: 325px;
  padding: 2%;
  display: block;
  text-align: center;
  /* margin: 0 5% 5% 0; */
}

.project img {
  border: 5px solid #fff;
  box-shadow: 0 10px 6px -6px #777;
}

#contact {
  background: #111;
  color: #fff;
}

#contact .content {
  display: flex;
  align-items: flex-start;
}

.contactInfo {
  min-width: 40%;
}

.contactInfoBx .box {
  padding: 20px 0;
  display: flex;
  align-items: baseline;
}

.contactInfoBx .box .icon {
  min-width: 40px;
  padding-top: 4px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
}

.contactInfoBx .box .text {
  display: flex;
  margin-left: 20px;
  font-size: 16px;
  color: #fff;
  flex-direction: column;
  font-weight: 300;
}

.contactInfoBx .box .text a {
  text-decoration: none;
  color: #fff;
}

.contactInfoBx .box .text h3 {
  font-weight: 500;
  color: #5385a4;
  margin-bottom: 0;
}

.formBx {
  min-width: 60%;
  width: 100%;
}

.formBx form {
  display: flex;
  flex-direction: column;
}

.formBx form h3,
.contactInfo h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.formBx form input,
.formBx form textarea {
  margin-bottom: 20px;
  padding: 15px;
  font-size: 16px;
  border: none;
  outline: none;
  background: #222;
  color: #fff;
  resize: none;
}

.formBx form textarea {
  min-height: 200px;
}

.formBx form input::placeholder,
.formBx form textarea::placeholder {
  color: #999;
}

.formBx form input[type="submit"] {
  max-width: 100px;
  background: #5385a4;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.copyright {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px;
}

/*Responsive*/
@media (max-width: 991px) {
  nav,
  nav.sticky {
    padding: 20px 50px;
    z-index: 1000;
  }

  .menu {
    position: fixed;
    top: 75px;
    left: -100%;
    display: block;
    padding: 100px 50px;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: 0.5s;
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
  }

  .menu.active {
    left: 0;
  }

  nav ul li a {
    color: #111;
    font-size: 24px;
    margin: 10px;
  }

  .toggle {
    width: 40px;
    height: 40px;
    background: url("img/menu.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    cursor: pointer;
  }

  .toggle.active {
    background: url("img/close.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px;
    cursor: pointer;
  }

  nav.sticky .toggle {
    filter: invert(1);
  }

  section {
    padding: 100px 50px;
  }

  .textBx {
    padding: 200px 50px 100px;
  }

  .textBx h2 {
    font-size: 1.5em;
  }

  .textBx h3 {
    font-size: 1em;
  }

  .btn {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
  }

  .heading h2 {
    font-size: 24px;
  }

  .contentBx h3 {
    font-size: 20px;
  }

  .content {
    flex-direction: column;
  }

  .column {
    margin-bottom: 20px;
  }

  #skills .content,
  #projects .content {
    flex-direction: row;
  }

  #skills .content .skillsBx {
    margin: 10px;
  }

  #projects .content .project {
    width: 100%;
    /* padding: 10px; */
  }

  .contactInfo {
    margin: 20px 0;
  }
}

@media (max-width: 600px) {
  nav,
  nav.sticky {
    padding: 20px 20px;
  }

  .textBx {
    padding: 200px 20px 100px;
  }

  section {
    padding: 100px 20px;
  }
}
