@font-face {
    font-family: 'titles';
    src: URL('/fonts/titles.ttf') format('truetype');
}

@font-face{
    font-family: 'poppins';
    src: URL('/fonts/poppins.ttf') format('truetype');
}

@font-face{
    font-family: 'alan';
    src: URL('/fonts/alan.ttf') format('truetype');
}

@font-face{
    font-family: 'alanlight';
    src: URL('/fonts/alanlight.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
}

main {
    display: flex;
    height: calc(100% - 55px); /* Full height minus the header */
}

@media (max-width: 1004px) {
  /* Mobile styles */
    header {
        height: 55px;
        background-color: rgb(18, 18, 18);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    .left {
        display: none;
    }

    .right {
        flex: 1;
        display: flex;
        flex-direction: column;
        background-color: rgb(5, 16, 27);
        align-items: center;
        justify-content: center;
        text-align: center;
        overflow: hidden;
        max-width: 100%;
    }
    .sign-up-container{
        margin:auto;
        justify-content: center;
        align-items: center;
        transform: translateY(-50%);
    } 
    .input-container {
        position: relative;
        width: 300px;
        margin:auto;
    }  
    .white-button{
        display: flex;
        background-color: white;
        max-width: 300px;
        height: 50px;
        border-radius: 25px;
        text-align: center;
        align-items: center;
        justify-content: center;
        margin: auto;
    }
}
@media (min-width: 1005px) {
  /* Desktop styles */
    header {
        height: 55px;
        background-color: rgb(18, 18, 18);
        color: white;
        display: flex;
        align-items: center;
        justify-content: left;
        font-size: 18px;
        padding-left: 20px;
    }
    .left img {
        max-height: 100%;
        object-fit: cover;
    }

    .left {
        flex: 1;
        background-color: black;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 45%;
    }

    .right {
        flex: 1;
        background-color: rgb(5, 16, 27);
        padding: 20px;
        overflow: hidden;
        max-width: 55%;
    }
    .sign-up-container{
        padding-left: 70px;
        padding-top: 20vh;
    }
    .input-container {
        position: relative;
        width: 300px;
    }
    .white-button{
        display: flex;
        background-color: white;
        max-width: 300px;
        height: 50px;
        border-radius: 25px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }
}



.text-container
{
    position: absolute;
    top: 80px;
    left: 25px;
}

h1{
    font-family: 'alan', sans-serif;
    color: white;
}

h2{
    margin-top: 5px;
    font-family: 'alanlight', sans-serif;
    color: #ddd;
}

input{
    font-family: 'alanlight', sans-serif;
}

input[type='text'] {
    width: 100%;
    padding: 16px 12px 8px 12px;
    background: transparent;
    border: 1px solid white;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    outline: none;
}
input[type='password'] {
    width: 100%;
    padding: 16px 40px 8px 12px;
    background: transparent;
    border: 1px solid white;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    outline: none;
}


label {
    position: absolute;
    top: 50%;
    left: 12px;
    color: white;
    pointer-events: none;
    transform: translateY(-50%);
    transition: 0.2s ease all;
    background-color: transparent;
    padding: 0 4px;
    font-family: 'alan', sans-serif;
}

input:focus + label,
input:not(:placeholder-shown) + label {
    top: 4px;
    left: 8px;
    font-size: 10px;
    background-color: transparent;
    transform: none;
}

.mailpass-inputs-container{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toggle-visibility {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.toggle-visibility img {
    width: 100%;
    height: 100%;
    filter: invert(1); 
}

.title{
    font-size: 45px;
}



a{
    text-decoration: none;
}

.white-button .button-text{
    margin: 0;
    color: black;
    text-align: center;
    font-family: 'alan', sans-serif;
    font-size: 20px;
    transition: transform 0.09s ease;
}

.white-button:hover .button-text{
    transform: scale(1.05);
}

.text{
    color: rgb(189, 188, 188);
    font-family: 'alanlight', sans-serif;
}

.otp-container{
    display: none;
}

#goback{
    color: white;
}