@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;900&display=swap');
:root {
    --fontFamilyPrimary:
    'Montserrat', sans-serif;
    --index: calc(1vw + 1vh);
    --secondary-color: #972326;
    --progressPanel-color: #972326;
    --main-color: #fff;
    --border-color: #d8d8d8;
    --text-color: rgba(0, 0, 0, .5);
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    font-family: var(--fontFamilyPrimary);
}
input[type='password']::-ms-reveal,
input[type='password']::-ms-clear
{
    display: none;
}
.wrapper {
    min-height: 623px;
    width: 700px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    border-radius: 15px;
    box-shadow: 2px 10px 8px var(--border-color), 
                inset 0 -3px 5px var(--border-color);
    border: 5px solid var(--border-color);
}
.progress-form {
    min-width: 220px;
    background: var(--progressPanel-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4% 5%;
    gap: 50px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    box-shadow: inset 0 -3px 5px var(--border-color);
}
.progress {
    counter-reset: steps;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    position: relative;
    &::before {
        content: '';
        width: 3px;
        height: 100%;
        background: var(--border-color);
        position: absolute;
    }
}
.indicator {
    width: 3px;
    height: 0%;
    position: absolute;
    background: var(--secondary-color);
    transition: .5s;
}
.step {
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 50%;
    border-radius: 5;
    border: 5px solid var(--border-color);
    width: 2.5rem;
    aspect-ratio: 1 / 1;
    z-index: 1;
    background: var(--main-color);
    transition: .5s .2s;
    &::before {
        counter-increment: steps;
        content: counter(steps);
        font-size: 1.3rem;
    }
    &::after {
        content: attr(data-title);
        font-size: .8rem;
        position: absolute;
        font-weight: 700;
        opacity: .6;
        left: 140%;
        color: var(--main-color);
        transition: .5s .4s;
    }
}

.active-step {
    border: 5px solid var(--secondary-color);
    &::after {
        opacity: 1;
    }
}
.logo {
   position: relative;
   left: 50%;
   transform: translate(-50%);
   filter: drop-shadow(0 5px 5px var(--border-color));
}
.form-create-account {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5% 5% 5% 10%;
}
.step-of-form {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    
    & h2 {
        font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    }
    & h3 {
        font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    }
}

.logo-section {
    & i {
        color: var(--secondary-color);
        font-size: 45px;
    }
    
}
.row-input {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    position: relative;
    padding-top: 15px;
}
.about-input {
    display: block;
    font-weight: 500;
    font-size: .9rem;
    padding-bottom: 3%;
    transition: .5s;
}
.step-of-form input:required:placeholder-shown {
    background: initial;
    &::placeholder {
        color: initial;
        font-weight: initial;
    }
}
.text {
    display: block;
    width: 100%;
    padding: 3% 2%;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    outline: none;
    font-family: var(--fontFamilyPrimary);
    transition: .5s;
    &:focus {
        border: 1px solid var(--secondary-color);
        transform: scale(1.05);
        & ~ label {
            color: var(--secondary-color);
        }
        & ~ .state-of-password {
            transform: translateY(-50%) scale(1.2);
            color: var(--secondary-color);
        }
    }
}
.date {
    display: flex;
    gap: 18px;
    & .text {
        text-align: center;
    }

}
.btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    & input {
        padding: 4% 5%;
        border-radius: 20px;
        border: none;
        outline: none;
        background: var(--secondary-color);
        color: var(--main-color);
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 3px 3px rgba(0, 0, 0, .3),
                    inset 0 -2px 3px rgba(0, 0, 0, .3);
        transition: .5s;
        &:active {
            box-shadow: 0 3px 3px rgba(0, 0, 0, .1),
                    inset 0 -2px 3px rgba(0, 0, 0, .1);
            transform: translateY(3px);
        }
        &:disabled {
            opacity: .5;
            cursor: not-allowed;
            &:active {
                box-shadow: 0 3px 3px rgba(0, 0, 0, .3),
                    inset 0 -2px 3px rgba(0, 0, 0, .3);
                transform: none;
            }
        }
    }
}
.form-create-account {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
input[id^='password'] {
    padding: 3% 12% 3% 2%;
}
.state-of-password {
    position: absolute;
    left: 92%;
    transform: translateY(-50%);
    transition: .5s;
    cursor: pointer;
    opacity: .8;
}
.kinds-of-kitchens {
    min-width: 353px;
    align-self: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px 40px;
}
.tale {
    position: relative;
    width: 150px;
    aspect-ratio: 1 / 1;
    transition: .5s;
    
    &:hover {
        transform: scale(1.1);
    }
}
input[id^='kitchen'] {
    appearance: none;
    outline: none;
    width: 100%;
    height: 100%;
    box-shadow: 0 3px 5px rgba(0, 0, 0, .5);
    border: 3px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: .5s;
    position: relative;
    &::before {
        content: '';
        font-family: 'fontAwesome';
        left: 10%;
        top: 10%;
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 0px solid var(--border-color);
        color: var(--secondary-color);
        width: 0;
        height: 0;
        transform: translate(-50%, -50%);
        transition: all .5s, border .3s;

    }
    &:hover {
        &::before {
            width: 1.2rem;
            height: 1.2rem;
            border: 1px solid var(--border-color);
        }
    }
    &:checked {
        border: 3px solid var(--secondary-color);
        &::before {
            content: '\f058';
            font-size: 1.2rem;
            border: none;
        }
        & ~ .kind-of-kitchen {
            color: var(--secondary-color);
            & i {
                animation: selectKitchen 1s;
            }
        }

    }
}
@keyframes selectKitchen {
    50% {
        font-size: 3rem;
    }
}
.kind-of-kitchen {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 23px;
    font-size: 1.1rem;
    & i {
        transition: .5s;
        font-size: 2rem;
    }
    & h6 {
        transition: .5;
        white-space: nowrap;
        font-weight: 600;
        letter-spacing: 1px;
    }
}
.active-step-of-form {
    display: flex;
    animation: newStep .8s;
    transform-origin: left;
}

.tale {
    display: flex;
    justify-content: space-between;
}

/* Style the checkbox group */
.checkbox-group {
    flex: 1;
    margin-right: 10px;
}

/* Hide the default checkboxes */
.checkbox-group input[type="checkbox"] {
    display: none;
}

/* Style the labels as buttons */
.checkbox-label {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background-color: #972326;
    color: #fff;
    border: 2px solid #972326;
    border-radius: 8px;
    cursor: pointer;
    transition: .5s;
}

/* Hover effect for the labels */
.checkbox-label:hover {
    background-color: #fff;
    color: #972326;
}

/* Checked state for the labels */
.checkbox-group input[type="checkbox"]:checked + .checkbox-label {
    background-color: #fff;
    color: #972326;
}

.rounded-img {
    border-radius: 40px; /* Adjust the value to control the roundness of the corners */
  }
@keyframes newStep {
    from {
        transform: scale(0, 1);
    }
    to {
        transform: scale(1, 1);
    }
}
.hidden-btn {
    display: none;
}
.invalid-input {
    background: rgb(241, 176, 126);
    color: var(--main-color);
    font-weight: 600;

}
@media (max-width: 1000px) {
    .wrapper {
        transform: translate(-50%, -50%) scale(.7);
    }
}
@media (max-width: 600px) {
    .wrapper {
        transform: translate(-51%, -50%) scale(.57);
    }
}