@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
  }
img {
    user-drag: none;         /* Safari */
    -webkit-user-drag: none; /* Chrome, Edge */
  }
/* email popup */
.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.3);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .modal-content {
    background: white;
    color: black;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #earlyAccessForm{
    width: 100%;
  }
  .modal-content h2 {
    margin-top: 0;
    font-size: 24px;
    width: 90%;
  }

  .modal-content p {
    margin: 15px 0;
    font-size: 16px;
    width: 100%;
  }

  .modal-content input[type="email"] {
    padding: 10px;
    width: 95%;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
  }

  .modal-content button {
    background: #35ac35;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .modal-content button:hover {
    background: #2c922c;
  }

  .message {
    margin-top: 15px;
    display: none;
    color: #35ac35;
    font-weight: bold;
}






body{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;  /* Impedisce lo scroll orizzontale sulla pagina */
    width: 100%;
    height: 100%;
}
.desktop{
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: auto;
}
.landingPage{
    width: 100%;
    height: auto;
    overflow: hidden;
}
.backgroundSvg{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.backgroundSvg svg{
    width: 100%;
    height: 100%;
}
header{
    width: 100%;
    height: 8%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    top: 0%;
    position: absolute;
    margin-top: 1%;
}
#headerLogo{
    width: 15%;
    cursor: pointer;
}
.logo{
    color: #35ac35;
    font-weight: bolder;
    font-size: 20px;
    margin-left: 2%;
}
.cartContainer{
    width: 10%;
    height: 80%;
    display: flex;
}
.cartContainer img{
    width: 20%;
}
.container{
    position: relative;
    height: 100vh;
    width: 100%;
   /* background: radial-gradient(circle, #35ac354d 30%, #ffffff 70%); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.title{
    margin-top: -10%;
    font-size: 5vw;
    text-align: center;
}
.searchBarHeader{
    width: 25%;
    height: 70%;
    border-radius: 50px;
    background-color: white;
    border: 2px solid #24af247f;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15%;
    margin-right: 28%;
    visibility: hidden;
}
.searchBarHeader img{
    width: 4%;
    margin-left: 2%;
    margin-right: 2%;
}
#searchBarInputHeader{
    width: 90%;
    height: 90%;
    border: none;
}
#searchBtnHeader{
    border-radius: 50px;
    border: none;
    background-color: #35ac35;
    height: 85%;
    width: 20%;
    margin-right: 1%;
    cursor: pointer;
    color: white;
}
.searchBar{
    width: 45%;
    height: 6%;
    border-radius: 50px;
    background-color: white;
    border: 2px solid #24af247f;
    box-shadow: 0 0 200px 80px rgba(53, 172, 53, 0.3);
    display: flex;
    align-items: center;
}
.searchBar img{
    width: 4%;
    margin-left: 2%;
    margin-right: 2%;
}
.searchBar input{
    width: 90%;
    height: 90%;
    border: none;
}
input:focus {
  outline: none; /* Rimuove il bordo blu */
  border: none;  /* Rimuove eventuali bordi */
}
.searchBar button{
    border-radius: 50px;
    border: none;
    background-color: #35ac35;
    height: 85%;
    width: 20%;
    margin-right: 0.6%;
    cursor: pointer;
    color: white;
}
.searchBar button:hover{
    background-color: #2a892a;
}
.cryptoAmount{
    width: 80%;
    margin-left: 10%;
    height: 100%;
    margin-top: 5%;
    display: flex;
    align-items: center;
    position: relative;
}
.cryptoAmount img{
    width: 60%;
    margin-left: 8%;
}
.textContainer{
    width: 30%;
    height: auto;

}
.landingSection{
    width: 80%;
    margin-left: 10%;
}
.titleLand{
    width: 80%;
    margin-left: 10%;
    text-align: center;
    font-size: 2.4vw;
    margin-top: 10%;
}
.howItWork{
    display: flex;
    align-items: center;
    justify-content: center;
}
.section{
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section img{
    width: 80%;
}
.section p{
    width: 60%;
    text-align: center;
    font-size: 1.5vw;
    font-weight: 600;
}
.num{
    color: #35ac35;
    font-size: 2.2vw;
    margin: 0;
    font-family: 'roboto', sans-serif;
    font-weight: 600;
    width: 100%;
    text-align: center;
}
.withUs{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.withUs h3{
    font-weight: bolder;
    font-size: 2vw;
    margin: 0;
}
.sectionWithUs{
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sectionWithUs img{
    width: 70%;
}
.sectionWithUs p{
    width: 80%;
    color: #28363a;
    font-size: 1.2vw;
}
.textContainer h1{
    font-size: 62px; 
    margin: 0; 
    margin-bottom: 5%;
}
.textContainer p{
    font-size: 26px; 
    margin: 0;
}
.cryptoAmount{
    margin-top: 10%;
}
#cryptoAmountNum{
    color: #35ac35; font-size: 82px;
}















.resultsPage{
    width: 100%;
    height: auto;
    margin-top: 7%;
    margin-left: 0%;
    display: none;
    justify-content: center;
    flex-wrap: wrap; /* Permette di andare a capo */
    gap: 20px; /* Spazio tra i div */
    margin-bottom: 3%;
    overflow-x: hidden;
}
.result{
    width: calc(17%); /* 5 elementi per riga */
    height: 650px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: none;
    border-radius: 10px;
    overflow: hidden;
}
.result a{
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: black;
}
.result p{
    margin-left: 20px;
    margin-right: 20px;
}
.result h1{
    margin-left: 20px;
    margin-right: 20px;
}
.imgContainer{
    width: 100%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: #f7f7f7;
    overflow: hidden; /* Nasconde qualsiasi parte dell'immagine che fuoriesce */
}
.imgContainer img{
    height: auto;
    margin: 0;
    mix-blend-mode: multiply;
    z-index: 2;
    max-width: 85%; /* L'immagine non può essere più larga del contenitore */
    max-height: 80%; /* L'immagine non può essere più alta del contenitore */
    object-fit: contain; /* L'immagine si adatta al contenitore senza essere tagliata */
}
.description {
    width: calc(100% - 40px);
    margin-left: 20px;
    text-align: left;
    
    /* Controllo delle righe */
    display: -webkit-box;
    -webkit-line-clamp: 4;        /* Limita a 4 righe visibili */
    -webkit-box-orient: vertical; /* Direzione verticale delle righe */
    overflow: hidden;             /* Nasconde il testo in eccesso */

    /* Troncamento del testo */
    text-overflow: ellipsis;      /* Aggiunge i puntini se il testo è troncato */
    
    /* Per garantire che l'elemento occupi almeno 4 righe */
    min-height: calc(1.5em * 4);  /* 1.5em * 4 righe = altezza minima */
    
    /* Aggiungi spazio tra le righe */
    line-height: 1.5;             /* Puoi regolare questo valore per lo spazio che desideri */
    
    word-break: break-word;       /* Permette la rottura delle parole lunghe */
}
.result button{
    width: 130px;
    height: 35px;
    background-color: #35ac35;
    border: none;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    margin-left: 20px;
}
.priceContainer{
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    margin-left: 20px;
}
.priceContainer img{
    width: 30px;
    margin-left: 10px;
}
.priceContainer h1{
    margin: 0;
    font-size: 34px;
}
.product{
    margin-top: 6%;
    display: none;
    width: 98%;
    margin-left: 1%;
    height: auto;
    position: relative;
}
.productInfo{
    width: 100%;
    height: 80vh;
    display: none;
    margin-top: 2%;
}
.productImgContainer{
    width: 50%;
    height: 80vh;
    display: flex;
}
.leftPartImg{
    height: 100%;
    width: 55px;
    overflow: hidden;
}
.imgPreviewContainer{
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 10px;
    border: 2px solid white;
    cursor: pointer;
}
.imgPreviewContainer img{
    height: auto;
    margin: 0;
    mix-blend-mode: multiply;
    z-index: 2;
    max-width: 85%; /* L'immagine non può essere più larga del contenitore */
    max-height: 80%; /* L'immagine non può essere più alta del contenitore */
    object-fit: contain; /* L'immagine si adatta al contenitore senza essere tagliata */
}
.rightPartImg{
    width: calc(100% - 50px);
    height: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.rightPartImg img{
    height: auto;
    margin: 0;
    mix-blend-mode: multiply;
    z-index: 2;
    max-width: 90%; /* L'immagine non può essere più larga del contenitore */
    max-height: 80%; /* L'immagine non può essere più alta del contenitore */
    object-fit: contain; /* L'immagine si adatta al contenitore senza essere tagliata */
}
.otherInfos{
    width: 45%;
    margin-left: 5%;
    height: 80vh;
    display: flex;
    flex-direction: column;

}
#productTitle{
    font-size: 1.5vw;
    font-weight: 600;
    width: 90%;
}
.starRatingContainer{
    width: 90%;
    height: 3.5%;
    display: flex;
    align-items: center;
    margin-bottom: 5%;
    margin-left: 20px;
    position: relative;
}
.starRatingContainer p{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-size: 18px;
    margin-right: 10px;
}
.starsProductContainer{
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #ccc;
}
.starsProductContainer p{
    font-size: 18px;
    margin: 0;
    margin-right: 5px;
    margin-top: 1px;
}
.starsProductContainer span{
    margin: 0;
}
.stars {
    font-size: 24px;
    color: #ccc;
    display: flex;
}
.stars span {
    margin: 0;
    margin-bottom: 5px;
}
.stars .filled {
    color: #35ac35;
}
.productPriceContainer{
    width: 90%;
    height: auto;
    display: flex;
    align-items: center;
}
.productBtns{
    width: 90%;
}
.productBtn{
    border-radius: 20px;
    width: 25%;
    border: none;
    color: white;
    background-color: #35ac35;
    padding: 15px;
    font-size: 14px;
    cursor: pointer;
}
#addToCartBtn{
    background-color: black;
    margin-left: 10px;
}
#shippingDateContainer{
    width: 90%;
    margin-bottom: 3%;
}
.cryptoContainer{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
    width: auto;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;

}
.cryptoContainer img{
    width: 28px;
    height: 28px;
}
.cryptoContainer p{
    margin: 0;
    margin-left: 5px;
    font-size: 24px;
    font-weight: bold;
}
.cryptoContainer svg{
    transform: rotate(180deg);
}/*
.cryptoSelectBackground{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
} */
 .cryptoSelectBackground {
    position: fixed; /* <-- cambialo qui */
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.3);
    display: none;
    align-items: center;
    justify-content: center;
}

.cryptoSelectContainer{
    height: 80vh;
    width: 30%;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}
.cryptoSelectContainer::-webkit-scrollbar {
    display: none; /* Nasconde la barra di scorrimento */
}
.cryptoSelectRow{
    width: 95%;
    margin-top: 2%;
    border-radius: 20px;
    height: 10%;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.cryptoSelectRow img{
    width: 30px;
    height: 30px;
    margin-left: 2%;
    margin-right: 2%;
}
.cryptoSelectRow:hover{
    background-color: #f3f3f3;
}


.loading-container {
    position: absolute;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80vh;
    z-index: 11;
}

.loading-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.dot {
    width: 14px;
    height: 14px;
    background-color: #48aa48;
    border-radius: 50%;
    animation: pulse-wave 1.5s ease-in-out infinite;
}

.dot:nth-child(1) { animation-delay: 0s; }
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
.dot:nth-child(4) { animation-delay: 0.6s; }

@keyframes pulse-wave {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.loading-text {
    color: #398039;
    font-weight: 300;
    letter-spacing: 1px;
    font-size: 14px;
}
#searchBarX{
    display: none;
}
#headerArrowMobile{
    display: none;
}