@import url('https://fonts.googleapis.com/css2?family=Katibeh&display=swap');

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

body {
    font-family:  "Katibeh", serif;
    font-weight: 400;
    line-height: 1.6;
    font-style: normal;
    color: rgb(85, 85, 85);
}

html {
  scroll-behavior:smooth;
}

.title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  color: black;
}

.section__text__p1 {
  text-align:center;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section__text__p2 {
  font-size:1.25rem;
  margin-bottom:1rem;
  text-align: center;
  color: black;
}

section {
  padding:2rem 1rem;
  width: 100%;
}
#desktop-nav {
  display: none;
}
/* hamburger menu */
#hamburger-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  height: 10vh;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
}

.hamburger-menu {
  position: relative;
}

.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: black;
  transition: all 0.3s ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  width: 200px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.menu-links li {
  list-style: none;
}

.menu-links.open {
  max-height: 300px;
  padding: 1rem 0;
}

.menu-links a {
  display: block;
  padding: 0.75rem 1rem;
  text-align: center;
  font-size: 1.2rem;
  color: black;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

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: black;
  text-decoration: none;
  text-decoration-color: white;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 1rem;
  text-decoration-color: rgb(181, 181, 181);
}

.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-container {
  display:flex;
}

#profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  min-height: 80vh;
  justify-content: center;
}

.about-pic-container {
  flex-shrink: 0;
}

.about-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.section__pic-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: auto 0;
}

.section__text {
  max-width: 100%;
}

.section__text h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0;
  color: black;
  text-align: center;
  align-self: center;
}

.section__text p {
  font-weight:600;
}

/* icon */
.icon {
  cursor:pointer;
  height:2rem;
}

/* buttons */
.btn-container {
  display:flex;
  justify-content: center;
  gap:1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.btn {
  font-weight:600;
  transition: all 300ms ease;
  padding:0.75rem 1.5rem;
  border-radius: 2rem;
  background: white;
  color: black;
  cursor: pointer;
  font-size: 1rem;
  min-width: 120px;
}

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

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

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}
.about-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
  width: 100%;
}
.codeclan-pic-container {
  width: 100%;
  max-width: 300px;
}
.codeclan-pic {
  width:100%;
  height:auto;
  border-radius: 2rem;
}
.about-text-container {
  width: 100%;
}
.about-text {
  line-height: 1.6; 
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.skills-section {
  width: 100%;
  text-align: center;
}
.skills-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: black;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.2rem;
  justify-items: center;
  max-width: 300px;
  margin: 0 auto;
}
.skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.skill-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.section__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  gap: 3rem;
  top: 2rem;
}
.section__content > div {
  margin: 5px;
  flex: 0 0 calc(100% - 10px);
  text-align: center;
}

.details-container {
  display:flex;
  flex-direction: column;
}
.details-text-container{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  height: 100%; 
  padding:10px;
}
.project-text{
  width:100%;
  text-align: left;
  margin: 0;
  font-size:1.1rem;
  color: black;
  font-family: "Katibeh", serif;
}
.project-title {
  margin: 0;
  text-align: left;
  position: static;
	bottom: 10px;
  font-size: 1.5rem;
  font-family: "Katibeh", serif;
  color: black;
}

.details-img-container{
  flex:1;
}
.project-img {
  width:100%;
  height:100%;
}

.section-container{
  gap:5rem;
  height:80%;
}

/* experience section */
#experience {
  position: relative;
  height:fit-content;
  overflow: hidden;
  margin:0;
  padding: 0;
  padding-top: 4vh;
}

/* project section */
#projects{
  position: relative;
  margin:0;
  overflow:hidden;
  padding-top: 4vh;
  padding-bottom: 0;
}
.project-button-container{
  display: flex; 
  flex-direction: column;
}
.project-button {
  background-color: #fff;
  border:none;
  width:100%;
  cursor:pointer;
  position:relative;
}
.project-button:hover {
  background-color: #DBE5E8;
}

.color-container {
  border-color: rgb(163, 163, 163);
  background: rgb(250, 250, 250);
}

.project-background{
  height:100%;
  width:100%;
}

.projects-description {
  margin-bottom: 0.5rem;
}

/* contact */
#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height:80vh;
}

.contact-info-upper-container {
  display:flex;
  justify-content:center;
  border-radius:2rem;
  border: rgb(53,53,53) 0.1rem solid;
  border-color: rgb(163,163,163);
  background:(250,250,250);
  margin:2rem auto;
  padding:0 auto;
}

.contact-info-container {
  display:flex;
  align-items:center;
  justify-content: center;
  gap:0.5rem;
  margin:1rem;
}

.contact-info-container p {
  font-size:larger;
}

.contact-icon {
  cursor:default;
}
.email-icon {
  height:2.5rem;
}

.container {
  display: flex;
  flex-wrap: wrap;
}

.container > div {
  padding: 20px;
  color: #fff;
  margin: 5px;
  flex: 0 0 calc(100% - 10px);
  text-align: center;
  font-size: 30px;
}

footer {
  display: none;
}

footer p {
  text-align: center;
}

