body, html {
  height: 1000px;
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(to bottom, #001f3f, #0074D9);
  overflow-x: hidden;
}
/*Parallax scrolling style*/
.parallax {
  /* The image used */
  background-image: url('Images/craft.png');

  /* Full height*/
  height: 100%; 

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax1{
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}
/* Turn off parallax scrolling for all tablets and phones. Increase/decrease the pixels if needed */
@media only screen and (max-device-width: 1366px) {
  .parallax {
    background-attachment: scroll;
  }
}
/*Parallax scrolling end*/

*{
    margin: 0%;
    padding: 0;
    box-sizing: border-box;
}

/*Nav bar style*/
 nav {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 90%;
      max-width: 1000px;
      background: rgba(0, 123, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      box-shadow: 0 0 20px rgba(0, 180, 255, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.05);
      border-radius: 20px;
      padding: 15px 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 1000;
    }

  .logo {
      font-size: 1.8rem;
      color: #a6e3ff;
      text-shadow: 0 0 6px #44f;
    }

  .nav-links {
      display: flex;
      gap: 30px;
    }

  .nav-links a {
      position: relative;
      color: #e0f7ff;
      text-decoration: none;
      font-size: 1.1rem;
      padding: 5px 0;
      transition: all 0.3s ease;
    }

 .nav-links a::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 3px;
      left: 0;
      bottom: -5px;
      background: linear-gradient(90deg, #00cfff, #0074d9);
      transform: scaleX(0);
      transform-origin: right;
      transition: transform 0.4s ease;
      border-radius: 10px;
    }

  .nav-links a:hover {
      color: #a6f0ff;
    }

 .nav-links a:hover::after {
      transform: scaleX(1);
      transform-origin: left;
    }
    /*Nav ends*/

    /*Adds wave animation to navbar*/
.wave-container {
      position: relative;
      top: 90px;
      left: 0;
      width: 100%;
      height: 100px;
      z-index: 0;
      overflow: hidden;
    }

    .wave {
      position: absolute;
      width: 200%;
      height: 100px;
      background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23a6e3ff" fill-opacity="0.4" d="M0,30 C150,100 350,0 600,30 C850,60 1050,20 1200,30 L1200,100 L0,100 Z"></path></svg>') repeat-x;
      background-size: contain;
      animation: waveMove 8s linear infinite;
      opacity: 0.4;
    }

    @keyframes waveMove {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    /*End of wave animation*/
    
    /*Styling the header*/
 header {
      padding-top: 120px;
      text-align: center;
      color: white;
    }

 header h1 {
      font-size: 3rem;
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

 header p {
      font-size: 1.3rem;
      max-width: 600px;
      margin: 20px auto;
      color: #cceeff;
    }
    /*Header ends*/
    
    /*style the craft section*/
.crafts{
        background-color: #f3f4f5;
        color: #010541;
        box-sizing: border-box;
        font-size: larger;
        font-family: 'Montserrat', sans-serif;
        height: 100%;
        margin: 0%;
        text-align: center;
        
    }
.flip-card {
  background-color: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  float: inline-start;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.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;
}

.flip-card-front {
  background-color: #bbb;
  color: black;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}
.close{
    box-sizing: border-box;
    margin: 0;
    font-size: large;
    color: #001f3f;
    background-color: #a6e3ff;
    height: 10%;
    text-align: center;
    padding: 10px;
}