/*
Theme Name: OUNTERNET
Theme URI: https://ounternet.agency
Author: Mehdi Pazira
Author URI: https://ounternet.agency
Description: OUNTERNET WordPress Theme
Version: 0.0.1
*/


:root {
    --c1: #ef3b39 !important;
    --c2: #00a8ff !important;
    --c3: #fec00c !important;
    --c4: #02c3c4 !important;
}

.img-fluid {
    border-radius: 0.75rem;
}

strong {
    color: var(--c4) !important;
}

.box-link {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
}

a {
    text-decoration: none !important;
    color: var(--c1);
}

/******************************************************************************* Fonts  */
@font-face {
    font-family: "Kalameh";
    src: url("/assets/fonts/KalamehWebFaNum-Bold.woff2") format("woff2");
}

h1,
h2,
h3,
h4,
h5,
h6,
a,
bdi {
    font-family: "Kalameh" !important;
    font-weight: 700 !important;
}

@font-face {
    font-family: "IRANYekanX";
    src: url("/assets/fonts/IRANYekanX-Regular.woff2") format("woff2");
}

body {
    font-family: "IRANYekanX" !important;
    color: gray !important;
    background: #f9f9f9 !important;
}

@font-face {
    font-display: block;
    font-family: "ounternet-icons";
    src: url("./fonts/bootstrap-icons.woff2?1fa40e8900654d2863d011707b9fb6f2") format("woff2"),
    url("./fonts/bootstrap-icons.woff?1fa40e8900654d2863d011707b9fb6f2") format("woff");
}

.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    display: inline-block;
    font-family: ounternet-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 1.5rem;
}

/******************************************************************************* Header  */
.menu {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

ul.menu li {
    margin-left: 0.75rem;
}

ul.menu a {
    color: var(--c4) !important;
    display: block;
}

/******************************************************************************* Body  */
.subtitle {
    font-size: clamp(0.8rem, 1vw, 1rem);
    color: var(--c4);
    font-weight: bold;
    font-family: 'Kalameh';
}

.title {
    font-size: clamp(1rem, 1.8vw, 1.8rem);
    color: black;
    margin-bottom: 1.5rem;
}

.text-justify {
    text-align: justify;
}

.box {
    padding: 1rem 0.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: 0.5s;
    background: white;
}

.box:hover {
    transition: 0.5s;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.box .number {
    color: var(--c1);
    margin: 1rem 0;
    font-weight: bold;
    font-size: 1.5rem;
}

.box img {
    transition: 0.5s;
    opacity: 0.5;
}

.box:hover img {
    transition: 0.5s;
    opacity: 1;
}

.box p {
    font-family: "Kalameh";
}

.contacts .row.row-cols-2 div:nth-child(2n),
.counter .row.row-cols-2 div:nth-child(2n) {
    margin-top: -2rem;
}

.customers .box img {
    transition: 0.5s;
    opacity: 1;
    filter: grayscale(1);
    /*width: 8rem;*/
    border-radius: 0 !important;
}

.customers .box:hover img {
    transition: 0.5s;
    filter: grayscale(0);
}

.customers .box p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0 !important;
    transition: 0.5s;
    font-weight: bold;
}

.customers .box:hover p {
    transition: 0.5s;
    color: var(--c4);
}

.team .box img {
    opacity: 1;
    border-radius: 0.5rem 0.5rem 0rem 0rem;
    margin-bottom: 1rem;
}

.team .box p:not(.name) {
    font-family: 'IRANYekanX';
    font-size: 0.8rem;
    height: 2.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .box {
    padding: 0 0 1rem;
}

.team .box p.name {
    font-size: clamp(0.8rem, 1vw, 1rem) !important;
    color: var(--c4);
    margin: 0 0 0.5rem;
    font-family: 'IRANYekanX' !important;
    font-weight: bold;
}

.contacts .box p {
    margin: 0 !important;
    font-size: 0.9rem;
}

.contacts .box p.info {
    font-weight: bold;
    font-family: 'IRANYekanX';
    color: var(--c4);
    font-size: clamp(0.8rem , 1.1vw,1.2rem) !important;
    margin-top: 1rem !important;
}

.contacts .box img {
    margin-bottom: 1rem;
    border-radius: 0 !important;
}

/******************************************************************************* Steps  */

.steps {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 3rem;
}

.steps div {
    width: 100%;
    height: 2px;
    background: #02c3c424;
    position: relative;
}

.steps div::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--c4);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.5s ease-in-out;
}

.steps div.active::after {
    transform: scaleX(1);
}

.steps button {
    border: 2px solid var(--c4);
    font-weight: 900;
    border-radius: 50%;
    min-width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    background: white;
    transition: all 0.3s ease;
}

.steps button.active {
    background: var(--c4);
    color: white;
}

.contents {
    position: relative;
    width: 100%;
    height: 18rem;
    min-height: 200px;
    box-sizing: border-box;
}

.content {
    position: absolute;
    width: 100%;
    height: 15rem;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-out;
}

.content.active {
    opacity: 1;
    z-index: 10;
}

.content__box {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    text-align: justify;
    height: 15rem;
}

.content__box h4 {
    color: black;
    margin-bottom: 1.5rem;
}

/******************************************************************************* slider  */

.scene {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sliders {
    position: relative;
    perspective: 500px;
    transform-style: preserve-3d;
    width: 500px;
    height: 500px;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    transition: 0.3s ease;

}

.sliders:hover .slider-item {
    margin-top: 2.5rem;
    transition: 0.3s ease;
}

/******************************************************************************* Toolbox  */

.sticky_toolbox {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: auto;
    text-align: center;
    font-size: 0.9rem;
    z-index: 999;
    display: block;
    opacity: 1;
    -webkit-transition: all .5s ease-in-out 0s;
    -o-transition: all .5s ease-in-out 0s;
    transition: all .5s ease-in-out 0s;
    pointer-events: all;
}


.sticky_toolbox #myBtn {
    height: 2.5rem;
    width: 2.5rem;
    display: flex;
    align-items: center;
    font-size: 15px;
    position: relative;
    color: #333 !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 0.5rem;
    justify-content: center;
}

/******************************************************************************* Footer  */

footer img {
    filter: invert(1);
    margin-bottom: 1rem;
    border-radius: 0 !important;
}


/******************************************************************************* Media  */

@media only screen and (max-width: 992px) {
    .col-12 {
        margin-top: 2rem !important;
    }
}

@media only screen and (max-width: 768px) {
    .contacts .row.row-cols-2 div:nth-child(2n),
    .counter .row.row-cols-2 div:nth-child(2n) {
        margin-top: 0rem;
    }

    .content__box {
        height: 20rem;
    }

    .contents {
        height: 20rem;
    }

    .menu {
        overflow-x: scroll !important;
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        width: auto;
        padding: 1rem 0;
        justify-content: flex-start;
    }

    ul.menu a {
        width: 6rem !important;
    }
}

