.main-header
{
    background: transparent;
    padding: 10px 40px;
}

.icon-black
{
    display: none;
}

.servicios-main
{
    height: 100vh;
    position: relative;
    background-image: url(../img/servicios/banner-servicios2.jpg);
    background-size: cover;
}

.servicios-main::before
{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: .5;
}

.servicios-body
{
    max-width: 1440px;
    margin: 0 auto;
}

.img-banner-servicios
{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.title-servicios-main
{
    position: absolute;
    top: 0;
    bottom: 0;
    height: fit-content;
    margin: auto 100px;
    padding: 20px 40px;
}

.title-servicios
{
    color: #FFF;
    font-weight: 800;
    font-size: 45px;
    font-family: sans-serif;
}

.servicios-banner-main
{
    position: absolute;
    height: fit-content;
    top: 0;
    bottom: 0;
    right: 100px;
    margin: auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    
}

.servicio-banner 
{
    background: rgba(255, 255, 255, 0.24);
    border-radius: 10%;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.5px);
    -webkit-backdrop-filter: blur(6.5px);
    padding: 20px 8px;
    animation: resize 2s ease-out alternate infinite;
    transition: all .3s ease-out;
    cursor: pointer;
}

.icon-servicios-banner
{
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-servicio-banner
{
    color: var(--secondary-color);
    font-weight: lighter;
    text-align: center;
    font-size: 20px;
}

.servicio-banner:hover
{
    border-radius: 30%;
    transform: scale(1.1);
}

.servicios-banner-main:hover > :not(:hover)
{
    opacity: .3;
}

@keyframes resizee {
    
    from 
    {
        transform: scale(1);
    }

    to
    {
        transform: scale(0.8);
    }
}

.title-servicio-body
{
    padding: var(--padding-head);
    background: var(--secondary-color);
}

.title-servicios-b
{
    color: var(--tertiary-color);
    font-weight: 800;
    font-family: sans-serif;
    text-align: center;
    position: relative;
}

.title-servicios-b::before
{
    content: '';
    position: absolute;
    width: 15%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
    left: 0;
    right: 0;
    bottom: -5px;
    margin: auto;
}

.servicios
{
    padding: var(--padding-body);
    background: var(--secondary-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;

}

.servicios:hover > :not(:hover)
{
    opacity: .3;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
}

.servicio
{
    background: var(--secondary-color);
    padding: 30px 50px;
    background: rgba(255, 255, 255, 0.26);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.9px);
    -webkit-backdrop-filter: blur(3.9px);
    transition: all .3s;
    cursor: pointer;
}

@keyframes shake {
    10%, 90% {
      transform: translate3d(-1px, 0, 0);
    }
    
    20%, 80% {
      transform: translate3d(2px, 0, 0);
    }
  
    30%, 50%, 70% {
      transform: translate3d(-3px, 0, 0);
    }
  
    40%, 60% {
      transform: translate3d(3px, 0, 0);
    }
  }

.border-left
{
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.border-right
{
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}


.servicio1
{
    
}

/*
.servicio2
{
    grid-area: 1 / 2 / 2 / 3;
}

.servicio3
{
    grid-area: 2 / 1 / 3 / 2;
}

.servicio4
{
    grid-area: 2 / 2 / 3 / 3;
}

.servicio5
{
    grid-area: 3 / 1 / 4 / 2;
}

.servicio6
{
    grid-area: 3 / 2 / 4 / 3;
}
*/
.title-servicio-main
{
    padding: 25px 0;
}

.title-servicio
{
    font-family: sans-serif;
    font-weight: 800;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 24px;
}

.info-servicio-main
{
    padding-bottom: 25px;
}

.info-servicio-main p
{
    color: #000;
}

.vermas-main
{
    padding-bottom: 25px;
}

.link-vermas
{

}

@media(max-width: 1200px)
{
    .servicios{
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .servicios-main{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .title-servicios-main
    {
        bottom: inherit;
        top: inherit;
        left: 0;
        right: 0;
        width: fit-content;
        margin: auto;
        text-align: center;
    }

    .servicios-banner-main
    {
        bottom: 115px;
        top: inherit;
        left: 0;
        right: 0;
        width: fit-content;
        margin: auto;
    }
}

@media(max-width: 992px)
{
    .servicios{
        padding: 25px 60px;
    }
    .servicios-main
    {
        height: calc(100vh - 113px);
    }

    .title-servicios-main
    {
        top: 0;
        text-align: center;
        left: 0;
        right: 0;
    }

    .servicios-banner-main
    {
        bottom: 85px;
        left: 150px;
        right: 150px;
        margin: auto;
    }

    .servicio-banner
    {
        padding: 15px;
    }
    
}

@media(max-width: 768px)
{
    .servicios{
        padding: 25px 40px;
    }

    .servicios-banner-main
    {
        left: 50px;
        right: 50px;
    }

    .title-servicios-main
    {
        padding: 20px 0;
        width: 100%;
        text-align: center;
        margin: 0;
        top: 30vh;
    }

    .title-servicios
    {
        font-size: 38px;
    }

    .title-servicio-banner
    {
        font-size: 16px;
    }

    .servicios-banner-main {
        bottom: 130px;
        width: 400px;
    }

    .servicio-banner {
        padding: 5px;
        width: 90px;
        height: 95px;
        margin: 0 auto;
    }

    .icon-servicios-banner {
        width: 85%;
        margin: 0 auto;
    }
}

@media(max-width: 576px)
{
    .servicios{
        padding: 25px 20px;
    }

    .servicios-banner-main
    {
        width: calc(100% - 40px);
        left: 20px;
        right: 20px;
        grid-column-gap: 0;
    }

    
}