* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

:root {
    --primary-marine-blue: hsl(213,96%, 18%);
    --primary-purplish-blue: hsl(243, 100%, 62%);
    --primary-pastel-blue: hsl(228, 100%, 84%);
    --primary-light-blue: hsl(206, 94%, 87%);
    --primary-strawberry-red: hsl(354, 84%, 57%);

    --neutral-cool-gray: hsl(231, 11%, 63%);
    --neutral-light-gray: hsl(229, 24%, 87%);
    --neutral-magnolia: hsl(217, 100%, 97%);
    --neutral-alabaster: hsl(231, 100%, 99%);
    --white: hsl(0, 0%, 100%);
}

body {
    background-color: var(--neutral-light-gray);
    height: 100vh;
    display: grid;
    place-items: center;
}


/* Main */

.main {
    display: flex;
    justify-content: center;
    background-color: var(--white);
    width: fit-content;
    margin: auto;
    padding: 1rem;
    border-radius: 10px;
}

.float-main {
    position: relative;
}

.select {
    position: absolute;
    top: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;  
}

.select-item {
    display: flex;
    gap: 1rem;
}


.left-select {
    border: 1px solid white;
    font-size: 1.15rem;
    color: #fff;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.active-select .left-select {
    background-color: var(--primary-pastel-blue);
    color: var(--primary-marine-blue);
}

.right-select {
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.right-select p {
    color: var(--primary-pastel-blue);
    font-size: .8rem;
}

.right-select h4 {
    color: var(--white);
    font-weight: 500;
}




/* Step1 */

.step1 {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 1rem 5rem;
}

.step h2 {
    color: var(--primary-marine-blue);
    font-size: 2rem;
}

.step p, .step a {
    color: var(--neutral-cool-gray);
    margin-top: .5rem;
} 

.step1 label {
    color: var(--primary-marine-blue);
    font-weight: 500;
}

.step1 input {
    width: 100%;
    border-radius: 5px;
    outline: none;
    border: 1px solid var(--neutral-light-gray);
    padding: .75rem;
    margin: .75rem 0 1.5rem 0;
    color: var(--primary-marine-blue);
    font-weight: 500;
}

.step1 input:focus {
    border-color: var(--primary-marine-blue);
}

.step .next {
    display: flex;
    margin-top: auto;
}

.step1 .next {
    justify-content: end;
}

.step .next .btn {
    background-color: var(--primary-marine-blue);
    color: var(--white);
    border-radius: 5px;
    font-weight: 500;
    padding: .75rem 1rem;
    cursor: pointer;
    border: none;
}

.step .next .btn:hover {
    filter: saturate(2);
}




/* Step2 */

.step2 {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 1rem 5rem;
}

.step2 .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
}

.step2 .content .top-content {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1rem;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    border: 2px solid var(--neutral-cool-gray);
    border-radius: 10px;
    padding: 1rem;
    padding-right: 3rem;
    cursor: pointer;
}

.card .bottom-card {
    display: flex;
    flex-direction: column;
}

.card .bottom-card h5 {
    margin-top: .5rem;
    color: var(--primary-marine-blue);
}

.card .bottom-card h4 {
    color: var(--primary-marine-blue);
}

.active-card {
    border-color: var(--primary-purplish-blue);
}


.bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: .75rem 0;
    margin-top: 2.5rem;
    background-color: var(--neutral-magnolia);
    border-radius: 10px;
    color: var(--neutral-cool-gray);
}

.active-header {
    color: var(--primary-marine-blue);
}

.toggle {
    background-color: var(--primary-marine-blue);
    padding: .75rem 1.5rem;
    border-radius: 20px;
    position: relative;
    border: none;
    cursor: pointer;
}

.toggle::before {
    content: '';
    position: absolute;
    background-color: var(--white);
    height: 15px;
    width: 15px;
    top: 5px; 
    left: 5px;
    border-radius: 50%;
    transition: all .25s;
}

.toggle-active::before {
    left: 27.5px;
}

.step2 .next {
    justify-content: space-between;
}

.step .back-btn {
    border: none;
    background-color: var(--white);
    color: var(--neutral-cool-gray);
    font-weight: 500;
    cursor: pointer;
} 

.step .back-btn:hover {
    color: var(--primary-marine-blue);
}



/* Step3 */


.step3 {
    margin: 1rem 5rem;
    padding: 1rem;
}

.step3 .content {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
 
.add-on {
    width: 100%;
    border: 1px solid var(--neutral-cool-gray);
    border-radius: 10px;
    padding: 1rem 1.25rem;  
    display: grid;
    grid-template-columns: .25fr 3fr 1fr;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.add-on:hover {
    border-color: var(--primary-purplish-blue);
}

.add-on h4 {
    color: var(--primary-marine-blue);
}

input[type="checkbox"] {
    height: 1rem;
    width: 1rem;
}



.right-add-on {
    margin-left: 2.5rem;
}

.right-add-on .price {
    color: var(--primary-purplish-blue);
}

.step3 .next {
    justify-content: space-between;
    margin-top: 6rem;
}


/* Step4 */

.step4 {
    margin: 1rem 5rem;
    padding: 1rem 1rem 0 1rem;
}

.step4 .content {
    margin: 2rem .5rem 0 .5rem;
    background-color: var(--neutral-magnolia);
    padding: 1rem;
    border-radius: 10px;
    width: 100%;
}

.step4 .top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step4 .left-top-content p {
    text-decoration: underline;
    cursor: pointer;
}

.step4 .bottom-content {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.step4 .service {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step4 .service .price {
    color: var(--primary-marine-blue);
}

.step4 hr {
    margin: 1.5rem 0 .5rem 0;
}

.step4 div.total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 .5rem;
    padding: 1rem;
    width: 100%;
}


.step4 .total .total {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary-purplish-blue);
}

.step4 .next {
    justify-content: space-between;
    margin-top: 4rem;
}

.step4 .change:hover {
    color: var(--primary-purplish-blue);
}

.step .next .confirm-btn {
    background-color: var(--primary-purplish-blue);
}

.step .next .confirm-btn:hover {
    opacity: 0.7;
}



/* Step5 */

.step5 {
    /* width: min-content;   */
    margin: auto 5rem;
}

.step5 p, .step5 h2 {
    text-align: center;
    margin: 1.5rem;
    line-height: 1.5rem;
}

.step5 img {
    display: block;
    margin: auto;
}


/* Utility classes */

.hide {
    display: none;
}