nav {
    height: 70px;
    border-bottom: 1px solid pink;

    .logo {
        width: 180px
    }

    img.logoi{
        display: none;
    }


}


.joinPoolModal {
    display: none;
    width: 500px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background-color: #fff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 4px #161616;

    .blance_sts {
        margin-bottom: 2rem;
    }

    .inputBox {
        border: 1px solid #161616;
        border-radius: .5rem;
        padding: 1rem;

        input {
            width: 100%;
            font-size: 25px;
            font-weight: 300;
            border: none;
            outline: none;
        }

        input[type=number]::-webkit-inner-spin-button,
        input[type=number]::-webkit-outer-spin-button {
            -webkit-appearance: none;
        }

        h1 {
            font-size: 16px;
            font-weight: 300;

            img {
                margin-right: .5rem;
            }

            color: #161616;
        }
    }

    .Jbtns {
        margin-top: 1.5rem;

        .Jbtn {
            width: 200px;
            height: 50px;
            font-size: 20px;
            background-color: #C4C4C4;
            color: #fff;
            box-shadow: 0 2px 2px grey;
            border-radius: .8rem;
            border: none;
            outline: none;
        }

        .cancel,
        .Jjoin {
            background-color: #FF3465;
            color: #fff;
            cursor: pointer;
        }
    }
}

.joinPoolModalBg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 100vh;
    background-color: #e0e0e0be;
}



.btn {
    background: none;
    outline: none;
    border: 1.5px solid pink;
    font-size: 16px;
    font-weight: 600;
    color: #272727;
    margin: 0 .5rem;
    padding: .5rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all .3s ease-in-out;

    i {
        margin-right: .5rem;
        color: orangered;
    }

    &:hover {
        background-color: #161616;
        color: #fff;
        border-color: #161616;
    }
}

.btn:nth-child(2) {
    color: #FF3465;
    transition: all .3s ease-in-out;
}

.connect_btn {
    span {
        color: #272727;
        margin-right: 1rem;
    }

    p {
        background-color: #ff34633b;
        color: #FF3465;
        font-size: 14px;
        padding: .1rem .5rem;
        border-radius: 2rem;
    }

    &:hover {
        background-color: #fff;

        span {
            color: #272727;
        }

        border-color: pink;
    }
}

.hero>* {
    position: relative;
    z-index: 2;
}

.hero {
    background-color: #ffecee81;
    height: 500px;

    svg {
        width: 100%;
        position: absolute;
        transform: translateX(-2.5rem);
        z-index: 1;
    }


    .puls {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-bottom: 1rem;
    }

    .pool_btn {
        margin: 1rem 0;
        background-color: #FF8BA7;
        color: #fff;
        border: none;
        font-size: 16px;
        padding: 1rem 1.5rem;
        font-weight: 500;
        margin-top: 2rem;
        transition: all .3s ease-in-out;

        i {
            color: #fff;
        }

        &:hover {
            background: #272727;
        }
    }

    .open_btn {
        margin: 1rem 0;
        margin-right: 1rem;
        font-size: 14px;
        font-weight: 300px;
        padding: .3rem .8rem;
        background-color: #FF6D6D;
        color: #fff;
        border: none;
    }

    .modal {
        background-color: #fff;
        width: 550px;
        border-radius: 2rem;
        padding: 2rem;

        .modal_t {
            align-items: flex-start;
            margin-bottom: 1rem;
        }

        .modal_t_left {
            h1 {
                color: #FF3465;
                font-size: 30px;
                font-weight: 400;
            }

        }

        .timer {
            margin-bottom: .5rem;

            h1 {
                font-size: 30px;
                color: #FF3465;
                font-weight: 600;
            }
        }

        .swap {
            .barValue {
                margin-right: 2rem;
            }

            .grey {
                color: grey;
            }

            .bar {
                width: 100%;
                height: 10px;
                background-color: #e0e0e0;
                border-radius: 2rem;
                margin-top: 1rem;

                .value {
                    background: #FF3465;
                    height: inherit;
                    border-radius: 2rem 0 0 2rem;
                }
            }
        }

        h2 {
            font-size: 16px;
            font-weight: 600;
            color: #161616;
        }

        p {
            color: #FF3465;
            font-synthesis: 14px;
            font-weight: 500;
        }
    }
}


.poolDetails {
    color: #161616;

    .title_text {
        width: fit-content;
        padding: 1rem;
        padding-top: 1.5rem;
        font-size: 20px;
        border-bottom: 5px solid #FF3465;
    }

    .line {
        width: 100%;
        height: 1px;
        background-color: pink;
        position: absolute;
        left: 0;
    }

    .pooltitle {
        margin-top: 3rem;
        margin-bottom: 3rem;
        font-size: 30px;
    }

    .box {
        width: 540px;
        border: 1px solid #ff8ba665;
        border-radius: 1rem;
        margin-bottom: 2rem;

        h1 {
            color: #272727;
            font-size: 18px;
            font-weight: 500;
            border-bottom: 1px solid #ff8ba665;
            padding: 1rem;
        }

        h1.box_title {
            color: grey;
        }

        h1:nth-last-child(1) {
            border-bottom: none;
        }
    }
}


footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;

    .grid {
        margin-top: 5rem;
        flex-direction: column;
        align-items: flex-start;

        .theam {
            margin-top: 5rem;
            border-radius: 3rem;
            border: 1px solid pink;
            width: fit-content;
            cursor: pointer;

            span {
                width: 40px;
                height: 40px;
                font-size: 20px;
                color: #272727;
                font-weight: 200;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 3rem 0 0 3rem;
            }

            span:nth-child(2) {
                background-color: #FF3465;
                color: #fff;
                border-radius: 0 3rem 3rem 0;
            }
        }

        a {
            transition: all .3s ease-in-out;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    padding-bottom: 2rem;
}

@media screen and (max-width: 1130px) {
    .boxes{
        flex-direction: column;
    }
  }

@media screen and (max-width: 900px) {
    .heroSection{
        flex-direction: column;
        justify-content: space-around;
    }
    .hero{
        height: 800px;
    }
  }

//   @media screen and (max-width: 533px) {
//     nav{
//         .logo{
//             width: 100px;
//         }
//     }
//   }

  @media screen and (max-width: 550px) {
      .joinPoolModal{
          width: 98%;
          padding: 1rem;
      }
      .joinPoolModal .Jbtns .Jbtn{
          width: 150px;
          height: 40px;
          font-size: 18px;
      }
  }

  @media screen and (max-width: 583px) {
      .modal{
          width: 100% !important;
      }
      .box{
          width: 100% !important;
          h1{
              
          flex-direction: column !important;
          }
      }

      footer{
        grid-template-columns: 2fr 1fr 1fr;

        .grid:nth-child(1){
            grid-area: 1 / 1 / span 2 / span 1 ;
        }
      }
  }
  
  @media screen and (max-width: 482px) {
      nav{
          .logo{
              display: none;
          }
          img.logoi{
              display: flex;
              width: 40px;
              height: 40px;
              border-radius: 50%;

          }
        .btn:nth-child(1){
            display: none;
        }
      }

      h1 .addr{
          width: 300px;
          overflow: auto;
      }
  }