/* Reset css */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html{
  height: 100%;
}
body {
  height: 100%;
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body{
    display: flex;
    flex-direction: column;
    background-color: rgb(0, 0, 0);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header{
 min-height: 425px;
 display: flex;
 align-items: center;
 background-image: url(./img/header.webp);
 background-size: cover;
 background-repeat: no-repeat;
 background-position: center; 
}
.header_body{
  padding-top: 90px;
}
.header_body h1{
  font-size: 26px;
  line-height: 30px;
  color: rgb(255, 255, 255);
  font-family: "Popins-Medium";
  text-align: center;
}
.header_body h2{
  width: 340px;
  padding-top: 10px;
  font-size: 12px;
  line-height: 18px;
  color: rgb(255, 255, 255);
  font-family: "Popins-Light";
  text-align: center;  
}

.main_body{  
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  margin-top: -70px;
  border-top: 3px solid #F9D838;
  border-radius: 40px 40px 0 0;
  background-color: #25272B; 
}
.main_body .task_list{
  width: 325px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.main_body .task_list .head{
 display: flex;
 justify-content: space-between;
 align-items: center;
}
.main_body .task_list span{
  font-size: 18px;
  line-height: 36px;
  color: rgb(255, 255, 255);
  font-family: "Popins-Regular";
}
#copyButton{
  padding: 0 12px;
  display: flex;
  align-items: center;
  background-color: #8470F9;
  border: solid 1px #8470F9;
  border-radius: 10px; 
}
#copyButton span{
  font-size: 14px;
  line-height: 36px;
  font-family: "Popins-Medium";
  color: rgb(255, 255, 255);
}
#copyButton svg{
  padding-left: 10px;
}

.clickFormBtn {
    background-color: #007bff; 
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.clickFormBtn.confirmed {
    background-color: #28a745;
    cursor: not-allowed;
}

.clickFormBtn.error {
    background-color: #dc3545;
    cursor: not-allowed;
}


.main_body .buttons {
  width: 325px;
}
.main_body .buttons button{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 1px solid #32363C;
  border-radius: 10px;
  background: #32363C;
  margin-bottom: 10px;
}
.main_body .buttons button span{
  font-size: 14px;
  line-height: 36px;
  font-family: "Popins-Regular";
  color: rgb(255, 255, 255);
  display: flex;
  align-items: center;
}
.main_body .buttons button span>img{
  padding: 7px 14px 7px 7px;
}
.main_body .bottom{
  margin-top: 20px;
  margin-bottom: 20px;
}
.main_body .bottom p{
  text-align: center;
  font-size: 14px;
  line-height: 19px;
  font-family: "Popins-Regular";
  color: rgb(255, 255, 255);
}
.main_body .bottom p span{
  font-family: "Popins-Medium";
  color: #EFCB82 ;
}

/* Media requests */
@media (max-width: 1200px) {
    .container {
      max-width: 970px;
    }
  }

  @media (max-width: 992px) {
    .container {
      max-width: 750px;
    } 
  }

  @media (max-width: 768px) {
    .container {
      max-width: none;
      padding: 0;
    }    
   
}
    
  @media (max-width: 575px) {
  
  }

  
   @font-face {
    font-family: Popins-Light;
    src: url(./fonts/Poppins-Light.woff2);
  }
  @font-face {
    font-family: Popins-Regular;
    src: url(./fonts/Poppins-Regular.woff2);
  }
  @font-face {
    font-family: Popins-Medium;
    src: url(./fonts/Poppins-Medium.woff2);
  }
  
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(33, 36, 41, 0.50) 38.34%, rgba(249, 216, 56, 0.50) 100%);
  z-index: 999;
  display: none;
  height: 100%;
  width: 100%;
}

.popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0; 
  transform: translateY(100%); 
  transition: transform 0.3s ease-in-out;
  z-index: 1001;
  width: 100%;
  height: 100%; 
}

.popup.hidden {
  transform: translateY(100%);
}

.popup.show {
  transform: translateY(0);
}

.popup-content {
  border-top: 3px solid #F9D838;
  border-radius: 40px 40px 0 0; 
  background-color: #25272B;
  color: white;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  max-width: 100%; 
  width: 100%;
  position: absolute;
  bottom: 0;
  box-sizing: border-box;
  z-index: 1000;
}
.popup-content>img{
  margin-top: 10px;
}
.popup-content p{
  margin-top: 15px;
  font-size: 20px;
  line-height: 26px;
  color: rgb(255, 255, 255);
  font-family: "Popins-Medium";
}
.popup-content span{
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 18px;
  color: rgb(192 190 190);
  font-family: "Popins-Light";
}
.popup-content>a button.click{
  margin-top: 20px;
  padding: 4px 0;
  width: 325px;
  font-size: 16px;
  line-height: 36px;
  color: rgb(255, 255, 255);
  font-family: "Popins-Medium";
  background-color: #8470F9;
  border: solid 1px #8470F9;
  border-radius: 10px; 
  cursor: pointer;
}
.popup-content>form button.clickFormBtn{
  margin-top: 15px;
  padding: 4px 0;
  width: 325px;
  font-size: 16px;
  line-height: 36px;
  color: rgb(255, 255, 255);
  font-family: "Popins-Medium";
  background-color: #8470F9;
  border: solid 1px #8470F9;
  border-radius: 10px; 
  cursor: pointer;
}
.popup-content>form input#solanaAddress{
  margin-top: 20px;
  padding:9px 15px;
  width: 293px;
  font-size: 16px;
  line-height: 16px;
  color: rgb(255, 255, 255);
  font-family: "Popins-Light";
  background-color: #454A53;
  border: solid 1px #454A53;
  border-radius: 10px; 
  cursor: pointer;
}


.close-button {
  position: absolute;
  top: 15px;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.close-button2{  
  margin-top: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

#result{
  margin-top: 5px;
  color:#FF4040;
  font-size: 9px;
  line-height: 18px;
  font-family: "Popins-Light";
}
.error-placeholder::placeholder {
  color: red;
  font-weight: bold;
}

#solana-popup > .popup-content {
  height: 100% !important;
}

html, body {
  margin: 0;
     padding: 0;
     height: 100%; 
     overscroll-behavior: none; 
     overflow: auto; 
 }