@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto+Mono:wght@300;500&family=Poppins:wght@600&display=swap");
:root {
  --primary-color: #E4797F;
  --secondary-black: #26221F;
  --secondary-tan: #f4a460;
  --body-bg: #ffefd5;
}
/* global styles */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  text-decoration: none;
}
html {
  font-family: "Roboto Mono";
  font-size: 10px;
  scroll-behavior: smooth;
}
body {
  background-color: #F7F2EF;
  padding-top: 35px;
}
img {
  width: 100%;
  height: 100%;
}
a {
  color: #000000;
  text-decoration: none;
}
p {
  font-size: 1.5rem;
  color: var(--secondary-black);
}
.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1000px;
}
.primary-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.8rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
}
#hero .left .buttons svg {
  width: 50px;
  color: var(--primary-color);
}
#hero .left .buttons .primary-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.8rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
}
.section-heading {
  font-size: clamp (2rem, 10vw, 8rem);
}
.section-heading {
  text-transform: uppercase;
  font-family: "Roboto Mono";
  font-size: 50px;
  letter-spacing: 0.2rem;
  text-align: center;
  position: relative;
  margin-bottom: 10rem;
}
.section-heading::before {
  content: attr(data-outline);
  position: absolute;
  left: 2%;
  top: -20%;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-family: helvetica;
  font-size: 50px;
  letter-spacing: 0.2rem;
  color: transparent;
  -webkit-text-stroke: 1.5px #E4797F;
  z-index: -1;
}
.buttons .primary-btn .outline {
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  border: 2px solid #E4797F;

}
/*Nav section */
#navigation {
	position: fixed;
	right: 50px;
	height: auto;
	top: 20px;
	z-index: 100;
}
#navigation .nav-icon {
	width: 50px;
	height: 50px;
	margin: 0 auto;
	margin-right: 0;
	cursor: pointer;
	background-color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
}
#navigation .nav-icon svg {
	width: 80%;
	color: white;
}
#nav-content {
	position: fixed;
	right: 0;
	width: 80%;
	max-width: 800px;
	height: 100%;
	z-index: 100;
	background-color: #E4797F;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	transform: translateX(100%);
	transition: 0.3s ease transform;
}
#nav-content.show {
	transform: translateX(0);
	box-shadow: -6px 0px 29px 7px gray;
}
#nav-content .section-heading {
	text-align: left;
}
#nav-content .section-heading::before {
	content: 'Menu';
	text-align: left;
	-webkit-text-stroke: 1.5px #E4797F;
}
#nav-content .wrapper {
	width: 70%;
	position: relative;
}
#nav-content ul {
	list-style: none;
	text-align: left;
}
#nav-content ul li {
	margin-bottom: 2rem;
}
#nav-content ul li a {
	display: inline-block;
	width: 100%;
	color: white;
	font-size: 5rem;
	font-family: 'Montserrat';
	/* position: relative; */
}
#nav-content ul li a::after {
	content: attr(data-text);
	pointer-events: none;
	position: absolute;
	right: -150px;
	bottom: 30%;
	width: 100%;
	color: transparent;
	-webkit-text-stroke: 1.5px white;
	opacity: 0;
	transition: 0.3s ease;
	transition-property: opacity, transform;
	z-index: -1;
	text-align: center;
	transform: rotate(90deg) scale(3);
}
#nav-content ul li a:hover::after {
	opacity: 1;
	transform: scale(3) translateY(10px) rotate(90deg);
}
#nav-content .close-btn {
	position: absolute;
	left: 10px;
	top: 10px;
	color: white;
	width: 40px;
	height: 40px;
	background-color: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	cursor: pointer;
	transition: 0.3s ease background-color;
}
#nav-content .close-btn:hover {
	background-color: crimson;
}
#nav-content .close-btn svg {
	width: 80%;
}
@media only screen and (max-width: 768px) {
	#navigation {
		right: 10px;
		top: 10px;
	}
	#nav-content nav ul li a::after {
		display: none;
	}
	#nav-content .section-heading {
		text-align: right;
		margin-bottom: 5rem;
	}
	#nav-content .section-heading::before {
		text-align: right;
	}
	#nav-content nav ul {
		text-align: right;
	}
	#nav-content nav ul li a {
		font-size: 2.5rem;
	}
	#nav-content .wrapper {
		width: 90%;
	}
}

/*hero section*/
#hero {
  height: 100vh;
  width: 100%;
  padding-top: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
#hero .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
#hero .container .left {
  flex: 8;
}
#hero .left .subheading {
  font-size: 1.9rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--primary-color);
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1s;
}

#hero .left .heading {
  font-size: 6rem;
  font-family: "Montserat", sanserif;
  font-weight: 900;
}
#hero .left .heading .wrapper {
  display: inline-block;
  overflow: hidden;
}
#hero .left .heading .wrapper span {
  position: relative;
  bottom: -70px;
  animation: reveal 1s ease-in-out forwards;
}
@keyframes reveal {
  0% {
    bottom: -70px;
  }
  100% {
    bottom: 0;
  }
}
@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#hero .left .desc {
  margin-top: 2.6rem;
  max-width: 400px;
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1s;
}
#hero .left .buttons {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}
#hero .left .buttons {
  opacity: 0;
  animation: fade 0.3s ease-in forwards;
  animation-delay: 1s;
}
#hero .right {
  text-align: right;
}

#hero .right img {
  width: 100%;
  max-width: 450px;
  height: 600px;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: 13px;
}
@media only screen and (max-width: 768px) {
  html {
    font-size: 9px;
  }
  #hero .container {
    flex-direction: column-reverse;
  }
  #hero .container .right {
    text-align: center;
    flex: 1;
    margin-bottom: 2rem;
  }
  #hero .container .right img {
    width: 100%;
    height: 500px;
  }
  #hero .container .left {
    text-align: center;
    padding-right: 0;
    flex: 1;
    height: fit-content;
  }
  #hero .left .buttons {
    justify-content: center;
  }
  #hero .container .left .heading {
    font-size: 4rem;
    margin: 0 auto;
  }
  #hero .container .left .desc {
    margin: 0 auto;
    margin-top: 2rem;
  }
  @media only screen and (max-width: 950px) {
    #hero .container .right {
      flex: 6;
    }
  }
}
/*Services section*/

#services {
  padding: 20rem 0;
}
#services .all-items {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
}
#services .item {
  padding: 1.5rem;
  border-radius: 12px;
  transition: 0.4s ease background-color;
}
#services .item:nth-child(1) {
  background-color: rgb(253 220 201 / 90%);
}
#services .item:nth-child(2) {
  background-color: rgb(253 220 201 / 90%);
}
#services .item:nth-child(3) {
  background-color: rgb(253 220 201 / 90%);
}
#services .item:nth-child(4) {
  background-color: rgb(253 220 201 / 90%);
}


#services .item .icon {
  width: 50px;
  height: 50px;
  padding: 0.8rem;
  /* background-color: burlywood;*/
  border-radius: 50%;
  margin-bottom: 1rem;
}
#services .item-heading {
  font-weight: 500;
  font-size: 2rem;
  font-family: helvetica, sanserif;
  margin-bottom: 1.5rem;
  color: saddlebrown;
}
#services .item-desc {
  color: var(--secondary-black);
  text-align: justify;
}
/*#services .item:nth-child(1) .icon {
    background-color: rgb(255 222 173);
}
#services .item:nth-child(2) .icon {
    background-color: rgb(255 222 173);
}
#services .item:nth-child(3) .icon {
    background-color: rgb(255 222 173);
}*/

@media only screen and (max-width: 768px) {
  #services .all-items {
    flex-direction: column;
    text-align: justify;
  }
  #services .item .icon {
    margin: 0 auto;
    margin-bottom: 1rem;
    align-items: center;
  }
  #services .item {
    margin: 2rem 0;
  }
  #services .item:nth-child(1) {
    background-color: rgb(253 220 201 / 90%);
  }
  #services .item:nth-child(2) {
    background-color: rgb(253 220 201 / 90%);
  }
  #services .item:nth-child(3) {
    background-color: rgb(253 220 201 / 90%);
  }
  #services .item:nth-child(4) {
    background-color: rgb(253 220 201/ 90%);
}
}
/*skill section*/

#skills .item {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 2rem;
}
#skills .item:nth-child(even) {
  flex-direction: row-reverse;
}
#skills .item .left {
  flex: 1;
}
#skills .item .right {
  flex: 1;
  margin-left: -100px;
  background-color: rgb(253 233 222/ 80%);
  padding: 5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px gray;
  z-index: 2;
  margin-top: 0;
}
#skills .item:nth-child(even) .right {
  margin-left: 0;
}
#skills .item:nth-child(even) .left {
  margin-left: -150px;
}
#skills .item .left .img {
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 20px gray;
  position: relative;
}

#skills .item .left .img::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-color: none;
}
#skills .item .left img {
  object-fit: cover;
  transition: 0.3s ease transform;
  border-radius: 15px;
  height: 100%;
  width: 100%;
}
#skills .item:hover .left .img img {
  transform: scale(1.1);
  z-index: 1;
}
#skills .item .right .skill-title {
  font-size: 2.2rem;
  font-family: "Roboto Mono";
  margin-bottom: 1rem;
  color: saddlebrown;
  text-align: center;
}
#skills .item .right .skill-sub-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}
#skills .item .right .skill-desc {
  color: var(--secondary-black);
  margin-bottom: 1rem;
  margin-top: 1rem;
  text-align: justify;
}

@media only screen and (max-width: 768px) {
  #skills .item {
    flex-direction: column;
  }
  #skills .item .left {
    width: 100%;
  }
  #skills .item .right {
    width: 90%;
    margin-left: 0;
    margin-top: -60px;
  }
  #skills .item:nth-child(even) {
    flex-direction: column;
  }
  #skills .item:nth-child(even) .left {
    margin-left: 0;
  }
}
 

/*About section*/

#about {
  padding: 15rem 0;
}
#about .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}
#about .left {
  padding: 2rem;
  text-align: center;
}
#about .left .card {
  box-shadow: 0px 0px 30px gray;
  padding: 3rem;
  border-radius: 12px;
  min-height: 50px;
  max-width: 100x;
  background-color: #f5fffa;
}
#about .left .card .img {
  width: 70px;
  height: 70px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 2rem;
}
#about .left .card .img img {
  object-fit: cover;
}
#about .left .card-desc {
  color: var(--secondary-black);
  margin-bottom: 2rem;
}
#about .left .card .card-name {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}
#about .left .card .card-sub-title {
  font-size: 1.6rem;
}
#about .subheading {
  color: var(--secondary-black);
  margin-bottom: 1rem;
  font-size: 18px;
}
#about .rigth .slogan {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}
#about .right .right-text {
  color: var(--secondary-black);
  text-align: justify;
  margin-right: 30px;
  margin-left: 30px;
}
#about .buttons .outline {
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  border: 2px solid #E4797F;
}

@media only screen and (max-width: 768px) {
  #about .wrapper {
    flex-direction: column-reverse;
    text-align: center;
  }
  #about .right .buttons {
    flex-direction: column;
  }
  #about .right .buttons {
    width: 100%;
    text-align: center;
  }
}

/*Footer*/

#footer {
  background-color: #E4797F;
  color: white;
  padding: 10rem 0 5rem 0;
}
#footer footer {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
#footer footer .col-1 {
  flex: 3;
}
#footer footer .col-2,
#footer footer .col-3 {
  flex: 2;
}
#footer footer .col-4 {
  flex: 1;
}
#footer footer .col-1 .logo img {
  max-width: 150px;
  margin-bottom: 2rem;
  border-radius: 50px;
}
#footer footer .col-1 p {
  color: white;
}
#footer footer .column-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5em;
}
#footer footer ul {
  list-style: none;
}
#footer footer ul li a {
  display: inline-block;
  width: 100%;
  color: white;
  font-size: 1.5rem;
  padding: 0.7rem;
}
#footer footer ul li:hover a {
  color: white;
}
#footer footer ul li:hover {
  background-color: gray;
  border-radius: 4px;
}
#footer footer .col-4 ul {
  display: flex;
  flex-wrap: wrap;
}
#footer footer .col-4 ul li a {
  min-width: 50px;
}
@media only screen and (max-width: 768px) {
  #footer footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  #footer .col-1,
  #footer .col-2,
  #footer .col-3,
  #footer .col-4 {
    width: 100%;
    margin-bottom: 3rem;
  }
  #footer footer .col-4 ul {
    width: fit-content;
    margin: 0 auto;
  }
}
/*copyright*/

#copyright {
  padding: 1rem 0;
  background-color: #D9C3B8;
}
#copyright p {
  color: black;
  margin: 1rem;
  font-size: 1.4rem;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  #copyright p {
    text-align: center;
  }
}
#imahe .section-heading{
  margin-top: 2rem;
}
#imahe .B {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 2rem;
}
.column {
  float:left;
  width:33.33%;
  padding: 4px; 
  margin: auto 0;
}
.row::after {
  content: "";
  display: table;
  clear: both;
  align-items: center;
}

#imahe .C {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

.right .buttons .line {
  width: 80px;
  height: 40px;
  display: inline-block;
  font-size: 1.7rem;
  padding: 0.7rem 1.6rem;
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  border: 2px solid #E4797F;
  
}

.right .buttons .primary-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.8rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;

}

  