@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
*{
    margin: 0px 0px;
    padding: 0px 0px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    height: 100vh;
    width: 100%;
    background: url('bg.jpg') no-repeat center;
    background-size: cover;
    backdrop-filter: blur(4px);
}

.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 100px;
}
.container::after{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.signup-box{
    max-width: 850px;
    border-radius: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    box-shadow: 0px 0px 50px 15px rgba(0, 0, 0, 0.19);
}

.left{
    background: url('img.jpg') no-repeat center;
    background-size: cover;
    height: 100%;
    border-radius: 15px 0px 0px 15px;
}
.right{
    padding: 25px 40px;
}

h2{
    position: relative;
    padding: 0 0 10px;
    margin-bottom: 40px;
}
h2::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 50px;
    border-radius: 2px;
    background-color: #0a519c;
}

.field{
    width: 100%;
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 6px;
    outline: none;
    background-color: rgba(230, 230, 230, 0.6);
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    margin-bottom: 22px;
    transition: 0.3s;
}
.field:hover{
    background-color: rgba(0, 0, 0, 0.1);
}

.btn{
    border-radius: 22px;
    padding: 8px 20px;
    margin-top: 20px;
    background-color: #0a519c;
    color: white;
    font-size: 1.1rem;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}
.btn:hover{
    background-color: #0880ff;
}
a{
    font-size: 13px;
    color: #0a519c;
}

.field:focus{
    border: 2px solid rgba(30, 85, 250, 0.47);
    background-color: #fff;
}

@media (max-width: 480px){
    .container{
        margin: 0px 0px;
        box-sizing: content-box;
        padding: 0px 0px;
    }
    .signup-box{
        grid-template-columns: 1fr;
        max-width: 360px;
    }
    .left{
        height: 200px;
    }
    .right{
        padding: 20px 35px;
    }
    h2{
        position: relative;
        padding: 0 0 10px;
        margin-bottom: 10px;
        font-size: 19px;
    }
    .field{
        padding: 10px 20px;
        font-size: 20px;
        margin-bottom: 15px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .signup-box{
        grid-template-columns: 1fr;
    }
    .left{
        height: 200px;
    }
}