
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
html,body{
    height: 100%;
}
#myBtn {
    height: 40px;
    width: 40px;
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 
    color: black;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    transition: transform .2s;
    text-align: center;
  }
  
  #myBtn:hover {
    transform: scale(1.2);
  }
.showcase {
    position: relative;
    right: 0;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4158D0;
background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);  
    color: #fff;
    z-index: 2;
    transition: 0.5s;
}

.showcase.active {
    right: 300px;
}

.showcase header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-transform: uppercase;
    cursor: pointer;
}

.text {
    position: relative;
    z-index: 10;
}

.text h2 {
    font-size: 5em;
    font-weight: 800;
    line-height: 1em;
    text-transform: uppercase;
}

.text h3 {
    font-size: 4em;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;
}

.text p {
    font-size: 1.1em;
    margin: 20px 0;
    font-weight: 400;
    max-width: 700px;
}

.text a {
    display: inline-block;
    font-size: 1em;
    background: #12192c;
    padding: 10px 30px;
    text-decoration: none;
    color: #4158D0;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: 0.2s;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.text a:hover {
    letter-spacing: 6px;
}

.social {
    position: absolute;
    bottom: 20px;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social li {
    list-style: none;
}

.social li a {
    display: inline-block;
    margin-right: 20px;
    transform: scale(0.8);
    transition: 0.5s;
}

.social li a:hover {
    transform: scale(0.8) translateY(-5px);
}
.social i{
    color:#fff;
    font-size: 30px;
}
.menu {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #12192c;
}

.menu ul {
    position: relative;
    list-style: none;
}

.menu ul li a {
    text-decoration: none;
    font-size: 24px;
    color: #fff;
}

.menu ul li a:hover {
    color:#FFCC70;
}


@media(max-width: 798px) {
    .showcase .showcase header {
        padding: 20px;
    }

    .text h2 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .text h3 {
        font-size: 1.5em;
    }

    .text p {
        font-size: 1em;
    }

    .text a {
        font-size: 0.8em;
    }
}.cardsx {
    position: relative;
    max-height: 100vh;
    height: 900px;
    overflow-y: scroll;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  
  .cardx {
    --spacing: 4rem;
    height: 200px;
    top: 0;
    position: relative;
    width: 90vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.4);
    font-family: 'Poppins';
    font-size: 1.1em;
    font-weight: 400;
    max-width: 700px;
    z-index: 4;
    margin-left: auto;
    margin-right: auto;
    scroll-snap-align: top;
  }
  .cardx:nth-child(2) {
    height: 200px;
    z-index: 3;
  }
  
  .cardx:nth-child(3) {
    height: 200px;
    z-index: 2;
  }

  section.horizontal {
    overflow-x: hidden;
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
  }
  
  section.horizontal .pin-wrap,
  section.horizontal .animation-wrap {
      display: flex;
      position: relative;
      z-index: 1;  
      height: 100vh;
  }
  
  
  section.horizontal .item {
      position: relative;
      padding: 150px 80px;
      flex: 0 0 500px;
      height: calc(100vh - 300px);
      display: flex;
      align-items: center;
      line-height: 1.7;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
      user-select: none;
      border-right: 1px solid rgba(0, 0, 0, 0.06);
      background-color: transparent;
      font-family: 'Poppins';
      color: #fff;
  }
  
  section.horizontal .item:before {
      position: absolute;
      font-size: 100px;
      opacity: .13;
      font-weight: bold;    
      z-index: -1;
      -webkit-transform: translate(-30px, -50px);
      transform: translate(-30px, -50px);
      line-height: 1;
  }
  
  
  
  
  section.horizontal .animation-wrap.to-right {
      counter-reset: item;
      float: left;
  }
  
  section.horizontal .animation-wrap.to-left {
      counter-reset: item 11;
      float: right; 
  }
  
  section.horizontal .animation-wrap.to-right .item:before {
      counter-increment: item;
      content: counter(item);
  }
  
  section.horizontal .animation-wrap.to-left .item:before {
      counter-increment: item -1;
      content: counter(item);
  }
  
  
  
  section.horizontal .animation-wrap .item:nth-child(2n+2) {
      align-items: flex-start;
  }
  
  section.horizontal .animation-wrap .item:nth-child(4n+4) {
      align-items: flex-end;
  }
  footer {
    position: relative;
    z-index: 0;
    font-size: 1.5em;
    height: 200px;
    background-image: linear-gradient(43deg, #4158D0 100%, #C850C0 100%, #FFCC70 0%);  
    background-color: #4158D0;
    text-align: center;
    font-family: 'Poppins';
    color: #fff;
  }
  footer {
    text-align: center;
    z-index: 1;}
    
    .footer-container {
    background-image: linear-gradient(43deg, #4158D0 100%, #C850C0 100%, #FFCC70 0%); 
    display: flex;}
    
    .footer-container a {
    color: #F5F6F7;
    padding: 42px 16px;
    text-decoration: none;
    font-family: 'Poppins';
    font-weight: bold;
    font-size: medium;}
    
    .footer-left {
    margin-right: auto}
    
    .fa:hover {
    color: #45405F;}
    
    .footer-icons {
    justify-content: space-between;
    padding: 16px 64px 0px 0px}
    
    .footer-icons ul {
    list-style-type: none;}
    
    .footer-icons li {
    display: inline-block;}
    
    .footer-right {
    margin-left: auto}
    
    .copyright 
    {background-image: linear-gradient(43deg, #4158D0 100%, #C850C0 100%, #FFCC70 0%); 
    overflow: hidden;}

    .loader {
        border: 16px solid white;
        border-radius: 50%;
        border-top: 16px solid lightskyblue;
        width: 120px;
        height: 120px;
        order: 1;
        -webkit-animation: spin 2s linear infinite; 
        animation: spin 2s linear infinite;
      }
      
      /* Safari */
      @-webkit-keyframes spin {
        0% { -webkit-transform: rotate(0deg); }
        100% { -webkit-transform: rotate(360deg); }
      }
      
      @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
      }
      
      .frosted_box {
        background-color: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(5px);
        width: 95vw;
        height: 95vh; 
        padding: 10px;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        border-radius: 4px;
      }
      
      #Status {
        margin-top: 30%;
        font-size: 2em;
        color: white;
        text-align: center;
        position: fixed;
        order: 2;
      }
      #Output{
        top: 0%;
        font-size: 1.5em;
        color: white;
        text-align: center;
        position: sticky;
        overflow-y: auto;
        width: 94vw;
        height: 85vh;
      }
      
      .ai_output {
        background-image: linear-gradient(43deg, #4158D0, #C850C0, #FFCC70);
        width: 94vw;
        height: 85vh;
        max-height: 85vh; 
        padding: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 1; 
        top: -1%;
        border-radius: 4px;
      }
    .background{
        display: flex;
        background-image: url("https://static.vecteezy.com/system/resources/previews/014/459/781/original/modern-colorful-flow-line-poster-dynamic-3d-shape-wave-gradient-mesh-liquid-shape-in-neon-purple-background-color-abstract-lava-design-for-your-project-illustration-trendy-wallpaper-free-vector.jpg");
        height: 100%;
    }
    .input-container {
        display: flex;
        width: 93vw;
        position: relative; 
        z-index: 100;
      }
      
      #input-field {
        flex: 1;
        width: 94vw;
        height: 60px;
        border: 1px solid #eef1f5;
        border-radius: 4px;
        padding: 0 40px 0 10px; 
        font-size: 14px;
        transition: border-color 0.3s;
        background: #ffffff;
        color: #333333;
        border: none;
        position: sticky;
      }
      
      .send-icon {
        position: absolute; 
        right: 10px; 
        top: 50%; 
        transform: translateY(-50%); 
        cursor: pointer;
      }
      
      #input-field:focus {
        outline: none;
      }
      
      #submit-button {
        background-color: transparent;
        border: none;
      }


@media(max-width: 1024px) {
    .showcase .showcase header {
        padding: 20px;
    }

    .text h2 {
        font-size: 2em;
        margin-bottom: 10px;
    }

    .text h3 {
        font-size: 1.5em;
    }

    .text p {
        font-size: 1em;
    }

    .text a {
        font-size: 0.8em;
    }
    #Status {
      font-size: 3vw; 
      margin-top: 40%;
    }
}