@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}
@font-face {
  font-family: fontlogo;
  src: url("../fonts/Pacifico.ttf");
}
section {
  padding: 100px;
}
.banner {
  background:#ff4c68;
  min-height: 100vh;
  position: relative;
  background-size: cover;
  background-position: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.banner h2 {
  font-size: 3em;
  color: #fff;
  font-weight: 500;
  line-height: 1.5em;
}
.banner h2 span {
  font-size: 1.5em;
  font-weight: 700;
}
.banner h3 {
  font-size: 1.5em;
  color: #fff;
  font-weight: 500;
}
.social-icon{
  margin: 40px 40px 40px 0px;
  color: #fff;
}
.btn {
  position: relative;
  background: #2196f3;
  display: inline-block;
  color: #fff;
  padding: 10px 30px;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 20px;
  letter-spacing: 2px;
  font-weight: 500;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  padding: 40px 100px;
  z-index: 1000;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.5s;
}
/* ... */

header.sticky {
  background: #fff;
  padding: 30px 100px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ... */
header .logo {
  color: #fff;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 1.6rem;
  text-transform: uppercase;
  text-decoration: none;
}

.logofont {
  font-family: fontlogo;
}

/* ... */

header.sticky .logo {
  color: #111;
}
/* ... */

header ul {
  position: relative;
  display: flex;
}
header ul li {
  list-style-type: none;
  position: relative;
}
header ul li a {
  position: relative;
  display: inline-block;
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
}
/* .... */

header.sticky ul li a {
  color: #111;
}
/* .... */

.heading {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  color: #111;
}
.heading h2 {
  font-weight: 600;
  font-size: 30px;
}
.content {
  display: flex;
  justify-content: space-between;
}
.contentbx h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.contentbx {
  padding-right: 30px;
}
.contentbx p {
  text-align: justify;
}
.w50 {
  min-width: 50%;
}
.w50 img {
  max-width: 100%; 
}
.skills {
  background: #ff4c68;
}
.heading.white {
  color: #fff;
}
.skills .content {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* flex-direction: row; */
}
.skills .content .skillsbx {
  padding: 40px 20px;
  background: #ef8172;
  color: #fff;
  max-width: 340px;
  margin: 20px;
  text-align: center;
  transition: 0.5s;
}
.skills .content .skillsbx:hover {
  background: dodgerblue;
}
.skills .content .skillsbx img {
  max-width: 80px;
  filter: invert(1);
}
.skills .content .skillsbx h2 {
  font-size: 20px;
  font-weight: 600;
}

.project .content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.project .content .projectbx {
  width: 50%;
  padding: 20px;
}
.project .content .projectbx img {
  max-width: 100%;
}
.education{
  background:#ff4c68;
}
.education .content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.education .content .educationbx {
  max-width: calc(50% - 40px);
  padding: 60px 40px;
  margin: 10px;
  background: #ef8172;
}
.education .content .educationbx:hover {
  background: dodgerblue;
}
.eduaction .content .educationbx p {
  color: #fff;
  font-style: italic;
  font-size: 16px;
  font-weight: 200;
}
.education .content .eduactionbx h3 {
  text-align: end;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  line-height: 1em;
}
.eduaction .content .educationbx h3 span {
  font-size: 14px;
  font-weight: 400;
}

.contact {
  background: #111;
}

.formbx {
  min-width: 60%;
}
.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: dodgerblue;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contactinfo {
  min-width: 40%;
}
.contactinfobx {
  position: relative;
}
.contactinfobx .box {
  position: relative;
  padding: 20px 0;
  display: flex;
}
.contactinfobx .box .icon {
  min-width: 40px;
  padding-top: 4px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  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 h3 {
  color: dodgerblue;
  font-weight: 500;
  margin-bottom: 0;
}

.copyright {
  background: #000;
  color: #fff;
  padding: 10px;
  text-align: center;
}
.autoinput {
  color: dodgerblue;
}


/* responsive layout */

@media (max-width: 991px) {
  header,
  header.sticky {
    padding: 20px 50px;
    z-index: 3;
  }
  .menu {
    position: fixed;
    top: 85px;
    left: -100%;
    display: block;
    padding: 100px 50px;
    text-align: center;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: 0.5s;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    z-index: 2;
  }
  .menu.active {
    left: 0;
  }
  header ul li a {
    color: #111;
    font-size: 24px;
    margin: 10px;
  }
  .toggle {
    width: 40px;
    height: 40px;
    background: url("../images/menu.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
    cursor: pointer;
  }
  .toggle.active {
    background: url("./../images/close.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25px;
    cursor: pointer;
  }
  header.sticky .toggle {
    filter: invert(1);
  }

  section {
    padding: 100px 50px;
  }
  .banner {
    padding: 150px 50px 100px;
  }
  .banner h2 {
    font-size: 1.5em;
  }
  .banner h3 {
    font-size: 1em;
  }
  .social-icon{
    margin:40px 20px 40px 0px;
    color: #fff;
  }
  .btn {
    margin-top: 10px;
    padding: 10px 20px;
    font-size: 16px;
  }
  .heading h2 {
    font-size: 24px;
  }
  .contentbx h3 {
    font-size: 20px;
  }
  .content {
    flex-direction: column;
  }
  .w50 {
    min-width: 50%;
    margin-bottom: 20px;
  }
  .skills .content {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .skills .content .skillsbx {
    margin: 10px;
  }
  .project .content .projectbx {
    width: 100%;
    padding: 10px;
  }

  .education .content .educationbx {
    max-width: calc(100% - 20px);
    padding: 40px 20px;
    margin: 10px;
    background: #ef8172;
  }
  .contactinfo {
    min-width: 40%;
    margin: 20px 0;
  }
}
@media (max-width: 420px) {
  header,
  header.stciky {
    padding: 20px 20px;
  }
  .banner {
    padding: 150px 20px 100px;
  }
  section {
    padding: 100px 20px;
  }
}
