@import url('https://fonts.googleapis.com/css?family=Encode+Sans');

:root {

    --color-orange: #f9802f;
    --color-orange-blur: rgba(249, 128, 47, 0.49);
    --color-orange-blur2: rgba(249, 128, 47, 0.79);
    --color-grey: rgba(130, 130, 130, 1);
    --color-bg: #ffffff;
    --color-bg2: #000e16;
    --color-grey1: #ece9e9;
    --color-grey2: #cccccc;
    --color-grey3: #b7b8b8;

    --radius-top: 4px 4px 0 0;
    --radius-bot: 0 0 4px 4px;
    --radius-all: 4px;

    --primary-color: #1989fa;
    --success-color: #07c160;
    --danger-color: #ee0a24;;
    --warning-color: #ff976a;

    --grid-template-xxl: repeat(7, calc(calc(100% - 120px) / 7));
    --grid-template-xl: repeat(4, 1fr);
    --grid-template-m: repeat(3, 1fr);
    --grid-template-s: 1fr auto;
    --grid-template-xs: auto;

    --box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    /*--box-shadow-black-down-right: rgba(0, 0, 0, 0.4) 5px 5px;*/
    --box-shadow-black-down-right: rgba(0, 0, 0, 0.4) 5px 5px, rgba(0, 0, 0, 0.3) 10px 10px, rgba(0, 0, 0, 0.2) 15px 15px, rgba(0, 0, 0, 0.1) 20px 20px, rgba(240, 46, 170, 0.05) 25px 25px;
    /*--box-shadow-white-down-right: rgba(255, 255, 255, 0.4) 5px 5px;*/
    --box-shadow-white-down-right: rgba(255, 255, 255, 0.4) 5px 5px, rgba(255, 255, 255, 0.3) 10px 10px, rgba(255, 255, 255, 0.2) 15px 15px, rgba(255, 255, 255, 0.1) 20px 20px, rgba(240, 46, 170, 0.05) 25px 25px;
    /*--box-shadow-orange-down-right: rgba(249, 128, 47, 0.4) 5px 5px;*/
    --box-shadow-orange-down-right: rgba(249, 128, 47, 0.4) 5px 5px, rgba(249, 128, 47, 0.3) 10px 10px, rgba(249, 128, 47, 0.2) 15px 15px, rgba(249, 128, 47, 0.1) 20px 20px, rgba(240, 46, 170, 0.05) 25px 25px;
    --box-shadow-orange-down: rgba(249, 128, 47, 0.4) 0px 5px, rgba(249, 128, 47, 0.3) 0px 10px, rgba(249, 128, 47, 0.2) 0px 15px, rgba(249, 128, 47, 0.1) 0px 20px, rgba(240, 46, 170, 0.05) 0px 25px;
    --color-dark: 230 35% 7%;
    --color-light: 231 77% 90%;
    --color-white-b: 0 0% 100%;

    --color-blue1: #0175a8;
    --color-blue2: #05628e;
    --color-blue3: #043c61;
    --color-blue4: #5dbee1;
    --color-blue5: #006f9d;

    --color-blue: #009fd9;
    --color-blue-dirt: #05628e;

    /*--color-grey: darkgrey;*/
    --color-black: #070700;
    --color-white: #ffffff;

    --color-text1: #009fd9;

    --fuzzy-bg1: hsl(var(--color-white-b) / .05);
    --fuzzy-bg2: hsl(var(--color-white-b) / .1);
    --fuzzy-bg3: hsl(var(--color-white-b) / .2);
    --fuzzy-bg4: hsl(var(--color-white-b) / .4);
    --fuzzy-bg5: hsl(var(--color-dark) / .5);
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Encode Sans', serif;
    line-height: normal;
    box-sizing: border-box;
    align-items: center;
    text-decoration: none !important;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 10px;
    cursor: pointer;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-grey3);
}

::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: 5px;
}

.chevron {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-width: 5px;
    border-style: solid;
    border-color: var(--color-orange-blur);
    text-align: center;
    align-items: center;
    background-color: var(--color-white);
    cursor: pointer;
    transition: 1s ease;
}

.chevron i {
    font-size: 35px;
    color: var(--color-orange);
    margin-top: 3px;
}

.chevron.active {
    transform: rotate(180deg);
    transition: 1s ease;
}

/* Utilities ===========================================*/

.xl {
    font-size: 40px;
}

.l {
    font-size: 26px;
}

.m {
    font-size: 22px;
}

.s {
    font-size: 18px;
}

.xs {
    font-size: 14px;
}

.bold {
    font-weight: 700;
}

.semi-bold {
    font-weight: 600;
}

.regular {
    font-weight: 500;
}

.muted {
    font-weight: 350;
    font-size: 8px;
}

.white {
    color: var(--color-white);
}

.orange {
    color: var(--color-orange);
}

.grey {
    color: var(--color-grey);
}

.justify {
    text-align: justify;
}

/* Header Page ===========================================*/

.primary-header {
    padding: 20px;
    background-color: var(--fuzzy-bg5);
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 999;
    width: 100%;
    white-space: nowrap;
}

.header {
    justify-content: space-between;
    align-items: center;
    position: fixed;
    right: 25px;
}

.navigation {
    padding: 0;
    margin: 0;
}

.media-navbar .link {
    color: var(--color-grey) !important;
    white-space: nowrap;
}

.media-navbar .links {
    padding: 25px;
    grid-template-columns: auto !important;
    margin-top: 30px;
}

.nav-toggle {
    /*display: none;*/
    background: none;
    outline: none;
    /*border: 3px solid white;*/
    border: none;
    cursor: pointer;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 35px;
    letter-spacing: 2px;
}

.link {
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.link:hover {
    color: var(--color-grey) !important;
}

.link:last-child {
    background-color: var(--color-orange) !important;
    color: var(--color-white) !important;
}

.link:last-child:hover {
    color: var(--color-white) !important;
}

.logo {
    width: 100px;
    transition: ease-in-out 1s;
    transform: scale(100%);
}

/* Hero Section ===========================================*/

.front-info {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
}

.front-img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

.front-box {
    position: absolute;
    top: 40%;
    left: 50px;
    display: inline;
    text-align: left;
}

.btn-container {
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.contact-us {
    margin-top: 15px;
    background: var(--color-orange);
    padding: 10px 15px;
    border: none;
    outline: none;
    border-radius: 20px;
    cursor: pointer;
    transition: .8s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    white-space: nowrap;
}

.contact-us:hover {
    color: var(--color-grey);
}

.contact-us::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    background: var(--color-white);
    transition: .8s;
    border-radius: 0 0 50% 50%;
    z-index: -1;
}

.contact-us:hover::before {
    height: 180%;
    color: var(--color-grey);
    z-index: -1;
}

/* Info ===========================================*/

.info {
    width: 100%;
    height: fit-content;
    justify-content: center;
    position: relative;
}

.small-container {
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    position: relative;
    text-align: center;
    border-radius: var(--radius-all);
}

/* Services ===========================================*/

.big-container {
    padding: 50px 20px;
    background: var(--color-white);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    background: transparent;
    width: 100%;
    /*padding: 0 50px;*/
    white-space: nowrap;
    max-width: 1200px;
}

.cards-padding {
    padding: 20px 109px 80px 109px !important;
    transition: ease-in-out 1s;
}

.card {
    height: 150px;
    width: 100%;
    box-shadow: var(--box-shadow-orange-down-right);
    border: 5px solid var(--color-orange-blur2);
    background: var(--color-white);
    align-items: center;
    padding: 30px;
    display: flex;
    grid-gap: 30px;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-all);
}

.card i {
    font-size: 80px;
    color: var(--color-orange);
}

.services-text {
    align-items: center;
    text-align: center;
    width: 100%;
    height: fit-content;
    padding: 0 30px;
}

.swiper-nav-btn {
    align-items: center;
    display: flex;
    width: 75px;
}

.swiper-horizontal > .swiper-pagination-bullets {
    bottom: 0 !important;
    left: 0;
    width: 100%;
}

.swiper-pagination-bullet {
    background: var(--color-grey) !important;
    opacity: .6 !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-orange) !important;
    opacity: 1 !important;
}

.btn-left, .btn-right {
    cursor: pointer;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50px;
    border: 4px solid var(--color-orange);
    color: var(--color-orange);
    box-shadow: var(--box-shadow-orange-down-right);
    transition: ease-in-out .5s;
    background-color: var(--color-white);
}

.btn-right {
    margin-left: auto;
}

.btn-left {
    margin-right: auto;
}

.btn-left:hover, .btn-right:hover {
    transition: ease-in-out .5s;
    transform: scale(110%);
}

.btn-left:active, .btn-right:active {
    transition: none;
}

.btn-left i, .btn-right i {
    font-size: 40px !important;
}

.swiper {
    width: 100%;
    height: 100%;
}

.for-box-shadow {
    font-size: 18px;
    background-color: var(--color-orange);
    padding: 25px;
    height: 250px !important;
    margin: 25px;
    display: grid !important;
    grid-template-columns: auto;
    text-align: justify;
    align-items: center;
    justify-content: center;
    box-shadow: var(--box-shadow-orange-down-right);
    border-radius: var(--radius-all);
}

.more {
    border: 3px solid var(--color-white);
    color: var(--color-white);
    padding: 5px 10px;
    border-radius: 20px;
    width: fit-content;
    white-space: nowrap;
}

.more i {
    font-size: 16px !important;
}

.top {
    display: flex;
    align-items: center;
    height: 50px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--color-white);
    margin-bottom: 5px;
}

.top i {
    color: var(--color-white);
    margin-right: 10px;
    font-size: 40px;
}

.bottom {
    text-align: left;
    padding: 10px;
    height: fit-content;
}

/* About us ================================================*/

.about {
    width: 100%;
    background: var(--color-grey);
    justify-content: center;
    text-align: center;
    padding-bottom: 30px;
}

.wrapper {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 50px;
    margin: 0 auto;
    width: 75%;
}

.about .small-container {
    text-align: justify;
}

.white-border {
    border: 5px solid rgba(255, 255, 255, 0.9);
    padding: 25px;
    width: 100%;
    height: 100%;
    display: grid;
    text-align: center;
    grid-gap: 60px;
    box-shadow: var(--box-shadow-white-down-right);
}

.white-border .icon {
    text-align: center;
    width: fit-content;
}

.normal-side {
    grid-template-columns: 55px auto;
}

.other-side {
    grid-template-columns: auto 55px;
}

.icon i {
    font-size: 55px;
    color: var(--color-white);
}

/* Partners ================================================*/

.partners {
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
}

.logos {
    display: flex;
    justify-content: space-evenly;
    height: 250px !important;
}

.logos img {
    width: 150px;
}

.swiper-slide {
    align-items: center;
    justify-content: center;
    display: flex;
}

.autologic {
    background: rgba(0, 0, 0, 0.85);
    padding: 15px;
    height: fit-content;
    align-items: center;
    justify-content: center;
    display: flex;
    width: fit-content;
    margin: 0 !important
}

.logo-pic-txt {
    align-items: center;
    display: grid;
    text-align: center;
    justify-content: center;
    position: relative;
}

.logo-pic-txt span {
    position: absolute;
    bottom: 10px;
    left: 15%;
    margin: 0 auto;
}

/* Services Page ================================================*/

.services-elaborated {
    width: 100%;
    align-items: center;
    justify-content: center;
    padding: 50px;
    display: flex;
    transform: scale(100%);
    transition: ease-in-out 1s;
}

.services-grid {
    grid-gap: 50px;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(6, 1fr);
    margin: 0 50px;
    max-width: 1200px;
    width: 100%;
    transition: ease-in-out 1s;
}

.service {
    display: grid;
    grid-gap: 75px;
    height: 100%;
    width: 100%;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(2, 1fr);
    justify-content: space-between;
    transition: ease-in-out 1s;
}

.description {
    box-shadow: var(--box-shadow-orange-down-right);
    width: 100%;
    height: 100%;
    padding: 15px;
    border-radius: var(--radius-all);
    border: 5px solid var(--color-orange-blur2);
    max-width: 400px;
    max-height: 350px;
}

.description:nth-of-type(odd) {
    margin-left: auto;
    margin-right: 0;
}

.description:nth-of-type(even) {
    margin-right: auto;
    margin-left: 0;
}

.description .top {
    border-bottom: 3px solid var(--color-grey);
}

.description .top i {
    color: var(--color-grey);
    margin: 0 20px;
}

.bullet-list .bullet span {
    text-align: left;
    font-size: 14px;
}

.bullet {
    display: flex;
    margin-top: 10px;
    margin-left: 10px;
    position: relative;
}

.bullet:before {
    content: "";
    position: absolute;
    top: 5px;
    left: -20px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    border: 2px solid var(--color-grey);
    background: var(--color-grey);
}

.picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-all);
    box-shadow: var(--box-shadow-black-down-right);
    max-width: 400px;
    max-height: 350px;
    align-items: center;
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto;
    transition: ease-in-out 1s;
}

.picture:nth-of-type(even) {
    margin-right: 0;
    margin-left: auto;
}

.picture:nth-of-type(odd) {
    margin-left: 0;
    margin-right: auto;
}

.picture img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: all ease-in-out .5s;
    max-width: 400px;
    border-radius: var(--radius-all);
}

.picture img:hover {
    transform: scale(1.1);
}

/* Footer ================================================*/

.footer {
    background-color: var(--color-orange);
    width: 100%;
}

.contact-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
}

.contact-icon {
    text-align: center;
}

.contact-icon .icon i {
    font-size: 40px;
    margin-bottom: 15px;
}

.message-nav {
    /*display: grid;*/
    /*grid-template-columns: repeat(2, 1fr);*/
    /*padding: 25px 0;*/
    border-bottom: 3px solid var(--color-white);
    border-top: 3px solid var(--color-white);
    /*grid-gap: 20px;*/
    margin: 0 50px;
}

.message {
    display: grid;
    grid-template-columns: 50% 50%;
    padding: 25px;
    grid-gap: 20px;
    border: 3px solid var(--color-white);
    border-radius: 10px;
}

.small-inputs {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 10px;
    width: 100%;
}

.small-inputs input {
    padding: 10px;
    border-width: 0 0 3px;
    border-color: var(--color-white);
    outline: none;
    background-color: transparent;
    color: var(--color-white);
    font-weight: 600;
    font-size: 16px;
    width: 100%;
}

.big-input {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 2fr 1fr;
    grid-gap: 20px;
}

.big-input textarea {
    height: 100%;
    width: 100%;
    padding: 10px;
    border-width: 0 0 3px;
    border-color: var(--color-white);
    outline: none;
    background-color: transparent;
    color: var(--color-white);
    resize: none;
}

.send-message {
    cursor: pointer;
    color: var(--color-grey);
    width: 100%;
    margin: 0 !important;
    background-color: var(--color-white);
}

.send-message:hover {
    color: var(--color-white);
}

.send-message:hover::before {
    background-color: var(--color-grey);
}

::placeholder {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-white);
}

.footer-nav {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 20px;
    padding: 25px;
}

.copyrights {
    text-align: center;
    margin-top: 25px;
    height: fit-content;
}

/* Screen Media ================================================*/
/* Index page */

@media (min-width: 720px) and (max-width: 1100px) {
    .cards {
        grid-template-columns: auto auto;
        grid-template-rows: repeat(2, 1fr);
    }

    .card:last-child:nth-child(3) {
        grid-column: 1 / -1;
        margin: 0 auto;
        width: 50%;
    }

    .big-container {
        padding: 30px 25px 40px 25px;
    }

    .message-nav {
        grid-template-columns: auto;
    }

    .small-container i {
        font-size: 43px;
    }
}

@media screen and (max-width: 720px) {
    .xl {
        font-size: 20px;
    }

    .l {
        font-size: 18px;
    }

    .m {
        font-size: 15px;
    }

    .s {
        font-size: 12px;
    }

    .xs {
        font-size: 8px;
    }

    .big-container {
        padding: 30px 5px 40px 5px;
    }

    .front-box {
        left: 20px;
        text-align: left !important;
    }

    .contact-us {
        padding: 5px 10px;
        margin-top: 5px !important;
    }

    .message-nav, .message {
        grid-template-columns: auto;
    }

    .white-border {
        grid-gap: 15px;
    }

    .logos img {
        width: 80px;
    }

    .contact-icons {
        grid-template-columns: auto;
        grid-gap: 25px;
    }

    .message-nav {
        padding-bottom: 0;
    }

    .cards {
        grid-template-columns: auto;
        grid-template-rows: repeat(3, 1fr);
    }

    .small-container i {
        font-size: 55px;
    }

    .logo {
        width: 50px;
    }
}

@media screen and (max-width: 550px) {
    .cards-padding {
        padding: 20px 20px 80px 20px !important;
    }

}

/* Services page */
@media (min-width: 700px) and (max-width: 950px) {
    .services-elaborated {
        padding: 40px 20px;
    }

    .services-grid {
        grid-gap: 25px;
        margin: 0 20px;
    }

    .service {
        grid-gap: 25px;
    }
}

@media screen and (max-width: 700px) {
    .services-elaborated {
        padding: 50px 10px;
    }

    .services-grid {
        margin: 0 10px;
        width: 100%;
        grid-template-rows: repeat(6, auto) !important;
        grid-gap: 25px;
    }

    .service .picture {
        display: none;
    }

    .service {
        grid-gap: 25px;
        grid-template-columns: 100%;
        align-items: center;
        justify-content: center;
        height: auto;
        width: 100%;
        transition: ease-in-out 1s;
    }
}

/* Navigation */

@media screen and (max-width: 800px) {
    .navigation {
        --underline-gap: .5rem;
        position: fixed;
        z-index: 1000;
        inset: 0 0 0 50%;
        list-style: none;
        padding: min(20rem, 15%) 2rem;
        margin: 0;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform 500ms ease-in-out;
        background: hsl(var(--color-white) / 0.05);
        backdrop-filter: blur(1.5rem);
    }

    .links {
        grid-template-columns: 1fr;
        width: fit-content;
    }

    .navigation[data-visible="true"] {
        transform: translateX(30%);
    }

    .nav-toggle {
        z-index: 2000;
        color: var(--color-orange);
        background: transparent url('../img/util/icon-bars.svg') no-repeat center;
        width: 1.5rem;
        fill: white;
    }

    .nav-toggle[aria-expanded="true"] {
        background-image: url("../img/util/icon-close.svg");
        fill: white;
    }
}
