
/* ÁREA DA TARTARUGA */
.tartaruga-area {
    flex: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    position: relative;
    overflow: visible !important;
    /* IMPORTANTE */
}

/* GRAMA  */
.grass {
    position: absolute ;
    bottom: 0 ;
    left: 50% ;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: linear-gradient(to top, #2E7D32, #4CAF50, #81C784);
    z-index: 1 ;
    border-radius: 50% 50% 0 0;
    box-shadow: 0 -5px 15px rgba(0, 100, 0, 0.3);
}

/* TARTARUGA */
.turtle {
    width: 400px;
    height: 400px;
    position: relative ;
    transform: rotate(-15deg);
    z-index: 100 ;
    margin: 0 auto;
    pointer-events: none;
}

/* ELEMENTOS DA TARTARUGA */
.head {
    width: 75px;
    height: 85px;
    border-radius: 50%;
    background-color: #664725;
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 99 ;
}

.head::before,
.head::after {
    top: 20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #1f0d0d;
    content: "";
    position: absolute;
    z-index: 102;
}

.head::before {
    left: 13px;
}

.head::after {
    right: 13px;
}

.hull {
    width: 220px;
    height: 250px;
    background-color: #362614;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.hull::before {
    width: 200px;
    height: 235px;
    background-color: #271b0d;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 102;
}

.hull::after {
    width: 50%;
    height: 100%;
    background-color: #a88254;
    opacity: 0.1;
    top: 0;
    content: "";
    position: absolute;
    z-index: 103;
}

.hull div {
    width: 120px;
    height: 80px;
    background: #463322;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 104;
}

.hull div::before {
    top: -30px;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 30px solid #3f2b14;
    content: "";
    position: absolute;
    left: 0;
    z-index: 105;
}

.hull div::after {
    bottom: -30px;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 30px solid #463322;
    content: "";
    position: absolute;
    left: 0;
    z-index: 105;
}

.tail {
    transform: translate(-50%, -50%);
    z-index: 120;
    position: absolute;
    left: 50%;
    bottom: 10%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 35px solid #664725;
    
        
}

.leg {
    width: 30px;
    height: 300px;
    border-radius: 20%;
    position: absolute;
    background-color: #664725;
    top: 50%;
    left: 50%;
    z-index: 99;
}

.leg.Left {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.leg.Right {
    transform: translate(-50%, -50%) rotate(45deg);
}

/* RESPONSIVIDADE  */
@media (max-width: 1024px) {
    .grass {
        width: 600px;
        height: 600px;
    }

    .turtle {
        width: 300px;
        height: 300px;
        margin-right: 30px;
        margin-bottom: 40px;
        transform: rotate(-15deg) scale(0.8);
    }
}

@media (max-width: 768px) {
    .tartaruga-area {
        justify-content: center;
        width: 100%;
        height: 250px;
        margin-top: 20px;
    }

    .grass {
        width: 600px;
        height: 600px;
        right: auto !important;
        position: relative !important;
        margin: 0 auto;
    }

    .turtle {
        width: 250px;
        height: 250px;
        margin: 0;
        position: absolute !important;
        transform: rotate(-15deg) scale(0.7);
    }
}

@media (max-width: 480px) {
    .tartaruga-area {
        height: 200px;
    }

    .grass {
        width: 600px;
        height: 600px;
    }

    .turtle {
        width: 180px;
        height: 180px;
        transform: rotate(-15deg) scale(0.6);
    }
}

@media (max-width: 360px) {
    .tartaruga-area {
        height: 160px;
    }

    .grass {
        width: 600px;
        height: 300px;
        top: 90px;
    }

    .turtle {
        width: 150px;
        height: 150px;
        transform: rotate(-15deg) scale(0.5);
    }
}
@media (max-width: 768px) {
    .turtle {
        transform: rotate(-15deg) scale(0.8) !important;
        margin-bottom: 20px !important;
    }

    .head {
        width: 60px;
        height: 70px;
        top: 12% !important;
        
        z-index: 99;
    }

    .head::before,
    .head::after {
        width: 6px;
        height: 6px;
        top: 15px;
    }

    .head::before {
        left: 10px;
    }

    .head::after {
        right: 10px;
    }

    .hull {
        width: 180px;
        height: 200px;
    }

    .hull::before {
        width: 160px;
        height: 190px;
    }

    .hull div {
        width: 100px;
        height: 65px;
    }

    .leg {
        width: 25px;
        height: 250px;
    }

    .tail {
        bottom: 10%;
        border-left-width: 6px;
        border-right-width: 6px;
        border-top-width: 28px;
    }
}

@media (max-width: 480px) {
    .turtle {
        transform: rotate(-15deg) scale(0.65) !important;
        margin-bottom: 15px !important;
    }

    .head {
        width: 45px;
        height: 55px;
        top: 5% !important;
        z-index: 99;
        
    }

    .head::before,
    .head::after {
        width: 5px;
        height: 5px;
        top: 12px;
    }

    .head::before {
        left: 8px;
    }

    .head::after {
        right: 8px;
    }

    .hull {
        width: 140px;
        height: 160px;
    }

    .hull::before {
        width: 125px;
        height: 150px;
    }

    .hull div {
        width: 80px;
        height: 50px;
    }

    .hull div::before {
        top: -20px;
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 20px;
    }

    .hull div::after {
        bottom: -20px;
        border-left-width: 40px;
        border-right-width: 40px;
        border-top-width: 20px;
    }

    .leg {
        width: 20px;
        height: 200px;
    }

    .tail {
        border-left-width: 5px;
        border-right-width: 5px;
        border-top-width: 22px;
        bottom: -6%;
    }
}

@media (max-width: 360px) {
    .turtle {
        transform: rotate(-15deg) scale(0.55) !important;
    }

    .head {
        width: 35px;
        height: 45px;
        top: 4% !important;
        bottom: 40%;
        z-index: 99;
    }

    .head::before,
    .head::after {
        width: 4px;
        height: 4px;
        top: 10px;
    }

    .head::before {
        left: 6px;
    }

    .head::after {
        right: 6px;
    }

    .hull {
        width: 120px;
        height: 140px;
    }

    .hull::before {
        width: 110px;
        height: 130px;
    }

    .tail{
        top: 155px;
    }
}

/* GARANTIR VISIBILIDADE COMPLETA */
.turtle {
    overflow: visible !important;
}

.tartaruga-area {
    overflow: visible !important;
}

/* Permitir cliques na tartaruga */
.turtle {
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Adicione um efeito de hover na tartaruga */
.turtle:hover {
    transform: rotate(-15deg) scale(1.05) !important;
    transition: transform 0.3s ease !important;
}

/* MENSAGEM DA TARTARUGA */
.tartaruga-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 350px;
    height: 200px;
    background: #CFE0BC;
    border: 3px solid #63783D;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(99, 120, 61, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    padding: 20px;
    overflow: hidden;
    text-align: center;
}

.tartaruga-message.show {
    transform: translate(-50%, -50%) scale(1);
}

.tartaruga-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #99CD85, #7FA653, #63783D);
}

.tartaruga-message .content {
    padding: 20px;
    text-align: center;
}

.tartaruga-message .content h2 {
    margin: 0 0 15px 0;
    color: #63783D;
    font-size: 24px;
}

.tartaruga-message .content p {
    margin: 0;
    color: #5a6c38;
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
}

.tartaruga-message .turtle-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.tartaruga-message .close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #63783D;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tartaruga-message .close:hover {
    background: #7FA653;
    transform: scale(1.1);
}

/* Responsividade para a mensagem */
@media (max-width: 768px) {
    .tartaruga-message {
        width: 90%;
        height: 180px;
    }

    .tartaruga-message .content h2 {
        font-size: 20px;
    }

    .tartaruga-message .content p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .tartaruga-message {
        width: 95%;
        height: 200px;
        padding: 15px;
    }

    .tartaruga-message .content {
        padding: 10px;
    }

    .tartaruga-message .turtle-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 900px) {

    .grass {
        width: 140%;
        height: 220px;
        position: absolute;
        bottom: -80px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 900px) {
    .grass {
        width: 140%;
        height: 220px;
        bottom: -60px;
    }
}

@media (max-width: 360px) {
    .grass {
        height: 180px;
        bottom: -40px;
    }
}

@media (max-width: 768px) {
    .grass {
        width: 140%;
        height: 240px;
        bottom: -70px;
    }

}

@media (max-width: 480px) {

    .grass {
        height: 200px;
        bottom: -50px;
    }
}


@media (max-width: 360px) {
    .grass {
        height: 180px;
        bottom: -40px;
    }}