* {
    box-sizing: border-box;
}

.form-container h1 {
    font-weight: 600;
    margin: 0 0 14px 0;
    font-size: 27px;
    color:var(--cloudy-white);
    padding:0;
}

.form-container h1 span{
    color:var(--main-green);
}

.form-container{
    display: none;
    position: relative;
}

.opened{
    transform: scale(1);
    display: block;
}

h2 {
    text-align: center;
}

.content{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: column;
    margin-top: 5%;
    gap:24px;
}

.signup-page{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 400px;
    flex-direction: column;
    gap:24px;
}

#iscrim_sign_up_img{
    width: 75%;
}



.dots-container {
    display: flex;
    justify-content: space-between;
    gap: 3px;
    width: 95%;
}

.dot {
    width: 3px;
    height: 3px;
    background-color: #373942;
    border-radius: 50%;
    animation: wave 2s ease-in-out infinite;
    animation-delay: 10s;
}

@keyframes wave {
    0%{
        transform: translateY(0);
        background-color: #373942; /* Domyślny kolor */
    }
    30% {
        transform: translateY(-5px);
        background-color: #16a34a; /* Kolor zielony przy skoku */
    }
    70% {
        transform: translateY(3px);
        background-color: #16a34a; /* Kolor zielony przy skoku */
    }
    100%{
        transform: translateY(0);
        background-color: #373942; /* Domyślny kolor */
    }
}


.container a {
    color: var(--cloudy-white);
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.sign-up-button {
    background-color: var(--main-green);
    border:none;
    outline:none;
    font-weight: 500;
    font-size:16px;
    margin:10px 0 10px auto;
    padding:10px 40px;
    font-family: Montserrat;
    border-radius: 6px;
    cursor: var(--custom-pointer);
    color:var(--cloudy-white);
    transition:all 150ms ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:6px;
}

.sign-up-button:hover{
    background-color: var(--main-green-hover);
    transition: background-color 200ms;
}


.sign-up-button.ghost {
    background-color: transparent;
    border-color: #FFFFFF;
    border:2px solid var(--main-green);
    transition:border 100ms ease-in-out;
}

.sign-up-button.ghost:hover{
    border:2px solid var(--main-green-hover);
}

.window{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input{
    display:flex;
    justify-content: center;
    width: 100%;
    height: 44px;
    position: relative;
    border:1px solid var(--slate-steel);
    border-radius: 8px;
    background: #00000024;
    transition:border 150ms ease-in-out;
}

#u-box, #hu-box{
    margin:0;
}

.inputs-group{
    display: flex;
    flex-direction: column;
    gap:12px;
}

.input:hover{
    border-color: #464955;
}
.input:hover .input-img{
    border-color: #464955;
}

.input:focus-within .input-img{
    border-color: #757575;
}

.input:focus-within{
    border-color: #555966;
}


.login-input-wrapper:hover{
    border-color: #515461;
}



.input:focus-within img {
    filter: brightness(.75);
}

.input input{
    height: 100%;
    background:none;
    border:none;
    outline:none;
    text-indent: 8px;
    font-family: Montserrat;
    color:rgb(211, 211, 211);
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    width:100%;
    font-size:15px;
    padding:0;
    transition: background-color 150ms ease-in-out;
}


.input input::placeholder{
    font-weight: 500;
}



.input-img{
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 44px;
    border-right: 1px solid var(--slate-steel);
    transition:border 150ms ease-in-out;
}
.input-img img, .input-img img{
    border-radius: 6px 0 0 6px;
    height: 18px;
    width: 18px;
    filter:brightness(.4);
    transition: filter 150ms ease-in-out;
}

.container {
    background-color: var(--translucid-dark);
    border:1px solid var(--slate-steel);
    border-radius: 10px;
    box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.25),
    0 10px 10px rgba(0, 0, 0, 0.22);
    position: relative;
    width: 100%;
    z-index: 1;
    font-family: Montserrat;
    box-sizing: border-box;
    padding:24px 32px 20px 32px;
}


.username-errors-wrapper{
    display: flex;
    flex-direction: column;
    gap:3px;
    font-size:14px;
    box-sizing: border-box;
    margin: 0 8px 0 8px;
    padding-top:8px;
    color:var(--crimson-red);
}

.username-errors-wrapper span{
    display: none;
}

.input-merged{
    display: flex;
    flex-direction: column;
}

.alreadyhave {
    text-align: center;
    color: white;
    font-size: 0.8em;
    font-family: Montserrat;
    margin-top:8px;
}

.error_handlers{
    margin-top:14px;
}

.error_handlers p {
    color:var(--crimson-red);
    display: flex;
    justify-content: center;
    font-family: Montserrat;
    font-weight: 500;
    font-size:14px;
}


#checkemail, #check-hostmail a{
    background-color: var(--graphite);
    padding:4px;
    border:1px solid var(--slate-steel);
    border-radius: 4px;
    color:var(--mellow-yellow);
}

.sign_up_rest {
    width: 100%;
    display:flex;
    justify-content: flex-start;
    align-items: center;
    gap:10px;
    margin:8px 0 0 0;
}

.lfchk1 {
    padding: 0;
    margin:0;
    text-align: start;
    font-size: 11px;
    color: #62676e;
    font-family: Montserrat;
    font-weight: 400;
    width: 100%;
    border-left:1px solid #62676e;
    padding-left:6px;
    transition:all 150ms ease-in-out;
}

.lfchk1 a{
    font-size: 11px;
    cursor:alias;
    font-weight: 500;
    color: #7e848b;
    text-decoration: underline;
    cursor: var(--custom-pointer);
}

.lfchk1:hover{
    color: #7c8188;
    border-left:1px solid #7c8188;
}


.sign_up_rest input[type="checkbox"]:checked + label {
    color: #389240;
    border-left:1px solid #389240;
}

.sign_up_rest input[type="checkbox"]:checked + label a{
    color: #3cad47;
}

#checkbox1 {
    accent-color: rgb(43, 255, 0);
    width:16px;
    height: 16px;
    margin:0;
}

#checkbox2 {
    accent-color: rgb(43, 255, 0);
    width:16px;
    height: 16px;
    margin:0;
}


#pwd-error, #pwdrepeat-error, #hostpwd-error, #hostpwdrepeat-error{
    right: 40px;
}


.input span > img{
    width:20px;
}

#submit-error{
    position:absolute;
    left:0;
    right:0;
    bottom:7px;
    font-size: 14px;
}

#submithost-error {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 7px;
    font-size: 14px;
}

#check-email{
    position: absolute;
    top:7.5px;
    right:290px;
    white-space: nowrap
}

#check-hostmail{
    position: absolute;
    top: 2px;
    left:285px;
    padding:5px;
    white-space: nowrap
}

.shw-hide-pwd img{
    height: 16px !important;
    pointer-events: all;
    position: absolute;
    right: 10px;
    top:13px;
    cursor: var(--custom-pointer);
    filter:brightness(.7);
    transition:filter 150ms ease-in-out;
}

.shw-hide-pwd img:hover{
    filter:brightness(1);
}

.cont input {
    position: absolute;
    opacity: 0;
    cursor: var(--custom-pointer);
    height: 0;
    width: 0;
  }
  
  .cont {
    position: relative;
    cursor: var(--custom-pointer);
    font-size: 16px;
    user-select: none;
    overflow: hidden;
    margin-bottom:6px;
  }

  .cont label{
    cursor: var(--custom-pointer);
  }

  
  /* Create a custom checkbox */
  .checkmark {
    position: relative;
    top: 0;
    left: 0;
    min-height: 1em;
    min-width: 1em;
    border: 2px solid #414141;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  }
  
  /* When the checkbox is checked */
  .cont input:checked ~ .checkmark {
    border-image: linear-gradient(-45deg, #29f84b 0%, #cbff0f 100% );
    border-image-slice: 1;
  }
  
  /* Create the checkmark/indicator (hidden when not checked) */
  .checkmark:after {
    content: "";
    position: absolute;
  }
  
  /* Style the checkmark/indicator */
  .cont .checkmark:after {
    left: 0.22em;
    top: -2.3em;
    width: 0.25em;
    height: 0.5em;
    border: solid white;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
  }
  
  .cont .checkmark::before {
    left: 0.45em;
    top: 2em;
    width: 0.25em;
    height: 0.5em;
    border: solid white;
    border-width: 0 0.15em 0.15em 0;
    transform: rotate(45deg);
  }
  
  /* Show the checkmark when checked */
  .cont input:checked ~ .checkmark:after {
    top: 0.05em;
  }

.lds-ring {
    display:none;
    width: 16px;
    height: 16px;
 }
 
 .lds-ring div {
     box-sizing: border-box;
     display: block;
     position: absolute;
     width: 16px;
     height: 16px;
     margin: 0px;
 
     border: 2px solid #dfdfdf;
     border-radius: 50%;
     
     animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
     border-color: var(--cloudy-white) transparent transparent transparent;
 }
 
 .lds-ring div:nth-child(1) {
     animation-delay: -0.45s;
 }
 
 .lds-ring div:nth-child(2) {
     animation-delay: -0.3s;
 }
 
 .lds-ring div:nth-child(3) {
     animation-delay: -0.15s;
 }
 
 @keyframes lds-ring {
     0% {
         transform: rotate(0deg);
     }
 
     100% {
         transform: rotate(360deg);
     }
 }



    fieldset {
        border: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        padding:0;
        margin-bottom: 24px;
    }
  
  /* Hide default radio */
  .radio input[type="radio"] {
    position: absolute;
    visibility: hidden;
    display: none;
    opacity: 0;
    z-index: -1;
  }
  
  /* Customizing label */
  .radio label {
    position: relative;
    padding: 10px 20px 10px 25px;
    cursor: var(--custom-pointer);
    border-radius: 6px;
    color: var(--main-green);
    margin: 0px 16px;
    font-weight: 600;
    text-transform: uppercase;
  }
  
  .radio label, .radio label::before {
    -webkit-transition: .25s all ease;
    transition: .25s all ease;
  }
  
  .radio label::before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    content: " ";
    position: absolute;
    top: 30%;
    left: 0;
    width: 1em;
    height: 1em;
    border: 2px solid var(--main-green);
  }
  
  .radio input[type="radio"] + label::before {
    border-radius: 1em;
  }
  
  
  /* Checked toggle */
  .radio input[type="radio"]:checked + label {
    color: var(--cloudy-white);
    z-index: 1;
  }
  
  .radio input[type="radio"]:checked + label {
    padding: 10px 20px 10px 20px;
  }
  
  .radio input[type="radio"]:checked + label::before {
    top: 4px;
    width: 100%;
    height: 2em;
    z-index: -1;
  }

  .ywt{
    color:var(--cloudy-white);
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:6px;
    margin-bottom: 12px;
    padding:8px;
    border:1px solid var(--slate-steel);
    border-radius: 6px;
    background-color: #26292eab;
    overflow: hidden;
  }

  .ywt div{
    display: flex;
  }

.participate span, .organise span{
    animation: drop .5s cubic-bezier(0, 0, 0.5, 1) forwards;
    opacity:0;
}


.participate-you:nth-child(1),
.organise-you:nth-child(1) { 
    animation-delay: 25ms;
}

.participate-you span:nth-child(2),
.organise-you span:nth-child(2) { 
    animation-delay: 50ms;
}

.participate-you span:nth-child(3),
.organise-you span:nth-child(3) { 
    animation-delay: 75ms;
}

.participate-want span:nth-child(1),
.organise-want span:nth-child(1) { 
    animation-delay: .1s;
}

.participate-want span:nth-child(2),
.organise-want span:nth-child(2) { 
    animation-delay: .125s;
}

.participate-want span:nth-child(3),
.organise-want span:nth-child(3) { 
    animation-delay: .15s;
}

.participate-want span:nth-child(4),
.organise-want span:nth-child(4) { 
    animation-delay: .175s;
}

.participate-to span:nth-child(1),
.organise-to span:nth-child(1) { 
    animation-delay: .2s;
}

.participate-to span:nth-child(2),
.organise-to span:nth-child(2) { 
    animation-delay: .225s;
}

.participate-participate span:nth-child(1),
.organise-organise span:nth-child(1) { 
    animation-delay: .25s;
}

.participate-participate span:nth-child(2),
.organise-organise span:nth-child(2) { 
    animation-delay: .275s;
}

.participate-participate span:nth-child(3),
.organise-organise span:nth-child(3) { 
    animation-delay: .3s;
}

.participate-participate span:nth-child(4),
.organise-organise span:nth-child(4) { 
    animation-delay: .325s;
}

.participate-participate span:nth-child(5),
.organise-organise span:nth-child(5) { 
    animation-delay: .35s;
}

.participate-participate span:nth-child(6),
.organise-organise span:nth-child(6) { 
    animation-delay: .375s;
}

.participate-participate span:nth-child(7),
.organise-organise span:nth-child(7) { 
    animation-delay: .4s;
}

.participate-participate span:nth-child(8),
.organise-organise span:nth-child(8) { 
    animation-delay: .425s;
}

.participate-participate span:nth-child(9),
.organise-organise span:nth-child(9) { 
    animation-delay: .45s;
}

.participate-participate span:nth-child(10),
.organise-organise span:nth-child(10) { 
    animation-delay: .475s;
}

.participate-participate span:nth-child(11),
.organise-organise span:nth-child(11) { 
    animation-delay: .5s;
}






  @keyframes  drop {
    0% {
      transform: translateY(-30px) scaleY(0.9);
    }
    50% {
      transform: translateY(0px) scaleY(1);
    }
    100% {
      transform: translateY(0px) scaleY(1);
      opacity: 1;
    }
  }

  .participate-participate, .organise-organise{
    font-weight: 600;
    animation:color .5s cubic-bezier(0, 0, 0.5, 1) forwards;
    animation-delay: .4s;
  }

  .input{
    animation:lightUp 750ms cubic-bezier(0, 0, 0.5, 1);
  }

  .inputs-group .input-merged:nth-child(1) .input {
    animation-delay: 100ms; /* Zwiększone do 100ms */
  }
  
  .inputs-group .input-merged:nth-child(2) .input {
    animation-delay: 150ms; /* Zwiększone do 200ms */
  }
  
  .inputs-group .input-merged:nth-child(3) .input {
    animation-delay: 200ms; /* Zwiększone do 300ms */
  }
  
  .inputs-group .input-merged:nth-child(4) .input {
    animation-delay: 250ms; /* Zwiększone do 400ms */
  }
  
  .inputs-group .input-merged:nth-child(5) .input {
    animation-delay: 300ms; /* Zwiększone do 500ms */
  }
  
  


  @keyframes color {
    0%{
        color:var(--cloudy-white);
    } 
    
    100%{
        color:var(--main-green);
    }
  }

  @keyframes lightUp {
    0%{
        border-color:var(--slate-steel);
    }
    50%{
        border-color:rgb(114, 114, 114);
    }
    100%{
        border-color:var(--slate-steel);
    }
  }








  @media only screen and (max-width: 440px) {
    .signup-page{
        width: 90vw !important;
    }
    .container{
        padding:24px 20px 20px 20px;
    }
    .shw-hide-pwd img{
        height: 14px !important;
    }
}
