@import url("https://use.typekit.net/ksb4cyc.css");

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

html {
  font-family: acumin-pro-wide, sans-serif;
  font-size: 62.5%;
  background-color: #f8f9fa;
  color: #343a40;
  overflow-x: hidden;
}

body {
  position: relative;
  overflow-x: hidden;
}

/* Reusable components */

.container {
  padding: 9.6em 9.2rem;
}

.grid {
  display: grid;
}

.grid--2-cols {
  grid-template-columns: 1fr 1fr;
}

.grid--3-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.section-reveal {
  transition: transform 1s, opacity 1s;
}

.section-hidden {
  opacity: 0;
  transition: 0.5s all;
  transform: translateY(8rem);
}

body.no-scroll {
  overflow: hidden;
}

/* Nav & Hero section */
.nav-list {
  align-content: center;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 12rem;
  justify-content: center;
  padding: 4.8rem 8.4rem;
}

.nav-link:link,
.nav-link:visited {
  font-size: 1.6rem;
  text-decoration: none;
  color: #343a40;
  font-weight: 500;
  display: inline-block;
}

.nav-link:hover {
  color: #9c36b5;
  transition: all 0.3s;
}

/* Mobile Nav */

.btn-mobile-nav {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  margin-left: auto;
  padding: 2.4rem;
}

.icon-mobile-nav {
  height: 3.6rem;
  width: 3.6rem;
  color: #333;
  /* display: none; */
}

.icon-mobile-nav[name="close-outline"] {
  display: none;
}

.headline {
  text-align: center;
  font-size: 7.4rem;
  font-weight: 900;
  line-height: 1.3;
}

.headline-clr {
  color: #9c36b5;
}

.subhead {
  font-size: 2rem;
  text-align: center;
  font-weight: 500;
  margin-top: 2.4rem;
  padding: 0 20rem;
}

.subhead-clr {
  color: #9c36b5;
}

/* Skills Section */

.skills-section {
  gap: 4.8rem;
  margin-top: 5.2rem;
}

.skill--container {
  /* background-color: aqua; */
  padding: 4.2rem;
  justify-items: center;
  border-radius: 2.4rem;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.101);
}

.icon {
  height: 2.8rem;
  width: 2.8rem;
  color: #fff;
}

.skill--icon {
  background-color: #9c36b5;
  padding: 1.4rem;
  border-radius: 50%;
}

.skill--desc {
  font-size: 1.6rem;
  margin-top: 2.4rem;
  text-align: center;
}

/* Gallery Section */

.gallery-section {
  background-color: #fff;
  padding-top: 2.4rem;
}

.section-heading {
  font-size: 3.6rem;
  text-align: center;
  margin-bottom: 4.6rem;
}

.gallery {
  padding: 0.4rem 8rem 0.4rem 8rem;
  height: 90vh;
  gap: 0.8rem;
}

.gallery-temp {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}

.img-gal {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.4s all;
}

.img-gal:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.gal-img-size {
  height: 100%;
  width: 100%;
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.166);
}

.gal-img-1 {
  background-color: red;
  grid-column: 1;
  grid-row: 1 / 4;
  overflow: hidden;
}

.gal-img-2 {
  background-color: blue;
  grid-column: 2;
  grid-row: 1 / 2;
  overflow: hidden;
}

.gal-img-3 {
  background-color: yellow;
  grid-column: 3;
  grid-row: 1 / 3;
  overflow: hidden;
}

.gal-img-4 {
  background-color: green;
  grid-column: 2;
  grid-row: 2 / 4;
  overflow: hidden;
}

.gal-img-5 {
  background-color: purple;
  grid-column: 3;
  grid-row: 3 / 4;
  overflow: hidden;
}
.gal-img-6 {
  background-color: red;
  grid-column: 1;
  grid-row: 1 / 3;
  overflow: hidden;
}

.gal-img-7 {
  background-color: blue;
  grid-column: 1;
  grid-row: 3 / 4;
  overflow: hidden;
}

.gal-img-8 {
  background-color: yellow;
  grid-column: 2;
  grid-row: 1 / 2;
  overflow: hidden;
}

.gal-img-9 {
  background-color: green;
  grid-column: 2;
  grid-row: 2 / 4;
  overflow: hidden;
}

.gal-img-10 {
  background-color: purple;
  grid-column: 3;
  grid-row: 1/ 4;
  overflow: hidden;
}

/* About me section */

.about-section {
  padding: 8rem 16rem;
}

.about-sect-content {
  display: flex;
  align-items: center;
}

.abt-description {
  font-size: 2.2rem;
  line-height: 1.8;
  padding: 14rem;
}

/* Connect section */

.connect-section {
  background-color: #fff;
}

.connect-icons {
  display: flex;
  gap: 8.4rem;
  justify-content: center;
  margin-top: 4.6rem;
}

.icon-connect {
  color: #9c36b5;
  height: 8.4rem;
  width: 8.4rem;
}

/* Footer */

.footer-section {
  background-color: #343a40;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 4.2rem;
}

.icon-footer {
  color: #fff;
  height: 4.2rem;
  width: 4.2rem;
}

.footer-nav-list {
  align-content: center;
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 12rem;
  justify-content: center;
  padding: 4.8rem 8.4rem;
}

.nav-link.footer-link {
  color: #fff;
}

/*  Open image */

.overlay {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 5;
}

.hidden {
  display: none;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: 0.4s ease;
}
