@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins:wght@400;500;600&family=Ubuntu:wght@500&display=swap");

:root {
  --container-color: #21232c;
  /* --container-color: red; */
  --theme-color: #00cc8f;
  /* --theme-color: #f7b80c; */
  --theme-color-alt: #2ebe93;
  /* --theme-color-alt: #798b27; */
  --body-font: "Poppins", sans-serif;
  --body-color: rgba(0, 0, 0, 0.719);
  --title-color: #f1f3f2;
  --text-color: #9fada6;
  --normal-font: 1rem;
  --biggest-font: 2rem;
  --small-font: 0.76rem;
  --medium-font: 1.5rem;
  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --header-height: 3.3rem;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

input,
textarea,
button,
body {
  font-family: var(--body-font);
  font-size: var(--normal-font);
}
body {
  background-color: var(--body-color);
  color: var(--text-color);
  overflow-x: hidden !important;
}
input,
textarea,
button {
  outline: none;
  border: none;
}

a {
  text-decoration: none;
}
img {
  width: 100%;
  height: auto;
}
.w-100 {
  width: 100%;
}

.text-center {
  text-align: center;
}
.flex {
  display: flex;
}
.fd-column {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}
.justify-space-between {
  justify-content: space-between;
}
.justify-space-around {
  justify-content: space-around;
}
.align-items-center {
  align-items: center;
}
/* .container {
  min-width: 1124px;
  margin-inline: auto;
} */

.grid {
  display: grid;
  gap: 1.5rem;
}
.gap-2 {
  gap: 2rem;
}

.place-items-center {
  place-items: center;
}
section {
  padding: 5rem 2rem;
}
.section-subtitle,
.section-title {
  color: var(--title-color);
  font-weight: var(--font-medium);
}
.section-title {
  font-size: var(--biggest-font);
  color: var(--theme-color);
  /* margin-bottom: 1rem; */
}
.section-subtitle {
  font-size: var(--medium-font);
}
.section-subtitle span {
  color: var(--theme-color);
  margin-left: 0.25rem;
}

/* BUTTON */
.button {
  display: inline-block;
  max-width: 14rem;
  padding: 1rem 3rem;
  border-radius: 1rem;
  color: var(--title-color);
  font-weight: var(--font-medium);
  background-color: var(--theme-color-alt);
  transition: box-shadow 0.4s ease-in;
}
.button:hover {
  background-color: var(--theme-color);
  box-shadow: 0 2px 5px 2px var(--theme-color-alt);
}


/* header */
.header {
  height: var(--header-height);
  background-color: var(--container-color);
  padding: 3rem;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;  
  display: flex;
  justify-content: space-between;
}

/* blur-header class  */
.blur-header{
  background-color: transparent;
  backdrop-filter: blur(24px);
}

.name-container {
  font-size: var(--biggest-font);
}
.first-name {
  color: var(--title-color);
}

.last-name {
  color: var(--theme-color);
}
.nav-list {
  gap: 1.5rem;
  /* display: none; */
}

.nav-link {
  color: var(--title-color);
  font-size: var(--medium-font);
  font-weight: var(--font-medium);
}
.nav-link:hover {
  color: var(--theme-color);
}
.active {
  color: var(--theme-color);
}
.menu-closemenu {
  /* display: grid;
  place-items: center; */
  display: none;
}

.menu,
.close {
  font-size: var(--medium-font);
  font-weight: var(--font-medium);
  color: var(--title-color);
  display: none;
  
}
.close{
  position: fixed;
  right: 5rem;
}

/*hOME SECTION*/

.home {
  background-color: var(--container-color);
}
.home-container ,.about-container{
  column-gap: 5rem;
  padding: 0 3rem;
}

.home-content,
.home-image {
  width: 47%;
}

.education {
  color: var(--title-color);
  font-size: var(--medium-font);
  font-weight: var(--font-medium);
  margin-bottom: 1.7rem;
}
.description {
  margin-bottom: 4rem;
  margin-top: 2.5rem;
}

.social-links-container {
  margin-top: 3rem;
  display: flex;
  column-gap: 2rem;
}

.social-link-a {
  transition: transform 0.4s;
}

.social-link-a:hover {
  transform: translateY(-0.25rem);
}

.social-link {
  font-size: var(--medium-font);
  font-weight: var(--font-medium);
  padding: 1rem;
  color: var(--title-color);
  background-color: var(--theme-color);
  clip-path: polygon(0 24%, 50% 0, 100% 25%, 100% 75%, 51% 100%, 0 75%);
  cursor: pointer;
}

.home-image-container {
  height: 435px;
  width: 320px;
  background-color: var(--theme-color);
  clip-path: polygon(0 24%, 50% 0, 100% 25%, 100% 75%, 51% 100%, 0 75%);
  box-shadow: 0px 27px 46px 4px rgba(39, 139, 109, 0.79);
  display: grid;
  place-items: self-end;
}

.about-content,
.about-image {
  width: 47%;
}
.about-image{
  overflow-x: hidden;
}

.about-image-container {
  height: 435px;
  width: 320px;
  background-color: var(--container-color);
  /* border:.7rem solid var(--theme-color) ; */
  clip-path: polygon(0 24%, 50% 0, 100% 25%, 100% 75%, 51% 100%, 0 75%);
  box-shadow: 0px 27px 46px 4px rgba(39, 139, 109, 0.79);
  display: grid;
  place-items: self-end;
  position: relative;
}

/* skill-section */
.skill {
  background-color: var(--container-color);
}

.skill-content,
.skills-list {
  width: 47%;
}

.skills-list {
  grid-template-columns: repeat(auto-fit, minmax(5rem, 8rem));
  column-gap: 4rem;
  list-style: decimal-leading-zero;
}

.skills {
  color: var(--title-color);
  font-weight: var(--font-medium);
  text-transform: capitalize;
}
.skills::marker {
  color: var(--theme-color);
}

/* contact */

.contact-form {
  display: grid;
  gap: 2rem;
}

.contact-heading {
  margin-bottom: 1.88rem;
}

.contact-group {
  display: grid;
  gap: 2rem;
 grid-template-areas: "name email";
}

.contact-name{
  grid-area: name;
}
.contact-email{
  grid-area: email;
}
.contact-input {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  background-color: var(--container-color);
  color: var(--title-color);
}
.contact-input::placeholder {
  color: var(--title-color);
}

.contact-textarea {
  height: 11rem;
  resize: none;
  margin-bottom: 0.75rem;
}
.contact-button {
  margin-inline: auto;
}

/* footer  */
.footer {
  background-color: var(--container-color);
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-areas: "one two three";
  gap: 2rem;
}
.footer-items:nth-child(1) {
  grid-area: one;
}
.footer-items:nth-child(2) {
  grid-area: two;
}
.footer-items:nth-child(3) {
  grid-area: three;
  place-self: center;
}
.footer-items {
  place-self: center;
}
.footer-items p {
  color: var(--title-color);
}


/* media-query-css-work 
 */

 .displayBlock {
  display: block !important ;
}
.displayFlex {
  display: flex !important ;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  position: absolute;
  top: 0;
  right: 0;
  gap: 2rem;  
  background-color: var(--body-color);
  width: 50%;
  height: 100vh;
  padding: 3rem;
}
.displayNone {
  display: none !important ;
}