.main_element {
  position: absolute;
  z-index: 9999;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: none;
}
.welcome {
  user-select: none;
  position: absolute;
  width: 55vw;
  /* height: 60vh; */
  height: 60%;
  display: block;
  right: calc(50vw - 55vw / 2);
  top: calc(50vh - 65vh / 2);
  flex-direction: column;
  border-radius: 20px;
  display: none;
}

.none {
  display: none;
}
.welcome_header {
  position: relative;
  width: 100%;
  height: 30%;
  background-color: #064040;
  display: flex;
  flex-direction: column;
  border-radius: 10px 10px 0px 0px;
  align-items: center;
  justify-content: space-evenly;
}

.welcome_text {
  color: white;
  font-size: 20px;
  font-weight: 500;
  line-height: 20px;
  margin-top: 0;
  margin-bottom: 0;
}

.welcome_title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 34px;
  background: linear-gradient(132deg, #007200 0%, #cf3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0px 55px;
  margin-bottom: 0;
    margin-top: 0;
  text-align: center;
}

.welcome_body {
  position: relative;
  width: 100%;
  height: 70%;
  display: flex;
  background-color: rgba(255, 255, 255, 0.5);
  flex-direction: column;
  border-radius: 0px 0px 10px 10px;
  align-items: center;
  justify-content: space-evenly;
  padding: 15px 0;
}

.welcome_body img {
  width: auto;
  height: 70%;
}

.welcome_function {
  position: relative;
  width: 100%;
  height: 15%;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  /* margin-top: 20px;  */
}

.welcome_function button {
  width: 24%;
}
.green_button {
  position: relative;
  background: linear-gradient(132deg, #007200 0%, #cf3 100%);
  color: black;
  display: flex;
  text-transform: uppercase;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  height: 100%;
  cursor: pointer;
  font-size: 16px;
  line-height: 16px;
}

.welcome_footer {
  /* height: 15%; */
  position: relative;
  width: 100%;
  background-color: transparent;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.welcome-frame_text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* margin-top: 5px; */
}

.welcome_footer p {
  color: black;
  font-size: 0.9em;
  font-weight: 600;
}
.welcome_link {
  text-decoration: underline;
  padding-left: 0.5em;
  cursor: pointer;
}
.welcome_screen {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 35px;
}

.welcome_close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  cursor: pointer;
}

@media (max-width: 1300px) {
  .welcome_text {
    font-weight: 600;
  }
  .welcome_title {
    font-size: 28px;
    padding: 0 50px;
    font-weight: 700;
  }

  

  .welcome_function button {
    width: 30%;
  }


}

@media (max-width: 1076px) {


  .welcome {
      width: var(--width-welcome); 
      /* height: 45vh; */
      height: 45%;
      top: 50%;
      flex-direction: column;
      right: 50%;
      transform: translate(50%, -50%);
    }
  
    .welcome_header {
      height: 30%;
      justify-content: space-evenly;
      padding: 10px;
    }
    .welcome-frame_text {
      /* position: static; */
    }
  
    .welcome_text {
      font-size: 20px;
      line-height: 20px;
    }
  
    .welcome_close {
      width: 40px;
      top: 10px;
      height: 40px;
      right: 10px;
  }
    .welcome_title {
      margin: 0;
      font-size: 26px;
      line-height: 28px;
      padding: 0 45px;
    }
  
    .welcome_body {
      height: 75%;
      justify-content:space-between;
    }
  
    .welcome_body img {
      height: 62%;
    }
  
    .welcome_function {
      flex-direction: row;
      align-items: center;
      justify-content: space-evenly;
      height: auto;
      margin-top: 0px;
  }
  
    .welcome_function button {
      width: 35%;
      padding: 15px 20px;
      border: none;
      font-size: 16px;
      line-height: 16px;
      justify-content: center;
  }

  
    .welcome_footer p {
      font-size: 14px;
      line-height: 16px;
      text-align: center;
    }
  
    .welcome_function button:last-child {
      margin-bottom: 0px;
    }
  
    .welcome_footer {
      height: auto;
      padding: 0px 15px;
      margin-bottom: 15px;
    }
    .welcome_link {
      padding-left: 2px;
    }
  
}

@media (max-width: 768px) {
  

    .welcome {
        width: var(--width-welcome); 
        /* height: 55vh; */
        height: 55%;
        top: 50%;
        flex-direction: column;
        right: 50%;
        transform: translate(50%, -50%);
      }
      .welcome_title {
        font-size: 24px;
      }

    .welcome_close {
        width: 37px;
        height: 37px;
    }
    .welcome_body img {
      height: 58%;
  }

  .welcome_function button {
    width: 40%;
  }


}


@media (max-width: 576px) {
  

  .welcome {
      width: var(--width-welcome); 
      /* height: 60vh; */
      height: 60%;
      top: 50%;
      flex-direction: column;
      right: 50%;
      transform: translate(50%, -50%);
    }
  
    .welcome_header {
      height: 28%;
      /* justify-content: space-between; */
      justify-content:space-evenly;
      padding: 10px;
    }
    .welcome-frame_text {
      position: relative;
      height: 26px;
      margin-top: 0;
    }
  
    .welcome_text {
      font-size: 14px;
      line-height: 14px;
    }
  
    .welcome_close {
      width: 26px;
      top: 0px;
      height: 26px;
      right: 0px;
    }
    .welcome_title {
      margin: 0;
      font-size: 17px;
      line-height: 24px;
      padding: 0 5px;
  }
  
    .welcome_body {
      height: 72%;
      padding-top: 20px;
      justify-content:space-between;
    }
  
    .welcome_body img {
      height: 42%;
    }
  
    .welcome_function {
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: auto;
      margin-top: 0px;
    }
  
    .welcome_function button {
      width: 55%;
      padding: 10px;
      border: none;
      margin-bottom: 15px;
    }
  
    .green_button {
      font-size: 14px;
      line-height: 14px;
    }
  
    .welcome_footer p {
      font-size: 12px;
      font-weight: 700;
      line-height: 14px;
      text-align: center;
    }
  
    .welcome_function button:last-child {
      margin-bottom: 0px;
    }
  
    .welcome_footer {
      height: auto;
      padding: 0px 15px;
      margin-bottom: 10px;
    }
    .welcome_link {
      padding-left: 2px;
    }
  
  }


  @media (max-width:320px) {

    .welcome_header {
      /* height: 30%; */
      padding: 5px;
    }
    .welcome_body {
      /* height: 70%; */
      padding-top: 10px;
    }
    .welcome-frame_text {
      margin-top: 0;
      height: 22px;
    } 

    .welcome_close {
      width: 22px;
      height: auto;
    }

    .welcome_text {
      font-size: 11px;
    line-height: 11px;
    }

    .welcome_function button {
      width: 55%;
      padding: 7px;
      border: none;
      margin-bottom: 10px;
      font-size: 11px;
      line-height: 11px;
    }

    .welcome_footer p {
      font-size: 10px;
      font-weight: 700;
      line-height: 10px;
    }

    .welcome_title {
      font-size: 14px;
      line-height: 18px;
      padding: 0px;
    }

    .welcome_footer {
      margin-bottom: 0;
    }
   
  }