@font-face {
    font-family: AvenirLTStd-Book;
    src: url('../fonts/AvenirLTStd_Book.ttf') format('truetype');
}

@font-face {
    font-family: AvenirLTStd-Black;
    src: url('../fonts/AvenirLTStd_Black.ttf') format('truetype');
}

@font-face {
    font-family: "Avenir Next LT Pro Demi";
    src: url('../fonts/Avenir_Next_LT_Pro_Demi.ttf') format('truetype');
}

.Avenir_book {
    font-family: AvenirLTStd-Book;
}

.Avenir_black {
    font-family: AvenirLTStd-Black;
}

.Avenir_LT {
    font-family: "Avenir Next LT Pro Demi";
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0fb1a2 25%, #0f86a6 100%);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

* {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


body,
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    background: linear-gradient(to bottom, #0fb1a2 25%, #0f86a6 100%);

}

#resizable {
    width: 1080px;
    height: 1920px;
    text-align: center;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    overflow: hidden !important;
}

.centerpage {
    width: 1080px;
    height: 1920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    overflow: hidden !important;
}


/*index_page*/
.index_page {

    .rightshape {
        position: absolute;
        right: 0;
        height: 100%;
    }

    .rightshape img {
        height: 100%;
    }

    .bottom_shape {
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .bottom_shape img {
        width: 700px;
    }

    .heading {
        position: absolute;
        top: 45%;
        width: 80%;
        color: #1d62a4;
        background-color: #fdfeff;
        font-size: 4.5rem;
        padding: 20px;
        border-radius: 70px;
        -webkit-border-radius: 70px;
        -moz-border-radius: 70px;
        -ms-border-radius: 70px;
        -o-border-radius: 70px;
        cursor: pointer;
    }

    .footer {
        position: absolute;
        width: 95%;
        bottom: 25px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .footer .join {
        background-color: #1D61A4;
        box-shadow: rgba(0, 0, 0, 0.25) 3px 4px 18px;
        color: white;
        font-size: 35px;
        display: flex;
        align-items: center;
        padding: 10px;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        cursor: url('../images/email_curser.svg'), auto;
        z-index: 5;
    }

    .footer .join img {
        width: 90px;
    }

    .footer .bowerdby img {
        width: 280px;
        cursor: pointer;
    }
}



/*categories_page*/
.categories_page {

    .home {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1;
        cursor: pointer;
    }

    .home img {
        width: 110px;
    }

    .shape_up,
    .shape_down {
        position: absolute;
        left: 0;
    }

    .shape_up img,
    .shape_down img {
        width: 190px;
    }

    .shape_down {
        bottom: 0;
    }

    .bottom_shape {
        position: absolute;
        bottom: 0;
        right: 0;
    }

    .bottom_shape img {
        width: 500px;
        opacity: 0.2;
        transform: rotateY(180deg);
    }


    .heading {
        color: #1D62A4;
        font-size: 4.5rem;
        position: absolute;
        top: 5%;
    }

    .all_categories {
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 70%;
        position: absolute;
        top: 14%;
    }


    .category {
        width: 400px;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        background-color: #1a5fa4;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 3px 4px 18px;
        font-size: 40px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }


    .category img {
        width: 160px;
        height: 160px;
        object-fit: contain;
    }

    .category span {
        padding-top: 15px;
    }

    .join {
        position: absolute;
        top: 90%;
        background-color: #1D61A4;
        box-shadow: rgba(0, 0, 0, 0.25) 3px 4px 18px;
        color: white;
        font-size: 35px;
        display: flex;
        align-items: center;
        padding: 10px;
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        -ms-border-radius: 5px;
        -o-border-radius: 5px;
        cursor: url('../images/email_curser.svg'), auto;
    }

    .join img {
        width: 90px;
    }
}



/*companies_page*/

.companies_page {

    .home {
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 1;
        cursor: pointer;
    }

    .home img {
        width: 110px;
    }

    .fillter {
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1;
        cursor: pointer;
    }

    .fillter img {
        width: 110px;
    }

    .shape_up,
    .shape_down {
        position: absolute;
        left: 0;
    }

    .shape_up img,
    .shape_down img {
        width: 200px;
    }

    .shape_down {
        bottom: 0;
    }

    .heading {
        position: absolute;
        top: 5%;
        font-size: 55px;
        width: 65%;
        color: #1D62A4;
    }

    .search {
        width: 45%;
        position: absolute;
        top: 15%;
    }

    .search input {
        font-family: AvenirLTStd-Book;
        padding: 10px;
        width: 100%;
        font-size: 45px;
        background: rgba(255, 255, 255, 0.2);
        border: 5px solid #ffffffd6;
        border-radius: 50px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        -ms-border-radius: 50px;
        -o-border-radius: 50px;
        color: white;
    }

    .search input::placeholder {
        font-size: 30px;
        color: white;
        font-family: AvenirLTStd-Book;
        padding: 5px;
    }

    .search input:focus {
        outline: none;
    }

    .companies {
        display: flex;
        flex-wrap: wrap;
        width: 75%;
        height: 61%;
        position: absolute;
        top: 22%;
        color: white;
        overflow: auto;
        justify-content: space-around;
        align-content: center;

    }

    .companies .company {
        width: calc(33.3% - 40px);
        padding: 10px;
        margin: 10px;
        height: auto;
        min-height: 250px;
        display: flex;
        flex-direction: column;
        background-color: #f4fafcc7;
        color: #1D62A4;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.25) 3px 4px 18px;
        font-size: 25px;
        align-items: center;
        justify-content: space-evenly;
        cursor: pointer;
        transition: all 1s;
    }



    .companies .company img {
        width: 80%;
        aspect-ratio: 1 / 1;
        object-fit: contain;
    }

    .companies .company span {
        padding-top: 10px;
    }

    .menu {
        position: absolute;
        bottom: 20px;
        right: 20px;
        color: #1D62A4;
        font-size: 43px;
        display: flex;
        flex-direction: column-reverse;

    }

    .categories_menu {
        display: none;
    }

    #show_categories:target~.categories_menu {
        display: block;
    }

    .menu div {
        width: 240px;
        border-radius: 50px;
        padding: 10px;
        background-color: #f4fafcc7;
        margin: 10px 0px;
        cursor: pointer;
    }

    .menu img {
        width: 30px;
    }

    .popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        height: 35%;
        background: #0f86a6;
        border: 10px solid #ffffffd6;
        z-index: 1;
        border-radius: 5px;
        align-items: center;
        justify-content: center;
        animation: fade-in 0.5s ease-in-out both;
        -webkit-animation: fade-in 0.5s ease-in-out both;
    }

    .popup .qrcode {
        width: 95%;
    }

    .close-button {
        position: absolute;
        top: -57px;
        right: -45px;
        cursor: pointer;
        width: 90px;
        border-radius: 50%;

    }

    .fillter_div {
        height: 100%;
    }

    .fillter_div form div {
        display: flex;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }

    .fillter_div form {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        justify-content: space-evenly;

    }

    .fillter_div form label {

        font-family: AvenirLTStd-Black;
        color: white;
        font-size: 50px;

    }

    .fillter_div form select {
        background: #fff;
        font-family: AvenirLTStd-Book;
        color: #0f86a6;
        font-size: 40px;
        margin-top: 20px;
        outline: none;
        border: 1px solid white;
        padding: 5px 15px;
        border-radius: 50px;
        -webkit-border-radius: 50px;
        -moz-border-radius: 50px;
        -ms-border-radius: 50px;
        -o-border-radius: 50px;
    }

    .fillter_div form select:focus {
        outline: 1px solid white;
    }

    .fillter_div form select optgroup {
        font-family: AvenirLTStd-book;
        color: #0f86a6;
        font-size: 20px !important;
        background: #fff;

    }

    [type="search"]::-webkit-search-cancel-button {
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
        height: 30px;
        width: 30px;
        background-image: url('../images/canceled.png');
        background-size: 20px auto;
        background-repeat: no-repeat;
        background-position: center;
        padding-right: 10px;
    }


    .fillter_div form .submitfillter {
        background: #0f86a6;
        color: white;
        font-size: 30px;
        padding: 10px;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        -ms-border-radius: 10px;
        -o-border-radius: 10px;
        border: 3px solid white;
        font-family: AvenirLTStd-Book;
        cursor: pointer;
    }

    .fillter_div form .submitfillter:hover {
        background-clip: text;
    }

    .erorr_msg {
        font-size: 40px;
    }

}

.info_page {
    .information {
        width: 82%;
        height: 85%;
        text-align: left;
        position: absolute;
        left: 2%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .shape_up,
    .shape_down {
        position: absolute;
        right: 0;
    }

    .shape_up img,
    .shape_down img {
        width: 140px;
    }

    .shape_down {
        bottom: 0;
    }


    .company_detailes,
    .servives,
    .about_company {
        padding: 20px;
        max-height: 20%;
    }

    .information .line {
        width: 100%;
        height: 1px;
        background-color: #ffff;
    }

    .company_detailes .contant,
    .servives .contant,
    .about_company .contant {
        color: white;
        font-size: 30px;
        overflow: auto;
        height: 100%;
        padding-top: 10px;
        font-family: AvenirLTStd-Book;

    }

    .contant * {
        font-size: 35px !important;
        font-family: AvenirLTStd-Book !important;
        line-height: 1.5;
        margin: 0;
    }

    .contant~ul,
    li,
    ol {
        padding-top: 10px;
    }

    .contant ul li {
        list-style-type: disc;
    }



    .contant a {
        color: white !important;
    }

    .information .heading {
        font-size: 60px;
        color: #1D62A4;
    }

    .socialmedia {
        position: absolute;
        right: 0;
        top: 15%;
        width: 10%;
        height: 70%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-evenly;
    }

    .socialmedia img {
        width: 60px;
        height: 80px;
        object-fit: contain;
        cursor: pointer;
    }

    .backandline {
        position: absolute;
        top: 90%;
        width: 100%;
    }

    .backandline .line {
        width: 82%;
        position: relative;
        left: 2%;
        height: 1px;
        background-color: #ffff;
    }

    .back {
        color: white;
        font-size: 30px;
        color: #1D61A4;
        background-color: #ffffffd0;
        width: fit-content;
        padding: 5px 40px;
        border-radius: 50px;
        position: absolute;
        right: 2%;
        top: -23px;
        cursor: pointer;
    }

    .back img {
        width: 30px;
    }

    .logo {
        position: absolute;
        left: 2%;
        top: 91%;
        height: 8%;
        width: 40%;
    }

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .home {
        position: absolute;
        bottom: 20px;
        right: 20px;
        z-index: 1;
        cursor: pointer;
    }

    .home img {
        width: 90px;
    }
}


/* pc view */


@media only screen and (min-width: 700px) {

    body,
    html {
        background: linear-gradient(to right, #0fb1a2 39%, #1d60a4);
    }

    #resizable {
        width: 1920px;
        height: 1080px;
    }

    .centerpage {
        width: 1920px;
        height: 1080px;
    }


    /* index page */
    .index_page {
        .heading {
            top: 42%;
            width: 50%;
            padding: 15px;
        }

        .footer .join {
            font-size: 30px;
            scale: 0.9;

        }

        .footer .join img {
            width: 75px;
        }
    }

    /* catigories */

    .categories_page {

        .home img {
            width: 75px;
        }

        .shape_up img,
        .shape_down img {
            width: 110px;
        }

        .heading {
            top: 8%;
        }

        .all_categories {
            flex-direction: row;
            height: auto;
            width: 80%;
            top: 36%;
            justify-content: space-evenly;
        }

        .join {
            scale: 0.8;
            top: auto;
            bottom: 3%;
            left: 2%;
        }

        .category {
            font-size: 28px;
            padding: 10px;
            width: 320px;
            min-height: 320px;

        }

        .bottom_shape img {
            width: 850px;
        }
    }


    /* companies */
    .companies_page {

        .shape_up img,
        .shape_down img {
            width: 150px;
        }

        .companies {
            width: 70%;
            height: 72%;
            top: 26%;
        }

        .companies .company {
            width: calc(19% - 40px);
            min-height: 230px;
            scale: 0.9;

            &:after,
            &:before {
                content: "";
                width: 10px;
                height: 10px;
                position: absolute;
                border: 0px solid #fff;
                transition: all 1s;
            }

            &:after {
                top: 0px;
                left: 0px;
                border-top: 5px solid #0f86a6;
                border-left: 5px solid #0f86a6;
            }

            &:before {
                bottom: 0px;
                right: 0px;
                border-bottom: 5px solid #0f86a6;
                border-right: 5px solid #0f86a6;
            }

            &:hover {
                border-top-right-radius: 0px;
                border-bottom-left-radius: 0px;
                background: rgba(255, 255, 255, 0.966);

                &:before,
                &:after {
                    width: 100%;
                    height: 100%;
                    border-color: #0f86a6;
                }
            }
        }

        .menu {
            font-size: 20px;
        }

        .menu img {
            width: 18px;
        }

        .menu div {
            width: 160px;
        }

        .home img {
            width: 75px;
        }

        .fillter img {
            width: 75px;
        }

        .popup {
            width: 23%;
            height: 40%;
            border-width: 7px;
        }

        .fillter_div form label {
            font-size: 31px;
        }

        .fillter_div form select {
            font-size: 31px;
        }

        .fillter_div form .submitfillter {
            font-size: 25px;
        }

        .close-button {
            top: -35px;
            right: -24px;
            width: 50px;
        }

        .search {
            width: 30%;
        }

        .search input,
        .search input::placeholder {
            font-size: 35px;
        }
    }

    /* info page */

    .info_page {

        .shape_up,
        .shape_down {
            position: absolute;
            left: 0;
            width: fit-content;
        }

        .information {
            display: block;
            width: 75%;
            height: 90%;
            left: 13%;
            top: 5%;
        }

        .information .heading {
            font-size: 48px;
        }

        .company_detailes {
            height: 40%;
            max-height: fit-content;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
        }

        .servives {
            position: absolute;
            width: 40%;
            height: 50%;
        }

        .about_company {
            position: absolute;
            width: 40%;
            right: 0;
            height: 50%;
        }

        .information .line {
            margin-top: 10px;
        }

        .information .line {
            height: 3px;
        }

        .information .line:nth-child(2) {
            width: 3px;
            position: absolute;
            height: 40%;
            right: 53%;
        }

        .home {
            left: 20px;
            top: 20px;
            bottom: auto;
            right: auto;
        }

        .home img {
            width: 75px;
        }

        .backandline .line {
            display: none;
        }

        .logo {
            position: absolute;
            left: 26px;
            top: 43%;
            height: 14%;
            width: 9%;
        }

        .info_page .company_detailes,
        .servives,
        .about_company {
            padding: 20px;
            max-height: 45%;
        }

        .company_detailes .contant,
        .servives .contant,
        .about_company .contant {
            height: auto;
            max-height: 100%;

        }

        .contant * {
            font-size: 30px !important;
            font-family: AvenirLTStd-Book !important;
        }

        .contant a {
            color: #1a5fa4;
            font-weight: bold;
        }

        .backandline {
            position: absolute;
            top: auto;
            bottom: 8%;
            left: 11%;
            width: auto;
        }

        .back {
            width: 110px;
        }

        .socialmedia {
            top: 8%;
            height: 85%;
        }

        .socialmedia img {
            width: 50px;
            height: 55px;
            object-fit: contain;
        }
    }
}



/*tooltips*/


.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: max-content;
    height: auto;
    padding: 10px 15px;
    line-height: 0;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    right: 0;
    display: flex;
    font-size: 21px;
    opacity: 0;
    transition: all 0.6s;
    -webkit-transition: all 0.6s;
    -moz-transition: all 0.6s;
    -ms-transition: all 0.6s;
    -o-transition: all 0.6s;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: black;
}

.tooltiptext p {
    cursor: pointer;
    font-size: 35px;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 99%;
    right: 5%;
    border-width: 10px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    transform: translateX(-50%);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}




/* animation */


/* keyframes */


/* fade in */

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in-left {
    0% {
        transform: translateX(-30px);
        opacity: 0;
        -webkit-transform: translateX(-30px);
        -moz-transform: translateX(-30px);
        -ms-transform: translateX(-30px);
        -o-transform: translateX(-30px);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-right {
    0% {
        transform: translateX(30px);
        opacity: 0;
        -webkit-transform: translateX(30px);
        -moz-transform: translateX(30px);
        -ms-transform: translateX(30px);
        -o-transform: translateX(30px);
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fade-in-bottom {
    0% {
        transform: translateY(30px);
        opacity: 0;
        -webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -ms-transform: translateY(30px);
        -o-transform: translateY(30px);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in-top {
    0% {
        transform: translateY(-30px);
        opacity: 0;
        -webkit-transform: translateY(-30px);
        -moz-transform: translateY(-30px);
        -ms-transform: translateY(-30px);
        -o-transform: translateY(-30px);
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}



/* scale */

@keyframes scale-in-center {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



/* classes */

#resizable {
    animation: fade-in 1s 0.3s both;
    -webkit-animation: fade-in 1s 0.3s both;
}

.index_page {
    .heading {
        animation: fade-in 2s 0.5s both;
        -webkit-animation: fade-in 2s 0.5s both;
    }

    .bottom_shape {
        animation: fade-in 2s 0.5s both;
        -webkit-animation: fade-in 2s 0.5s both;
    }

    .rightshape {
        animation: fade-in-right 1s 0.7s both;
        -webkit-animation: fade-in-right 1s 0.7s both;
    }

    .bowerdby {
        animation: fade-in-top 2s 0.9s both;
        -webkit-animation: fade-in-top 2s 0.9s both;
    }

    .join {
        animation: fade-in-bottom 2s 0.9s both;
        -webkit-animation: fade-in-bottom 2s 0.9s both;
    }
}

.categories_page {
    .shape_up {
        animation: fade-in-top 2s 0.4s both;
        -webkit-animation: fade-in-top 2s 0.4s both;
    }

    .shape_down {
        animation: fade-in-bottom 2s 0.4s both;
        -webkit-animation: fade-in-bottom 2s 0.4s both;
    }

    .heading {
        animation: fade-in-left 2s 0.5s both;
        -webkit-animation: fade-in-left 2s 0.5s both;
    }

    .category:nth-child(1) {
        animation: scale-in-center 2s 0.8s both;
        -webkit-animation: scale-in-center 2s 0.8s both;
    }

    .category:nth-child(2) {
        animation: scale-in-center 2s 1.1s both;
        -webkit-animation: scale-in-center 2s 1.1s both;
    }

    .category:nth-child(3) {
        animation: scale-in-center 2s 1.4s both;
        -webkit-animation: scale-in-center 2s 1.4s both;
    }

    .join {
        animation: fade-in-bottom 2s 1.1s both;
        -webkit-animation: fade-in-bottom 2s 1.1s both;
    }

}

.companies_page {
    .shape_up {
        animation: fade-in-top 2s 0.4s both;
        -webkit-animation: fade-in-top 2s 0.4s both;
    }

    .shape_down {
        animation: fade-in-bottom 2s 0.4s both;
        -webkit-animation: fade-in-bottom 2s 0.4s both;
    }

    .heading {
        animation: fade-in 2s 0.5s both;
    }

    .company {
        opacity: 0;
        transition: opacity 1.2s ease;
        -webkit-transition: opacity 1.2s ease;
        -moz-transition: opacity 1.2s ease;
        -ms-transition: opacity 1.2s ease;
        -o-transition: opacity 1.2s ease;
    }

    .categories_menu {
        animation: fade-in 0.7s both;
        -webkit-animation: fade-in 0.7s both;
    }

    #show_categories {
        animation: fade-in 2s 0.7s both;
        -webkit-animation: fade-in 2s 0.7s both;
    }
}

.info_page {
    .shape_up {
        animation: fade-in-top 2s 0.4s both;
        -webkit-animation: fade-in-top 2s 0.4s both;
    }

    .shape_down {
        animation: fade-in-bottom 2s 0.4s both;
        -webkit-animation: fade-in-bottom 2s 0.4s both;
    }

    .logo {
        animation: fade-in-left 2s 0.7s both;
        -webkit-animation: fade-in-left 2s 0.7s both;
    }

    .heading {
        animation: fade-in 2s 0.9s both;
        -webkit-animation: fade-in 2s 0.9s both;
    }

    .contant {
        animation: fade-in-bottom 2s 1.4s both;
        -webkit-animation: fade-in-bottom 2s 1.4s both;
    }

    .socialmedia img {
        opacity: 0;
        transition: opacity 2s ease;
        -webkit-transition: opacity 2s ease;
        -moz-transition: opacity 2s ease;
        -ms-transition: opacity 2s ease;
        -o-transition: opacity 2s ease;
    }
}