@font-face {
    font-family: OpenSansHebrew-Regular;
    src: url(/fonts/OpenSansHebrew-Regular.ttf);
}

@font-face {
    font-family: OpenSansHebrew-Light;
    src: url(/fonts/OpenSansHebrew-Light.ttf);
}

@font-face {
    font-family: OpenSansHebrew-Bold;
    src: url(/fonts/OpenSansHebrew-Bold.ttf);
}

@font-face {
    font-family: OpenSansHebrewCondensed-Regular;
    src: url(/fonts/OpenSansHebrewCondensed-Regular.ttf);
}

@font-face {
    font-family: OpenSansHebrewCondensed-Bold;
    src: url(/fonts/OpenSansHebrewCondensed-Bold.ttf);
}

*, *:before, *:after {
    box-sizing: border-box;
    tap-highlight-color: transparent;
}

* {
    direction: rtl;
    font-family: OpenSansHebrew-Regular, sans-serif;
}

:root {
    --livui-blue: #27bcd4;
    --livui-turquoise: #6acbdb;
    --livui-pink: #ff7975;
    --livui-grey: #859197;
}

body {
    display: grid;
    overflow-x: hidden;
    background: var(--livui-blue);
    margin: 0;
    padding: 0;
    border: 0;
}

section {
    position: relative;
    overflow-x: hidden;
    padding-top: 7vw;
}

.section-title {
    position: absolute;
    left: 50%;
    top: 2vw;
    translate: -50%;
    width: 19vw;
    height: 12vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scale: .8;
    background-image: url(/img/section-title.svg?v=9);
    background-repeat: no-repeat;
}

#services .section-title {
    /* top: 1vw; */
}

.decorative-floating-object {
    position: absolute;
}

.expertise-palms {
    position: absolute;
    width: 10vw;
    top: 80vw;
    left: 0;
    z-index: 1001;
}

.expertise-clouds {
    position: absolute;
    width: 13vw;
    top: 60vw;
    right: 0;
    z-index: 1001;
}

.section-title img {
    margin-top: 2vw;
    width: auto;
    filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
}

.section-title-text {
    font-size: 2vw;
    font-family: OpenSansHebrew-Light, sans-serif;
    color: #fff;
    filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
}

.section-divider {
    filter: drop-shadow(0 2.5vw 1vw rgb(0 0 0 / 0.2));
    position: absolute;
    top: 0;
    width: 100%;
}

.underline-container {
    display: grid;
    place-items: center;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
}

span.underline {
    height: 0.2vw;
    width: 0%;
    background: #0001;
    position: absolute;
    bottom: 0;
}

a:hover span.underline {
    animation: underline .2s ease-in-out forwards;
}

@keyframes underline {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes buttonScale {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(0.75);
    }
    50% {
        transform: scale(1);
    }
}

@media only screen and (min-width: 1441px) {
    .section-title {
        top: 3vw;
        scale: 1.1;
    }
    
    .section-title img {
        margin-top: .8vw;
        height: 5vw;
        filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
    }

    .section-title-text {
        font-family: OpenSansHebrew-Bold, sans-serif;
    }
}

@media only screen and (max-width: 1440px) {
    .section-title {
        top: 3vw;
        scale: 1.1;
    }
    
    .section-title img {
        margin-top: .8vw;
        height: 5vw;
        filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
    }

    .section-title-text {
        font-family: OpenSansHebrew-Bold, sans-serif;
    }
}

@media only screen and (max-width: 1200px) {
    .section-title {
        top: 3vw;
        scale: 1.1;
    }
    
    .section-title img {
        margin-top: .8vw;
        height: 5vw;
        filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
    }

    .section-title-text {
        font-family: OpenSansHebrew-Bold, sans-serif;
    }
}

@media only screen and (max-width: 992px) {
    .section-title {
        top: 4vw;
        scale: 1.2;
    }
    .section-title img {
        margin-top: .8vw;
        height: 5vw;
        filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
    }

    .section-title-text {
        font-family: OpenSansHebrew-Bold, sans-serif;
    }
}

@media only screen and (max-width: 768px) {
    .section-divider {
        width: 200%;
        translate: 30%;
    }

    .section-title {
        top: 10vw;
        scale: 1.5;
    }

    .section-title img {
        margin-top: .8vw;
        height: 5vw;
        filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
    }

    .section-title-text {
        font-family: OpenSansHebrew-Bold, sans-serif;
    }
}

@media only screen and (max-width: 600px) {
    section {
        padding-top: 14vw;
    }

    .section-title {
        top: 12vw;
        scale: 1.7;
    }

    .section-title img {
        margin-top: .8vw;
        height: 5vw;
        filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
    }
}

@media only screen and (max-width: 430px) {
    section {
        padding-top: 14vw;
    }

    .section-divider {
        width: 200%;
        translate: 30%;
    }

    .section-title {
        top: 12.5vw;
        scale: 2;
    }

    .section-title-text {
        font-size: 2vw;
        line-height: 1;
    }

    .section-title img {
        margin-top: .8vw;
        height: 5vw;
        filter: drop-shadow(0 0.1vw 0.1vw rgb(0 0 0 / 0.3));
    }
}

@media (hover: none) {
    a:hover span.underline {
        animation:none;
    }
}
