body,
html {
  height: 100%;
  font-family: Poppins;
  margin: 0;
}



h1 {
  font-size: 50px;
  font-weight: 500;
}

.y-h1 {
  background-color: rgb(241, 223, 104);

}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 25px;
}

.nav-item {
  padding-left: 37px;
}

p {
  font-size: 22px;
  line-height: 1.8;
}

.b-on {
  list-style-type: none;
  padding-left: 0rem;
  font-size: 22px;
}


.socials {
  max-width: 50px;
  transition: 0.4s;

}

.socials:hover {
  transform: scale(1.05);
  transition: 0.4s;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: rgb(241, 223, 104);
  text-decoration-style: solid;
  transition: 0.5s;
}

u {
  text-decoration-color: rgb(241, 223, 104);

}

a {
  color: white;
  text-decoration: none;
}

.hero-background {
  background-image: url('img/herobg.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
  background-attachment:fixed;
}

.center{
  display:flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

@keyframes myAnim {
  0% {
    opacity: 0;
    transform: translateY(-50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-background-mobile {
  background-image: url('img/herobg.jpeg');
  background-repeat: no-repeat;
  background-position-x: center;
  min-height: 100dvh;
  background-size: cover;

}

.hero-text {
  color:#fff;
  padding-top: 26px;
}
.hero-text-mobile{
  padding:0px;
  margin-top:-82px;
  color:#fff;
}



.hero-text button {
  margin-top: 20px;
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: #000!important;
  background-color: rgb(245, 223, 104);
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  margin-right: 35px;
  height: 50px;
  border-radius: 25px;
}

.hero-text-mobile button {
  margin-top: 20px;
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: #000!important;
  background-color: rgb(245, 223, 104);
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  margin-right: 35px;
  height: 50px;
  border-radius: 25px;
}

.hero-text button:hover {
  transition: 0.4s;
  transform: scale(1.05);
  
}


footer {
  background-color: black;
}

.special {
  font-size: 95px;
  color: rgb(76, 77, 77);
  text-align: center;
  font-weight: 300;

}

.exp {
  text-align: center;
  margin-top: -50px;
}

.copyright {
  color: rgb(245, 223, 104);
  font-size: 16px;
  padding: 50px 25px 50px 25px;
}

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  transform: translateY(150px);
  opacity: 0;
  transition: 1s all ease-in-out;

}

.timeline.active {
  transform: translateY(0);
  opacity: 1;
}

@keyframes myAnim1 {
  0% {
    opacity: 0;
    transform: rotateX(70deg);
    transform-origin: top;
  }

  100% {
    opacity: 1;
    transform: rotateX(0deg);
    transform-origin: top;
  }
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: black;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container-timeline {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.container-timeline::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: black;
  border: 4px solid rgb(245, 223, 104);
  top: 41px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 45px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 45px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -13px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 25px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  font-size: 35px;

}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

  /* Place the timelime to the left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .container-timeline {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .container-timeline::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: 18px;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

.white-bg {
  box-shadow: 10px 10px 30px -22px rgba(0,0,0,0.75);
    border-radius: 25px;
  background-color: white;
  transition: 0.5s;

}

.services {
  background-color: #f7f7f7;
}

ul {
  list-style-type: none;
  padding-left: 0rem;
}



.card-image {
  height: 105px;
}

hr {
  margin: 0px;

}



.cv-button {
  color: black;
  padding: 15px;
  transition: 0.5s;
  width: 150px;
  border: 2px solid black;
  font-weight: bold;
  border-radius: 25px;
}

.cv-button:hover {
  background-color: black;
  color: white;
  transition: 0.5s;

}

.hire-me-bg {
  background-image: url(img/home.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}

@media(max-width:992px) {}

.hire-me-button {
  color: black;
  padding: 15px;
  width: 150px;
  background-color: rgb(245, 223, 104);
  border: none;
  font-weight: bold;
  animation: myAnim1 3s ease 0s infinite normal forwards;
  border-radius: 25px;
  background-size: cover;
}

@keyframes myAnim1 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

.about-img{
  width:100%;
  border-radius: 360px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  height: 50px;
  padding: 1em;
  position: sticky;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu>li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked+.menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked+.menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked+.menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.menu>li a {
  color: black;
  font-size: 19px;
  font-weight: bold;
}

.menu>li a:hover {
  text-decoration: none;
}

@media (max-width: 992px) {
  .menu-button-container {
    display: flex;
    position: fixed;
    right: 4%;
    background: black;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    z-index: 999999999;
  }

  .menu {
    position: fixed;
    z-index: 99999999;
    top: 0;
    margin-top: 0px !important;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: start;
    align-items: center;
    z-index: 9999;
  }

  #menu-toggle~.menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked~.menu li {
    height: 3.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menu-toggle:checked~.menu li a {
    color: black;
    text-align: left;
    font-size: 19px;
  }

  .menu>li {
    display: flex;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: white;
    background-color: white;
  }

  .menu>li a {
    padding-left: 5px;
  }

  .menu>li:not(:last-child) {
    border-bottom: 1px solid #007953;
  }

}

@media (max-width: 860px) {
  .menu {
    margin-top: 90px;
  }
}

@media (max-width: 481px) {
  .menu {
    margin-top: 80px;
  }
}

.dark-green-bg{
  background-color: #000000;
}


.navbar-dark .navbar-nav .nav-link {
  color: #fff !important;
  font-size: 19px;
  padding-left: 20px;
}

.hamburger-menu {
  position: relative;
  right: 0;
}

.contact {
  background: #f5df4e;

}

.submit-button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 10px 25px;
  color: white;
  background-color: black;
  text-align: center;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  margin-right: 35px;
  height: 50px;
  border-radius: 25px;
}

.contact-bg {
  background-color: transparent;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: solid 1px black;
  margin-bottom: 25px;
  width: 100%;
  font-size: 22px;
}


:focus-visible {
  outline: none;
  border-bottom: 2px solid black;
  transition: ease 0.1s;
}


.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s ease;
}

.sticky.scrolled{
  background-color: #000;
  transition: 0.3s ease;
}

.sticky+.spacing {
  padding-bottom: 60px;
}

@media (max-width:992px) {
  .sticky {
    position: unset;
  }

  .mid-mobile {
    text-align: center;
  }

  .contact-bg {
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: solid 1px black;
    margin-bottom: 25px;
    width: 100%;
    font-size: 16px;
  }

  .hire-me-bg {
    background-color: black !important;
    background-image: none;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .b-on {
    font-size: 16px;
  }

}


@media(min-width:992px) {
  #navbar a {
    color: #ffffff;
    position: relative;
    text-decoration: none;
  }

  #navbar a::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background-color: #f5df4e;
    ;
    bottom: 0;
    left: 0;
    transform-origin: center;
    transform: scaleX(0);
    transition: transform .3s ease-in-out;
  }
  

  #navbar a:hover::before {
    transform-origin: center;
    transform: scaleX(1);
  }
}


#navbar a.active1 {
  text-decoration: underline 4.5px #f5df4e;
}

#socials a::before {
  transform: none;
  position: unset;
}

button:focus {
  outline: none;
}

.faq-arrow {
  background-image: url(img/arrow.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20%;
  cursor: pointer;
}




.accordion {
  background-color: white;
  border-top: white;
  border-left: white;
  border-right: white;
  cursor: pointer;
  text-align: left;
  margin-bottom: 20px;
  width: 100%;
  outline: none;
  transition: 0.4s;
  font-size: 25px;
  padding-left: 5px;
  padding-right: 20px;
}


.accordion:hover {
  transition: 0.4s;
}

.panel {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;

}

@media (max-width: 993px) {
  .arrow {
    background-image: url(img/arrow.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    cursor: pointer;
  }

  .accordion {
    background-color: white;
    border-top: white;
    border-left: white;
    border-right: white;
    cursor: pointer;
    text-align: left;
    margin-bottom: 10px;
    width: 100%;
    outline: none;
    transition: 0.4s;
    font-size: 18px;
    padding-left: 2px;
    padding-right: 0px;
    color:#000;
  }
}


.scroll-button {
  animation: arrow-top 2s linear 0s  normal forwards;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 2;
  cursor: pointer;
  transition: 0.4s;
  background-color: #fff;
  border-radius: 90px;
  width:35px;
  overflow-x: hidden;
  display:none;
}

.scroll-button:hover {
  opacity: 1;
  transition: 0.4s;

}


.icon-bar {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 50%;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.openbtn{
  position: fixed;
  top: 50%;
  z-index: 2;
  left:0px;
  border: none;
  outline: none;
  cursor: pointer;
  transition: 0.4s;
  width:70px;
  height: 78px;
  margin-top: -8px;
  opacity: 0.5;
}


.icon-bar a {
  display: block;
  text-align: center;
  padding: 10px;
  transition: all 0.3s ease;
  color: white;
  font-size: 15px;
 
}

.icon-bar a:hover {
  background-color: #000;
} 

.facebook {
  border-top-right-radius:10px;
  background: #3B5998;
  color: white;
}

.instagram {
  background: #bc2a8d;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

.phone {
  background: #075e54;
  color: white;
}

.mail {
  background: #c71610;
  color: white;
  border-bottom-right-radius:10px;
}



@keyframes arrow-left {
	0% {
		opacity: 0;
		transform: translateX(-20px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes arrow-right {
	0% {
		opacity: 0;
		transform: translateX(20px);
	}

	100% {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes arrow-top {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.arrow{
  animation: arrow-left 2s linear 0s infinite normal forwards;
  filter: invert(100%);
  width:20px;
  margin: 28px 0px 0px 19px;
}


.arrow-right{
  animation: arrow-right 2s linear 0s infinite normal forwards;
  
}

.tooltiptext {
  visibility: hidden;
  height:auto;
  background-color: #fff;
  color: #000000;
  text-align: center;
  /* Position the tooltip */
  top:33px;
left:120%; 
position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.work{
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition: .5s ease;
  backface-visibility: hidden;
  opacity: 1;
  display: block;
}

.box-hover{
  position: relative;
}


.middle-box {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.box-hover:hover .work {
  opacity: 0.3;
}

.box-hover:hover .middle-box {
  opacity: 1;
}

.text {
  background-color: #f5df4e;
  color: black;
  font-size: 16px;
  padding: 10px 15px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
}








/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  z-index: 101; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
  margin: auto;
  display: block;
  width: 70%;
  border-radius: 0px;
  padding:30px 40px;
}

/* Caption of Modal Image */

/* Add Animation */
.modal-content {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

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

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

/* The Close Button */
.close {
  position: absolute;
  top: 5px;
  right: 35px;
  color: #000000;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 10000;
}

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

#portfolio #img1,#img2,#img3 {
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
  .close {
    top: 0px;
    right: 13px;
    font-size: 29px;
   
  }
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 10px;
  color: #272727;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: #eaeaea;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
  color:#ffffff;
}

/* Caption text */
.modal-text {
  color: #000;
  font-size: 15px;
  padding: 8px 12px;
  bottom: 0px;
  width: 100%;
  text-align: center;
  margin-bottom: -20px;
}



/* The dots/bullets/indicators */
.modal-dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.modal-active, .modal-dot:hover {
  background-color: #717171;
}



.modal p{
  font-size: 16px;
  margin-bottom: 0px;
  padding:12px 0px;
}

.modal h3{
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 0px; 
}

.modal-work{
  width: 100%;
}

.brd-mod {
  border-bottom: 1px solid #eaeaea;
}

.m-link{
  color:#000000;
  font-weight: bold;
  text-decoration: underline;
}

#skills .white-bg {
  height:380px;
}


@media (max-width: 993px) {

  .work{
    height: auto; 
  }

  .modal-content{
    padding:30px 0px;
  }
  .modal{
    padding-top:0px;
  }

  #skills  .white-bg {
    height:auto;
  }

  .hero-background-mobile button{
    margin: 0px;
    width:50%;
    color:#000;
  }
}





.flip-card {
  background-color: transparent;
  height: 300px;
  perspective: 1000px;
  
  
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.4s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  border-radius: 25px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 25px;
  display: flex;
  justify-content: center;
flex-wrap: wrap;
flex-direction: column;
}

.flip-card-front {
  background-color: #ffffff;
  color: black;
  border-radius: 25px;
  
}

.flip-card-back {
  background-color: #f5df4e;
  color: black;
  transform: rotateY(180deg);
  border-radius: 25px;
  border:2px solid black;
  font-size:20px;
}

.code-img{
filter: invert(100%);
width:45px;
}

.mySlides1, .mySlides2, .mySlides3 {display: none}

.slideshow-container img {
  border:1px solid #272727;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  animation-name: fade;
  animation-duration: 1.5s;
}

.over-bg
  {
    background-color: rgba(0, 0, 0, 0.7);
    background-size: cover;
    min-height: 100vh;
  }

  
