@import url("https://fonts.googleapis.com/css2?family=Marmelad&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");

* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Marmelad", sans-serif;
  overflow-x: hidden;
}
*,
html {
  scroll-behavior: smooth !important;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
}
p {
  color: rgb(85, 85, 85);
}
a,
.btn {
  transition: all 300ms ease;
}
.return {
  position: fixed;
  bottom: 20px;
  right: 0;
  width: 50px;
  margin: 20px;
}
/* Desktop-nav*/
nav,
.nav-links {
  display: flex;
}
nav {
  justify-content: space-between;
  align-items: center;
  height: 7vh;
  background-color: #efefef;
  padding-left: 45px;
  padding-right: 45px;
}
.nav-links {
  gap: 1.5rem;
  list-style: none;
  font-size: 1.5rem;
  justify-content: flex-end;
}
a,
p {
  color: #184332;
  text-decoration: none;
  text-decoration-color: white;
  font-family: "Roboto Condensed", sans-serif;
}
a {
  font-family: "Roboto Condensed", sans-serif;
}
a:hover {
  color: #39593c;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.9rem;
}
p:hover {
  cursor: default;
}
/* Hambuger 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: #39593c;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: none;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  color: #215c27;
}
.menu-links a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: #184332;
  text-decoration: none;
  transition: all 0.3s 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(5px, 5px);
}
.hamburger-icon.open span:nth-child(2) {
  transform: scaleX(0);
  opacity: 0;
}
.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -10px);
}
/* sections */
section {
  padding: 4vh;
  height: 96vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: fit-content;
}
.section-container {
  display: flex;
}
/* Color Blocks */
.color-split1 {
  display: flex;
  width: 100%;
  height: 450px;
  background-color: #efefef;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
}
.underline {
  display: flex;
  width: 100%;
  height: 2px;
  background-color: #000000;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0;
}
.underline,
.underline2 {
  justify-self: center;
}
.underline2 {
  width: 250px;
  background-color: #fe8e5c;
  height: 8px;
  justify-self: center;
  margin-left: 0;
  margin: auto;
  border-radius: 4px;
  margin-top: 10px;
}
.color-split1 p {
  margin-bottom: -5px;
}
.color-split2 {
  height: 10px;
  width: 100%;
  background-color: #f9a876;
  margin: 0;
}
/* Digital design txt */
.profesion-container {
  display: flex;
  font-size: 5rem;
  justify-content: flex-end;
  color: #184332;
}
.profesion-container div {
  display: flex;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
  width: 100%;
}
.profesion {
  display: flex;
  font-size: 2rem;
  justify-content: flex-start;
  color: #184332;
  padding-left: -85px;
  margin-left: 10%;
}
.section__text__p1 {
  justify-content: flex-start;
  padding-left: 25%;
  padding-top: 0;
  margin: 0;
}
/* profile section */
#profile {
  display: flex;
  justify-content: space-around;
  gap: 0;
  height: 800px;
  background-color: #ffdcc6;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: flex-start;
}

.section__pic-container {
  display: flex;
  height: 600px;
  width: 600px;
  flex-direction: column;
  justify-self: flex-start;
  align-self: top;
  margin-top: -7%;
  z-index: 4;
}
.section__pic-container1 {
  display: none;
  height: 600px;
  width: 600px;
  flex-direction: column;
  justify-self: flex-start;
  align-self: top;
  margin-top: -7%;
}
.section__text {
  align-self: top;
  align-items: flex-start;
}
.section__text p {
  font-weight: 600;
}
.section__text__p1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.section__text__p2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 175px;
  margin-top: 20px;
  word-spacing: normal;
}
.title,
.title2 {
  display: flex;
  font-size: 5rem;
  justify-content: flex-start;
  color: #184332;
  padding-left: -85px;
  margin-left: 10%;
}
#socials-container {
  display: flex;
  justify-self: center;
  margin-top: 1rem;
  gap: 1rem;
  padding-left: 175px;
}
/* title */
.section__text__title {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 20px;
  padding-left: 10px;
}
.section__text__title:hover {
  cursor: default;
}
.title2 {
  padding-left: 70px;
}
/* icons */
.icon:hover {
  cursor: pointer;
}
/* buttons */
.btn {
  height: 45px;
  width: 110px;
  color: #e1e1e1;
  background-color: #184332;
  border-radius: 22px;
  outline-color: #e1e1e1;
  margin-top: 1rem;
  margin-right: 0.3rem;
  font-weight: bold;
  border: none;
}
.btn-color-1 {
  margin-left: 170px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
}
.btn-color-1:hover {
  cursor: pointer;
  background-color: #4e6e51;
}
.return {
  background-color: none;
}
#top {
  height: 45px;
  width: 45px;
  color: #000000;
  border-radius: 22px;
  background-color: none;
  font-weight: bold;
  border: none;
  font-size: 2rem;
  align-items: bottom;
  z-index: 99 !important;
}
#top:hover {
  cursor: pointer;
  background-color: #a7a6a6;
  transition: all 0.3 ease;
}
#top img {
  margin: auto;
  padding-bottom: 7px;
}
.title2 {
  color: #184332;
}
/* About me */
#About {
  display: flex;
  height: 1405px;
  width: 100%;
  justify-content: center;
  margin: 0;
  background-color: #efefef;
  z-index: -1;
}
.about__title {
  display: flex;
  justify-content: center;
  font-size: 3rem;
  font-family: "Marmelad", sans-serif;
  font-weight: 800;
  width: 100%;
}
.about__content {
  display: flex;
  justify-content: space-around;
  margin: 5% 20%;
}
.about__content img {
  height: 525px;
  width: 400px;
  margin-left: 100px;
}
#About,
#Resume,
#Portfolio,
#Contact,
#profile,
#desktop-nav {
  scroll-behavior: smooth;
}
.about_text {
  padding-left: 2%;
  font-size: larger;
  white-space: normal;
}
.about1 img {
  position: absolute;
  bottom: -900;
  left: -300px;
  z-index: 0;
  height: -900px;
}
.about1_container {
  position: relative !important;
  width: 100% !important;
}
.about1 {
  position: absolute;
  bottom: -650px;
  left: -700px;
  z-index: 0;
  height: 1800px;
}
.about2_container {
  position: relative;
  width: 100% !important;
}
.about2 {
  position: absolute;
  top: -300px;
  right: -300px;
  z-index: 3;
  transform: scale(0.4);
}
.about2 img {
  height: 1000px;
}
/* physics objects */
#Physics_objects {
  height: 450px;
  width: 100%;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.ball {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  position: absolute;
  z-index: 3;
  align-items: center;
}
.section__text img {
  padding-left: 120px;
  padding-top: 1.5rem;
}
.spacer {
  height: 600px;
  width: 500px;
}
#bottomabout {
  height: 200px;
  width: 800;
  background-color: #fe8e5c;
  margin: 0;
  padding: 0;
  z-index: 2 !important;
}
#bottomabout img {
  margin: 0;
  padding: 0;
  margin-top: 0px;
  top: -500px;
  width: 2600px;
  transform: translate(00px, 190px);
}
.about_p {
  font-size: 2rem;
}
/* Resume-section */
#Resume {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: linear-gradient(to right, #ffdcc6 50%, #efefef 50%);
  padding: 0;
  margin: 0;
  padding-top: 150px;
  height: 1500px;
}
.Jobs-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#jobs {
  display: flex;
  width: 400px;
  height: 150px;
  border-radius: 20px;
  border-color: 4px solid #1c3a4b !important;
  color: #3d3f4e !important;
  justify-content: center;
  align-content: center;
  border-style: solid !important;
  padding: 25px;
  flex-direction: column;
  text-align: center;
  z-index: 3;
  transition: all 0.5s ease-in-out;
}
#jobs p {
  color: #3d3f4e;
  cursor: pointer;
  text-align: left;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}
#jobs:hover {
  background-color: #ffdcc6;
  cursor: pointer;
  border-color: #f9a876;
  transition: all 0.5s ease-in-out;
}
#expandedImg {
  transition: opacity 0.5s ease;
}
.left-resume {
  width: 50%;
  display: flex;
}
.Working_gallery {
  background-color: #ffffff !important;
  width: 1000px;
  height: 600px;
  border-style: outset;
  border-width: 3px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 2rem;
  padding-bottom: 12rem;
  justify-content: center;
}
.btn-container-2 {
  display: flex;
  justify-content: center;
}
.btn-color-2 {
  justify-self: center;
  z-index: 58;
  margin-top: 10%;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.75rem;
}
.btn-color-2:hover {
  cursor: pointer;
  background-color: #4e6e51;
}
/* Portfolio */
#Portfolio {
  display: flex;
  height: 1400px;
  width: 100%;
  justify-content: center;
  margin: 0;
  background-color: #efefef;
  z-index: -3;
  align-items: center;
}
.wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  background-color: #efefef;
  margin-top: -10rem;
  max-height: 1200px;
}
*::before,
*::after {
  box-sizing: border-box;
}
.wrapper img {
  max-width: 100%;
  display: block;
}
.Portfolio_item img {
  border-radius: 20px;
  object-fit: cover;
  width: 270px;
  height: 200px;
}
.Portfolio_item {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  margin: 0;
  background-color: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  max-height: 400px;
  max-width: 300px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-bottom: 0;
}
.img_opp {
  width: 2600px;
  margin: 0;
  padding: 0;
  margin-top: 0px;
  top: -500px;
  transform: translate(00px, -120px);
}
.Portfolio_container {
  margin-top: 0;
  background-color: #efefef !important;
  padding-top: 50px;
}
.Portfolio_item p {
  margin-top: 5px;
  margin-bottom: 10px;
}

/* Contact */
#contact {
  margin: 0;
  padding: 0;
  padding-top: 100px;
  background-color: #ffdcc6;
  height: auto;
}

.contact_title {
  padding-top: 1rem;
}

.body_container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding-top: 200px;
}

.left-contact,
.right-contact {
  max-width: 500px;
  font-size: 2rem;
}

.bottom_contact {
  display: block;
  width: 60%;
  height: 60%;
  margin-top: -700px;
  translate: 900px;
}
.socials_container {
  display: flex;
  justify-content: center;
}
#p1,
#p2,
#p3,
#p4,
#p5,
#p6,
#p7,
#p8 {
  cursor: pointer;
  transition: 0.3s;
}

#p1:hover,
#p2:hover,
#p3:hover,
#p4:hover,
#p5:hover,
#p6:hover,
#p7:hover,
#p8:hover {
  opacity: 0.6;
}

.modal {
  display: none;
  position: fixed;
  z-index: 50;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(53, 53, 53, 0.869);
}

.modal-content {
  margin: auto;
  display: block;
  width: 50%;
  max-width: 700px;
  justify-content: center;
}
.photos_cont {
  display: flex;
  max-width: 100%;
  flex-wrap: wrap;
  margin: 5%;
  justify-content: center;
  margin-top: 10px;
}
.photos_cont img {
  margin: 10px;
  min-width: 400px;
  min-height: 400px;
}
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #e6e6e6;
  padding: 10px 0;
  height: 150px;
  font-size: 3rem;
  margin-top: 80px;
}

.modal-content,
.photos_cont,
#caption {
  animation-name: zoom;
  animation-duration: 0.3s;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.close {
  position: fixed;
  top: 15px;
  right: 35px;
  color: #efeded;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
