:root {
  --primary-font-family: "Playfair Display", serif;
  --secondary-font-family: "Poppins", serif;
  --dusty-pink-color: #e6d7d7;
}
body {
  background-color: #3f3f3f;
  padding-top: 100px;
}
h1 {
  color: black;
  font-family: var(--primary-font-family);
  font-weight: bold;
  font-size: 86px;
}
h2 {
  font-size: 46px;
  font-family: var(--primary-font-family);
}
p {
  font-family: var(--secondary-font-family);
  font-size: 20px;
  font-weight: normal;
}
.container {
  background-color: #3f3f3f;
  border: 1px solid var(--dusty-pink-color);
  padding: 30px 30px;
  color: white;
  border-radius: 10px;
}

/*Navigation*/
.container-navigation {
  background-color: #3f3f3f;

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.nav-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 30px;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  list-style: none;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

nav a {
  color: white;
  text-decoration: none;
  font-family: var(--secondary-font-family);
  font-size: 18px;
  font-weight: normal;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--dusty-pink-color);
}
nav li.active a {
  color: var(--dusty-pink-color);
  border: 1px solid white;
  border-radius: 10px;
}
.work .container-navigation {
  background-color: var(--dusty-pink-color);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.work .container-navigation nav a {
  color: #3f3f3f;
}
.work .container-navigation nav li.active a {
  color: black;
  border: 1px solid #3f3f3f;
  border-radius: 10px;
  font-weight: normal;
}
.work .container-navigation nav a:hover {
  color: black;
  font-weight: bolder;
}

/*Hero sections*/
.character {
  background-color: var(--dusty-pink-color);
  text-align: center;
  padding-top: 80px;
  padding-bottom: 40px;
  border-bottom: 2px white solid;
}

.character h2 {
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 36px;
}
.character h3 {
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 20px;
}
.character p {
  font-family: var(--secondary-font-family);
  font-weight: bold;
  font-size: 36px;
}
.character a {
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 20px;
}

/*Buttons*/
.btn-branding {
  background-color: #3f3f3f;
  color: white;
  border-radius: 20px;
  line-height: 21px;
  padding: 8px 16px;
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 20px;
  border: 2px solid transparent;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.btn-branding:hover {
  border: 2px solid white;
  color: var(--dusty-pink-color);
}

.btn-branding-secondary {
  background-color: var(--dusty-pink-color);
  color: black;
  border-radius: 20px;
  line-height: 21px;
  padding: 8px 16px;
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 16px;
  border: 2px solid;
  margin-bottom: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
}
.btn-branding-secondary:hover {
  background-color: #3f3f3f;
  color: white;
  border: 2px solid var(--dusty-pink-color);
}

/*Work grid*/
.grid-work {
  display: grid;
  padding-top: 60px;
  background-color: var(--dusty-pink-color);
  padding-left: 30px;
  padding-right: 30px;
  grid-template-columns: repeat(2, 1fr);
  text-align: justify;
  gap: 30px;
}
.card h2 {
  font-size: 18px;
  font-family: var(--secondary-font-family);
  font-weight: bolder;
  color: rgb(255, 255, 255);
  padding-left: 5vw;
  padding-right: 5vw;
}
.work-paragraph {
  font-size: 16px;
  font-family: var(--secondary-font-family);
  font-weight: normal;
  color: var(--dusty-pink-color);
  padding-left: 5vw;
  padding-right: 5vw;
}
.project-block {
  width: 100%;
}
.work {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  background-color: var(--dusty-pink-color);
}
.work-images h1 {
  font-family: var(--primary-font-family);
  font-weight: bold;
  font-size: 76px;
  color: white;
}
.work-images {
  background-color: #3f3f3f;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 40px;
  border-bottom: 2px white solid;
}

.card {
  background-color: #3f3f3f;
  padding-top: 20px;
  padding-bottom: 0;
}

/*Images*/
img.img-fluid {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--dusty-pink-color);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
}

.img-work {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--dusty-pink-color);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  transition: all 0.5s ease-in-out;
  aspect-ratio: 4 / 3;
}
.img-work:hover {
  transform: scale(1.2);
}

img.img-fluid-a {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--dusty-pink-color);
}

/*About section*/
.my-intro-section {
  width: 100%;
  padding: 40px 60px;
  background-color: #3f3f3f;
  border-radius: 0;
}
.body-about {
  background-color: var(--dusty-pink-color);
}
.into-row {
  border: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.into-row p {
  font-size: 18px;
  line-height: 1.8;
  font-family: var(--secondary-font-family);
  color: white;
  text-align: center;
  border: 1px solid var(--dusty-pink-color);
  border-radius: 10px;
}
.character-about {
  background-color: var(--dusty-pink-color);
  text-align: center;
  padding-top: 80px;
  padding-bottom: 40px;
  border-bottom: 2px solid white;
}
.character-about a {
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 20px;
}
.character-about p {
  font-size: 20px;
  font-family: var(--secondary-font-family);
  font-weight: normal;
}
.character-about h1 {
  font-family: var(--primary-font-family);
  font-weight: bold;
  font-size: 76px;
}
.character-about h2 {
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 30px;
}
.character-about h3 {
  font-family: var(--secondary-font-family);
  font-weight: normal;
  font-size: 20px;
}

.project-description {
  padding: 30px;
  max-width: 500px;
}
.row {
  margin-bottom: 30px;
  padding-bottom: 30px;
}
.text-column {
  border-radius: 10px;
}

/*Footer*/
footer {
  text-align: center;
  font-family: var(--secondary-font-family);
  padding-bottom: 20px;
  color: #ffffff;
  margin-top: 5px;
}
footer a {
  text-decoration: none;
  font-family: var(--secondary-font-family);
  font-size: 12px;
  color: var(--dusty-pink-color);
  transition: color 0.3s ease;
}
footer a:hover {
  color: white;
}
/*Links and icons*/
.social-link {
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-family: var(--secondary-font-family);
  transition: color 0.3s ease;
}
.social-link:hover {
  color: var(--dusty-pink-color);
}
.social-link i {
  margin-bottom: 10px;
}
.social-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.social-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.dark .footer-container .social-link {
  color: #3f3f3f;
  text-decoration: none;
  font-family: var(--secondary-font-family);
  transition: color 0.3s ease;
}
.dark {
  padding-top: 0;
}
.footer-container .social-link:hover {
  color: black;
}
.work-email {
  text-decoration: none;
  color: black;
  font-family: var(--secondary-font-family);
  font-size: 18px;
  text-align: justify;
  transition: color 0.3s ease;
}
.work-email:hover {
  border: 1px solid white;
  color: black;
  border-radius: 10px;
}
.resume {
  text-decoration: none;
  color: var(--dusty-pink-color);
  font-family: var(--secondary-font-family);
  font-size: 18px;
  text-align: justify;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.resume:hover {
  color: rgb(255, 255, 255);
}

.email-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}

@media (max-width: 600px) {
  nav a {
    font-size: 16px;
    padding: 6px 10px;
  }

  nav ul {
    gap: 20px;
    padding: 10px;
  }
}
footer .darker {
  color: #3f3f3f;
  font-family: var(--secondary-font-family);
}

@media (max-width: 900px) {
  .project-description {
    text-align: center;
    padding: 0;
    background-color: #3f3f3f;
    color: white;
  }
  .container {
    background-color: #3f3f3f;
    border: none;
    padding-bottom: 5px;
  }
  .row {
    border-bottom: 1px solid var(--dusty-pink-color);
  }
  .btn-branding-secondary:hover {
    color: var(--dusty-pink-color);
  }
  h1 {
    font-size: 42px;
  }
  .character h2 {
    font-size: 16px;
  }
  .character h3 {
    font-size: 12px;
  }
  .character p {
    font-size: 20px;
  }
  p {
    font-size: 14px;
  }
  .into-row {
    flex-direction: column;
    text-align: center;
  }
  .into-row .col-lg-3,
  .into-row .col-lg-9 {
    width: 100%;
    margin-bottom: 20px;
  }
  .into-row p {
    border: none;
    font-family: var(--secondary-font-family);
    color: white;
    text-align: justify;
    padding: 0px !important;
    max-width: 100%;
  }
  img.img-fluid {
    max-height: 300px;
  }
  .character-about h1 {
    font-size: 46px;
  }
  .character-about h2 {
    font-size: 16px;
  }
  .character-about h3 {
    font-size: 12px;
  }

  .work-images h1 {
    font-size: 42px;
  }

  .work .project-block img.img-fluid {
    width: 90%;
    margin: 0 auto 20px;
  }
  .grid-work {
    grid-template-columns: 1fr;
  }
  .footer-container {
    padding: 0px !important;
    margin-top: 0px !important;
  }
  .social-row {
    padding-top: 5px;
  }
  footer {
    margin-top: 0px;
  }
}
@media (max-width: 1024px) and (min-width: 601px) {
  .img-work,
  img.img-fluid {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
  }

  .grid-work {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }
}
