.popup-overlay {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,.75);
    position: fixed;
    z-index: 10;
    top: 0px;
    left: 0px;
}

.popup-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 800px;
    background-color: var(--yellow-100);
    border-radius: 24px;
    z-index: 15;
    padding: 56px 32px;
    max-height: 90vh;
}

.popup-container::-webkit-scrollbar {
    width: 3px;
}

.popup-container::-webkit-scrollbar-track {
    background: var(--gray);
    margin: 32px 0px;
}

.popup-container::-webkit-scrollbar-thumb {
    background-color: var(--orange-400);
}

.news-content {
    height: 100%;
    overflow: auto !important;
    max-height: 80vh;
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    width: 24px;
}

.rewards-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    margin-bottom: 8px;
}

.rewards-item {
    width: 42px;
}

.popup-title {
    font-size: 18px;
    text-align: center;
    color: var(--orange-600);
    font-family: 'Inter', sans-serif;
}

.pre-register-popup {
    display: flex;
    flex-direction: column;
    justify-content: ceter;
    align-items: center;
    padding-top: 3%;
}

.reward-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.register-inputs {
    /* display: flex;
  flex-direction: column; */
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
}

.input {
    padding: 16px 12px;
    border-radius: 4px;
    border: 1px solid var(--orange-400);
    outline: none;
    width: 100%;
}

.input::placeholder {
    color: var(--black);
}

.popup-orange-button {
    padding: 16px;
    background-color: var(--orange-300);
    border: none;
    outline: none;
    border-radius: 12px;
    color: var(--black);
    font-size: 20px;
    width: 100%;
    max-width: 300px;
    text-transform: uppercase;
    cursor: pointer;
}

.popup-green-button {
    padding: 16px;
    background-color: var(--green-200);
    border: none;
    outline: none;
    border-radius: 12px;
    color: var(--black);
    font-size: 20px;
    width: 100%;
    max-width: 300px;
    text-transform: uppercase;
    cursor: pointer;
}

.pre-register-to-login {
    color: var(--orange-300);
    text-decoration: underline;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
}

.perchment-container {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
}

.perchment-img {
    width: 100%;
    max-width: 600px;
}

.perchment-timer {
    width: 100%;
    text-align: center;
    position: absolute;
    font-size: 18px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.register-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.register-option {
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 10px;
    color: var(--white);
    text-transform: uppercase;
}

.register-option-google {
    background-color: #DD4C39;
}

.register-option-facebook {
    background-color: #4E64AD;
}

.register-form, .popup-form {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.popup-input-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.register-button {
    background-color: var(--yellow-400);
    color: var(--orange-600);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 16px;
    border-radius: 10px;
    font-size: 20px;
    width: 100%;
    max-width: 300px;
}

.register-to-login {
    text-align: center;
    font-size: 18px;
}

.popup-link-button {
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 18px;
    text-decoration: underline;
    color: var(--orange-400);
}

.login-popup {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    gap: 16px;
}

.chicken {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
}

.big-chicken {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -65%);
    width: 100px;
}

.login-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.popup-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.award-popup {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
}

.award-frame-container {
    position: relative;
}

.award-frame {
    width: 300px;
}

.award-title {
    font-size: 24px;
    width: 100%;
    text-align: center;
    color: #C63C06;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.award-text-container {
    width: 100%;
    margin: 32px 0px;
    overflow-x: auto;
    overflow-y: scroll;
    max-height: 300px;
    background-color: var(--yellow-200);
    border: 1px solid var(--gray-300);
}

.award-text-container p {
    padding: 10px;
}

.award-date {
    width: 100%;
}

@media screen and (min-width: 768px) {
    .perchment-timer {
        font-size: 32px;
    }

    .register-inputs {
        grid-template-columns: 1fr 1fr;
    }

    .popup-input-container {
        flex-direction: row;
    }

    .login-cont {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .popup-title {
        font-size: 32px;
    }

    .award-frame {
        width: 400px;
    }

    .award-title {
        font-size: 32px;
    }
}

/* -------- POPUPS WITH BACKGROUND -------- */

.popup-background {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 56px 32px;
    border-radius: 24px;
}

.error-popup {
    gap: 32px;
    background-image: url('./../images/bg-popup-error.png');
}

.error-popup-main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-icon {
    width: 75%;
    height: auto;
}

.error-popup-title,
.error-popup-text {
    color: var(--white);
}

.attention-popup {
    gap: 32px;
    background-image: url('./../images/bg-atencao-popup.png');
}

.attention-img {
    width: 30%;
    height: auto;
}

.attention-popup-text-group {
    text-align: center;
}

.attention-popup-text,
.attention-popup-link {
    color: var(--black);
}

.attention-popup-link {
    text-decoration: underline;
}

.congrats-popup {
    gap: 10px;
    background-image: url('./../images/bg-parabens-popup.png');
}

.congrats-popup-frame {
    width: 100%;
    height: auto;
    position: relative;
}

.congrats-text {
    position: absolute;
    font-size: 28px;
    color: #C63C06;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FECA5B;
    width: 100%;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.frame-congrats {
    width: 100%;
    height: auto;
}

.congrats-popup-download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.congrats-popup-download-button {
    cursor: pointer;
    border: none;
    outline: none;
    background-color: transparent;
}

.congrats-popup-download-button img {
    width: 250px;
}

.rescue-reward-popup {
    gap: 16px;
    background-image: url('./../images/bg-rescue-reward.png');
}

.rescue-reward-img {
    width: 92%;
}

.rescue-btn {
    width: 50%;
    transition: .3s;
    cursor: pointer;
}

.rescue-btn:hover {
    filter: brightness(1.2);
}

.rescue-reward-galinha {
    width: 10%;
}

.rescue-reward-alert {
    position: absolute;
    bottom: 52%;
    left: -22%;
    height: 8%;
}

.rescue-reward-popup-2 {
    background-image: url('./../images/bg-rescue-reward-2.png');
    gap: 16px;
}

.rescue-reward-alert-2 {
    position: absolute;
    bottom: 62%;
    left: -20%;
    height: 9%;
}

.congrats-reward-popup {
    background-image: url('./../images/congrats-reward-bg.png');
    gap: 16px;
    flex-direction: row;
}

.congrats-reward-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.congrats-reward-text {
    width: 250px;
}

.congrats-reward-img {
    width: 95%;
}

.congrats-reward-timer {
    padding: 10px;
    width: 100%;
    background: linear-gradient(270deg, rgba(194, 37, 0, 0.00) 0%, #C22500 20.42%, #E3471E 50%, #C22500 70.07%, rgba(211, 54, 15, 0.00) 100%);
}

.congrats-reward-timer-text {
    color: #FFFDE8;
    font-size: 19px;
}

.congrats-reward-btn {
    transition: .4s;
    cursor: pointer;
    width: 85%;
}

.congrats-reward-btn:hover {
    filter: brightness(1.2);
}

.congrats-next-reward-popup {
    background-image: url('./../images/congrats-next-reward-bg.png');
    gap: 16px;
    padding: 21px 32px;
}

.congrats-next-reward-img {
    width: 40%;
}

.congrats-next-reward-btn {
    width: 35%;
}

.congrats-next-reward-link {
    color: var(--black);
}

.congrats-next-reward-frame {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
}

.congrats-next-reward-text {
    width: auto;
    position: absolute;
    font-size: 24px;
    color: #C63C06;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FECA5B;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.congrats-next-reward-frame-img {
    width: 85%;
    height: auto;
}

.congrats-next-reward-timer {
    padding: 10px;
    text-align: center;
    width: 75%;
    border-radius: 0px 0px 10px 10px;
    background: linear-gradient(0deg, #C22500 0%, #E3471E 50%, #C22500 100%);
    position: absolute;
    bottom: -10%;
    z-index: -1;
}

.congrats-next-reward-timer-text {
    color: #FFFDE8;
    font-size: 19px;
}

.welcome-itens-popup {
    background-image: url('./../images/welcome-itens-bg.png');
    gap: 16px;
}

.welcome-itens-create-acc-box {
    padding: 10px;
    text-align: center;
    width: 75%;
    color: #FFFDE8;
    font-size: 28px;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #B32300;
    background: linear-gradient(270deg, rgba(194, 37, 0, 0.00) 0%, #C22500 20.42%, #E3471E 50%, #C22500 70.07%, rgba(211, 54, 15, 0.00) 100%);
}

.welcome-itens-alert {
    position: absolute;
    bottom: 35%;
    left: -26%;
    width: 30%;
    height: auto;
}

.welcome-itens-text {
    width: 400px;
    text-align: center;
}

.welcome-itens-register-button {
    background-color: #FFA010;
    color: var(--black);
    border: none;
    outline: none;
    cursor: pointer;
    padding: 16px;
    border-radius: 10px;
    font-size: 20px;
    width: 100%;
    max-width: 300px;
}

.welcome-itens-img {
    width: 50%;
}

.welcome-itens {
    width: 100%;
}

.congrats-2 {
    background-image: url('./../images/bg-congrats-2.png');
    gap: 16px;
}

.congrats-2-text {
    font-size: 20px;
}

.select-character-popup {
    background-image: url('./../images/select-character-bg.png');
    gap: 16px;
}

.select-character {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.select-character-img {
    width: 40%;
    height: auto;
    transition: .3s;
}

.select-character-nick {
    position: absolute;
    bottom: 19%;
    left: -26%;
    width: 30%;
    height: auto;
}

.select-character-girl:hover,
.select-character-boy:hover {
    filter: brightness(1.3);
}

.contagrats-2-frame {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
}

.congrats-2-item-img {
    width: 85%;
    height: auto;
}

.congrats-2-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: absolute;
    width: 85%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    flex-direction: row;
}

.form-group {
    width: 100%;
}
