@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400&display=swap');

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

html, 
body {
    width: 100%;
    min-height: 100vh;
    background-color: #CBD5E1;
    font-family: "Inter", sans-serif;
}

.wrapper {
    background-color: #121826;
    max-width: 1280px;
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wrapper__blur-top {
    width: 400px;
    position: absolute;
    top: -150px;
    left: -150px;
}

.wrapper__blur-bottom {
    width: 400px;
    position: absolute;
    bottom: -150px;
    right: -150px;
}

.wrapper__finish--message {
    width: 40%;
    font-size: 2.2rem;
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 700ms;
    animation: finishMessageAnimation 5s infinite;
}

.main {
    background-color: #212936;
    border: 2px solid #4D5562;
    border-radius: 10px;
    padding: 2rem;
    width: 500px;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.main__form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 800ms ease-in;
    position: absolute;
    max-width: 430px;
    max-height: 330px;
}

.form__h2 {
    color: #E5E7EB;
}

.form__label {
    color: #A1A1A9;
    font-weight: 700;
    margin-top: 1.4rem;
}

.form__input {
    padding: 1rem;
    background-color: transparent;
    border: 2px solid #4D5562;
    outline: transparent;
    border-radius: 15px;
    margin-top: .7rem;
    color: rgb(161, 161, 161);
}

.form__submit { 
    background: linear-gradient( #845EEE, #652CD1);
    color: #E5E7EB;
    text-transform: capitalize;
    font-size: 1rem;
    padding: .7rem 2.6rem;
    border-radius: 100px;
    width: fit-content;
    border: none;
    outline: transparent;
    margin-top: 2rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.form__submit:hover,
.form__submit:active {
    cursor: pointer;
}

.form--desactive {
    transform: translateX(500px);
}

.form--concluded {
    transform: translateX(-800px);
}

.step2__topic {
    margin: .8rem 0;
    background-color: #394050;
    border: 1px solid #4D5562;
    padding: 1rem 1.5rem;
    border-radius: 20px;
    color: #7F838C;
    text-transform: capitalize;
}

.step2__topic:hover {
    cursor: pointer;
}

.active-topic {
    background-color: #652CD1;
    color: white;
}

.form__summary {
    color: white;
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
}

.form__summary > * {
    margin-bottom: 1.5rem;
}

.summary__h3 {
    color: #A1A1A9;
}

.summary__h3>span {
    color: white;
}

.summary__topics {
    padding-left: 3rem;
    padding-top: 1.5rem;
}

.footer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 230px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 300px;
}

.footer__h2 {
    color: #4D5562;
    font-size: 1.2rem;
}

.footer__circles {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #394050;
}

.active {
    transition: all 1000ms cubic-bezier(0, 1.19, 1, -0.54);
    border: 5px solid #342D63;
    background-color: #723EE3;
}


@keyframes finishMessageAnimation {
    0% {
        background-image: linear-gradient(90deg, #ff0000, #ff9c00, #ffc200, #ffdb00, #ffff00);
        transform: scale(1);
    }
    100% {
        background-image: linear-gradient(90deg, #652CD1, #845EEE, #121826);
        transform: scale(1.6);
    }
}