/* POPPINS FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ====== BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ====== Body ===== */
body {
    background: url("../img/samba/bg-5.svg");
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0 20px;
}

/* ====== Form container ===== */
.form-container {
    display: flex;
    width: 70rem;
    height: 44rem;
    border: 3px solid rgba(45, 107, 152, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(5px);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* ====== First Column ===== */
.col-1 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 55%;
    background: rgba(42, 105, 141, 0.53);
    backgdrop-filter: blur(10px);
    border-radius: 0 30% 20% 0;
    transition: border-radius .3s;
}

.image-layer {
    position: relative;
    top: -30px;
}

.form-image-main {
    width: 400px;
    -webkit-animation: scale-up 3s ease-in-out alternate infinite;
}

.form-image {
    position: absolute;
    left: 0;
    top: 60px;
    width: 300px;
}

/* ====== Form Image -webkit-animation ===== */
.coin {
    -webkit-animation: scale-down 3s ease-in-out alternate infinite;
}

.spring {
    -webkit-animation: scale-down 3s ease-in-out alternate infinite;
}

.dots {
    -webkit-animation: scale-up 3s ease-in-out alternate infinite;
}

.rocket {
    -webkit-animation: scale-down 3s ease-in-out alternate infinite;
}

.cloud {
    -webkit-animation: left-right 3s ease-in-out alternate infinite;
}

.stars {
    -webkit-animation: scale-down 3s ease-in-out alternate infinite;
}

@keyframes left-right {
    to {
        transform: translateX(10px);
    }
}

@keyframes up-down {
    to {
        transform: translateY(10px);
    }
}

@keyframes scale-down {
    to {
        transform: scale(0.95);
    }
}

@keyframes scale-up {
    to {
        transform: scale(1.1);
    }
}

/* ====== Featured Words ===== */
.featured-words {
    text-align: center;
    color: #21264D;
    width: 300px;
}

.featured-words span {
    font-weight: 600;
    color: #21264D;
}

/* ====== Second Column ===== */
.col-2 {
    position: relative;
    width: 45%;
    padding: 20px;
    overflow: auto;
}

.btn-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    font-weight: 500;
    padding: 5px 30px;
    border: none;
    border-radius: 30px;
    background: #ffffff33;
    cursor: pointer;
    transition: .2s;
    color: #fff;
    text-decoration: none;
}

.btn-2 {
    background: #21264D;
}

.btn:hover {
    opacity: 0.85;
}

/*  ======= Login Form ========  */
.login-form {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 4vw;
    transition: .3s;
}

/*  ======= Register Form ========  */
.register-form {
    position: absolute;
    left: -50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 4vw;
    transition: .3s;
}

.register-form .form-tittle {
    margin-block: 40px 20px;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.select {
    color: black;
    font-weight: 500;
}

.form-tittle {
    margin: 20px 0;
    color: #21264D;
    font-size: 28px;
    font-weight: 600;
}

.form-inputs {
    width: 100%;
}

.input-box {
    position: relative;
    margin-bottom: 3px;
}

.pr-2 {
    padding-right: 15px;
}

.input-field {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    margin: 5px 0;
    color: #21264D;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #21264db5;
    border-radius: 7px;
    outline: none;
    backdrop-filter: blur(20px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0, 0.2)
}

::placeholder {
    color: #21264db5;
    font-size: 15px;
}

.input-box .icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #21264db5;
}

.forgot-pass {
    display: flex;
    justify-content: right;
    gap: 5px;
}

.forgot-pass a {
    color: #162d47;
    text-decoration: none;
    font-size: 14px;
}

.forgot-pass a:hover {
    text-decoration: underline;
}

.input-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 55px;
    padding: 0 15px;
    margin: 10px 0;
    color: #fff;
    background: #21264D;
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0, 0.2);
    cursor: pointer;
    transition: .3s;
}

.input-submit:hover {
    gap: 15px;
}

/* ======== Responsive ======== */
@media (max-width: 892px) {
    .form-container {
        width: 400px;
    }

    .col-1 {
        display: none;
    }

    .col-2 {
        width: 100%;
    }
}

input[type="file"] {
    display: none;
}

.label-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    display: inline-block;
    text-transform: uppercase;
    color: #fff;
    background: #c0392b;
    text-align: center;
    padding: 15px 20px;
    font-size: 15px;
    letter-spacing: 1.5px;
    user-select: none;
    cursor: pointer;
    box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.35);
    border-radius: 10px;
}

.label-img i {
    font-size: 20px;
    margin-right: 5px;
}

.label-img:active {
    transform: scale(0.9);
}

/* ====== Animasi Perahu Goyang ===== */
@keyframes sway-boat {
    0% {
        transform: rotate(-6deg) translateX(-8px);
    }

    100% {
        transform: rotate(6deg) translateX(8px);
    }
}

.boat-animation {
    animation: sway-boat 4s ease-in-out infinite alternate;
}