﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}


.container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    gap: 10px;
}

.left {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;        
    padding: 20px;
}

.phone img {
    width: 100%;
    border-radius: 25px;
}

.right {
    max-width: 700px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: table-footer-group;
}

.title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.qr-container {
    gap: 15px;
    margin-bottom: 25px;
    display: inline-flex;
}

.tutorial-btn {
    color: #001a36;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

    .tutorial-btn:hover {
        opacity: 0.9;
    }

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('https://cdn.1on1conference.com/MobileApp/landingpage/img/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: fadeIn 1.2s ease-out;
}

.phones {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.phone {
    transition: transform 0.5s ease;
    height: 400px;
    z-index: 2;
}

.lightRight-under {
    position: absolute;
    bottom: -20%;
    width: 150%;
    height: 31%;
    mix-blend-mode: color-dodge;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 150%;
    left: 0%
}

.lightLeft-under {
    position: absolute;
    bottom: -25%;
    width: 150%;
    height: 31%;
    mix-blend-mode: color-dodge;
    pointer-events: none;
    transition: all 0.3s ease;
    opacity: 150%;
    left: -20%
}

.qr-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* ระยะระหว่างแต่ละชุด */
    justify-content: center;
    align-items: flex-start;
}

.qr-item {
    display: flex;
    flex-direction: column; /* QR อยู่บน ปุ่มอยู่ล่าง */
    align-items: center;
    gap: 8px; /* ระยะห่าง QR กับปุ่ม */
    width: 120px; /* ขนาดคงที่ของแต่ละชุด */
}

.qr-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.qr-button-image {
    width: 100px; /* ให้เท่ากับ QR */
    height: 30px;
    /*object-fit: contain;*/
    transition: transform 0.2s ease;
    cursor: pointer;
}

.qrTencent-button-image {
    width: 100px; /* ให้เท่ากับ QR */
    height: 30px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

    .qr-button-image:hover {
        transform: scale(1.05);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.02);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .container {
        display: initial;
        text-align: center;
        gap: 50px;
    }

    .right {
        text-align: center;
        align-items: center;
        justify-content: center;
        display: table-footer-group;
    }

    .phone1, .phone2 {
        transform: rotate(0);
        margin: 0;
    }

    .qr-container {
        justify-content: center;
    }

    .phone {
        height: 300px;
    }

    .qr-item {
        width: 120px;
    }
}

@media (max-width: 480px) {

    .container {
        display: initial;
        margin: 50px;
    }

    .left {
        padding: 20px;
    }

    .right {
        padding: 20px;
    }

    .title {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .tutorial-btn {
        font-size: 0.8rem;
        padding: 10px 20px;
    }

    .phone {
        height: 300px;
    }
}

@media (max-width: 600px) {
    
    .container {
        display: initial;
        margin: 50px;
    }

    .left {
        padding: 20px;
    }

    .right {
        padding: 20px;
    }

    .qr-item {
        width: 140px;
        gap: 6px;
    }

    .qr-container {
        gap: 15px;
        padding: 10px;
    }

}
