*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    position: relative;
    background-image: url('./assets/images/background-desktop.png');
    background-repeat: no-repeat;
    background-size: cover;
    overflow-x: hidden;
    font-family: 'Inconsolata', monospace;
}

body > img {
  width: auto;
  height: auto;
  max-width: 100%;
  position: absolute;
  z-index: -1;
}

.bottom-D{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    
}

.top{
    position: absolute;
    right: -10px;
    top: 50px;
    width:30%;
    height: 30%;
}

.main,
.final{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    color:white;
    width: 100%;
    padding: 30px;
    gap: 20px;
}

.final{
    display: none;
}

.main img,
.final img{
    width: 200px;
    height: 30px;
    margin-bottom: 30px;

}

.main h1{
    font-size: 50px;
    text-align: center;
    width: 60%;
}

.main .secure{
    font-size: 20px;
    text-align: center;
    line-height: 1.3;
    margin-bottom: 50px;
}

.main .upload-ava{
    margin-bottom: -10px;
}

form{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.note{
    font-size: 14px;
    margin-top: -10px;
}

.upload{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 400px;
    height: 120px;
    background-color: hsla(246, 15%, 58%, 0.164);
    padding: 20px;
    border-radius: 10px;
    gap: 15px;
    border: dashed 1.5px #fff;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    border: solid 1px #ffffff3f;
    background-color: hsla(246, 15%, 58%, 0.452);
  }

  .upload-label img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    margin: 0;
  }

  .username,
  .email,
  .github{
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

    .username input,
    .email input,
    .github input{
        width: 400px;
        height: 45px;
        border-radius: 10px;
        padding: 10px;
        border: none;
        background-color: hsla(246, 15%, 58%, 0.164);
        color: white;
        border: solid 1px #ffffff3f;
    }

    .email input::placeholder,
    .github input::placeholder{
        color: white;
        font-size: 14px;
    }


    button{
        width: 400px;
        height: 45px;
        border-radius: 10px;
        background-color: hsl(7, 88%, 67%);
        color: white;
        border: none;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        color: hsl(248, 70%, 10%);
    }



    .upload .btn{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 10px;
        display: none;
    }

    .upload .btn button{
        width: 20%;
        height: 25px;
        background-color: hsl(7, 88%, 67%);
        color: white;
        border: none;
        cursor: pointer;
        font-size: 9px;
        padding: 2px;
        background-color: hsla(246, 15%, 58%, 0.452);
        border-radius: 5px;
        font-weight: normal;
    }

    .final h1{
        font-size: 50px;
        text-align: center;
        margin-bottom: 20px;
        width: 50%;
    }

    .final p{
        margin-bottom: 60px;
        text-align: center;
        font-size: 18px;
        line-height: 1.3;
        width: 30%;
    }

    .ticket{
        position: relative;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content:space-between;
        width: 450px;
        height: 210px;
        padding:20px;
        margin: 0;
        background-image: url('./assets/images/pattern-ticket.svg');
        background-repeat: no-repeat;
        background-size: cover;
    }



    .upper{
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .upper img{
        width: 200px;
        margin: 0;
    }

    .upper p{
        font-size: 14px;
        color: white;
        text-align: left;
        margin: 0 0 0 45px;
        color: hsla(252, 6%, 83%, 0.61);
        width: 100%;
    }

    .lower{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
    }

    .lower img{
        width: 70px;
        height: 70px;
        border-radius: 20%;
        margin: 0;
    }

    .lower .text{
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: 20px;
        gap: 10px;
    }
    .lower .text h3{
        font-size: 20px;
        color: white;
        margin: 0;
    }

    .gitlink{
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .gitlink img{
        width: 16px;
        height: 16px;
        object-fit: cover;
    }

    .lower .text p{
        font-size: 16px;
        color: white;
        margin: 0;
        color: hsla(252, 6%, 83%, 0.61);
        width: 100%;
    }

    .final .final-h1 span{
        background: linear-gradient(to right, hsl(7, 86%, 67%), hsl(0, 0%, 100%));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;background-color: linear-gradient(to right, hsl(7, 86%, 67%), hsl(0, 0%, 100%));
    }
    .final .final-p span{
        color: hsl(7, 88%, 67%);
    }

    @media (max-width: 500px) {
        body {
        background-image: url('./assets/images/background-mobile.png');
        }
        .main,
        .final{
            padding: 20px;
        }
        .top{
            right: -20px;
            top: 30px;
            width: 40%;
            height: 40%;
        }
        .bottom-D{
            width: 60%;
            height: 150px;
        }
        .main h1{
            font-size: 30px;
            width: 100% !important;
        }
        .main .secure{
            font-size: 16px;
        }
        .upload{
            width: 100%;
        }
        .username input,
        .email input,
        .github input,
        button{
            width: 100%;
        }
        .final-h1{
            font-size: 30px !important;
            width: 100% !important;
        }
        .final p{
            font-size: 16px;
            margin-bottom: 30px;
            width: 100% !important;
        }
        .ticket{
            width: 337px;
            height: 157px;
            padding: 15px;
        }
        .ticket .lower img{
            width: 50px;
            height: 50px;
        }
        .gitlink img{
        width: 16px !important;
        height: 16px !important;
        object-fit: cover !important;
        }
        .ticket .upper{
            gap: 5px;
        }
        .ticket .lower .text{
            gap: 5px;
        }
        .upper img {
            width: 150px;
        }
        .upper p {
            font-size: 12px;
            margin-left: 30px;
        }
        .lower .text h3 {
            font-size: 16px;
        }
        .lower .text p {
            font-size: 14px;
        }
        .note {
            font-size: 12px;
        }
    }