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

html {
  font-size: 62.5%;
}

body {
  font-family: "Rubik", sans-serif;
  line-height: 1;
  font-weight: 500;
}

h2 {
  font-size: 5rem;
}

a {
  display: block;
  text-decoration: none;
}

.section-home, .section-portfolie {
  background-color: #F5EDE2;
  overflow: hidden;
}

.section-about, .section-contact {
  background-color: #8DB5AD;
  overflow: hidden;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 8.5rem;
  background-color: rgba(245, 237, 226, 0.8980392157);
  position: relative;
}
.header .logo {
  width: 7rem;
  margin-right: 2rem;
}
.header .main-nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.header .main-nav-link {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #E93119;
  position: relative;
}
.header .main-nav-link::after {
  content: "";
  position: absolute;
  border-bottom: 2px solid #ED6335;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 0;
  transition: 0.5s;
  margin: auto;
}
.header .main-nav-link:hover::after {
  right: 0;
}

/* STICKY NAVIGATION */
.sticky .header {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 8rem;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 999;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.03);
}

.sticky .section-home {
  margin-top: 9.6rem;
}

.btn-mobile-nav {
  cursor: pointer;
  background: none;
  border: none;
  padding: 2.8rem 0;
  display: none;
  position: absolute;
  top: 0;
  right: 5rem;
}

.fa-bars, .fa-xmark {
  color: #E93119;
}

.fa-xmark {
  display: none;
}

.section-home {
  background-color: #F5EDE2;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}
.section-home .bling {
  width: 80%;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%;
  left: 0;
  margin: auto;
}
.section-home .home {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  grid-template-rows: 550px;
  grid-template-areas: ". txt . img";
  margin: auto;
}
.section-home .home-txt, .section-home .home-img {
  align-self: center;
}
.section-home .home-txt {
  grid-area: txt;
}
.section-home .home-txt h2 {
  font-size: 6rem;
  color: #ECAE7D;
}
.section-home .home-txt span {
  font-size: 5.6rem;
  color: #E93119;
}
.section-home .home-txt-portfolio-box {
  font-size: 2.2rem;
  width: 25rem;
  color: #026D81;
  border: 2px solid #026D81;
  border-radius: 100px;
  text-align: center;
  margin-top: 2.5rem;
  padding: 0.5rem;
}
.section-home .home-img {
  grid-area: img;
  position: absolute;
  right: 0;
}

.section-about .about {
  padding: 8.5rem 0 20rem;
}
.section-about .about-title {
  text-align: center;
  margin-bottom: 10rem;
  color: #026D81;
}
.section-about .about-container {
  display: grid;
  grid-template-columns: 50fr 50fr;
  align-items: center;
  position: relative;
}
.section-about .about-container::after {
  content: "";
  position: absolute;
  width: 100%;
  background-color: #064B72;
  top: 0;
  bottom: 0;
}
.section-about .about-container-pic {
  width: 50%;
  margin: auto;
  z-index: 1;
  position: relative;
}
.section-about .about-container-pic .mypic {
  width: 80%;
  border-radius: 3.5rem;
}
.section-about .about-container-pic::after {
  content: "";
  position: absolute;
  width: 90%;
  height: 120%;
  background-color: #064B72;
  top: -10%;
  bottom: 0;
  left: -5%;
  right: 0;
  z-index: -1;
  border-radius: 3.5rem;
}
.section-about .about-container-txt {
  width: 85%;
  position: relative;
  z-index: 1;
  font-size: 3rem;
  color: #8DB5AD;
}
.section-about .about-container .top {
  width: 13rem;
  height: 13rem;
  z-index: 2;
  position: absolute;
  left: 0;
  top: -8rem;
}
.section-about .about-container .bottom {
  width: 12rem;
  height: 12rem;
  transform: rotate(11deg);
  z-index: 1;
  position: absolute;
  bottom: -8rem;
  right: 1rem;
}

.section-portfolie {
  padding-bottom: 50rem;
}
.section-portfolie .portfolie {
  display: grid;
  grid-template-columns: 4rem repeat(3, 1fr);
  gap: 5rem;
  position: relative;
}
.section-portfolie .portfolie-title {
  color: #E93119;
  margin: 10rem 0 0 10rem;
}
.section-portfolie .portfolie-item {
  width: 100%;
  font-size: 2.5rem;
  padding: 1.5rem 1rem 0rem;
  margin-bottom: auto;
  position: relative;
}
.section-portfolie .portfolie-item a {
  color: #ED6335;
}
.section-portfolie .portfolie-item-txt p {
  margin: 1.5rem 0;
  font-size: 2rem;
}
.section-portfolie .portfolie-item-img-box {
  width: 100%;
  box-shadow: 3px 3px 10px #fde7c8;
  border-radius: 5px;
  overflow: hidden;
}
.section-portfolie .portfolie-item .portfolie-item-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  vertical-align: middle;
  transition: all 0.4s ease;
}
.section-portfolie .portfolie-item:hover .portfolie-item-img-box img {
  transform: scale(1.1);
}
.section-portfolie .portfolie-item::before {
  content: "";
  position: absolute;
  border-top: 0.2rem solid #ED6335;
  inset: 0;
  margin: 0 1rem;
}
.section-portfolie .portfolie-item:nth-child(2) {
  transform: translateY(45rem);
}
.section-portfolie .portfolie-item:nth-child(3) {
  transform: translateY(35rem);
}
.section-portfolie .portfolie-item:nth-child(4) {
  transform: translateY(25rem);
}
.section-portfolie .portfolie-item-txt {
  position: relative;
}
.section-portfolie .portfolie-item-txt h3 {
  margin-bottom: 0.5rem;
}
.section-portfolie .portfolie-item-txt .fa-arrow-up {
  width: 5rem;
  height: 5rem;
  color: #000;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 0;
  background-color: #026D81;
  border-radius: 50%;
  padding: 1.4rem;
}
.section-portfolie .portfolie-icon {
  width: 15rem;
  position: absolute;
  bottom: -120%;
  right: 5%;
}
.section-portfolie .portfolie-icon .retroHeart {
  width: 100%;
  vertical-align: middle;
}

.section-contact {
  padding: 10rem 0;
}
.section-contact .title {
  color: #026D81;
  text-align: center;
  padding-bottom: 10rem;
}
.section-contact .contact {
  display: flex;
  gap: 8rem;
  justify-content: center;
  align-items: center;
}
.section-contact .contact-info, .section-contact .contact-pic {
  width: 30%;
  height: 50rem;
  padding: 20rem;
  border-radius: 60px;
}
.section-contact .contact-info {
  position: relative;
  border: 1px solid #C06A1F;
  font-size: 2.2rem;
}
.section-contact .contact-info .txt {
  width: 80%;
  position: absolute;
  left: 0;
  top: 5rem;
  bottom: 0;
  right: 0;
  margin: 3rem auto;
  list-style: none;
  line-height: 2.5;
}
.section-contact .contact-info .txt a {
  display: inline-block;
  color: #026D81;
}
.section-contact .contact-info .txt .phone, .section-contact .contact-info .txt .linkedin, .section-contact .contact-info .txt .email, .section-contact .contact-info .txt .github {
  width: 100%;
  border-radius: 50px;
  padding-left: 1rem;
  margin: 2.5rem 0;
}
.section-contact .contact-info .txt .phone, .section-contact .contact-info .txt .linkedin {
  background-color: #E6AF3F;
}
.section-contact .contact-info .txt .email, .section-contact .contact-info .txt .github {
  background-color: #82914B;
}
.section-contact .contact-info i {
  display: inline;
}
.section-contact .contact-pic {
  position: relative;
  background-color: #026D81;
}
.section-contact .contact-pic .envelope {
  position: absolute;
  width: 55%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}
.section-contact .contact-pic .stamp {
  width: 25%;
  position: absolute;
  top: 3rem;
  right: 3rem;
}

footer {
  background-color: #E69C9D;
  color: #C06A1F;
  text-align: center;
  font-size: 1.4rem;
  padding: 2rem 0;
}

/**************************/
/* RESPONSIVE DESIGN */
/**************************/
@media (max-width: 84em) {
  .section-contact {
    gap: 5rem;
  }
  .section-contact .contact-info {
    font-size: 2rem;
  }
}
@media (max-width: 75em) {
  .section-home .bling {
    width: 100%;
  }
  .section-portfolie .portfolie-item {
    font-size: 2.3rem;
  }
  .section-portfolie .portfolie-item-txt .fa-arrow-up {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.8rem;
  }
  .section-contact .contact {
    gap: 2rem;
  }
  .section-contact .contact-info, .section-contact .contact-pic {
    width: 30%;
  }
  .section-contact .contact-info {
    font-size: 1.8rem;
  }
  .section-contact .contact-pic .stamp {
    width: 20%;
  }
}
@media (max-width: 59em) {
  h1 {
    font-size: 4rem;
  }
  .header .btn-mobile-nav {
    display: block;
    z-index: 2;
  }
  .header .btn-mobile-nav .fa-solid {
    font-size: 3rem;
  }
  .header .main-nav {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(245, 237, 226, 0.8980392157);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .header .main-nav-list {
    flex-direction: column;
  }
  .header .main-nav-link {
    line-height: 2;
    font-size: 2.5rem;
  }
  .header .main-nav-link::after {
    border-bottom: 5px solid #ED6335;
    border-radius: 200px;
  }
  .header.nav-open .main-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
  }
  .header.nav-open .fa-bars {
    display: none;
  }
  .header.nav-open .fa-xmark {
    display: block;
  }
  .section-home .home-txt h2 {
    font-size: 5rem;
  }
  .section-home .home-txt span {
    font-size: 4.7rem;
  }
  .section-home .home-txt-portfolio-box {
    font-size: 2rem;
  }
  .section-about .about-container-txt {
    font-size: 2rem;
  }
  .section-about .about-container .top {
    width: 9rem;
    height: 9rem;
    top: -6.5rem;
  }
  .section-about .about-container .bottom {
    width: 8rem;
    height: 8rem;
    bottom: -4.5rem;
  }
  .section-portfolie .portfolie {
    grid-template-columns: 1fr;
  }
  .section-portfolie .portfolie-item {
    width: 80%;
    margin: auto;
  }
  .section-portfolie .portfolie-item:nth-child(n) {
    transform: translateY(0);
  }
  .section-portfolie .portfolie-item:nth-child(n+1) {
    margin-top: 3rem;
  }
  .section-portfolie .portfolie-item .fa-arrow-up {
    transform: rotate(180deg);
    padding: 0.6rem 0.8rem;
  }
  .section-portfolie .portfolie-icon {
    position: absolute;
    bottom: -30rem;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }
  .section-contact .contact {
    gap: 1rem;
  }
  .section-contact .contact-info, .section-contact .contact-pic {
    width: 10%;
    height: 38rem;
    padding: 17rem;
  }
  .section-contact .contact-info {
    font-size: 1.4rem;
  }
  .section-contact .contact-info .txt {
    margin: 0 auto;
  }
}
@media (max-width: 44em) {
  .header .btn-mobile-nav .fa-solid {
    font-size: 3.2rem;
  }
  .header .logo {
    width: 6rem;
  }
  .section-home .bling {
    display: none;
  }
  .section-home .home-txt h2 {
    font-size: 4.3rem;
  }
  .section-home .home-txt span {
    font-size: 4.1rem;
  }
  .section-about .about-container {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  .section-about .about-container::after {
    width: 50%;
    height: 120%;
    right: 0;
    left: 0;
    margin: auto;
    border-radius: 3.5rem;
  }
  .section-about .about-container-pic {
    width: 40%;
  }
  .section-about .about-container-pic::after {
    display: none;
  }
  .section-about .about-container-pic .mypic {
    width: 100%;
  }
  .section-about .about-container-txt {
    margin: auto;
    width: 35%;
    font-size: 1.8rem;
  }
  .section-portfolie .portfolie-item {
    font-size: 2rem;
  }
  .section-portfolie .portfolie-icon {
    width: 15rem;
  }
  .section-contact .contact {
    display: grid;
    gap: 0.5rem;
    position: relative;
  }
  .section-contact .contact-pic {
    background-color: transparent;
  }
}
@media (max-width: 34em) {
  .header .btn-mobile-nav .fa-solid {
    font-size: 3.5rem;
  }
  .section-home .home-txt h2 {
    font-size: 3rem;
  }
  .section-home .home-txt span {
    font-size: 2.8rem;
  }
  .section-home .home-txt-portfolio-box {
    font-size: 1.4rem;
    width: 16rem;
  }
  .section-home .home-img img {
    width: 10rem;
  }
  .section-about .about-container-txt {
    font-size: 1.5rem;
  }
  .section-about .about-container .top {
    width: 8rem;
    height: 8em;
    top: -6rem;
  }
  .section-about .about-container .bottom {
    width: 7rem;
    height: 7rem;
    bottom: -4rem;
  }
  .section-portfolie .portfolie {
    font-size: 1.8rem;
  }
  .section-portfolie .portfolie-item-txt .fa-arrow-up {
    width: 3rem;
    height: 3rem;
    padding: 0.6rem;
  }
}

/*# sourceMappingURL=style.css.map */
