
/*
Theme Name: TechConnect
Text Domain: TechConnect
Version: 1.0
Description: TechConnect Custom theme
Author: KB
*/

html {
    padding: 0!important; 
    margin: 0!important;
    scroll-behavior: smooth;
}

body {
    font-family: 'Asap', sans-serif !important;
}

.body-off-white {
    background-color: #2121210A;
}

h1 {
    font-size: 3rem!important; /* 48px */
    line-height:  56px;
    font-weight: 600!important;
}

.h1-class {
    font-size: 3rem!important; /* 48px */
    line-height:  56px;
    font-weight: 600!important;
}

h2 {
    font-size: 2rem!important;
    font-weight: 600!important;
}

h3 {
    font-size: 1.5rem!important;
    font-weight: 600!important;
}

.h3-size {
    font-size: 1.5rem!important;
    font-weight: 600!important;
}

section {
    position: relative;
    width: 100vw;
}

.text-primary {
    color: #F08C21;
}

.text-110 {
    font-size: 6.875rem; /* 110px */
    line-height: 104px;
}

.standard-section-padding {
    padding: 80px 100px;
}

.standard-section-x-padding {
    padding-left: 80px;
    padding-right: 80px;
}

.standard-section-y-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}

.redirection-button {
    display: flex;
    align-items: center;
    gap: 18px;
    border-radius: 1000px;
    background-color: #FFC88B29;
    padding: 8px 12px 8px 22px;
    font-weight: 600;
    color: #F08C21;
    transition: all 300ms linear;
}

.redirection-button .img-container {
    transition: all 300ms linear;
}

.redirection-button:hover {
    background-color: #F08C21;
    color: white;
}

.redirection-button:hover .img-container {
    background-color: white;
}

.redirection-button:hover .img-container img {
    filter: brightness(0) saturate(100%) invert(58%) sepia(75%) saturate(1644%) hue-rotate(347deg) brightness(98%) contrast(94%);
}

.redirection-button.outline {
    background-color: transparent;
    border: 2px solid #F08C21;
}

.redirection-button.outline:hover {
    border-color: #FFC88B;
    color: #FFC88B;
}

.redirection-button.outline:hover .img-container {
    background-color: #FFC88B;
}

.redirection-button.outline:hover .img-container img {
    filter: none!important;
}

.redirection-button > .img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background-color: #F08C21;
}

.swiper-slide.swiper-logo-item {
    width: fit-content!important;
}

.myLargeLogoSwiper .swiper-slide.swiper-logo-item img {
    max-height: 200px;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.shared-fade-opacity {
    position: relative;
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%)!important;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%)!important;
}

.fade-border {
    position: relative;
    mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        black 5%, 
        black 95%, 
        transparent 100%
    ),
    linear-gradient(
        to bottom, 
        transparent 0%, 
        black 5%, 
        black 95%, 
        transparent 100%
    );
    mask-composite: intersect;
    -webkit-mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        black 5%, 
        black 95%, 
        transparent 100%
    ),
    linear-gradient(
        to bottom, 
        transparent 0%, 
        black 5%, 
        black 95%, 
        transparent 100%
    );
    -webkit-mask-composite: source-in;
}

.bullet-point img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.bullet-point {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

#home-header {
    transition: all 500ms linear;
}

#home-header.transparent {
    background-color: transparent;
    color: white;
}

#home-header.white {
    background-color: white;
    color: black;
}

.header-logo {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: contain;
    transition: opacity 300ms ease-in-out;
}

#transparent-bg-logo {
    opacity: 1;
}

#white-bg-logo {
    opacity: 0;
}

#home-header.white #transparent-bg-logo {
    opacity: 0;
}

#home-header.white #white-bg-logo {
    opacity: 1;
}


#wpadminbar {
    display: none !important;
}
html {
    margin-top: 0 !important;
}

.mySwiper .swiper-wrapper, .myLargeLogoSwiper .swiper-wrapper {
    transition-timing-function: linear!important;
}

.card-logo-swiper .mySwiper img, .section-logo-slider .mySwiper img {
    height: 54px!important;
}

.mySwiper img {
    height: 200px;
    object-fit: contain;
    object-position: center;
}

.wysiwyg-editor h1,h2,h3,h4,h5 {
    padding-bottom: 1rem;
}

.wysiwyg-editor p.consecutive {
    margin-bottom: 1rem;
}

.wysiwyg-editor ul {
    list-style: disc;
    list-style-position: inside;
}

.wysiwyg-editor ol {
    list-style: decimal;
    list-style-position: inside;
}

.wysiwyg-editor .alignleft {
    margin-left: 0;
    margin-right: auto;
}

.wysiwyg-editor .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wysiwyg-editor .alignright {
    margin-left: auto;
    margin-right: 0;
}

main > section:not(.exempted):nth-of-type(odd) {
    background-color: white;
}

main > section:not(.exempted):nth-of-type(even) {
    background-color: #f6f6f6;
}

.desktop-display {
    display: block!important;
}

.mobile-display {
    display: none!important;
}

@media screen and (max-width: 1023px) {
    .mobile-display {
        display: block!important;
    }
    
    .desktop-display {
        display: none!important;
    }
    
    h1, .h1-class {
        font-size: 2rem!important; /* 32px */
        line-height: 2.5rem;
    }

    h2 {
        font-size: 1.625rem!important; /* 26px */
    }

    h3 {
        font-size: 1.375rem!important; /* 22px */
    }

    .h3-size {
        font-size: 1.375rem!important; /* 22px */
    }

    .shared-fade-opacity {
        width: calc(100vw - 64px);
    }

    .card-frame-logo-slider-container {
        overflow: hidden!important;
    }

    .card-frame-logo-slider-container .title {
        text-align: center;
    }

    .standard-section-padding {
        padding: 50px 16px!important;
    }
    
    .standard-section-x-padding {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .standard-section-y-padding {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .text-110 {
        font-size: 3.4375rem; /* 55px */
        line-height: 3.125rem; /* 50px */
    }

    .redirection-button p {
        font-size: 0.75rem;
    }

    .redirection-button > .img-container {
        width: 36px;
        height: 36px;
    }

    .myLargeLogoSwiper .swiper-slide.swiper-logo-item img {
        max-height: 112px;
        height: 112px;
    }

    .mbl-shared-fade-opacity {
        position: relative;
        mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
        -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
        width: calc(100vw - 64px);
    }

    .clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .clamp-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

