@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #212121;
    color: #E8E8E8;
}

.container {
    width: 80%;
    height: 80vh;
    display: flex;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.form-image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(39, 89, 189, 0.589);
    backdrop-filter: blur(20px) brightness(110%) saturate(120%);
    border-width: 2px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
    border-right-color: transparent;
    padding: 1rem;
}

.form-image img {
    width: 31rem;
}

.form {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.2);
    padding: 3rem;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) brightness(110%) saturate(120%);
}

.form-header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 80px;
}

.form-header h1::after {
    content: '';
    display: block;
    width: 4rem;
    height: 0.3rem;
    background-color: #4169E1;
    margin: 0 auto;
    position: absolute;
    border-radius: 10px;
}

.form-header h5 {
    display: block;
    width: 90%;
    margin-top: 1rem;
}

.icons .icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 20px;
    transition: .3s ease-out;
}

.icons .icon:hover {
    scale: 1.15;
}

.icons .icon .bg {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    transform: rotate(14deg);
    transition: .3s ease-out;
}

.icons .icon:hover .bg {
    transform: rotate(24deg);
}

.icons .icon:nth-child(1) .bg {
    background: #4169E1;
}

.icons .icon .glass {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, .2);
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
  }

.icons .icon i {
    font-size: 36px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, .3)
    );
    -webkit-text-fill-color: transparent;
}

.logo img {
    width: 100%;
    height: auto;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 0;
}

.input-box {
    position: relative;
    margin-bottom: 1.1rem;
}

.input-box input {
    display: flex;
    margin: 0.6rem 0;
    padding: 1.2rem 8rem;
    border: none;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #E8E8E8;
    font-size: 16px;
    text-align: left;
}

.input-box input:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.input-box input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
}

.icon-container {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.bx {
    font-size: 20px;
    color: #E8E8E8;
}

.input-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.continue-button button {
    width: 100%;
    margin-top: 0.2rem;
    border: none;
    background-color: #4169E1;
    padding: 1.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.continue-button button:hover {
    background-color: #3e63d4;
}

.continue-button button a {
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    color: #E8E8E8;
}

@media screen and (max-width: 1330px) {
    .form-image {
        display: none;
    }
    .container {
        width: 50%;
    }
    .form {
        width: 100%;
    }
}

@media screen and (max-width: 1064px) {
    .container {
        width: 90%;
        height: auto;
    }
    .input-group {
        flex-direction: column;
        z-index: 5;
        padding-right: 5rem;
        max-height: 10rem;
        overflow-y: scroll;
        flex-wrap: nowrap;
    }
    .gender-inputs {
        margin-top: 2rem;
    }
    .gender-group {
        flex-direction: column;
    }
    .gender-title h6 {
        margin: 0;
    }
    .gender-input {
        margin-top: 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .container {
        flex-direction: column;
        height: auto;
    }
    .form {
        width: 100%;
        padding: 2rem;
    }
    .input-group {
        padding: 0.5rem 0;
    }
    .input-box input {
        padding: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .input-box {
        position: relative;
    }

    .input-box input {
        padding-right: 3rem;
    }

    .input-box .icon-container {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
    }
}