
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
  overflow-anchor: none;
}

p{
  font-size: 1.1rem;
  letter-spacing: 0.9px;
  line-height: 1.55rem;
  font-weight: 500;
}

/* Animations */

#prismSVG {
  position: fixed;
  top: 30%;
  right: -19rem;
  margin-top: -50px;
  margin-left: -50px;
  z-index: -22;
  animation: rotate 1s linear infinite;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);

  animation-iteration-count: 1;
  animation-fill-mode: both;
}


@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #eb6e80;
    border-radius: 12px;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #11105f;
}

body {
  font-family: 'Lora', serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  /* text-transform: uppercase; */
}

a, a:visited, a:hover, a:active {
  color: inherit;
}

.home, body{
  background: #e1e1e1;
}
.contact{
  background: #E9B000;
}

.portfolio, .about{
  background: #40b8bb;
  filter: drop-shadow(0.2rem 0.2rem 0.5rem #6b7ca9ab);
}

/* navbar styling */
nav{
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
}

nav.sticky{
  background: #008F95;
  padding: 13px 0;
  box-shadow: 0.1rem 0.1rem 0.8rem #0e24317e;
}
nav .navbar{
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
nav .navbar .logo{
  width: 10rem;
  transition: all 500ms ease-in-out;
}
nav .navbar .logo a{
  font-weight: 500;
  font-size: 35px;
  color: #008F95;
}
nav.sticky .navbar .logo a{
  color: #fff;
}
nav .navbar .menu{
  display: flex;
  position: relative;
}
nav .navbar .menu li{
  list-style: none;
  margin: 0 8px;
  transition: all 0.4s ease-in-out;

}
.navbar .menu a{
  font-size: 18px;
  font-weight: 500;
  color: #0E2431;
  padding: 6px 0;
  transition: all 0.4s ease-in-out;
}
.navbar .menu a:hover{
  color: #008F95;
}
.navbar .menu li:hover{
  transform: scale(1.1);
}
nav.sticky .menu a{
  color: #FFF;
  transition: all 0.4s ease-in-out;
}
.navbar .media-icons a{
  color: #008F95;
  font-size: 18px;
  margin: 0 6px;
  transition: all 0.4s ease-in-out;
}

nav.sticky .media-icons a{
  color: #FFF;
}
nav.sticky .menu a:hover,
nav.sticky .media-icons a:hover,
nav.sticky .logo a:hover,
.navbar .logo:hover .lastName,
.navbar .media-icons a:hover{
  color: #0E2431;
  transform: scale(1.1);
}


.firstName, .lastName{
  display: block;
  overflow: hidden;
  transition: all 0.5s ease-in-out;
}

.firstName{
  height: auto;
  width: auto;
  opacity: 1;
}

.lastName{
  color: #fff;
  height: 0px;
  width: 0px;
  opacity: 0;
}

.navbar .logo:hover .firstName{
  opacity: 0;
  height: 0px;
  width: 0px;
}

.navbar .logo:hover .lastName{
  opacity: 1;
  height: auto;
  width: auto;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn{
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}
nav .menu-btn{
  color: #0E2431;
}
nav.sticky .menu-btn{
  color: #FFF;
}
.navbar .menu .menu-btn{
  color: #fff;
}

/* home section styling */
.home{
  height: 100vh;
  width: 100%;
  background: url("") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.home .home-content{
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.home .text .text-four,
.home .text h1,
.home .text h3{
  transition: all .2s ease-in-out; 
}
.home .text .text-four:hover,
.home .text h3:hover{
  transform: scale(1.01);
}

.home .text .text-two:hover{
  transform: scale(1.02);
}


.home .text-one{
  font-size: 25px;
  color: #0E2431;
}
.home .text-two{
  color: #0E2431;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
  /* box-shadow: 
  0 0 0 -3px #ffffff00, 0 0 0 0 #0E2431,
  0 0 0 -3px #ffffff00, 0 0 0 0  #008F95,
  0 0 0 -3px #ffffff00, 0 0 0 0  #eb6e80,
  0 0 0 -3px  #ffffff00, 0 0 0 0  #e24e24;
  transition: box-shadow 1s, top 1s, left 1s; */
}

/* .home .text-two:hover{
  top: -40px;
  left: 40px;
  box-shadow: 
  10px -10px 0 -3px #ffffff00, 10px -10px #0E2431,
  20px -20px 0 -3px #ffffff00, 20px -20px #008F95, 
  30px -30px 0 -3px #ffffff00, 30px -30px #eb6e80, 
  40px -40px 0 -3px #ffffff00, 40px -40px #e24e24; 
} */

.home .text-three{
  font-size: 40px;
  margin: 5px 0;
  color: #008F95;
}
.home .text-four{
  font-size: 23px;
  margin: 5px 0;
  color: #0E2431;
}
.home .button{
  margin: 14px 0;
}
.home .button button{
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #008F95;
  background: #e24e24;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease-in-out; 
}
.home .button button:hover{
  border-color: #e24e24;
  background-color: #f1f1f1;
  color: #e24e24;
  transform: scale(1.1);
}

.home, .services {
  background-color: rgb(225, 225, 225,0.2);
}

/* .home  *,
.services  * {
  z-index: 1;
} */

/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
 I'm Selecting Directly 'Section Tag' and 'Class'  */
section{
  padding: 10% 0;
  
}
section .content{
  width: 80%;
  margin: 0 auto;
}
section .content .title span{
  transition: all .2s ease-in-out;
}
section .content .title span:hover{
  transform: scale(1.1);
}
.about .about-details{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
section .title{
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  color: #0E2431;
  font-size: 25px;
  font-weight: 600;
}
section .title span{
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}
section .title span::before,
section .title span::after{
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #eb6e80;
  left: 0;
  bottom: 0;
}
section .title span::after{
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}
.about .about-details .left{
  width: 45%;
  margin-right: 5%;
}
.about .left img{
  height: 400px;
  width: 400px;
  object-fit: cover;
  border-radius: 12px;
  transition: all .2s ease-in-out; 
}
.about .left img:hover{
  transform: scale(1.1);
}
.about-details .right{
  width: 55%;
}
.about-details{
  text-align: center;
}
.about-details .right p{
  text-align: justify;
  color: #0E2431;
}
section .button{
  margin: 16px 0;
}
section .button button{
  margin-top: 5%;
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #008F95;
  background: #e24e24;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease-in-out; 
}
section .button button:hover{
  border-color: #e24e24;
  background-color: #f1f1f1;
  color: #e24e24;
  transform: scale(1.1);
}


/* My Services CSS */
.services .boxes{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.services .boxes .box{
  background-color: rgb(255,255,255,0.9);
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 5% 3%;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  cursor: default;
  transition: all .2s ease-in-out; 
}

.services .boxes .box:hover{
  background: #008F95;
  color: #fff;
  transform: scale(1.1); 

}
.services .boxes .box .icon{
  height: 50px;
  width: 50px;
  background: #008F95;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.boxes .box:hover .icon{
  background-color: #fff;
  color: #008F95;
}
.services .boxes .box:hover .title,
.services .boxes .box:hover p{
  color: #0E2431;
  transition: all 0.4s ease;
}
.services .boxes .box:hover .title,
.services .boxes .box:hover p{
  color: #fff;
}

/* Portfolio Page */

.portfolio-box img {
	display: block;
	width: 100%;
  border-radius: 12px;
}

.portfolio-box {
	margin: 0 auto 5rem auto;
	filter: drop-shadow(0.4rem 0.4rem 0.45rem rgba(0, 0, 30, 0.5));
}

.boxCol {
	position: relative;
  border-radius: 12px;;
}

.portfolio-img {
	flex: 5 0 45%;
	align-self: flex-start;
	background: white;
  position: relative;
}

.image__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  border-radius: 12px;
}

.image__overlay > * {
  transform: translateY(10px);
  transition: transform 0.5s;
}

.image__overlay:hover {
  opacity: 0.8;
}

.portfolio-description {
	background-color: #E9B000;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	position: relative;
}
.site-link{
  text-align: center;
}

/* Contact Me CSS */

.contact .content{
  margin: 0 auto;
  padding: 30px 0;
}
.contact .text{
  width: 80%;
  text-align: center;
  margin: auto;
}

/* Footer CSS */
footer{
  background: #008F95;
  padding: 15px 0;
  text-align: center;
}
footer .text span{
  font-size: 17px;
  font-weight: 400;
  color: #000;
}
footer .text span a{
  font-weight: 500;
  color: #000;
}
footer .text span a:hover{
  text-decoration: underline;
}
/* Scroll TO Top Button CSS */
.scroll-button a{
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #008F95;
  padding: 7px 12px;;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 99;
}

/*  */

/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content{
    width: 85%;
  }
}
@media (max-width: 1100px) {
  
  .about .about-details{
    justify-content: center;
    flex-direction: column;
  }
  .about .about-details .left{
    display: flex;
    justify-content: center;
    width: 100%;
    margin-right: 0;
  }
  .about-details .right{
    width: 90%;
    margin: 40px 0;
  }

  .services .boxes .box{
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}

@media (max-width: 900px) {
  
  .about .left img{
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 780px) {
  /* Add Social links to Menu */

  p{
    font-size: 1.3rem;
  }
  nav .navbar{
    width: 90%;
  }
  nav .navbar .menu{
    position: fixed;
    left: -100%;
    top: 0;
    background: #eb6e80;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }
  .navbar.active .menu{
    left: 0;
  }
  nav .navbar .menu a{
    font-size: 33px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }
  nav.sticky .logo a:hover,
  nav.sticky .menu li a:hover,
  .media-icons a i:hover, 
  .cancel-btn i:hover{
    color: #0E2431;
  }

  nav .navbar .media-icons{
    display: none;
  }
  nav .menu-btn,
  .navbar .menu .cancel-btn{
    display: block;
  }
  .home .text-two{
    font-size: 65px;
  }
  .home .text-three{
    font-size: 35px;
  }
  .skills .skills-details{
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  .skills-details .text{
    width: 100%;
    margin-bottom: 50px;
  }
  .skills-details .boxes{
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .services .boxes .box{
    margin: 20px 0;
    width: 100%;
  }
  .contact .text{
    width: 100%;
  }

  .portfolio-description{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .portfolio-img img,
  .image__overlay{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

}

@media (min-width: 780px) {
  .hidden-desktop{
    display: none;
  }

  .portfolio-box {
		display: flex;
	}
	
	.portfolio-description {
		padding: 2rem 4rem;
		margin-top: 2rem;
		margin-left: -2rem;
		z-index: -1;
	}
  
  .boxCol{
    transition: all .2s ease-in-out; 
  }
  .boxCol:hover{
    transform: scale(1.05);
  }

}

@media (max-width: 500px){
  .home .text-two{
    font-size: 55px;
  }
  .home .text-three{
    font-size: 33px;
  }
  .skills-details .boxes .per{
    font-size: 50px;
    color: #008F95;
  }
}
