@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Space+Grotesk:wght@300..700&display=swap');

*{
    box-sizing: border-box;
}

:root{
    --text: #000000;
    --input: #cacaca;
}

html{
    font-family: 'Bricolage Grotesk', sans-serif;
    color: var(--text);
}

body{
    min-height: 100vh;
    display: grid;
    grid-template-columns: 45% 55%;
    margin: 0;
    background: linear-gradient(90deg, rgb(119, 119, 119), #c0c0c0);
}

.backbtn{
    position: fixed;
    top: 30px;
    left: 30px;
    color: black;
    display: grid;
    transition: transform 0.3s ease;
}

.backbtn:hover{
    transform: scale(1.15);
}

.backbtn:focus{
    transform: scale(0.98);
}

.backbtn svg{
    width: 30px;
    height: 30px;
}

.left{
    border-radius: 0 50px 50px 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.wrapper{
    padding: 40px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(500px, 100%);
    gap: 20px;
}

.right{
    width: 100%;
    height: 100%;
}

.logintitle{
    font-size: 2.4rem;
    text-align: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

#signupform{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.formfield{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    height: 50px;
    border-radius: 19px;
    width: 100%;
}

.inputicon{
    height: 50px;
    width: 50px;
    display: grid;
    place-items: center;
    background-color: black;
    border-radius: 18px 0 0 18px;
    margin: 0;
}

.inputicon span{
    font-size: 1.4rem;
    color: white;
}

.inputicon svg{
    color: white;
}

.formfield input{
    height: 50px;
    padding: 10px;
    border: 2px solid white;
    font-size: 1rem;
    color: var(--text);
}

.formfield input::placeholder{
    color: #000000;
}

.formfield:has(input:focus){
    outline: 2px solid #000000;
}

.formfield:has(input:hover){
    outline: 2px solid #000000;
}

.formfield:has(input){
    transition: all 1s ease;
}

.formfield input:focus{
    outline: none;
}

.passwordviewbtn{
    height: 50px;
    width: 50px;
    border: none;
    background-color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.passwordviewbtn svg{
    height: 25px;
    width: 25px;
    color: black;
}

.eyeclosed{
    display: none;
}

#loginBtn{
    margin-top: 20px;
    height: 50px;
    border-radius: 100px;
    border: none;
    color: white;
    background-color: #000000;
    font-family: inherit;
    font-weight: 800;
    font-size: 0.9rem;
    width: 200px;
}

#noacc{
    font-family: inherit;
    font-weight: 500;
    padding-top: 20px;
}

#noacc a{
    text-decoration: none;
    color: rgb(77, 77, 77);
}

#noacc a:hover{
    text-decoration: underline;
}