
.footer {
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 0;
    overflow: hidden;
}

.footer .inner {
    width: 100%;
    max-width: 1312px;
}

.footer > * {
    position: relative;
    z-index: 1;
}

.footer::before {
    content: ' ';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom:0;
    background: linear-gradient(134.71deg, rgba(0, 176, 255, 0.977355) -0.5%, #861FFC 76.33%, #861FFC 98.45%);
}

.footer-homepage .footer::before {
    top: -96px;
}

.footer .inner > svg {
    margin: 60px 0 0 0;
}

.footer .inner .master {
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    padding: 40px 0;
    width: 100%;

    > .logo {
        flex: 0 0 35%;

        > a {
            display: inline-flex;
        }
    }

    > .grid {
        flex: 1 1 auto;
    }
    /* gap: 150px; */
}

.footer .logo h2 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    line-height: 36px;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer .logo a {
    box-shadow: 0px 1px 5px rgba(62, 62, 62, 0.1);
    text-decoration: none;
    margin-top: 20px;
    transform: scale(1) !important;
    transition: transform ease 500ms !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 8px;
    font-weight: 600;
    font-style: normal;
    color: #3E3E3E;
    background: #fff;
    text-decoration: none;
    padding: 0 18px;
    border: 1px solid #fff;
    white-space: nowrap;
}

.logo a {
    transition: transform 0.5s ease !important;
}

.logo a:hover {
    transform: scale(1.08) !important;
}

.footer .logo a.btnContact {
    background: #FFFFFF;
    border: 1px solid rgba(62, 62, 62, 0.08);
    color: #169FF2;
 
}

.footer .logo a.btnTrial {
    background: #169FF2;
    margin-left: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #FFFFFF;
}

.footer .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 80px;
}

.footer .grid > div {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer .grid > div h4,
.footer .socials > div h4 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    color: #fff;
    margin: 15px 0;
}

.footer .grid > div ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer .grid > div ul li a {
    text-decoration: none;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 28px;
    color: #fff;
}


.footer .grid > div ul li a:hover {
    text-shadow: 0px 0px 1px currentColor;
}

.footer .socials { 
    width: 100%;
}

.footer .socials h4 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 20px;
    color: #FFFFFF;
    margin-top: 40px;
}

.footer .socials ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
}

.footer .socials div:first-child ul {
    flex-direction: column;
}

.footer .socials > div:first-child  li {
    display: flex;
    flex-direction: row;
}

.footer .socials > div:last-child  li {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    margin-right: 16px;
}

.footer .socials ul li > a {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    font-size: 15px;
    line-height: 28px;
    color: #fff;
}

.footer .socials div:first-child ul li {
    align-items: flex-start;
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
    color: #fff;
}

.footer .socials div:first-child ul li > svg  {
    margin: 12px 8px 0 0;
}

.footer .socials div:first-child ul li > div  {
    margin: 8px 0 0 0;
    line-height: 22px;
}

.footer .socials div:first-child ul li > a {
    width: auto;
}

.footer .socials > div:first-child ul li > div,
.footer .socials > div:first-child ul li svg  {
    margin: 12px 12px 0 0;
}

.footer .socials ul li.mail > svg  {
    width: 23px;
    height: 15px;
}

.footer .socials ul li.call > svg  {
    width: 23px;
    height: 21px;
}

.footer .socials ul li.travel > svg  {
    width: 28px;
    height: 24px;
}

#adres {
    color: #fff;
    text-decoration: none;
}

.footer .socials ul li.travel > div > br  {
    display: none;
}

.footer .socials .social-media-links li{
    transition: all 0.3s ease-in-out;
}

.footer .socials .social-media-links li:hover{
    transform: scale(1.08);
    background: rgba(255, 255, 255, 0.6);
}

.footer .terms {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 40px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.6);
}

.footer .terms > div {
    margin: 0 !important;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 600px;
    justify-content: space-between;
    line-height: 40px;
    font-family: 'Open Sans';
}
    
.footer .terms span {
    display: inline-flex;
 
    font-style: normal;
    font-weight: 600;
    font-size: 8px;
    color: #FFFFFF;
    text-decoration: none;
    margin: 0 4px;
}

.footer .terms a {
    line-height: 40px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 8px;
    color: #FFFFFF;
    text-decoration: none;
}

.footer .other-products li ,
.resources li {
    display: flex;
    gap: 10px;
}

.footer .socialsMobile {
    display: none;
}

.footer .text-animation {
    display: flex;
    flex-wrap: wrap;
    gap: 0 5px;
    justify-content: center;
    opacity: 0;
}

.footer .text-animation span {
    opacity: 0;
    transform: translateY(10px);
    display: inline-block;
}

.footer .text-animation.leftText {
    justify-content: start;
}

.footer .text-animation.visible span {
    animation: fadeInWord 0.5s forwards;
}

.footer a.animate {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform:scale(0.5);
    display: inline-flex;
}

.footer .text-animation.visible {
    opacity: 1;
}

.footer a.animate.visible {
    animation: scaleUpOpacity 0.5s forwards;
}

.footer a.animate, .footer .text-animation.animate span{
    animation-delay: var(--delay) !important;
}

@keyframes fadeInWord {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: var(--targetOpacity); transform: translateY(0); }
}
@keyframes scaleUpOpacity {
    0% { transform: scale(0.5); -webkit-transform:scale(0.5); opacity: 0 }
    100% { transform: scale(1); -webkit-transform:scale(1.0); opacity: 1 }
}

@media only screen and (max-width: 1200px) {
    .footer {
        padding: 0 36px;
    }

    .footer .socials {
        margin: 0;
    }
}

@media only screen and (max-width: 900px) {
    .footer .inner .master .grid{
        flex: 2;
    }

    .footer .grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 20px;

        div:first-of-type,
        div:nth-of-type(2) {
            grid-row: 1;
        }

        div:nth-of-type(3),
        div:last-of-type {
            grid-row: 2;
        }

        div:nth-of-type(3) {
            grid-column: 1;
        }
    }

    .footer .socials {
        display: grid;
        grid-template-rows: repeat(2, 1fr);

        div {
            max-height: min-content;
        }

        ul {
            margin: 0;
        }
    }
}

@media only screen and (max-width: 1120px) {
    .footer-homepage .footer::before {
        top: -25px;
    }

    .footer {
        padding: 10px 0 0 0;
    }

    .footer > .inner {
        box-sizing: border-box;
        padding: 0 24px;
    }

    .footer .logo {
        margin: 56px 0 60px 0;
    }

    .footer .logo h2 {
        margin: 40px 0 45px 0;
    }

    .footer h4 {
        margin-top: 0;
    }

    .footer .logo a {
        margin-top: 0;
    }

    .footer .socials {
        width: auto;
        margin: 50px 0 0 0;
        display: flex;
        flex-direction: row;
    }

    .footer .grid > div {
        gap: 50px 0 !important;
    }

    .footer .grid > div:nth-child(2) {
        flex-direction: column-reverse;
    }

    .footer .socials h4 {
        margin-top: 0 !important;
    }

    .footer .terms {
        justify-content: space-between;
        margin: 0 28px; 
    }

    .footer .terms a {
        margin: 0;
    }   

    .footer .inner .master {
        display: flex;
        flex-direction: column;
        padding: 0 0 40px 0;
    }

    .footer .inner > svg {
        margin: 60px 0 0 28px;
    }

    .footer .grid {
        display: flex;
        flex: 0 0 80%;
        align-self: stretch;
        margin: 0;
        flex-wrap: wrap;
        row-gap: 0;
        column-gap: 0;
    }

    .footer .grid > div:nth-child(odd),
    .footer .socials > div:first-child {
        flex: 0 0 55%;
    }

    .footer .socials {
        display: none !important;
    }

    .footer .socialsMobile {
        display: flex !important;
    }

    .footer .socials div:last-child ul {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer .socials div:last-child ul li {
        margin-bottom: 12px;
        margin-right: 12px;
    }

    .footer .socials ul li.travel > div > br  {
        display: block;
    }

    .footer .socials ul li.mail > svg  {
        width: 15px;
        height: 11px;
    }
    
    .footer .socials ul li.call > svg  {
        width: 14px;
        height: 15px;
    }

    .footer .socials ul li.travel > div {
        line-height: 22px;
    }
}