@font-face {
    font-family: Impact;
    src: url(impact.ttf);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Impact", sans-serif;
  }
  
  :root {
    --primary-color: #df740c;
    --second-color: #ffffff;
    --black-color: #000000;
    --success-color: #3cb244;
    --error-color: #d40001;
    --link-color: #df740c;
    --link2-color: #808080;
    --notice-color: #73c2fb;
  }
  
  body {
    /* background-image: url("red-purple-blue-smoke-abstract-wallpaper-picjumbo-com.jpg"); */
    background-image: url("7011_L.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }
  
  a {
    text-decoration: none;
    color: var(--link-color);
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  .wrapper, .wrapper_, .wrapper_s, .wrapper_d  {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    /* background-color: rgba(0, 0, 0, 0.2); */
  }

  .wrapper_s {
    min-height: 85vh;
  }
  .wrapper_d {
    min-height: 85vh;
  }
  
  .login_box {
    position: relative;
    /* width: 450px; */
    backdrop-filter: blur(25px);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 5.5em 2.5em 0em 2.5em;
    color: var(--second-color);
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  }

  .login_box_reg {
    position: relative;
    /* width: 450px; */
    backdrop-filter: blur(25px);
    border: 2px solid var(--success-color);
    border-radius: 8px;
    padding: 2.5em;
    font-size: 24px;
    text-align: center;
    color: var(--second-color);
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  }

  .login_box_reg_false {
    position: relative;
    /* width: 450px; */
    backdrop-filter: blur(25px);
    border: 2px solid var(--error-color);
    border-radius: 8px;
    padding: 2.5em;
    font-size: 24px;
    text-align: center;
    color: var(--second-color);
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
  }
  
  .login-header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    width: 240px;
    height: 80px;
    border-radius: 0 0 8px 8px;
    text-align: center;
  }
  
  .login-header span {
    font-size: 28px;
    color: var(--black-color);
  }
  
  .login-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: -30px;
    width: 30px;
    height: 30px;
    border-top-right-radius: 20%;
    background: transparent;
    box-shadow: 15px 0 0 0 var(--primary-color);
  }
  
  .login-header::after {
    content: "";
    position: absolute;
    top: 0;
    right: -30px;
    width: 30px;
    height: 30px;
    border-top-left-radius: 20%;
    background: transparent;
    box-shadow: -15px 0 0 0 var(--primary-color); /* Removed space before --primary-color */
  }
  
  /* List */
  .wrapper_l {
    display: inline-grid;  
    justify-content: center;
    align-items: center;  
    width: 100%;
  }
  .login_box_list {
    text-align: center;
    position: relative;
    width: 100%;
    backdrop-filter: blur(25px);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 0.5em 2.5em 0.5em 2.5em;
    color: var(--second-color);
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
    margin: 0.5em 0 0.5em 0;
  }
  .login_box_list_paid {
    text-align: center;
    position: relative;
    width: 100%;
    backdrop-filter: blur(25px);
    border: 2px solid grey;
    border-radius: 8px;
    padding: 0.5em 2.5em 0.5em 2.5em;
    color: grey;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
    margin: 0.5em 0 0.5em 0;
  }
  
  /* ##### List ##### */

  .input_box {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 20px 0;
  }
  
  .input-field {
    width: 100%;
    height: 40px;
    font-size: 18px;
    background: transparent;
    color: var(--second-color);
    padding-inline: 20px 50px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    outline: none;
  }
  
  #user {
    margin-bottom: 10px;
  }
  
  label {
    font-size: 18px;
  }

  .label {
    position: absolute;
    top: 10px;
    left: 20px;
    transition: 0.2s;
    font-size: 24px;
  }
  
  .icon {
    position: absolute;
    top: 18px;
    right: 25px;
    font-size: 20px;
  }
  
  .remember-forgot {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
  }
  
  .input-submit {
    width: 100%;
    height: 50px;
    background: #ececec;
    font-size: 24px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 24px;
  }

  .input-submit-list {
    width: 80%;
    height: 36px;
    background: #ececec;
    font-size: 24px;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 12px;
}

  .a-select-tournament, .a-cancelled-tournament {
    text-decoration: none;
    text-align: center;
    padding: 10px;
  }

  .a-select-tournament:hover {
    text-decoration: none;
    padding: 2px;
    font-size: 36px;
  }
  
  .input-submit:hover {
    background: var(--second-color);
  }
  
  .register {
    text-align: center;
  }
  
  .register a {
    font-weight: 500;
  }
  
  .msg_error {
    color: var(--error-color);
  }

  .counter {
    text-align: center;
    margin-top: 16px;
    font-size: 24px;
  }

  .counter-small {
    text-align: center;
    margin-top: 16px;
    font-size: 20px;
    color: var(--notice-color);
  }

  .notice {
    color: var(--notice-color);
    margin: 20px 0 0 0;
    font-size: 20px;
    font-style: italic;
  }

  .link_paid {
      text-decoration: none;
      color: var(--link-color);
      border: 1px solid var(--link-color);
      padding: 4px;
      margin: 10px;
      border-radius: 5px;
      display: inline-block;
      width: 80%;
      font-size: 1.5em;
  }

  .link_paid_successors {
    text-decoration: none !important;
    color: var(--link2-color);
    border: 1px solid var(--link2-color);
    padding: 4px;
    margin: 10px;
    border-radius: 5px;
    display: inline-block;
    width: 80%;
    font-size: 1.5em;
}

  @media only screen and (max-width: 564px) {
    .wrapper {
      padding: 20px;
    }
  
    .login_box {
      padding: 7.5em 1.5em 4em 1.5em;
    }
  }