@media (max-width:320px){

}

@media (min-width:321px){  
    .phone-position{position:absolute; top:20px; right:20px}
    .chat-phone {
        position: relative;
        width: 120px;
        height: 222px;
        background: url('/images/section1tel.webp') no-repeat center/contain;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        text-align: left;
    }
    .chat-container {
        position: absolute;
        width: 65%;
        height: 60%;
        left: 22%;
        bottom: 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden;
    }

    .chattyping-container {
        position: absolute;
        bottom: 22px;
        width: 80%;
        left: 25%;
        padding: 8px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .chatmessage.sent {
        align-self: flex-end;
        background: #dcf8c6;
        color: #000;
        font-size: 4px;
        font-weight: 400;
    }
    
    .chatmessage.received {
        align-self: flex-start;
        background: #fff;
        color: #000;
        font-size: 4px;
        font-weight: 400;
    }
    
    
    
    .chattyping-text {
        flex: 1;
        font-size: 4px;
        color: gray;
        font-weight: 400;
        color: #000;
    }
}

@media(min-width:640px){
    .phone-position{position:absolute; top:30px; right:0px}
    
}

@media(min-width:960px){
    .phone-position{position:absolute; top:0px; right:0px}
    .chat-phone {
        position: relative;
        width: 160px;
        height: 296px;
        background: url('/images/section1tel.webp') no-repeat center/contain;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }
    .chat-container {
        position: absolute;
        width: 65%;
        height: 55%;
        left: 22%;
        bottom: 70px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden;
    }

    .chattyping-container {
        position: absolute;
        bottom: 32px;
        width: 80%;
        left: 25%;
        padding: 8px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .chatmessage.sent {
        align-self: flex-end;
        background: #dcf8c6;
        color: #000;
        font-size: 6px;
        font-weight: 400;
    }
    
    .chatmessage.received {
        align-self: flex-start;
        background: #fff;
        color: #000;
        font-size: 6px;
        font-weight: 400;
    }
    
    
    
    .chattyping-text {
        flex: 1;
        font-size: 6px;
        color: gray;
        font-weight: 400;
        color: #000;
    }
}

@media(min-width:1200px){
    .phone-position{position:absolute; top:0px; right:0px}
    .chat-phone {
        position: relative;
        width: 220px;
        height: 408px;
        background: url('/images/section1tel.webp') no-repeat center/contain;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }
    .chat-container {
        position: absolute;
        width: 65%;
        height: 65%;
        left: 22%;
        bottom: 90px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden;
    }

    .chattyping-container {
        position: absolute;
        bottom: 48px;
        width: 80%;
        left: 25%;
        padding: 8px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .chatmessage.sent {
        align-self: flex-end;
        background: #dcf8c6;
        color: #000;
        font-size: 8px;
        font-weight: 400;
    }
    
    .chatmessage.received {
        align-self: flex-start;
        background: #fff;
        color: #000;
        font-size: 8px;
        font-weight: 400;
    }
    
    
    
    .chattyping-text {
        flex: 1;
        font-size: 8px;
        color: gray;
        font-weight: 400;
        color: #000;
    }
}

@media(min-width:1400px){
    .phone-position{position:absolute; top:80px; right:30px}
}

@media(min-width:1600px){
    .phone-position{position:absolute; top:80px; right:30px}
    .chat-phone {
        position: relative;
        width: 300px;
        height: 528px;
        background: url('/images/section1tel.webp') no-repeat center/contain;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
    }
    .chat-container {
        position: absolute;
        width: 65%;
        height: 75%;
        left: 22%;
        bottom: 120px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        overflow: hidden;
    }
    .chattyping-container {
        position: absolute;
        bottom: 65px;
        width: 80%;
        left: 25%;
        padding: 8px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .chatmessage.sent {
        align-self: flex-end;
        background: #dcf8c6;
        color: #000;
        font-size: 10px;
        font-weight: 400;
    }
    
    .chatmessage.received {
        align-self: flex-start;
        background: #fff;
        color: #000;
        font-size: 10px;
        font-weight: 400;
    }
    
    
    
    .chattyping-text {
        flex: 1;
        font-size: 10px;
        color: gray;
        font-weight: 400;
        color: #000;
    }
}



/* Telefon chat stili - Whatsapp benzeri chat arayüzü */





.chatmessage {
    max-width: 80%;
    padding: 10px;
    border-radius: 10px;
    margin: 5px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}



.chatsend-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 50%;
    cursor: not-allowed;
    opacity: 0.5;
    display: none;
}

/* Telefon chat stili - Whatsapp benzeri chat arayüzü bitişi */