body{
    overflow-x: hidden;
}

#hero{
    margin-bottom: 2rem;
}
#hero picture{
    width: 100%;
    position: relative;
    z-index: 200;
    margin-bottom: 3rem;
}
#hero > picture::before {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 15%);
    z-index: 0;
    content: "";
}

#hero img{
    width: 100%;
    object-fit: cover;
    object-position: center;
}

#devices img{
    max-height: 350px;
}
#devices .width50{
    text-wrap: balance;
}
@media (max-width: 768px) {
    #devices .width50{
        width: 100%;
    }
    #devices img{
        max-height: 300px;
        margin-bottom: 1.5rem;
    }
}


.feature{
    padding: 1.5rem;
    border-radius: 4px;
    --icon-size: 60px;
    box-shadow: var(--box-shadow-xlg);
    width: calc(50% - 15px);
    text-align: center;
    align-items: center;
    justify-content: start;
    margin-bottom: 30px;
    
}

@media (max-width: 900px) {
    #features > .flex{
        flex-direction: column;
        align-content: center;
        gap: 2rem;
    }
    #features .width50{
        width: calc(100% - 50px);
    }
}
@media (max-width: 500px) {
    .feature{
        width: 100%;
    }
}

.tect-img::before,
.tect-img::after{
    display: block;
    width: 220px;
    height: 220px;
    position: absolute;
    top: -15px;
    right: -15px;
    content: "";
    background: var(--primary);
}
.tect-img::after{
    width: 120px;
    height: 120px;

    top: auto;
    right: auto;
    bottom: -10px;
    left: -10px;
    opacity: .8;
}

.tect-img img{
    position: relative;
    z-index: 100;
    border: 5px solid #fff;
    box-shadow: var(--box-shadow-xlg);
    max-height: 450px;
    object-fit: cover;
    width: 100%;
    object-position: center;
}

footer .width100{
    text-wrap: balance;
    border-bottom: 1px solid #ddd;
}
footer .h2{
    width: 180px;
}
footer small{
    width: calc(100% - 200px);
}

@media (max-width: 768px) {
    footer .h2,
    footer small.flex-end{
        width: 100% !important;
        justify-content: center !important;
        text-align: center;
    }
    footer .h2{
        margin-bottom: 1rem;
    }
}

#contact{
    padding-top: 120px;
    margin-bottom: 60px;
}
#contact .form{
    max-width: 500px;
    padding: 2rem;
    box-shadow: var(--box-shadow-xlg);

    --input-bg: #f5f5f5;
    --input-border: 1px solid rgb(0 0 0 / 5%);
    --input-focus-border: var(--primary);
    --input-focus-shadow: var(--box-shadow-sm);
}

@media (max-width: 768px) {
    #contact .form{
        width: 100%;
        max-width: unset;
    }
    #contact .side{
        display: none;
    }
}

.site-logo2{
    display: inline-block;
    height: 110px;
    margin-block: 1.5rem;
}
.index .feature{
    width: 200px;
}

#whatsapp{
    position: fixed;
    bottom: 3rem;
    left: 2rem;
    z-index: 100;
    padding: .5rem;
    border-radius: 50%;
    background: green;
    --mask: #fff;
    --icon-size: 36px;
}
#whatsapp::after, 
#whatsapp::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
    bottom: 0;
    left: 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    border-radius: 50%;
    border: 1.5px solid green;

}
#whatsapp::before{
    -webkit-animation: ripple 2s linear infinite;
    animation: ripple 2s linear infinite;
}
#whatsapp::after{
    -webkit-animation: ripple 2s linear 1s infinite;
    animation: ripple 2s linear 1s infinite;
}

#whatsapp:is(:hover, :focus){
    animation: swing .7s linear infinite;
}

@keyframes ripple {
    0% {
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        opacity: 1;
    }
    75% {
        -webkit-transform: scale(1.2);
        transform: scale(1.2);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: scale(1.4);
        transform: scale(1.4);
        opacity: 0;
    }
}
    
