* {
    box-sizing: border-box;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

body{
    background-color: #f4f4f4;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.logo {
    position: absolute;
    top: 80px;
    left: 77px;
    width: 100px;
    height: 121px;
}

.user-register-container{
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
}

.user-register{
    height: 630px;
    width: 598px;
    margin-top: 197px;
    background-color: white;
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.1);
    border-radius: 30px;
}

.Sign-up-text-container{
    display: flex;
    margin-top: 40px;
    margin-left: 20px;
    gap: 25%;
}

#passwordIcon,
#passwordControllIcon {
    cursor: pointer;
}

.returnLoginButton{
    position: fixed;
    margin-top: 32px;
    margin-left: 32px;
}

.left-btn img{
    width: 28px;
    height: 28px;
}

.left-btn img:hover{
    background-color: rgba(128, 128, 128, 0.11);
    border-radius: 50px;
    transform: scale(1.1);
}

.text-sign-up{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
}
h1{
    font-size: 61px
}

.blue-line{
    margin: 8px;
    height: 2px;
    width: 140px;
    background-color: #29ABE2;
}

form{
    margin-top: 16px;
}

.register-input {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.register-input input{
    width: 422px;
    height: 48px;
    padding: 0 0 0 30px;
    border-radius: 10px;
    outline: none;
    font-size: 20px;
    font-weight: 400;
}

.register-input div:first-child,
#controllPassword {
    margin-top: 20px;
}

.register-input input::placeholder{
    color: #D1D1D1;
    font-weight: 400;
    font-size: 20px;
}

.input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    right: 20px; 
    width: 20px;
    height: 20px;
}

#passwordControllIcon {
    margin-top: 20px;
}

.input-default {
border: 1px solid #D1D1D1;
}

.input-default:focus{
    border: 1px solid #29ABE2;
    transition: all 175ms ease-in-out;
}

.input-error {
border: 1px solid red;
}

.no-value-content {
    height: 20px;
    margin-top: 3px;
}

.error-massage{
    display: none;
    font-size: 9px;
    color: red;
    margin-right: 220px;
}

.error-massage-short {
    margin-right: 330px;
}

.error-massage-medium {
    margin-right: 255px;
}

.checkbox-privacy-policy-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.checkbox-privacy-policy-container input[type="checkbox"] {
    appearance: none;
    margin-right: 5px;
    width: 16px;
    height: 16px;
    border: 2px solid black;
    border-radius: 3px;
    position: relative;
    background-color: white;
    cursor: pointer;
    outline: none;
    transform-origin: bottom;
}

.checkbox-privacy-policy-container input[type="checkbox"]:hover {
    transform: scale(1.04);
}

.checkbox-privacy-policy-container input[type="checkbox"]:checked::before {
    content: "✔";
    font-size: 16px;
    color: black;
    position: absolute;
    top: -6px;
    left: 7px;
    width: 7.5px;
    height: 10px;
    display: flex;
    align-items: start;
    justify-content: end;
    background: rgb(255, 255, 255);
}

.privacy-policy{
    display: flex;
    align-items: center;
    gap: 3px;
}

.privacy-policy p{
    font-weight: 400;
    font-size: 16px;
    line-height: 19.2px;
    color: #A8A8A8;
}

.privacy-policy a{
    color: #29ABE2;
    transform-origin: top left;
    font-size: 16px;
}

.privacy-policy a:hover{
    transform: scale(1.03);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.register-button{
    display: flex;
    justify-content: center;
}

.register-button button{
    height: 55px;
    width: 126px;
    margin-top: 20px;
    padding: 8px 20px;
    border-radius: 8px;
    background-color: black;
    color: white;
    font-weight: 700;
    font-size: 21px;
    line-height: 25.2px;
}

.register-button button:hover{
    box-shadow: 0px 2px 3px 1px rgba(0, 0, 0, 0.2);
    background-color: #29ABE2;
    transform: scale(1.01);
    transition: 125ms ease-in-out;
}

.legal-information{
    display: flex;
    justify-content: center;
    margin-top: 55px;
    gap: 24px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 51px;
}

.legal-information a:hover{
    color: #29ABE2;
    transition: 75ms ease-in-out;
    transform: scale(1.03);
    font-weight: 400;
}

@media (min-width: 1920px) {
    .logo {
        left: calc(((100vw - 1920px) / 2 ) + 77px);
    }
}

@media (max-width: 1040px) and (max-height: 990px) {
    .legal-information {
        margin-top: 40px; 
        margin-bottom: 0;
    }

    .logo {
        top: 60px;
    }
}

@media (max-width: 1040px) and (max-height: 950px) {
    .user-register {
        height: 580px;
    }
}

@media (max-width: 1040px) and (max-height: 900px) {
    .logo {
        top: 40px;
    }

    .user-register {
        margin-top: 150px !important;
    }

    .legal-information {
        margin-top: 20px !important; 
    }
}

@media (max-width: 1040px) and (max-height: 850px) {
    .logo {
        height: 100px;
        width: auto;
    }

    .register-button button {
        margin-top: 10px !important;
    }

    form {
        margin-top: 0 !important;
    }

    .user-register {
        height: 550px !important;
    }

    .checkbox-privacy-policy-container {
        margin: 15px 0 !important;
    }
}

@media (max-width: 1040px) and (max-height: 800px) {
    .logo {
        height: 80px !important;
        width: auto !important;
    }

    .user-register {
        margin-top: 120px !important;
    }
}

@media (max-width: 1040px) and (max-height: 750px) {
    .logo {
        top: 20px !important;
    }

    .user-register {
        margin-top: 100px !important;
    }
}

@media (max-width: 1040px) and (max-height: 725px) {
    .register-input div:first-child {
        margin-top: 10px !important;
    }

    .checkbox-privacy-policy-container {
        margin: 10px 0 !important;
    }

    .user-register {
        height: 525px !important;
    }
}

@media (max-width: 1040px) and (max-height: 700px) {
    .logo {
        height: 60px !important;
        width: auto !important;
    }

    .register-button button {
        margin-top: 0 !important;
    }

    .register-input div:first-child {
        margin-top: 5px !important;
    }

    .register-button {
        padding: 5px !important;
    }

    .checkbox-privacy-policy-container {
        margin: 5px 0 10px 0 !important;
    }
}

@media (max-width: 1040px) and (max-height: 680px) {
    .user-register {
        height: 500px !important;
    }

    .text-sign-up {
        margin-top: 10px;
    }
}

@media(max-width: 680px){
    .logo {
        position: absolute;
        top: 37px;
        left: 38px;
        width: 64px;
        height: 78px;
    }

    .user-register{
        height: 595px;
        width: 100%;
        margin-left: 10px;
        margin-right: 10px;
        margin-top: 165.5px;
    }

    .left-btn img:hover{
        background-color: transparent;
        transform: scale(1);
    }

    .Sign-up-text-container{
        gap: calc(25% - 30px);
    }

    .blue-line{
        width: 108px;
        height: 3px;
    }

    .checkbox-privacy-policy-container {
        margin-top: 15px;
        margin-bottom: 30px;
    }

    .privacy-policy a:hover{
        transform: scale(1);
        text-decoration: none;
        text-underline-offset: 3px;
    }

    .register-button button{
        margin-top: 0px;
    }

    .register-button button:hover{
        box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
        background-color: black;
        transform: scale(1);
        transition: none;
    }

    .legal-information a:hover{
        color: black;
        transition: none;
        transform: scale(1);
        font-weight: 400;
    }
}

@media(max-width: 550px){
    .Sign-up-text-container {
        margin-top: 10px;
    }
}

@media(max-width: 480px){
    .register-input input {
        width: 364px;
    }

    .no-value-content {
        width: 364px;
    }

    .error-massage {
        margin-right: 0;
    }
}

@media(max-width: 420px){
    .Sign-up-text-container {
        gap: calc(18% - 30px);
    }

    .register-input input {
        width: 324px;
    }

    .no-value-content {
        width: 324px;
    }

    .returnLoginButton {
        margin-left: 16px;
    }
}

@media(max-width: 375px){
    .Sign-up-text-container {
        margin-top: 10px;
    }

    .register-button {
        padding: 10px 0;
    }

    .text-sign-up h1 {
        font-size: 50px !important;
    }
}

@media(max-width: 370px){
    .returnLoginButton{
        margin-left: 10px;
    }

    .register-input input {
        width: 264px;
    }

    .no-value-content {
        width: 264px;
    }
}