.modalnewsletter {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999999999999;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

}

.modalnewsletter.side.countdown .x{
background-color: transparent;
font-size: 24px;
top: 5px;
right: 5px;
cursor: pointer;

}





.modalnewsletter.side .x{
  color: white;
  background-color: #0194fe;
  position: absolute;
  right: 0;
  top: 0;
  width: 25px;
  height: 25px;
  border-radius: 0 35px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;

}
.modalnewsletter.side{
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  width: 20vw;
  height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  padding: 0;
  display: none;
}

.modalnewsletter.side .news{
  width: 100%;
  height: fit-content;
  background-image: none;
  background-color: transparent;
  background-image: url("../img/popup/side-bg.webp");
  background-size: cover;
    padding: 50px 0;
    position: relative;
    padding-bottom: 30px;
}

.modalnewsletter.side.countdown .news{
    padding: 30px 0;
    background-image: url("../img/popup/wt-countdown-bg.webp");
    border-radius: 10px;
    overflow: hidden;
}

.modalnewsletter.side.countdown .news .content {
  background-color: transparent;
  align-items: flex-start;
  gap: 10px;
  width: 80%;
  padding: 0;
}

.modalnewsletter.side .news .content .floating{
  position: absolute;
  top: -60px;
  right: 10px;
  width: 70px;
}

.modalnewsletter.side .news .content{
  width: 75%;
  margin: 0 auto;
  padding: 35px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  padding-bottom: 80px;
  position: relative;
  gap: 5px;
}

.modalnewsletter.side .news .content .countdown{
  width: 100%;
  display: flex;
  justify-content: space-around;
  background-color: rgba(255,255,255, 0.6);
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
  flex-direction: row;
}

.modalnewsletter.side .news .content .countdown div{
  display: flex;
  flex-direction: column;
  width: 30%;
}

.modalnewsletter.side .news .content .countdown div span{
  font-weight: 500;
  font-size: 32px;
  color: #0194fe;
}
.modalnewsletter.side .news .content .countdown div small{
  font-weight: 500;
  font-size: 16px;
  color: #0194fe;
}

.modalnewsletter.side .news .content h1{
  font-size: 22px;
  color: white;
  text-decoration: none;
}

.modalnewsletter.side.countdown .news .content img{
  width: 125px;
}

.modalnewsletter.side.countdown .news .content span{
  font-weight: 700;
  font-size: 1.5rem;
}

.modalnewsletter.side.countdown .news .content .row{
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
  margin: 0;
  margin-top: 10px;
}

.modalnewsletter.side.countdown .news .content .row::before{
  display: none;
}

.modalnewsletter.side.countdown .news .content h1{
  text-decoration: underline;
  text-align: left;
  line-height: 30px;
  font-weight: 400;
  font-size: 26px;
}
.modalnewsletter.side .news .content h2{
  font-size: 16px;
  margin-bottom: 40px;
}

.modalnewsletter.side .news .bottom{
  width: 100%;
  position: absolute;
  bottom: 0;
}

.modalnewsletter.side.countdown .news .btn{
  background-color: white;
  letter-spacing: normal;
  font-weight: 500;
  color: #0193fd;
  padding: 5px 10px;
  border: none;
  border-radius: 10px;
  font-size: 10px;
  align-self: center;
}

.modalnewsletter.side.countdown .news .btn:hover{
  background-color: #0193fd;
  color: white;
}

.modalnewsletter.side .news .btn{
  font-size: 11px;
  background-color: #0193fd;
  color: white;
  font-weight: 500;
  margin-top: 20px;
}
.modalnewsletter.side .news .btn:hover{
  color: #0193fd;
  background-color: white;
}

.modalnewsletter.side .x2{
  color: white;
  cursor: pointer;
  font-size: 24px;
  font-weight: 500;
  position: absolute;
  padding: 5px 15px;
  border-radius: 0 10px  0 10px;
  justify-self: flex-end;
  z-index: 10;
background-color: #008291;
  right: 0;
  top: 0;
}

.modalnewsletter .content .top .x{
  color: white;
  cursor: pointer;
  font-size: 24px;
  font-weight: 500;
  padding: 10px;
  width: 45px;
  line-height: 1;
  height: 40px;
  border-radius: 50%;
  border: solid 2px #0082ec;
  color: #0082ec;
  display: flex;
  justify-content: center;
  align-items: center;
}



.modalnewsletter .news{
  width: 50vw;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
  padding: 15px 0;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
    
    background-size: cover;
        background-position: bottom;
        height: fit-content;
        background-color: #0194fe;
        position: relative;
          background-image: url("../img/popup/popup-bg.webp");
          background-size: cover;
          background-repeat: no-repeat;
}


.modalnewsletter .news .content{
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: 35px;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 30px;
  width: 90%;
  background-size: cover;
  background-position: center;
  margin: 0 auto;
  align-items: flex-end;
  padding: 25px 0;

  
}

.modalnewsletter .news .content .top{
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-direction: row;
}

.modalnewsletter .news .content .top img{
  width: 140px;
}

.modalnewsletter .news .content .top div{
  display: flex;
  width: 30%;
  flex-direction: row;
  gap: 10px;
}

.modalnewsletter .news .content .top div img{
  width: 180px;
}





.modalnewsletter .news .content div{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modalnewsletter .news .content h1.mobile{
  display: none;
}

.modalnewsletter .news .content h1{
  width: 100%;
  margin: 0 auto;
  font-size: 44px;
  font-weight: 300;
  display: inline;
  text-decoration: none;
  text-align: right;
  color: #0082ec;
}

.modalnewsletter .news .content h1 b{
  font-weight: 700;
}

.modalnewsletter .news .content p{
  text-align: right;
  width: fit-content;
  font-size: 20px;
  padding: 7px 0;
  border-top: solid 1px #0082ec;
  color: #0082ec;
  border-bottom: solid 1px #0082ec;
}


.modalnewsletter .news .content h2{
  text-align: left;
width: 100%;
  margin: 0 auto;
  font-size: 20px;
  margin-bottom: 15vh;
}


.modalnewsletter .news .btn{
  background-color: transparent;
  color: #0194fe;
  border: solid 1px #0194fe;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
  height: fit-content;
margin-top: 10px;
width: fit-content;
}


.modalnewsletter .news .btn:hover{
  background-color: #0194fe;
  color: white;
}




@media only screen and (max-width: 1000px) {
    .modalnewsletter .news{
      width: 85vw;
      border-radius: 25px;
      padding: 10px 0;
                background-image: url("../img/popup/popup-bg-m.webp");
                background-size: 100%;
                background-position: bottom;
                background-color: #fcf4eb;
               background-repeat: no-repeat; 
  
  }

   .modalnewsletter.side{
    width: 60vw;
    height: fit-content;
   }

   .modalnewsletter.side.countdown{
    width: 80vw;

   }



   .modalnewsletter.side .news .content{
    width: 80%;
    padding:  20px;
    align-items: center;
   }

   
      .modalnewsletter .news .content .top {
        justify-content: flex-end;
      }

      .modalnewsletter .news .content .top div{
        justify-content: flex-end;
      }

         .modalnewsletter .news .content .top .x{
          width: 30px;
          height: 30px;
          padding: 5px;
         }

   .modalnewsletter .news .content .top img{
    display: none;
   }

    .modalnewsletter.side .news .content h1{
      font-size: 18px;
    }
    .modalnewsletter.side .news .content h2{
      font-size: 16px;
    }



  


  .modalnewsletter .news .content{
    width: 90%;
    border-radius: 25px;
    align-items: center;
    gap: 10px;
    padding-top: 0;
  }

    .modalnewsletter .news .content p{
      text-align: center;
      font-size: 16px;
    }

     .modalnewsletter.side.countdown .news .content .btn{
      margin-top: 40px;
      background-color: white;
      margin-bottom: 20px;
    }
    .modalnewsletter.side .news .content .btn{
      margin-top: 40px;
      background-color: #0193fd;
      margin-bottom: 20px;
    }

      .modalnewsletter .news .content .btn{
        background-color: #fcf4eb;
        font-size: 12px;
        margin-top: 150px;
      }

        .modalnewsletter.side .news .content h1{
          display: inline;
          margin-top: 20px;
        }
  .modalnewsletter .news .content h1.mobile{
    display: inline;
    text-align: center;
    font-size: 26px;
    line-height: 32px;
  }
    .modalnewsletter .news .content h1{
      display: none;
    }

    .modalnewsletter .news .content h1 b{
      order: 1;
    }




  



  
}


