* {
    margin: 0;
    padding: 0;
      -webkit-tap-highlight-color: transparent;

}


body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    user-select: none;
}


.header {
    height: 60px;
    background-color: black;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 10px;
}

/* Logo */
.bangkoktech {
    height: 50px;
}

/* Menu icon */
.menuheader {
    height: 45px;
    margin: 0 14px;
    cursor: pointer;
}


.searchbox {
    position: relative;
}

.searchbar {
    height: 35px;
    background-color: black;
    border: 2px solid rgb(255, 0, 0);
    border-radius: 8px;

    padding: 10px 40px 10px 15px;
    color: white;
}

.searchicon {
    height: 20px;
    position: absolute;

    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    cursor: pointer;
}


.sidebar {
    width: 350px;
    max-width: 500px;
    height: 100vh;

    background-color: rgba(0, 0, 0, 0.172);
    color: aliceblue;
    backdrop-filter: blur(10px);

    position: fixed;
    top: 60px;
    left: -400px;

    transition: left 0.3s ease;
}

.sidebar.active {
    left: 0;
}

/* Sidebar logo */
.logo img {
    height: 50px;
    margin-bottom: 20px;
}


.sellyourphone,
.iphone,
.preownedphone,
.brandnewphones,
.offers,
.contactus {
    background-color: rgba(0, 0, 0, 0.51);

    margin: 10px;
    padding: 15px;
    padding-left: 15px;

    border-radius: 8px;
    backdrop-filter: blur(10px);

    transition: ease-in-out 0.2s;
}

.sellyourphone:hover,
.iphone:hover,
.preownedphone:hover,
.brandnewphones:hover,
.offers:hover,
.contactus:hover {
    padding-left:25px;
    background-color: rgb(255, 0, 0);
    cursor: pointer;
        box-shadow: 0 0 0 0.5px black;

}


.socialmediaboxes {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 10px;
}

 .whatsapp,
.facebook,
.messenger {
    width: 55px;
    height: 55px;

    background-color: rgba(0, 0, 0, 0.50);
    margin: 10px;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: ease-in-out 0.3s;
} 


.whatsapp:hover,
.facebook:hover,
.messenger:hover {
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    padding-left: 14px;
    padding-right: 14px;
    box-shadow: 0 0 0 0.5px black;
    transition: ease-in-out 0.3s;

} 




.whatsapplogo, .facebooklogo {
    height: 30px;
}
.messengerlogo {
    height: 38px;
}
.button-wrapper {
    width: 100%;               
    display: flex;
    justify-content: center;   
    margin-top: 20px; 
}


.sellyourphoneinstantly {
    position: relative;
    overflow: hidden;

    width: 250px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(255, 0, 0, 0.60);
    color: white;
    font-size: 20px;
    font-family: 'Segoe UI';
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid black;
    margin: auto;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.528);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sellyourphoneinstantly {
    white-space: nowrap;
    width: auto;
    padding: 0 8px;
}
.sellyourphoneinstantly::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    opacity: 0;
}


.sellyourphoneinstantly:hover::before {
    opacity: 1;
    animation: shimmer 2.5s linear infinite;
}


@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


.sellyourphoneinstantly:hover {
    transform: scale(1.05);
    box-shadow:
        0 0 15px rgba(255, 0, 0, 0.9),
        0 0 30px rgba(255, 0, 0, 0.7);
        background-color: rgb(255, 0, 0);
}

.ip17pm {
    width: 200px;
    border: 2px solid red;
    border-radius: 5%;
    padding-bottom: 70px;
    padding-top: 30px;
    margin-top: 10px;
    margin-left: 50px;

}
