/* GENERAL */

@import url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro?styles=82961,82969,82963');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  text-decoration: none;
  list-style: none;
}


body {
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  background: #202217;
  color: white;
  width: 100%;
  height: 100vh;
}

html {
  scroll-behavior: smooth;
}
  
p {
  color: rgb(255, 255, 255);
}

/* TRANSITION */
  
a,
.btn {
  transition: all 300ms ease;
}
  
/* DESKTOP NAV */

.desktop-nav {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  padding: 32px 13%;
  justify-content: space-between;
}

nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 10vh;
}

.nav-links {
  gap: 4rem;
  list-style: none;
  font-size: 1rem;
}

a {
  color: white;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: .3rem;
  text-decoration-color: white;
  transition: transform 0.3s ease;
  transform-origin: 0% 100%;
}

.logo {
  font-size: 1.5rem;
}

.logo:hover {
  cursor: default;
}
  
/* HAMBURGER MENU */
  
#hamburger-nav {
  display: none;
}
  
.hamburger-menu {
  position: relative;
  display: inline-block;
}
  
.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
}
  
.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: white;
  transition: all 0.3 ease-in-out;
}
  
.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: transparent;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}

.menu-links li {
  list-style: none;
}
  
.menu-links.open {
  max-height: 300px;
}
  
.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}
  
.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}
  
.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}
  
.hamburger-icon span:first-child {
  transform: none;
}
  
.hamburger-icon span:first-child {
  opacity: 1;
}
  
.hamburger-icon span:first-child {
  transform: none;
}

/* SECTION */

section {
  padding: 90px 13% 80px;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 3rem;
  height: 90vh;
  padding-bottom: 250px;
}

.section__text h1 {
  font-size: 3rem;
  font-weight: 400;
  display: flex;
  color: #a83e0c;
}

.section__text p {
  font-size: 2rem;
  font-weight: 200;
}

.home-sci {
  position: absolute;
  bottom: 40px;
  width: 300px;
  display: flex;
  gap: .5rem;
}

.home-sci a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid white;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  transition: .8s;
}

.home-sci a:hover {
  color: white;
}

.home-sci a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #a83e0c;
  z-index: -1;
  transition: .8s;
}

.home-sci a:hover::before {
  width: 100%;
}
  
/* ICONS */
  
.icon {
  cursor: pointer;
  height: 2rem;
}

/* BUTTONS */

.btn-container {
  display: flex;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
  color: white;
}

.btn-color-1, 
.btn-color-2 {
  border: rgb(255, 255, 255) 0.1rem solid;
}

.btn-color-1:hover, 
.btn-color-2:hover {
  cursor: pointer;
}

.btn-color-1, 
.btn-color-2:hover {
  background: #a83e0c;
  color: white;
}

.btn-color-1:hover {
  background: rgb (0, 0, 0);
}

.btn-color-2 {
  background: none;
}

.btn-color-2:hover {
  border: rgb(255, 255, 255) 0.1rem solid;
  color: white;
}


/* ABOUT SECTION */

#about {
  position: relative;
  background-color: #8d785b;
  border-radius: 40px;
}

.section-container {
  gap: 2rem;
  height: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-title h1 {
  font-weight: 500;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.about-details-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: auto;
  height: max-content;
 
}

.about-details-container p {
  text-align: justify;
  font-size: .9rem;
  font-weight: 400;
  color: white;
  line-height: 1.6;
}

.about-pic {
  position: relative;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__pic-container {
  height: 200px;
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logos {
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
  padding: 60px 0;
  white-space: nowrap;
  position: relative;
}

.logos:before,
.logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #8d785b);
}

.logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #8d785b);
}

.logos:hover .logos-slide {
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  animation: 15s slide infinite linear;
}

.logos-slide img {
  height: 50px;
  margin: 0 20px;
}


/* PORTFOLIO SECTION */

#portfolio {
  display: flex;
  flex-direction: column;
}

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*  Architecture Portfolio */

.portfolio-logos {
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
  padding: 40px 0;
  white-space: nowrap;
  position: relative;
}

.portfolio-logos:before,
.portfolio-logos:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.portfolio-logos:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #202217);
}

.portfolio-logos:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #202217);
}

.portfolio-slide {
  display: inline-block;
  animation: 15s slide infinite linear;
}

.portfolio-slide img {
  height: 80px;
  margin: 0 20px;
}

/*  Graphic Design Portfolio */

.portfolio-logos-2 {
  overflow: hidden;
  margin: 0;
  box-sizing: border-box;
  padding: 40px 0;
  white-space: nowrap;
  position: relative;
}

.portfolio-logos-2:before,
.portfolio-logos-2:after {
  position: absolute;
  top: 0;
  width: 250px;
  height: 100%;
  content: "";
  z-index: 2;
}

.portfolio-logos-2:before {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), #202217);
}

.portfolio-logos-2:after {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #202217);
}

.portfolio-slide-2 {
  display: inline-block;
  animation: 15s slide infinite linear;
}

.portfolio-slide-2 img {
  height: 80px;
  margin: 0 20px;
}

.portfolio-pic {
  width: 30rem;
  border-radius: 5%;
  display: flex;
}

.portfolio_pic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
}

.portfolio-detail-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 3rem;
}

.portfolio-detail-container h1 {
  font-weight: 400;
}

.btn-container-portfolio {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
}

/* WORKS SECTION */

#works {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.section__text__p1, .section__text__h1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section__text__p1 {
  font-size: 1.5rem;
}

.section__text__h1 {
  color: #a83e0c;
  font-size: 2rem;
}

.works-containers {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
  align-items: center;
  justify-content: center;
}

.color-container {
  border-color: white;
}

.works-img {
  border-radius: 2rem;
  width: 90%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-title {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.works-btn {
  color: white;
  border-color: white;
}

.works-sub-title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-container-works {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONNECT SECTION */

#connect {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40vh;
}

.contact-info-upper-container {
  display: flex;
  margin-right: 20px;
  margin-left: auto;
  margin-bottom: 25px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.contact-info-item p {
  font-weight: 100;
}

.vertical-line {
  width: .5px;
  height: 100px;
  background-color: white;
  margin-right: 20px;
}

.contact-info-container {
  display: flex;
  align-items: left;
  flex-direction: column;
  gap: 0.5rem;
  margin: .5rem;
}

.contact-info-container h1 {
  font-size: 1rem;
  font-weight: 100;
}

.contact-title p {
  font-weight: 300;
  font-size: 1rem;
  justify-content: left;
}

.contact-title h1 {
  color: #a83e0c;
  font-size: 1.5rem;
  justify-content: left;
}

.contact-info-container p {
  font-weight: 400;
}

.home-sci-contact {
  display: flex;
  gap: .5rem;
}

.home-sci-contact a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid white;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  transition: .8s;
}

.home-sci-contact a:hover {
  color: white;
}

.home-sci-contact a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #a83e0c;
  z-index: -1;
  transition: .8s;
}

.home-sci-contact a:hover::before {
  width: 100%;
}

/* FOOTER SECTION */

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 2rem 9%;
  background-color: #8d785b;
  border-radius: 40px;
}

.footer-text p {
  font-size: .9rem;
  color: white;
}

.footer-icontop a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: #8d785b;
  border-radius: 3rem;
  z-index: 1;
  overflow: hidden;
}

.footer-icontop a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: white;
  z-index: -1;
  transition: .8s;
}

.footer-icontop a:hover::before {
  width: 100%;
}

.footer-icontop a i {
  font-size: 2rem;
  color: white;
  transition: .8s;
}

.footer-icontop a:hover i {
  color: black;
}



