*{
    box-sizing: border-box;
}

body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background-image: url(/images/fondo_body.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: "Montserrat";
}
.hero_container{
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    user-select: none;
}
.main_container{
    display: flex;
    width: 100%;
    flex-direction: column;
    height: 600px;
    backdrop-filter: blur(5px);
}
.cardbar{
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: white;
    width: 100%;
    padding: 20px;
}

.card_pillar{
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    width: 300px;
    background-color: white;
    margin: 0 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    text-align: center;
    position: relative;
    border-width: 10px 10px 10px 10px;
    border-color: black;
    user-select: none;
}

.card_icon{
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.card_icon img{
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.about_container{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
}
.aboutCard_text{
    display: flex;
    font-size: 1.3em;
    padding: 20px;
    width: 50%;
    flex-direction: column;
}
.right_text{
    text-align: right;
    font-weight: 400
}
.right_text ul{
    direction: rtl;
}

.aboutCard_image{
    display: flex;
    width: 50%;
    height: 100%;
    height: 400px;
    background-color: transparent;
    justify-content: center;
}
.aboutCard_image img{
    aspect-ratio: 16/9;
    height: 100%;
    width: 100%;
    padding: 10px;
    border-radius: 30px;
    object-fit: fill;
}

.aboutCard{
    display: flex;
    flex-direction: row;
    margin: 10px;
    flex: 0;
    height: 400px;
    padding: 1rem;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    align-items: center;
}
.aboutCard h3{
    font-weight: 400;
}

.h2Services{
    margin: 0;
    padding: 20px;
    text-align: center;
}
.serviceCardContainer {
    display: flex;
    overflow: hidden;
    height: 250px;
    position: relative;
    
}
.serviceCardContainer:hover .wrapper{
    animation-play-state: paused;
}
.serviceCardContainer::-webkit-scrollbar {
    display: none;
}
.wrapper {
    display: flex;
    flex-shrink: 0;
}

.carouselRTL {
    animation: carouselRTL 60s linear infinite;
    will-change: transform;
}

@keyframes carouselRTL {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.serviceCard {
    flex: 0 0 180px;
    margin: 15px;
    height: 180px;
    transition: transform 0.4s ease;
}

.serviceCardInner {
    height: 100%;
    padding: 20px;
    border-radius: 30px;
    background-color: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    transition:
        transform 0.4s ease,
        background-color 0.4s ease,
        color 0.4s ease,
        box-shadow 0.4s ease;
}
.serviceCard.active .serviceCardInner {
    transform: scale(1.08);
    background-color: #E92C93;
    color: white;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.35);
}

.nav_container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    background-color: rgba(0, 0, 0, 0.25);
}

.isologo_container{
    display: flex;
    flex-direction: row;
    height: 100px;
    padding: 10px;
}

.logotipo_container{
    display: flex;
    align-items: center;
    height: 100%;
    padding: 10px 10px 20px 10px;
}

.logotipo_container img{
    height: 70%;
    object-fit: contain;
}
.firstRowSidebar{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.firstRowSidebar div:first-child{
    margin-right: auto;
}

.closeButton_container{
    height: 100%;
    width: 100px;
    display: flex;
    align-content: center;
    justify-content: center;
}

.closeButton_container svg{
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}
.isologo_container img{
    height: 100%;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.nav_container ul{
    height: 100%;
    margin: 0;
    list-style: none;
}
.nav_items{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0 0 0 10px;
}

.nav_container li{
    height: 100px;
}
.nav_items li:first-child{
    margin-right: auto;
}

.sidebar li:first-child{
    margin-right: 0;
}


.nav_container a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
}

.nav_container h1 {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 2rem;
    display: flex;
    align-items: center;
}
.nav_container a:hover{
    background-color: rgba(0,0,0,0.50)
}
.sidebar{
    width: 300px;
    position: fixed;
    margin: 0;
    top: 0;
    bottom: 0;
    right: 0;
    height: 100vh;
    z-index: 999;
    padding: 0 0 0 0;
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border-left: 1px solid rgba(255,255,255,0.2);
}
.sidebar ul{
    height: 100%;
    margin: 0;
    list-style: none;
}

.sidebar a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: white;
}
.sidebar li{
    list-style: none;
    height: 100px;
    width: 100%;
}
.sidebar a:hover{
    background-color: rgba(0,0,0,0.50)
}
.menu_button{
    display: none;
}

@media(max-width: 1024px){
    .hideOnMobile{
        display: none;
    }
    .menu_button{
        display: block;
    }
    .aboutCard_text{
        width: 100%;
    }
}

@media(max-width: 600px){
    .sidebar{
        width: 100%;
    }
    .nav_container{
        width: 100%;
    }
    .cardbar{
        flex-direction: column;
        align-items: center;
    }
    .card_pillar{
        width: 100%;
        margin-bottom: 20px;
        flex-direction: row;
        padding: 1.5rem;
        justify-content: flex-start;
    }
    .card_icon{
        align-self: flex-start;
    }
    .card_pillar h2{
        padding: 0 0 0 20px;
        width: 80%;
        width: auto;
        text-align: center;
    }
    .aboutCard{
        margin: 20px;
        width: 90%;
    }
    .aboutCard_text{
        width: 100%;
    }
    .aboutCard_image{
        display: none;
    }
    .aboutCard_image img{
        display: none;
    }
    
    .logotipo_container img{
        height: 40%;
        padding: 0;
    }
    .aboutCard{
        display: flex;
        flex-direction: column;
    }
    .about_container {
        width: 100;
    }
}

@keyframes spin{
    from{
        --angle: 0deg;
    }
    to{
        --angle: 360deg;
    }
}

@property --angle{
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.contact_container_fx{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(to bottom, rgb(0, 0, 0, 0.25) 5%, rgb(0, 0, 0, 0));
}

.contact_container{
    flex-grow: 1;
    height: 150px;
    width: 100%;
    background-color: rgba(233, 44, 147, 1);
    color: white;
}

.contact_container ul{
    display: flex;
    flex-direction: column;
    margin: 0 auto 0 0;
    height: 100%;
    width: 200px;
    padding: 0;
    list-style: none;
    align-items: center;
}

.contact_container li{
    display: flex;
    height: auto;
    flex: 1 1 0;
    width: 100%;
    padding: 0;
    align-items: center;      
    justify-content: center;
    gap: 8px;

}

.contact_container ul li:hover{
    background-color: rgb(0, 0, 0, 0.25);
    cursor: pointer;
}

.contact_container ul img{
    height: 25px;
    width: 25px;
}
.contact_container ul svg{
    height: 25px;
    width: 25px;
}

.contact_container a{
    color: white;
    text-decoration: none;
}

.contact_image{
    display: flex;
    flex-grow: 0;
    width: auto;
    height: 100px;
    margin: 0 10px 0 0;
}
.contact_image img{
    display: flex;
    object-fit: contain;
    height: 100%;
}

.serviceCard_background{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: linear-gradient(to right top, rgba(233, 44, 147, 0.75),  rgba(41, 41, 190));
}


/* Fade edges */
.seccionDisenio::before,
.seccionDisenio::after,
.seccionGestion::before,
.seccionGestion::after,
.seccionDesarollo::before,
.seccionDesarollo::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.seccionDisenio::before,
.seccionGestion::before,
.seccionDesarollo::before {
    left: 0;
    z-index: 999;
    background: linear-gradient(to right, rgb(255,255,255,0.4), transparent);
    border-radius: 30px 0 0 30px;
}

.seccionDisenio::after,
.seccionGestion::after,
.seccionDesarollo::after {
    right: 0;
    z-index: 999;
    background: linear-gradient(to left, rgb(255,255,255,0.4), transparent);
    border-radius: 0 30px 30px 0;
}

.seccionDisenio,
.seccionGestion,
.seccionDesarollo {
    width: 90%;
    background-color: rgba(255, 255, 255, 0.30);
    border-radius: 30px;
    backdrop-filter: blur(3px);
    margin-bottom: 20px;
}

.seccionDisenio{
    margin-top: 20px;
}
