.container {
  max-width: 1200px;
  padding: 0 1.4rem;
  margin: auto;
}
.btn-primary,
.btn-light,
.btn-dark {
  display: inline-block;
  padding: 0.7rem 2rem;
  transition: all 0.5s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  color: #333;
  background-color: #ef6d6d;
}
.btn-light {
  color: #333;
  background-color: #f4f4f4;
}
.btn-dark {
  color: #fff;
  background-color: #333;
}
button[class^="btn-"]:hover,
a[class^="btn-"]:hover,
input[class^="btn-"]:hover {
  background-color: #ef6d6d;
  color: #f4f4f4;
}
.bg-dark {
  background-color: #333;
}
.bg-primary {
  background-color: #ef6d6d;
}
.bg-light {
  background-color: #f4f4f4;
}
.py-1 {
  padding: 1rem 0;
}
.py-2 {
  padding: 2rem 0;
}
.py-3 {
  padding: 3rem 0;
}
.py-4 {
  padding: 4rem 0;
}
.my-1 {
  margin: 1rem 0;
}
.my-2 {
  margin: 2rem 0;
}
.my-3 {
  margin: 3rem 0;
}
.my-4 {
  margin: 4rem 0;
}
.text-center {
  text-align: center;
}
.section-title {
  font-size: 2rem;
  padding-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
}
.border-bottom {
  height: 3px;
  width: 3rem;
  background-color: #ef6d6d;
  margin: 0 auto 1rem auto;
}
.lead {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  word-spacing: 2px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background-color: #fff;
  font-family: "Prompt", sans-serif;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: #333;
}
ul {
  list-style: none;
}
img {
  width: 100%;
}
.main-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
}
.main-nav .logo_container {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-7px);
  gap: 1rem;
}
.main-nav .logo_container .open-s span {
  font-size: 0.7rem;
}
.main-nav__logo {
  display: block;
  width: 4.2rem;
  height: 4.2rem;
}
.main-nav__items {
  display: flex;
}
.main-nav__items li {
  padding: 1rem 1.5rem;
}
.main-nav__items li a {
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  border-bottom: 3px transparent solid;
  padding-bottom: 0.5rem;
  transition: border-color 0.5s;
}
.main-nav__items li a:hover {
  border-color: #ccc;
}
.main-nav__items li a.active {
  border-color: #ef6d6d;
}
#header__home {
  background: url("/img/bgnew.jpg") no-repeat center right/cover;
  background-attachment: fixed;
  height: 100vh;
  color: #fff;
}
#header__home .header-content {
  text-align: center;
  padding-top: 15%;
}
#header__home .header-btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 5rem;
}
#header__home .download-btn:hover {
  background: #f4f4f4;
  color: #ef6d6d;
}
#header__home h1 {
  font-size: 4rem;
  line-height: 1.2;
}
#header__home .typewrite {
  display: block;
}
#header__inner {
  background: url("/img/bgnew.jpg") no-repeat 40% 20% / cover;
  height: 5.5rem;
  color: #fff;
  border-bottom: 3px solid #ef6d6d;
}
#home__a .skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
#home__a .skills i {
  color: #ef6d6d;
  padding-bottom: 0.5rem;
}
#home__b .profile {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
#home__b .profile li.title {
  font-size: 1.5rem;
}
#home__b .profile li.number {
  font-size: 2rem;
  font-weight: bold;
}
#home__b .profile div {
  padding: 3rem 0;
  background-color: #ccc;
}
#home__b .profile div:nth-child(odd) {
  background-color: #f4f4f4;
}
#home__c .process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
#home__c .process__step {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 25px;
  background-color: #ef6d6d;
  border-radius: 50%;
  line-height: 15px;
  padding: 1rem;
  transition: all 0.3s;
}
#home__c .process__icon {
  position: relative;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background-color: #333;
  color: #fff;
  padding: 2rem;
  text-align: center;
  transition: all 0.5s;
}
#home__c .process__icon:hover {
  background-color: #ef6d6d;
}
#home__c .process__icon:hover .process__step {
  background-color: #333;
}
#about-a .info {
  border: 2px solid #f4f4f4;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.2rem;
}
#about-a .info__image {
  padding: 0.5rem;
  border-radius: 3px;
}
#about-a .info__bio {
  padding: 0.8rem;
}
#about-a .info__bio p {
  margin-top: 0.2rem;
}
#about-education .education-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#about-education .education-container .educations {
  border-bottom: 2px solid #f4f4f4;
  padding-bottom: 1rem;
}
#about-education .education-container .educations h3 {
  margin-bottom: 0.2rem;
}
#about-tools .tool p {
  font-weight: 700;
  margin-top: 0.5rem;
}
#about-b {
  color: #fff;
}
#about-b .progress {
  height: 20px;
  background-color: #ccc;
  border-radius: 5px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
#about-b .progress div {
  height: 100%;
  text-align: center;
  background-color: #ef6d6d;
}
#main-footer {
  background: #333;
  color: #fff;
  height: 5rem;
}
#main-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
}
#main-footer .footer-content .social a .fab,
#main-footer .footer-content .fa-brands {
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  text-align: center;
  margin-right: 1rem;
  padding: 0.6rem;
  transition: all 0.5s;
}
#main-footer .footer-content .social a .fab:hover,
#main-footer .footer-content .fa-brands:hover {
  background: #ef6d6d;
}
.items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  box-shadow: 0px 8px 24px rgba(149, 154, 145, 0.2);
}
.items .item {
  background-color: #f4f4f4;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.items .item::after {
  content: "";
  display: block;
  background-color: #ef6d6d;
  opacity: 0.8;
  top: 0;
  left: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translateX(-120%) translateY(-120%) rotate(45deg);
  transition: transform 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.items .item:hover::after {
  transform: scale(2) translateX(-52%) translateY(-52%) rotate(45deg);
}
.items .item .item__image {
  height: 75%;
  overflow: hidden;
  height: fit-content;
}
.items .item .item_text {
  height: 25%;
}
#contact-a .form-fields {
  display: grid;
  grid-template-areas:
    "name email"
    "subject phone"
    "message message"
    "button button";
  gap: 1rem;
  margin-bottom: 1rem;
}
#contact-a .name {
  grid-area: name;
}
#contact-a .email {
  grid-area: email;
}
#contact-a .subject {
  grid-area: subject;
}
#contact-a .phone {
  grid-area: phone;
}
#contact-a .message {
  grid-area: message;
  height: 11.25rem;
}
#contact-a .btn-dark {
  grid-area: button;
}
#contact-a .input {
  padding: 0.5rem 1rem;
}
#contact-b .contact-info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  color: #fff;
}
@media (max-width: 768px) {
  .main-nav {
    font-size: 0.8rem;
  }
  .lead {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    word-spacing: 1px;
  }
}
@media (max-width: 725px) {
  #home__a .skills div {
    border-bottom: 1px #f4f4f4 solid;
    padding-bottom: 1rem;
  }
  #home__a .skills div:last-child {
    border: none;
    padding-bottom: 0;
  }
  .lead {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    word-spacing: 1px;
  }
  #header__home .header-content {
    margin-top: 4rem;
  }
  #header__home .header-content h1 {
    font-size: 3rem;
  }
  #header__home .header-content .header-btn-container {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  #header__inner {
    height: 10rem;
  }
  .main-nav {
    flex-direction: column;
    align-items: center;
  }
  .main-nav li {
    padding: 1rem;
  }
  .items,
  #contact-b .contact-info {
    grid-template-columns: 1fr;
  }
  #main-footer {
    height: 7rem;
  }
  #main-footer .footer-content {
    flex-direction: column;
    padding: 1rem;
    height: 5rem;
  }
  #main-footer .footer-content .social {
    padding-top: 1rem;
  }
  #about-a .info {
    grid-template-columns: 1fr;
  }
  #about-c .about-logos {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 1rem;
  }
  #about-c .about-logos img {
    width: 50%;
  }
  #contact-a .form-fields {
    grid-template-areas:
      "name"
      "email"
      "subject"
      "phone"
      "message"
      "button";
  }
  #contact-b div {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed #fff;
  }
  #contact-b div:last-child {
    border: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
}
