@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800&display=swap");

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    --main-color: #f58220;
    --light-main-color: #f58220;
    --text-color: #000;
    --nav-color: #e0e0e0;
    --bg-color: #fff;
    --light-text-color: #9ca7b6;
    --input-bg: hsla(228, 50%, 50%, 6.5%);
    --input-bg-hover: hsla(228, 50%, 50%, 14%);
    --shadow--: hsla(228, 66%, 45%, .1);
    /* overflow: hidden; */
}

.dark {
    --bg-color: hsl(208, 30%, 16.5%);
    --input-bg: hsla(228, 22%, 50%, 11%);
    --input-bg-hover: hsla(228, 22%, 50%, 18.5%);
    --text-color: #fff;
    --shadow--: hsla(0, 0%, 100%, 0);
}

.dark .logo img.logo-forDark {
    display: block;
}

.dark .logo img.logo-forLight {
    display: none;
}

.transition {
    transition: 1s cubic-bezier(0.4, 0.1, 0.4, 1) !important;
}

a {
    text-decoration: none;
}

.dark .wave-wrap svg {
    transform: translateY(-50%) scaleX(0);
}

.dark .wave-wrap {
    transform: scale(1.8);
    filter: blur(55px);
}

header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    align-items: center;
    transition: all .50s ease;
    z-index: 4;
}

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: hsla(228, 30%, 16.5%, 80%);
    z-index: 2;
    opacity: 0;
}

.myMenu {
    display: none;
}

.dark .background {
    opacity: 1;
}

.dark .image-wrapper .img {
    /* transform: translate(-50%, -50%) scale(1.4); */
}

/* .menu-mobile {
    display: none;
} */

header .container {
    max-width: 82rem;
    margin: 0 auto;
    padding: 0 1rem;
    height: 65px;
    display: flex;
    align-items: flex-end;
}

header ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 3rem;
}

.logo .images {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.logo img {
    height: 35px;
    grid-column: 1/2;
    grid-row: 1/2;
    margin-right: 0.8rem;
}

.logo .logo-forDark {
    display: none;
}

.nav-link {
    margin-left: 5.5rem;
    padding: 0 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--main-color);
}

.nav-link.theme-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.moon {
    display: none;
}

.sun {
    display: inline;
}

.dark .moon {
    display: inline;
}

.menu-menu {
    display: flex;
    align-items: center;
}

.dark .sun {
    display: none;
}

.register {
    width: 100%;
    /* overflow: hidden; */
    background-color: var(--bg-color);
}

.register .container {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.register .container>div {
    grid-column: 1/2;
    grid-row: 1/2;
}

.left {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 130px 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* align-items: center; */
    position: relative;
    /* z-index: 3; */
}

.register-heading h1 {
    font-weight: 600;
    color: var(--text-color);
    font-size: 2rem;
    line-height: 0.9;
    white-space: nowrap;
    margin-bottom: 1.2rem;
}

.register-heading h1 span {
    color: var(--main-color);
}

.text {
    color: var(--light-text-color);
    line-height: 1.1;
    font-size: 1rem;
}

.text a {
    color: var(--main-color);
    transition: 0.3s;
}

.text a:hover {
    color: var(--main-color-hover);
}

.form-wrapper {
    max-width: 41rem;
    max-height: 60rem;
    z-index: 3;
}

.register-form {
    display: grid;
    margin-top: 2.55rem;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
    row-gap: 1rem;
}

.input-wrap {
    position: relative;
}

.input-wrap.w-100 {
    grid-column: span 2;
}

.register-input {
    width: 100%;
    background-color: var(--input-bg);
    padding: 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem;
    border: none;
    outline: none;
    font-family: inherit;
    border-radius: 20px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    box-shadow: 0 6px 6px var(--shadow--);
    transition: 0.3s;
}

.register-input:hover {
    background-color: var(--input-bg-hover);
}

.input-wrap label {
    position: absolute;
    top: 50%;
    left: calc(1.35rem + 2px);
    transform: translateY(-50%);
    color: var(--light-text-color);
    pointer-events: none;
    font-family: inherit;
    transition: .25s;
}

textarea.register-input {
    resize: none;
    width: 100%;
    min-height: 150px;
}

textarea.register-input~label {
    top: 1.2rem;
    transform: none;
}

.input-wrap.focus .register-input {
    background-color: var(--bg-color);
    border: 2px solid var(--light-main-color);
    box-shadow: 0 12px 16px var(--shadow--);
}

.input-wrap.focus label {
    color: var(--light-main-color);
}

.input-wrap.not-empty label {
    font-size: .66rem;
    top: 0.75rem;
    transform: translateY(0);
}

.register-button {
    display: flex;
    grid-column: span 2;
    justify-content: center;
    align-items: center;
    align-content: center;
    column-gap: 1rem;
    margin-top: 1rem;
}

.btn {
    width: 90%;
    display: inline-block;
    padding: 1.1rem 2rem;
    background-color: var(--main-color);
    color: #fff;
    border-radius: 40px;
    border: none;
    font-family: inherit;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.1);
}

.right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    pointer-events: none;
}

.image-wrapper {
    position: relative;
    grid-column: 2;
}

.image-wrapper .img {
    position: absolute;
    height: 100%;
    left: 130%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.wave-wrap {
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 100%;
    background-color: var(--bg-color);
    transform: scale(2);
    filter: blur(51px);
}

.wave-wrap svg {
    position: absolute;
    height: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) scaleX(1);
    left: calc(100% - 50px);
    transform-origin: left;
}

#wave {
    fill: var(--bg-color);
    height: 100%;
}

/* chatgrp4 */
@media (max-width: 450px) {

    header .container {
        height: 50px;
        display: flex;
        justify-content: space-between;
        /* column-gap: 150px; */
        padding: 0;
    }

    .left {
        padding: 50px 1.5rem 0;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .form-wrapper {
        width: 100%;
        padding: 1rem 0;
        overflow: hidden;
    }

    .register-input {
        box-shadow: none;
    }

    .input-wrap.focus .register-input {
        box-shadow: none;
    }

    .logo {
        margin-right: 0;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        margin: 0;
        transition: 0.5s;
        background-color: #1E2537;
        flex-direction: column;
        padding: 100px 30px;
        row-gap: 1.5rem;
        max-width: 400px;
    }

    .navbar.open {
        right: 0;
    }

    .dark .navbar {
        background-color: #fff;
    }

    .navbar li {
        margin-left: 10px;
    }

    .navbar a {
        text-decoration: none;
        font-size: 1.4rem;
        display: block;
        transition: 0.3s;
    }

    .dark .nav-link {
        color: #000;
    }

    .nav-link {
        margin-left: 0;
        color: #e0e0e0;
    }

    .right {
        display: none;
    }
}

@media (min-width: 768px) {
    body {
        overflow-y: scroll;
        overflow-x: hidden;
    }

    .left {
        padding: 50px 1.5rem 0;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .form-wrapper {
        width: 100%;
        padding: 3.8rem 0;
        overflow: hidden;
    }

    .register-input {
        box-shadow: none;
    }

    .input-wrap.focus .register-input {
        box-shadow: none;
    }
}

@media (min-width: 1024px) {
    body {
        overflow: hidden;
    }

    .left {
        width: 100%;
        max-width: 1050px;
        margin: 0 auto;
        background-color: var(--bg-color);
        /* padding: 130px 1.5rem 0; */
        /* display: grid; */
        display: flex;
        /* align-items: center; */
        /* position: relative; */
        /* z-index: 3; */
    }

    .image-wrapper .img {
        position: absolute;
        height: 130%;
        left: 60%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

@media (min-width: 1440px) {
    .left {
        right: 8rem;
        width: 100%;
        /* top: 5rem; */
        max-width: 1500px;
        margin: 0 auto;
        background-color: var(--bg-color);
        /* padding: 130px 1.5rem 0; */
        /* display: grid; */
        display: flex;
        /* align-items: center; */
        justify-content: center;
        /* align-items: center; */
        /* position: relative; */
        /* z-index: 3; */
    }

    .wave-wrap {
        position: absolute;
        height: 100%;
        background-color: #fff;
        /* top: 50%; */
        /* left: calc(100% - 50px); */
    }

    .image-wrapper .img {
        position: absolute;
        height: 130%;
        left: 60%;
        top: 50%;
        /* transform: translate(-50%, -50%); */
    }

    .register-input {
        width: 100%;
        background-color: var(--input-bg);
        padding: 1.5rem 1.35rem calc(0.75rem - 2px) 1.35rem;
        border: none;
        outline: none;
        font-family: inherit;
        border-radius: 20px;
        color: var(--text-color);
        font-weight: 600;
        font-size: 1.5rem;
        border: 2px solid transparent;
        box-shadow: 0 6px 6px var(--shadow--);
        transition: 0.3s;
    }

    .form-wrapper {
        width: 100%;
        max-width: 900px;
        /* padding: 7rem 0; */
        overflow: hidden;
    }

    .register-button {
        justify-content: center;
        column-gap: 1rem;
        margin-top: 1rem;
    }

    .btn {
        font-size: 1.5rem;
    }

    .logo {
        width: 200px;
    }

    .navbar li a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .register-form {
        row-gap: 1.5rem;
    }
}

@media (min-width: 2560px) {
    body {
        zoom: 1.9;
    }
}

.custom-options {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    background-color: hsla(206, 31%, 16%, 0.936);
    /* border: 1px solid #ccc; */
    border-radius: 20px;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    transition: 1s;
}

.custom-options li {
    transition: 1s;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.3s;
}

.custom-options li:not(:last-child) {
    /* border-block-end: 1px solid #000000; */
}

.custom-options li:hover {
    background-color: var(--main-color);
    color: #fff;
    border-radius: 10px;
}

.search-input {
    transition: 1s;
    padding: 10px 10px;
    transition: 0.3s;
    width: 100%;
    border-radius: 20px;
    color: #000;
    background-color: #fff;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.95rem;
}

.dark .custom-options {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    background-color: hsl(0, 0%, 100%);
    /* border: 1px solid #ccc; */
    border-radius: 20px;
    width: 100%;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 0.95rem;
    font-weight: 600;
    color: #000000;
    transition: 1s;
}

.popupContain {
    /* width: 400px; */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    /* background: #1E2537; */
    /* position: absolute; */
    /* border-radius: 6px; */
    /* top: 0; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* left: 50%; */
    /* transform: translate(-50%, -50%) scale(0.1); */
    /* text-align: center; */
    /* padding: 0 30px 30px; */
    /* color: #fff; */
    visibility: hidden;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.popup {
    width: 400px;
    transition: visibility 0s, transform 0.5s ease-in-out;
    background: #1E2537;
    /* position: absolute; */
    border-radius: 6px;
    /* top: 0; */
    /* left: 50%; */
    /* transform: translate(-50%, -50%) scale(0.1); */
    text-align: center;
    /* padding: 0 30px 30px; */
    color: #fff;
    /* visibility: hidden; */
}

.dark .popupContain {
    background: rgba(0, 0, 0, 0.5);
    color: #333;
}

.open-popup {
    visibility: visible;
    /* top: 50%; */
    /* transform: translate(-50%, -50%) scale(1); */
    /* transform: translate(-50%, -50%) scale(1); */
    opacity: 1;
}

.popupContain img {
    width: 100px;
    margin-top: -50px;
    background: #fff;
    border-radius: 50%;
    transition: visibility 0s, transform 0.5s ease-in-out;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.popupContain span {
    font-size: 30px;
    font-weight: 600px;
    color: white;
}

.popupContain h2 {
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px;
}

.popupContain button {
    width: 100%;
    margin-top: 50px;
    padding: 10px 0;
    background: #f58220;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    border-radius: 4px;
}

.caret {
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid #9EA9B8;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.caret-rotate {
    transform: rotate(180deg);
}

.rotate {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

