/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  background-color: rgb(17, 29, 19);
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

p {
  color: rgb(161, 204, 165);
}

/* TRANSITION */

a,
.btn {
  transition: all 300ms ease;
}

/* DESKTOP NAV */

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

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

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}

a {
  color: rgb(161, 204, 165);
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: rgb(65, 93, 67);
}

.logo {
  color:rgb(161, 204, 165);
  font-size: 2rem;
}

.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;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  background-color: rgb(161, 204, 165);
  transition: all 300ms ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 300ms ease-in-out;
}

.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: rgb(161, 204, 165);
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

.menu-links a:hover {
  color : rgb(65, 93, 67)
}

.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;
}

/* SECTIONS */

section {
  padding-top: 4vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}

.section-container {
  display: flex;
}

/* PROFILE SECTION */

#profile {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5rem;
  height: 50vh;
}


/* PROJECTS SECTION */

#projects {
  position: relative;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-self: center;
  justify-content: start;
}

.project-container {
  position: relative;
  display: flex;
  justify-self: center;
  gap: 3rem;
  background: #415D43;
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-radius: 2rem;
  padding : 1.5rem;
  max-width: 50rem;
  align-items: center;
}

/* EXPERIENCE SECTION */

#experience {
  position: relative;
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  justify-self: center;
}

.experience-pic-container {
  display: flex;
  border-radius: 2rem;
  padding: 3rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.experience-img {
  justify-content: center;
  overflow: hidden;
  display: flex;
  border-radius: 1rem;
  max-width: 60%;
  background: none;
}

.experience-img-2 {
  justify-content: center;
  max-width: 100%;
  background: none;
}

/* CONTACT */

#contact {
  display: flex;
  justify-content: center;
}

.email-containter {
  padding-bottom: 10rem;
  display: flex;
  justify-content: center;
  justify-self: center;
  gap: 1rem;
}

.section__pic-container {

  display: flex;
  margin: auto 0;
}

.profile-img {
  border-radius: 50%;
}

.section__text {
  align-self: center;
  text-align: center;
  background: none;
}

.section__project__text {
  display: flex;
  flex-direction: column;
  width: 40%;
  align-self: center;
  justify-content: center;
  text-align: center;
  background: none;
  gap: 1rem;
}

.section__text p {
  font-weight: 600;
  background: none;
}


.section__text__p1 {
  text-align: center;
  font-size: medium;
  background: none;
}

.text_style_1 {
  color: #8ec291;
}

.section__text__p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  background: none;
}

.section__text__p3 {
  color: #111D13;
  text-align: center;
  font-size: medium;
  background: none;
}

.title {
  color: rgb(112, 151, 117);
  font-size: 3rem;
  text-align: center;
}

#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
  gap: 1rem;
  background: none;
}

/* ICONS */

.icon {
  cursor: pointer;
  height: 3rem;
  background: none;
  align-self: center;
}

.icon_clickable {
  transition: all 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon_clickable:hover {
  transform: scale(1.2);
}

/* BUTTONS */

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

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

.btn-color-1,
.btn-color-2 {
  border: rgb(161, 204, 165) 0.1rem solid;
  color: rgb(17, 29, 19)
}

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

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

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

.btn-color-2 {
  background: rgb(65, 93, 67);
}

.btn-color-2:hover {
  border: rgb(161, 204, 165) 0.1rem solid;
}

.btn-container {
  gap: 1rem;
}

.section__pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}


/* VIDEO */
video {
  justify-content: center;
  overflow: hidden;
  display: flex;
  border-radius: 1rem;
  background: black;
  max-width: 60%;
}

.clickable {
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.175, 0.885, 0.32, 1.275);;
}

.clickable:hover{
  transform: scale(1.05) translateX(-5px);
}

.expandable {
  margin: 1rem;
}