*{
padding:0;
margin:0;
}


body{
font-family: 'Poppins', 'Roboto', sans-serif;
width:100%;
height:100vh;
background:#fff;
color:#000;
}
.hacks{
   display:flex;
   flex-wrap:wrap;
   justify-content:space-evenly;
   width:90%;
   gap:1rem;
     color:#4d22b2;
}

p, h3, h1{
   word-spacing:3px;
}


.text-depth {
  text-shadow: 
    2px 2px 3px rgba(0,0,0,0.2),
    4px 4px 6px rgba(0,0,0,0.4);
}   

.main-container, .inner-container, .con{
height:auto;
display:flex;
justify-content:center;
align-content:center;
}

.main{
width:100%;
position:relative;
height:100vh;
}

.inner-container, .top-section{
display:flex;
justify-content:flex-start;
align-content:center;
}

.ex{
font-size:35px;
font-weight:400;
}

.float{
text-align:right;
}


.body-text{
text-align:center;
width:90%;
font-family: "Times New Roman", Times, serif;
word-spacing:1px;
font-size:18px;
font-weight:100;
}

.main-container{
width:100%;
}


.success{
color:#fff;
}


.inner-container{
width:90%;
height:auto;
}

.top-section .heading{
color:#4d22b2;
font-size:50px;
font-weight:bolder;
font-family:arial;
}

.top-section .heading{
color:#4d22b2;
font-size:50px;
font-weight:bolder;
font-family:arial;
}

.top-section p{
color:#000;
}

.infos{
width:90%;
height:auto;
}

.top-section{
padding:2rem 0;
width:100%;
position:relative;
height:auto;
color:#4D22B2;
/*background:#000;*/
}

.color{
   color:#4D22B2;
}


.about-section{
width:100%;
padding:2rem 0;
position:relative;
height:auto;
}

.about-section p{
font-weight:400;
}



.top-section .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity:0.2;
    object-fit: cover; 
    z-index: -1; 
}

.about-section .bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity:0.2;
    object-fit: cover; 
    z-index: -1; 
}

.welcome{
font-size:20px;
font-weight:500;
font-family:arial;
}

.btn, .show-button{
width:45%;
padding:18px;
font-size:18px;
background:#4d22b2;
border:none;
color:#fff;
height:auto;
}

.btn, .btn2{
   border-radius:5px;
   cursor:pointer;
}

.btn2{
width:45%;
padding:18px;
font-size:18px;
background:none;
border:none;
z-index:0;
position:relative;
/*border:2px solid #4d22b2;*/
color:#4d22b2;
height:auto;
}

  .btn2::before {
      content: "";
      position: absolute;
     padding:2px;
      inset: 0;
      border-radius: 5px;
      background: linear-gradient(90deg, #4d22b2, #ffffff, #4d22b2);
      background-size: 500% 500%;
      animation: moveBorder  4s linear infinite;
      -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
              mask-composite: exclude;
      z-index: -1;
    }

    @keyframes moveBorder {
      0%   { background-position: 0% 50%; }
      100% { background-position: 100% 50%; }
    }

.txt{
word-spacing:1px;
font-size:18px;
    font-family: "Times New Roman", Times, serif;
}

.poll-code{
word-spacing:3px;
font-size:18px;
font-family:arial;
color:#000;
}

img{
filter:contrast(1.2);
}

.highlight{
font-weight:500;
}

.major-space{
height:2rem;
}

.title{
font-size:21px;
font-weight:400;
font-family:arial;
}


.sub-heading{
font-size:40px;
font-weight:400;
}

.hr{
width:60%;
height:3px;
border:none;
background:#4d22b2;
border-radius:20px;
}

.major-space{
height:2rem;
}

img{
filter:saturate(1.5);
}

/*.title{
font-weight:500;
font-size:40px;
}*/

/*.underline{
height:3px;
border:none;
background:#4d22b2;
border-radius:20px;
}*/

.txt-txt{
font-family: "Times New Roman", Times, serif;
word-spacing:1px;
font-size:18px;
font-weight:100;
}

.big-letter{
font-weight:200;
font-size:45px;
}

.con{
width:80%;
text-align:center;
font-family: "Times New Roman", Times, serif;
word-spacing:3px;
font-size:17px;
font-weight:100;
}

.highlight{
font-weight:bolder;
}

.white-space{
height:1rem;
}

.minor-space{
height:1rem;
}

.col{
color:#4d22b2;
font-size:25px;
font-weight:300;
}

.imgs{
width:100%;
height:100%;
object-fit:cover;
}

.imgs-con{
width:80px;
height:80px;
}

#ham{
width:35px;
height:auto;
}

.menu-link{
background:#000;
border:none;
height:4px;
border-radius:20px;
width:35px;
margin:10% 0;
transition: transform 0.3s, opacity 0.3s;
}

#ham.active .menu-link:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

#ham.active .menu-link:nth-child(2) {
  opacity: 0;
}

.menu-btn.active .menu-link:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


.success-con{
widrh:100%;
height:auto;
padding:1.5rem 0;
background:#4d22b2;
}


.center-img-con{
width:90%;
height:300px;
border-radius:5px;
}

.center-img-con .imgs{
border-radius:10px;
}


        .content {
            transform: translateY(50px);
            transition: all 0.8s ease-in-out;
        }
        .content.visible {
            opacity: 1;
            transform: translateY(0);
        }

.footer{
position:fixed;
bottom:0;
width:100%;
background:none;
color:#fff;
padding:1rem 0;
}

.contacts{
width:90%;
display:flex;
justify-content:space-between;
align-items:center;
height:auto;
}

.icon-con{
width:50px;
height:50px;
}

.contacts-con{
display:flex;
justify-content:space-evenly;
width:70%;
align-content:
center;
gap:1rem; 
height:auto;
color:black;
}

.p {
  position: relative;
  width: auto;
  height: auto; /* Height adjusts to content */
  background-color: #ebebeb;
  color: black; /* Text color for better visibility */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  border-radius: 10px;
  padding: 10px;
}

.p::before {
  content: '';
  position: absolute; /* Fixed typo (colon to semicolon) */
  left: -12px; /* Adjusted for the smaller triangle */
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 12px 12px 0; /* Smaller triangle dimensions */
  border-color: transparent #ebebeb transparent transparent;
}





.site-map-con{
background:#000;
color:#fff;
padding:1rem 0;
}


.site-map-con .heading{
color:#4d22b2;
font-size:50px;
font-weight:bolder;
font-family:arial;
}


.site-map-con .service{
color:#4d22b2;
font-size:28px;
}

ul{
list-style:none;
font-size:18px;
}



        #search {
            width: 50%;
            padding: 10px;
            margin: 20px auto;
            display: block;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 16px;
        }

#compare-button {
  width:45%;
padding:8px 12px;
font-size:18px;
background:#4d22b2;
border:none;
color:#fff;
height:auto;
left:50%;
transform:translate(50%);
        }


        #compare-button:hover {
            background-color: #218838;
        }


        #comparison-container {
            margin-top: 30px;
            width:100%;
            justify-content:center;
            align-content:center;
            height:auto;
           margin-left:10%;
        }


        .crypto-container {
            display: flex;
            width:100%;
            flex-wrap: wrap;
            gap: 1.5rem;
            height:auto;
            justify-content: space-around;
        }


        .crypto-card {
                  background: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 20px;
            width: 300px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.3s;
            
        }


        .crypto-card:hover {
            transform: scale(1.05);
        }

        .crypto-name {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin:2% 0;
        }


        .crypto-name img {
            width: 30px;
            height: 30px;
            border-radius: 50%;
        }


        .price-up {
            color: green;
        }

        .price-down {
            color: red;
        }


        .price-details {
            display: none;
            margin-top: 10px;
            text-align: left;
        }


        .show-button {
width:45%;
padding:8px 12px;
font-size:18px;
background:#4d22b2;
border:none;
color:#fff;
height:auto;
        }


        .show-button:hover {
            background-color: #0056b3;
        }


        .compare-checkbox {
            margin-top: 10px;
        }

        /* New section: Grid layout for all cryptocurrencies and their prices */
        #all-cryptos-section {
            margin-top: 50px;
        }


        .crypto-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            padding: 20px;
            margin-top: 20px;
        }


        .crypto-grid .crypto-card {
            display: block;
            text-align: center;
            padding: 15px;
        }


        .crypto-grid h3 {
            margin-top: 10px;
        }
    

.testimonial-section {
    display: flex;
    justify-content: center;
    align-items: center;
    /*background-color: #f4f4f4;*/
    padding: 50px 0;
}

.testimonial-container {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 80%;
}

.testimonial-card {
    background: #fff;
    padding: 20px;
    width: 300px;
    text-align: center;
}

.testimonial-card .testimonial-img {
    width: 200px;
    height: 200px;
    border-radius: 4000px;
    margin-bottom: 10px;
}

.testi-img{
    width: 200px;
    height: 200px;
    border-radius: 4000px;
 object-fit:cover;
}

.testimonial-card .name{
    margin: 10px 0;
    font-size: 25px;
color:#4d22b2;
}

.testimonial-card p {
font-family: "Times New Roman", Times, serif;
word-spacing:1px;
font-size:18px;
font-weight:100;
}


@media (min-width:768px) {
.desktop{
display:block;
}


.mobile{
display:none;
}

.desk{
width:45%;
height:auto;
}

.infos{
width:90%;
display:flex;
justify-content:space-around;

align-content:center;
gap:2.5rem;
}

.center-img-con{
width:90%;
height:350px;
border-radius:5px;
}

.center-img-con .imgs{
border-radius:10px;
}

.icon-con{
width:60px;
height:60px;
}

   button:hover{
      cursor:pointer;
   }
      
}
img{
   object-fit:cover;
}
#one{
   animation:slide alternate ease-in 1 1s 1s both;
}
#two{
   animation:slide alternate ease-in 1 1s 2s both;
}
#three{
   animation:slide alternate ease-in 1 1s 3s both;
}
#four{
   animation:slide alternate ease-in 1 1s 4s both;
}
#five{
   animation:slide alternate ease-in 1 1s 5s both;
}

@keyframes slide{
   0%{
      transform:translateX(-5px);
      display:none;
       color:#4d22b2;
   }
   100%{
      transform:translateX(15px);
      display:block;
       color:#4d22b2;
   }
}
@media (max-width:768px){
.desktop{
display:none;
}

.mobile{
display:block;
}
   #landing{
   width:100%;
   height:auto;
}
   #page-btn{
      display:none;
   }
}

@media (min-width:768px){
#page{
   display:none;
     width:100%;
   height:auto;
}
   #landing{
   width:100%;
   height:90vh;
}
   .desktop{
display:block;
}

.mobile{
display:none;
}
   #page-btn{
      display:block;
   }
}

