.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 13;
}

#close-btn {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 24px;
    cursor: pointer;
}

a#close-btn {
    text-decoration: none;
    color: inherit;
}

.modal-title {
    font-size: 24px;
    margin-bottom: 24px;
    /*z-index: 19;*/
    max-width: 500px;
    margin-left: 70px;
}

/* ================================== */

.login-container {
    background-color: #ccf9fe;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 358px;
    position: relative;
}

.google-btn,
.facebook-btn,
.submit-btn,
.submit-btn-2,
.submit-btn-3 {
    width: 100%;
    border: none;
    padding: 13px 0;
    margin-bottom: 24px;
    border-radius: 6px;
    font-size: 16px;
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    color: white;
    cursor: pointer;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.google-btn {
    background-color: #fe4b35;
}

.facebook-btn {
    background-color: #4164b1;
}

.buttons-login {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-modal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/*form input:not([type="checkbox"]),*/
form select,
.login-container>input,
.inputs-modal input {
    width: 100%;
    padding: 11px 20px;
    margin-bottom: 24px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

form#preregister-form {
    flex-direction: column;
    padding: 14px;
}

.country-input {
    padding: 11px 40px !important;
}

.preregister {
    overflow: unset;
    max-height: unset;
}

@media screen and (max-width: 1000px) {
    .preregister {
        overflow: scroll;
        max-height: 90vh !important;
    }

    #items {
        grid-template-columns: auto auto auto auto auto !important;
    }

    #items img {
        width: 40px !important;
        height: 40px !important;
        margin: 5px !important;
    }

    form input,
    form select,
    .login-container>input,
    .inputs-modal input {
        margin-bottom: 12px !important;
    }

    .modal-title {
        font-size: 19px !important;
        margin-bottom: 15px !important;
    }
}

.submit-btn-2,
.submit-btn-3 {
    background-color: #ffeb00;
    color: #151515;
    width: 100%;
    margin: 23px auto;
}

.submit-btn:disabled,
.submit-btn-2:disabled,
.submit-btn-3:disabled {
    background-color: var(--lightGray);
    cursor: default;
}

.submit-btn,
.submit-btn-3 {
    background-color: #00cfe4;
    color: #151515;
}

.links a {
    color: #0093e5;
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}

.separator {
    width: 100%;
    height: 2px;
    background: #a5e3ed;
    margin-bottom: 24px;
}

.modal-register-btn,
.modal-login-btn,
.btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.buttons-login a {
    text-decoration: none;
}

.register-group {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

@media screen and (min-width: 1000px) {

    #register-form,
    #change-password-form {
        flex-direction: column;
    }
}

.chicken-gif,
.chicken-heart,
.chicken-map,
.person1,
.person2,
.chicken-run {
    display: none;
}

/* article */

.article-container {
    background-color: #ccf9fe;
    width: 100%;
    padding: 20px;
    border-radius: 32px;
    position: relative;
    width: 358px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.article-category {
    display: flex;
    padding: 6px 50px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 64px;
}

.article-category.event {
    width: 139px;
    background: #000;
    color: #fff;
}

.article-category.news {
    width: 139px;
    background: rgb(21, 144, 21);
    color: #fff;
}

.article-category.announce {
    width: 139px;
    background: #421089;
    color: #fff;
}

.article-content {
    width: 100%;
    padding: 24px;
    max-height: 300px;
    overflow-y: scroll;
}

.separator2 {
    width: 90%;
    height: 2px;
    background: #000;
}

.article-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    text-align: center;
}

.inputs-modal {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 14px 24px;
    z-index: 16;
}

/* Medias */

@media screen and (min-width: 1000px) {

    .login-container,
    .article-container {
        width: 700px;
    }

    .form-row {
        flex-direction: row !important;
    }

    .btns {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
    }

    .buttons-login,
    .form-modal,
    .btns,
    .inputs-modal {
        flex-direction: row;
    }

    .submit-btn {
        width: 25%;
        margin: 24px auto;
    }

    /* imagens */

    .chicken-gif,
    .chicken-heart,
    .chicken-map,
    .person1,
    .person2,
    .chicken-run {
        display: block;
    }

    .chicken-gif {
        position: absolute;
        bottom: -27px;
        left: -88px;
        width: 176px;
    }

    .chicken-heart {
        position: absolute;
        bottom: -0;
        right: 18px;
        width: 200px;
    }

    .chicken-map {
        position: absolute;
        top: -79px;
        right: 275px;
        width: 130px;
    }

    .person1 {
        position: absolute;
        left: -81px;
        width: 200px;
        top: -95px;
    }

    .person2 {
        position: absolute;
        left: -101px;
        width: 260px;
        top: -95px;
    }

    .chicken-run {
        position: absolute;
        right: -64px;
        width: 100px;
        top: 115px;
        z-index: 17;
    }
}

#countdown {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
    z-index: 16;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #afeaf3;
    border-radius: 5px;
    padding: 10px;
    width: 60px;
    z-index: 16;
}

.time-box span {
    font-size: 24px;
    font-weight: bold;
    color: #000;
}

.time-box p {
    margin: 0;
    font-size: 12px;
}

@media screen and (max-width: 768px) {
    .modal-title {
        margin-left: 5px;
        margin-right: 21px;
    }
}

/* DOWNLOAD */

.download-game-container {
    background: #ffffff url('../images/popups/create-account-and-download/bg-download.png') no-repeat center center / cover;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 358px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.title-download-game {
    width: 100%;
    padding: 16px;
    margin: 32px 0;
    font-size: 18px;
    text-align: center;
    font-weight: 700;
    color: #6F0004;
    -webkit-text-stroke-width: 0.50px;
    -webkit-text-stroke-color: #FFCF4F;
    background: linear-gradient(90deg, rgba(255, 255, 108, 0.00) 0%, #FFFF6C 30%, #FFFF6C 40%, #FFFF6C 50%, #FFFF6C 60%, #FFFF6C 70%, rgba(255, 255, 108, 0.00) 100%);
}

.download-game-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
}

.download-game-buttons img {
    width: 100%;
    height: 100%;
    transition: filter 0.5s ease;
}

.download-game-buttons a img:hover {
    filter: brightness(1.2);
}

.download-game-render {
    display: none;
}

@media screen and (min-width: 1000px) {
    .download-game-container {
        width: 700px;
    }

    .download-game-render {
        display: block;
        position: absolute;
        bottom: 0;
        width: 56%;
        left: 7%;
    }

    .download-game-buttons {
        width: 30%;
    }

}

/* BOAS-VINDAS */

.welcome-container {
    background: #ffffff url('../images/popups/create-account-and-download/bg-create.png') no-repeat center center / cover;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 358px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
}

.welcome-inputs>input {
    width: 100%;
    padding: 11px 20px;
    margin-bottom: 24px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.welcome-text {
    padding: 10px;
    margin-top: 20px;
    color: #6F0004;
    font-size: 18px;
    -webkit-text-stroke-width: 0.30px;
    -webkit-text-stroke-color: #FFCF4F;
    z-index: 3;
    background: linear-gradient(90deg, rgba(255, 255, 108, 0.00) 0%, #FFFF6C 30%, #FFFF6C 40%, #FFFF6C 50%, #FFFF6C 60%, #FFFF6C 70%, rgba(255, 255, 108, 0.00) 100%);
}

.welcome-create {
    padding: 10px;
    color: #fff;
    font-size: 18px;
    -webkit-text-stroke-width: 0.50px;
    -webkit-text-stroke-color: #053469;
    z-index: 3;
    margin: 20px 0;
    background: linear-gradient(90deg, rgba(3, 83, 172, 0.00) 0%, #0353AC 30%, #0353AC 40%, #0353AC 50%, #0353AC 60%, #0353AC 70%, rgba(3, 83, 172, 0.00) 100%);
}

.welcome-checkbox {
    color: #054DA7;
    font-size: 14px;
}

.welcome-checkbox input {
    border-radius: 500px;
}

.itens-mobile,
.itens-pc {
    width: 100%;
    height: 100%;
    margin-top: 20px;
}

.itens-pc,
.render-welcome {
    display: none;
}

@media screen and (min-width: 1000px) {
    .itens-mobile {
        display: none;
    }

    .itens-pc,
    .render-welcome {
        display: block;
    }

    .render-welcome {
        position: absolute;
        top: -5%;
        width: 18%;
        left: 7%;
    }
}







.reward-container {
    background: #ffffff url('../images/popups/reward-and-rescue/bg-reward.png') no-repeat center center / cover;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 358px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.reward-congrats,
.reward-cta {
    width: 100%;
    height: 100%;
}

.reward-congrats {
    width: 50% !important;
    text-align: center;
}

.reward-cta {
    width: 80% !important;
    transition: filter 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.reward-timer {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.reward-text {
    padding: 10px;
    background: linear-gradient(90deg, rgba(252, 78, 21, 0.00) 0%, #FC4E15 30%, #FC4E15 40%, #FC4E15 50%, #FC4E15 60%, #FC4E15 70%, rgba(252, 78, 21, 0.00) 100%);
}

.reward-modal-timer {
    color: #6F0004;
    -webkit-text-stroke-width: 1.10px;
    -webkit-text-stroke-color: #FFCF4F;
    font-family: Roboto;
    font-size: 18px;
    font-weight: 500;
}

.reward-create-account {
    color: #002F55;
    font-weight: bold;
}

@media screen and (min-width: 1000px) {
    .reward-container {
        width: 700px;
        align-items: end;
    }

    .reward-cta {
        width: 50% !important;
        display: flex;
        align-items: end;
        justify-content: end;
    }

    .reward-timer {
        justify-content: end;
    }
}

.rescue-reward-container,
.rescue1-container {
    background: #ffffff url('../images/popups/reward-and-rescue/bg-rescue-reward.png') no-repeat center center / cover;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 358px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.rescue-reward-title {
    width: 100%;
    height: 100%;
}

.flex,
.form-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.flex select,
.form-top {
    width: 100%;
    padding: 11px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 0;
}

.form-top::placeholder {
    color: #000;
}

.rescue-chicken {
    display: none;
    position: absolute;
}

@media screen and (min-width: 1000px) {

    .rescue-reward-container,
    .rescue1-container {
        width: 700px;
    }

    .flex {
        flex-direction: row;
    }

    .rescue-reward-title {
        width: 60% !important;
    }

    .rescue-chicken {
        display: block;
        right: 6%;
        top: -20%;
        width: 18%;
    }
}

@media screen and (max-width: 1000px) {
    .chicken-1-rescue {
        display: none;
    }

    .chicken-2-rescue {
        display: none;
    }
}

.rescue-cta {
    transition: filter 0.5s ease;
}

.rescue-cta:hover {
    filter: brightness(1.3);
}

a[disabled] .rescue1-cta {
    filter: grayscale(1);
    cursor: not-allowed;
}

.rescue-character {
    color: #003056;
}








.rescue-text-back {
    padding: 10px;
    color: #FFF;
    -webkit-text-stroke-width: 0.45px;
    -webkit-text-stroke-color: #053469;
    font-family: Roboto;
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(90deg, rgba(3, 83, 172, 0.00) 0%, #0353AC 30%, #0353AC 40%, #0353AC 50%, #0353AC 60%, #0353AC 70%, rgba(3, 83, 172, 0.00) 100%);
}

.rescue-itens-pc {
    display: none;
}

.rescue-itens-mobile {
    width: 70%;
    height: 100%;
}

.rescue1-cta {
    width: 100%;
    transition: filter 0.5s ease;
}

.rescue1-cta:hover {
    filter: brightness(1.2);
}

.rescue-timer {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    font-size: 24px;
    color: #6F0004;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #FFCF4F;
    font-family: Roboto;
    font-weight: 800;
    background: linear-gradient(90deg, rgba(255, 255, 70, 0.00) 0%, #FFFF46 30%, #FFFF46 40%, #FFFF46 50%, #FFFF46 60%, #FFFF46 70%, rgba(255, 255, 70, 0.00) 100%);
}

.chicken-1-rescue,
.chicken-2-rescue {
    display: block;
}

.rescue1-container {
    background: url('../images/popups/rescue/bg-rescue.png') no-repeat center center / cover !important;
}

@media screen and (min-width: 1000px) {
    .rescue-itens-mobile {
        display: none;
    }

    .rescue-itens-pc {
        display: block;
        width: 100%;
        height: 100%;
    }

    .chicken-1-rescue {
        display: block;
        position: absolute;
        width: 17%;
        left: 2%;
        bottom: 19%;
    }

    .chicken-2-rescue {
        display: block;
        position: absolute;
        width: 15%;
        bottom: 26%;
        right: 4%;
    }
}

.modal-overlay-timer-reward-on {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    pointer-events: none;
    z-index: 12;
}

.reward-on {
    pointer-events: all;
}


.reward-on-box {
    width: 100%;
    height: 100%;
    border-radius: 72px 0px 0px 72px;
    background: #7DD2F0;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-link {
    width: 20%;
    height: 100%;
}

.dropdown {
    width: 100%;
    height: 100%;
}

.clock-reward-on {
    width: 30%;
    height: 100%;
}

.timer-reward-on {
    display: flex;
    flex-direction: column;
    align-items: end;
    max-width: 100px;
}

.reward-on-countdown {
    font-size: 27px;
}









.bonus-modal {
    background: #ffffff url('../images/popups/bg.png') no-repeat center center / cover;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 24px;
}

.bonus-on {
    padding: 10px;
    color: #FFF;
    -webkit-text-stroke-width: 0.23px;
    -webkit-text-stroke-color: #053469;
    font-family: Roboto;
    width: 331px;
    background: linear-gradient(90deg, rgba(3, 83, 172, 0.00) 0%, #0353AC 30%, #0353AC 40%, #0353AC 50%, #0353AC 60%, #0353AC 70%, rgba(3, 83, 172, 0.00) 100%);
}

.fundo {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
    justify-content: end;
    width: 400px;
    padding: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 70, 0.00) 0%, #FFFF46 30%, #FFFF46 40%, #FFFF46 50%, #FFFF46 60%, #FFFF46 70%, rgba(255, 255, 70, 0.00) 100%);
}

.bonus-cta {
    width: 60%;
    display: flex;
    align-items: end;
    justify-content: end;
    transition: filter 0.5s ease;
}

.bonus-cta:hover {
    filter: brightness(1.2);
}

.bonus-cta-link {
    display: flex;
    justify-content: end;
}







.attention-modal {
    background: #D9F9FE;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 700px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.modal-divider {
    width: 452px;
    height: 2px;
    background: #000;
}

.chicken-glass {
    position: absolute;
    top: -22%;
    width: 14%;
}

.close-btn-modal {
    color: #000 !important;
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 24px;
    cursor: pointer;
}






.character-selector {
    background: #D9F9FE;
    width: 90%;
    padding: 24px;
    border-radius: 31px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.character-inputs input,
select {
    width: 100%;
    padding: 11px 19px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 0;
}

.character-inputs {
    display: flex;
    gap: 16px;
    flex-direction: row;
}

.select-title {
    width: 70%;
    height: 100%;
}

.characters {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding: 24px;
}

.character {
    width: 50%;
    height: 100%;
    cursor: pointer;
    transition: filter 0.5s ease;
}

.character.selected {
    filter: brightness(1.2) saturate(1.4);
}

.character:hover {
    filter: brightness(1.1) saturate(1.2);
}

.feedback {
    position: absolute;
    bottom: 19%;
    left: -8%;
    width: 30%;
}
