* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1;
  font-weight: 400;
  color: #555;
  position: relative;
}

.header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)),
    url("../img/james-webb-telescope.webp");
  background-position: center top;
  background-size: cover;
  min-height: 100vh;
  height: 80rem;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5rem 10rem;
}

.logo {
  width: 16rem;
}

.main-nav-list {
  display: flex;
  gap: 5rem;

  list-style: none;
}

.main-nav-link {
  text-decoration: none;
  color: #e0e0e0;
  font-weight: 800;
  font-size: 1.8rem;
  border-bottom: 3px solid transparent;
}

.main-nav-link:hover {
  border-color: #e0e0e0;
  transition: all 0.3s;
}

/* HERO */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: #e0e0e0;
  font-weight: 700;
  margin-top: 20rem;
}

.greeting {
  font-size: 3.2rem;
  margin-bottom: 2rem;
}

.heading-primary {
  font-size: 4.8rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
  font-weight: 800;
}

.btn-hero {
  font-size: 1.8rem;
  font-weight: inherit;
  border: 2px solid rgb(224, 224, 224);
  color: #e0e0e0;
  cursor: pointer;
  padding: 0.5em 0.8em;
  border-radius: 25px;
  background-color: #43434399;
  text-decoration: none;
}

.btn-hero:hover {
  transform: scale(1.05);
  transition: 0.2s ease-in-out;
  background-color: transparent;
}

/* ABOUT SECTION */

.about-section {
  background-color: #0b0f23;
  background-position: center 60%;
  background-size: cover;
  color: #e0e0e0;
  position: relative;
}

.about {
  max-width: 70rem;
  margin: 0 auto;
  padding-top: 13rem;
  text-align: center;
}

.about h2 {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.about p {
  font-size: 2.2rem;
  line-height: 1.5;
}

.social {
  display: flex;
  justify-content: center;
  padding: 2rem 0 10rem;
  gap: 2rem;
  padding-bottom: 15rem;
}

.social svg {
  width: 5rem;
  height: 5rem;
}

.skills {
  background-color: #e0e0e0;
  color: #333;
  letter-spacing: 1px;
  padding: 2.5rem 5rem;
  border-radius: 2rem;

  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.skill-logos {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5rem;
}

.section-heading {
  margin-bottom: 5rem;
  padding-top: 1rem;
}

.section-heading h3 {
  color: #333;
  font-size: 3.6rem;
  text-align: center;
  padding-bottom: 0.7rem;
}

.section-heading span {
  position: absolute;
  background-color: #743f5b;
  height: 1rem;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 10rem;
  border-radius: 2.5rem;
}

/* MY WORK SECTION */

.work {
  padding: 10rem;
}

.project {
  background-color: #e0e0e0;
  border-radius: 2.5rem;
  padding: 10rem 5rem 5rem;

  display: grid;
  grid-template-columns: 55rem 1fr;
  align-items: center;
  column-gap: 4rem;
  row-gap: 10rem;
}

.project p {
  margin-bottom: 1.5rem;
}

.project-img img,
.project-clone img {
  width: 100%;
}

.clones-description {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 1px;
}

.project-clone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.project-clone--btn-container {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* .project-clone a:link {
  width: 50%;
  justify-content: center;
} */

.project-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-info h3 {
  font-size: 3.2rem;
  color: #333;
  letter-spacing: 1.3px;
}

.project-info p {
  font-size: 1.8rem;
  line-height: 1.5;
}

.btn-project {
  display: flex;
  gap: 1em;
}

div h4 {
  font-size: 3rem;
  text-align: center;
  transform: translate(0, 6rem);
}

.site {
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;

  border: none;
  color: #fff;
  background-color: #171d3d;
  letter-spacing: 1.2px;
}

.site:hover {
  background-color: #262f61;
  transition: 0.3s ease-in-out;
}

.repo {
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;

  border: none;
  background-color: #743f5b4d;
  color: #171d3d;
  border: 5px solid #743f5b;
  letter-spacing: 1.2px;
}

.repo:hover {
  background-color: #743f5b;
  border-color: #743f5b;
  color: #fff;
  transition: 0.3s ease-in-out;
}

.contact {
  background-color: #e0e0e0;
  padding: 8rem 0;
}

.contact h3 {
  color: #333;
}

.contact .social svg {
  fill: #171d3d;
}
.contact .social {
  padding-bottom: 3rem;
}

.contact-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
  fill: #743f5b;
}

.contact-form {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  background-color: #171d3d;
  width: 40%;
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  margin: 0 auto 8rem;
  border-radius: 2.5rem;
}

.contact-form label {
  margin-bottom: 1.5rem;
}

.contact-form input {
  padding: 1.5rem;
  background-color: #e0e0e0;
  margin-bottom: 3rem;
  font-size: 2rem;
  font-family: inherit;
}
.contact-form textarea {
  padding: 1.5rem 1.5rem 10rem 1.5rem;
  margin-bottom: 3rem;
  background-color: #e0e0e0;
  font-size: 2rem;
  font-family: inherit;
}

.btn-submit {
  margin: 0 auto;
  color: #e0e0e0;
  font-size: 2rem;
  padding: 1rem 2rem;
  border: 2px solid white;
  border-radius: 25px;
  background-color: #252f65;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
}

.btn-submit:disabled {
  cursor: not-allowed;
}

.btn-project-fullstack .site,
.btn-project-fullstack .repo {
  padding: 1rem 2rem;
}
