@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500,600,700,800,900&subset=latin-ext');

body {
  font-family: 'Quicksand';
  margin: 0;
  background-color: #17171e;
}


#linkedin-icon {
  color: #7461f0;
  margin-left: 1rem;

}

#github-icon {
  color: #7461f0;
  margin-left: 1rem;
}


.about-me {
  display: flex;
  flex-direction: row;
  padding-top: 10%;
  padding-left: 10%;
  min-height: 100vh;
  background-image: url('./assets/images/WebAbout.png');
  background-size: cover;
}

.about-para {
  width: 40%;
  color: white;
}

.btn {
  font-family: 'Verdana';
  font-weight: bold;
  text-transform: uppercase;
  padding: 20px 40px;
  color: white;
  text-decoration-color: white;
  border-radius: 24% 76% 29% 71% / 33% 40% 60% 67% !important;
  line-height: 40px;
  position: relative;
  font-size: 18px;
  overflow: hidden;
  display: inline-block;
  border: 0;
  background: transparent;
  z-index: 1;
}

.btn::before {
  position: absolute;
  content: '';
  display: inline-block;
  background: #3bade3;
  background: linear-gradient(100deg, #FFADD2 0%, #FF41BE 20%, #AF8BFF 45%, #691EFF 70%, #1EAAFF 90%);
  height: 100px;
  width: 400%;
  z-index: -1;
  transform: translateX(-50%);
  transition: transform 200ms ease-in;
  top: 0; 
}

.btn:hover::before {
  transform: translateX(-25%); 
}

.wrapper {
  width: 50%;
  padding: 0 2rem;
  text-align: center;
}

.polaroid {
  background: #fff;
  padding: 0.5rem;
  box-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.2);
}

.polaroid>img {
  max-width: 100%;
  width: 100%;
  height: 30%; /* Set the desired height */
  object-fit: cover;
}

.caption {
  font-size: 1rem;
  text-align: center;
}

.item {
  width: 32%;
  display: inline-block;
  margin-top: 2rem;
  /* filter: grayscale(100%); */
}

.item .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.35s;
}

.item:nth-of-type(4n+1) {
  transform: scale(0.8, 0.8) rotate(5deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+1) .polaroid:before {
  transform: rotate(6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.item:nth-of-type(4n+2) {
  transform: scale(0.8, 0.8) rotate(-5deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+2) .polaroid:before {
  transform: rotate(-6deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.4);
}

.item:nth-of-type(4n+4) {
  transform: scale(0.8, 0.8) rotate(3deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+4) .polaroid:before {
  transform: rotate(4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  right: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.item:nth-of-type(4n+3) {
  transform: scale(0.8, 0.8) rotate(-3deg);
  transition: all 0.35s;
}

.item:nth-of-type(4n+3) .polaroid:before {
  transform: rotate(-4deg);
  height: 20%;
  width: 47%;
  bottom: 30px;
  left: 12px;
  box-shadow: 0 2.1rem 2rem rgba(0, 0, 0, 0.3);
}

.item:hover {
  filter: none;
  transform: scale(1, 1) rotate(0deg) !important;
  transition: all 0.35s;
}

.item:hover .polaroid:before {
  content: '';
  position: absolute;
  z-index: -1;
  transform: rotate(0deg);
  height: 90%;
  width: 90%;
  bottom: 0%;
  right: 5%;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: all 0.35s;
}

.app-icon i{
  font-size: 2.8rem;
}


/* Skills */
.skills {
  font-family: Arial, sans-serif;
  display: flex;
  background-image: url('./assets/images/WebSkills.png');
  background-size: cover;
  align-items: center;
  min-height: 100vh;
  /* Ensure it takes full viewport height */
  box-sizing: border-box;
  flex-wrap: wrap;
}

.skills-para {
  width: 40%;
  color: white;
  padding-left: 5%;
}

.app-circle {
  position: relative;
  width: 50%;
  height: 80%;
  /* margin-top: 10%;
  margin-left: 10%; */
}

.circle-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon {
  width: 2.5em;
  /* Adjust as needed */
  height: 2.5em;
  /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5em;
  /* Adjust as needed */
  border-radius: 50%;
  background: linear-gradient(145deg, black, gray);
  position: absolute;
  transition: transform 0.3s ease;
}

.app-icon:hover {
  transform: scale(1.2);
  /* Scale up the icon by 20% on hover */
}



@media (max-width: 875px) {
  .about-me {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    padding-left: 0;
    max-width: 100%;
    background-image: url('./assets/images/MobileAbout2.png');
    background-size: cover;
  }

  .about-para {
    text-align: center;
    width: 90%;
  }

  .about-para div{
    width: 90%;
   justify-content: center;
  }

  .wrapper {
    width: 90%;
  }

  .skills {
    max-width: 100%;
    background-image: url('./assets/images/MobileSkills2.png');
    background-size: cover;
  }

  .skills {
    flex-direction: column;
    align-items: center;
  }

  .skills-para {
    width: 100% !important;
    text-align: center;
  }

  .app-circle {
    width: 14rem;
    height: 14rem;
    margin-top: 35%;
    margin-bottom: 25%;
  }
  
.app-icon i{
  font-size: 1.5rem;
}
  .app-icon {
    font-size: 0.9em;
  }
}

.slider {
  position: relative;
  text-align: center;
  background-image: url('./assets/images/Testimonials.png');
  background-size: cover;
  margin-bottom: 10%;
}

.buttons {
  z-index: 1;
  position: absolute;
  right: 50%;
  top: 261px;
  width: 80px;
  height: 40px;
  border-radius: 50px;
  transform: translateX(50%);
  background-color: #FFFFFF;
}

.previous,
.next {
  width: 50%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
}

.previous {
  left: 0;
  background-image: url('https://alcs-slider.netlify.app/images/icon-prev.svg');
}

.next {
  right: 0;
  background-image: url('https://alcs-slider.netlify.app/images/icon-next.svg');
}

.previous:hover,
.next:hover {
  transform: scale(1.25);
}

.slide {
  display: none;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
}

.testimonial {
  padding: 32px 51px;
  background-image: url('https://alcs-slider.netlify.app/images/pattern-quotes.svg');
  background-size: 60px;
  background-position: top;
  background-repeat: no-repeat;
  color: #fff;
}

blockquote {
  font-size: medium;
}

.author {
  font-size: 15px;
  font-weight: 700;
}

span {
  display: block;
  color: hsl(240, 18%, 77%);
  font-weight: 500;
}

.slider-img {
  width: 100%;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('https://alcs-slider.netlify.app/images/pattern-bg.svg');
}

img {
  border-radius: 10px;
  box-shadow: 0px 16px 40px 0px rgba(135, 105, 210, 0.4);
}

footer {
  font-size: 11px;
  text-align: center;
  color: hsl(228, 45%, 44%);
}

/* Targets mobile devices */
@media screen and (max-width: 600px){
  .slider-img img {
    height:240px; width:240px; object-fit: cover;
  }
}

/* Targets tablets and small laptops. */
@media screen and (min-width: 600px) {
  main {
    max-width: 800px;
  }

  .buttons {
    top: 280px;
  }
  .slider-img img {
    height:50vh; width:25vw; object-fit: cover;
  }
}

/* Targets laptops and desktops. */
@media screen and (min-width: 900px) {
  main {
    max-width: 1054px;
    padding: 64px 64px 64px 0;
  }

  .slider {
    background-image: url('.//assets/images/MobileTestimonials.png');
  }

  .slider {
    .buttons {
      right: 35%;
      top: 85%;
    }

    .slide {
      flex-direction: row;
      text-align: left;
    }

    .testimonial {
      padding: 32px 0 0 0;
      background-size: 80px;
      background-position: 19% -7%;
      transform: translateX(100px);
      margin-right: 4%;

      blockquote {
        font-size: medium;
      }

      .author span {
        display: contents;
      }
    }

    .slider-img img {
      height:50vh; width:25vw; object-fit: cover;
    }
  }
}

.scroll-to-top {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  color: #7461f0;
  text-decoration: none;
  background-color: #020202;
  /* Background color of the circle */
  border-radius: 50%;
  /* Makes it circular */
  width: 60px;
  /* Diameter of the circle */
  height: 60px;
  /* Diameter of the circle */
  display: flex;
  border: solid 2px #504B4B;
  justify-content: center;
  align-items: center;
  z-index: 1;
  /* Make sure it's above other content but below the arrow */
}

.scroll-to-top i {
  z-index: 2;
  /* Ensures the arrow is above the background circle */
  font-size: 1.5rem;
}

.custom-footer {
  background-image: url('.//assets/images/Footer3.png');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 0% 0;
  font-family: 'Quicksand', sans-serif;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  position: relative;
  box-shadow: 0 -15px 30px -10px rgba(131, 129, 129, 0.3);
  margin-top: -45px;
}

.footer {
  background-color: #a32e20;
  /* Adjust the color to match the red background */
  padding: 20px 0;
}

.footer p,
.footer a {
  font-size: 0.9rem;
  color: white;
  /* Ensures the text is white */
  margin-bottom: 5px;
}

.footer strong {
  font-size: 1.2rem;
}

.footer a:hover {
  color: #ccc;
  /* Lighter grey on hover */
}

.footer-content {
  margin-top: 5%;
  text-align: left;
}

.footer-content p {
  margin: 10px 0;
  font-size: 1rem;
}

.footer-content a {
  font-size: 3rem;
  font-weight: bold;
  color: #7461f0;
  text-decoration: none;
}

.footer-content a:hover {
  color: #5643fa;
}

@media (max-width: 875px) {
  .custom-footer{
    background-image: url('./assets/images/MobileFooter.png');
    background-size: cover;
  }
  
.footer-content a {
  font-size: 1rem;
  font-weight: bold;
  color: #7461f0;
  text-decoration: none;
}

}


/* Add this to your existing CSS */
.main-header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8vh;
  width: 100vw;
  width: calc(100vw - 0vw); /* Subtracting the margin from the width */
  top:0vh;
  left: 00vw; /* Adding margin on the left */
  right: 0vw; /* Adding margin on the right */
  padding: 0 5vw;
  /* background-color: transparent; */
  /* background: rgba(255, 255, 255, 0.2); */
  background-color: rgba(255,255,255,0.13);
  backdrop-filter: blur(5px);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 40px rgba(8,7,16,0.3);
  /* background-color: transparent; */
  color: white;
  z-index: 100;
  transition: 0.4s ease-out;
}
.logo{
  font-weight: bold;
  color: #7461f0
}
.main-header a {
  text-decoration: none;
  color: inherit;
}

.main-header .nav-links {
  display: flex;
  list-style: none;
  padding-top: 2vh;
}

.main-header .nav-links .nav-link a {
  margin: 0.2rem;
  padding: 1rem 0.5rem;
}

.main-header .nav-links .nav-link a:hover {
  /* background: rgba(255, 255, 255, 0.2); */
  color:#7461f0;
  text-decoration: none;
}

.main-header .menu-icon {
  position: relative;
  padding: 26px 10px;
  cursor: pointer;
  z-index: 1;
  display: none;
}

.main-header .menu-icon__line {
  display: block;
  position: relative;
  background: white;
  height: 2px;
  width: 20px;
  border-radius: 4px;
}

.main-header .menu-icon__line::before,
.main-header .menu-icon__line::after {
  content: '';
  position: absolute;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: white;
  transition: background 0.8s ease;
}

.main-header .menu-icon__line::before {
  transform: translateY(-5px);
}

.main-header .menu-icon__line::after {
  transform: translateY(5px);
}

.main-header .menu-btn {
  display: none;
}

.main-header.scrolled {
  color: white;
}

.main-header.scrolled .menu-icon__line,
.main-header.scrolled .menu-icon__line::before,
.main-header.scrolled .menu-icon__line::after {
  background: white;
}

@media screen and (max-width: 767px) {
  .main-header .menu-icon {
    display: block;
  }

  .main-header .menu-icon__line {
    animation: closedMid 0.8s backwards;
    animation-direction: reverse;
  }

  .main-header .menu-icon__line::before {
    animation: closedTop 0.8s backwards;
    animation-direction: reverse;
  }

  .main-header .menu-icon__line::after {
    animation: closedBtm 0.8s backwards;
    animation-direction: reverse;
  }

  .main-header .nav-links {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 10rem 0;
    width: 100vw;
    height: 100vh;
    font-size: 2rem;
    color: #fff;
    background: rgb(2, 2, 2)  ;
    transition: opacity 0.8s 0.5s, clip-path 1s 0.5s;
    clip-path: circle(200px at top right);
  }

  .main-header .nav-links .nav-link {
    opacity: 0;
    transform: translateX(100%);
    width: 80%;
    text-align: right;
  }

  .main-header .nav-links .nav-link a {
    display: block;
    padding: 2rem 0;
  }

  .main-header .menu-btn:checked ~ .nav-links {
    opacity: 1;
    clip-path: circle(100% at center);
  }

  .main-header .menu-btn:checked ~ .nav-links .nav-link {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.4s ease-in-out, transform 0.6s cubic-bezier(0.175, 0.085, 0.32, 1.275);
  }

  .main-header .menu-btn:checked ~ .nav-links .nav-link:nth-of-type(1) {
    transition-delay: 0.7s;
  }

  .main-header .menu-btn:checked ~ .nav-links .nav-link:nth-of-type(2) {
    transition-delay: 0.8s;
  }

  .main-header .menu-btn:checked ~ .nav-links .nav-link:nth-of-type(3) {
    transition-delay: 0.9s;
  }

  .main-header .menu-btn:checked ~ .nav-links .nav-link:nth-of-type(4) {
    transition-delay: 1s;
  }

  .main-header .menu-btn:checked ~ .menu-icon {
    border-radius: 50%;
    animation: pulse 1s;
  }

  .main-header .menu-btn:checked ~ .menu-icon .menu-icon__line {
    background: #fff;
    animation: openMid 0.8s forwards;
  }

  .main-header .menu-btn:checked ~ .menu-icon .menu-icon__line::before {
    background: white;
    animation: openTop 0.8s forwards;
  }

  .main-header .menu-btn:checked ~ .menu-icon .menu-icon__line::after {
    background: white;
    animation: openBtm 0.8s forwards;
  }
}

@keyframes pulse {
  from {
    box-shadow: 0 0 0 0px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.6);
  }
  to {
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0);
    background: rgba(255, 255, 255, 0);
  }
}

@keyframes openTop {
  0% {
    transform: translateY(-5px) rotate(0deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(0px) rotate(90deg);
  }
}

@keyframes closedTop {
  0% {
    transform: translateY(-5px) rotate(0deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(0px) rotate(90deg);
  }
}

@keyframes openMid {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@keyframes closedMid {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@keyframes openBtm {
  0% {
    transform: translateY(5px) rotate(0deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(0px) rotate(90deg);
  }
}

@keyframes closedBtm {
  0% {
    transform: translateY(5px) rotate(0deg);
  }
  50% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(0px) rotate(90deg);
  }
}
