@import url('https://fonts.googleapis.com/css2?family=Passion+One:wght@400;700;900&display=swap');

@font-face {
    font-family: 'Noto IKEA';
    src: url('/fonts/NotoIKEALatinRegular.ttf');
}

body {
    background: url("/images/asphalt.png") center center;
}

.f-ikea {
    font-family: 'Noto IKEA', sans-serif;
}

#top-nav .nav-item, #top-nav .nav-link, .bg-asphalt, h4, h3, h2, h1 {
    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.goh-section {
    background: rgba(128, 128, 128, 0.75);
    padding: 2em 0;
    color: white;
}

.goh {
    height: 350px;
}
.goh1 {
    background: url("/images/goh1.png") no-repeat center right;
    background-size: contain;
    border-right: 2.5px solid white;
}

.goh1-text {
    position: relative;
}

.goh2-text {
    position: relative;
}

.goh2 {
    background: url("/images/goh2.png") no-repeat center left;
    border-left: 2.5px solid white;
    background-size: contain;
}

.logo-bg {
    background: url("/images/precon-bg.png") no-repeat top center;
}

.carousel-inner, .carousel-item {
    width: 100%;
    min-height: 600px;
    background: gray;
}

@media screen and (min-width: 767px) {
    .section-initial {
        margin-top: -15em;
    }
}

@media screen and (max-width: 767px) {
    .carousel-caption {
        left: 0% !important;
        background-color: rgba(0,0,0,0.4) !important;
    }
}

.carousel-caption {
    text-align: left;
    padding-left: 3em;
    padding-right: 3em;
    padding-top: 2.4em;
    right: 0%;
    background-color: rgba(0,0,0,0.9);
    background-position: center center;
    background-size: contain;
    left: 65%;
    margin-top: 0px;
    margin-bottom: 0px;
    top: 0;
    bottom: 0;
}

a[href*="#reg"], .reg{
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    background: #424f82;
    color: white;
    text-align: center;
}

a[href*="#reggrey"]{
    padding-top: 10px;
    padding-bottom: 10px;
    display: block;
    background: grey;
    color: white;
    text-align: center;
}

img[src*="#merchmatrix"]{
    width: 450px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img[src*="#dealers"]{
    width: 65%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.posts-back {
    display: grid;
    margin: 0px;
    padding: 0px;
    place-items: center;
}

:root {
    --border: rgb(3, 169, 244);

    --g1: rgb(50,49,50);
    --g2: rgb(67,78,129);
    --g3: #FDBE11;
}

.bg-asphalt {
    background-color: deeppink;
}

.f-weathered {
    background: url("/images/weathered.png") repeat-y top left;
    position: sticky;
}

.charm-top {
    background: url("/images/city.png") no-repeat center right;
}

@media screen and (max-width: 767px) {
    .card-t {

        aspect-ratio: 1 / 0.6 !important;

    }

    .fullscreen-video-background {
        height: 25vh !important;
    }
}

.card-t {
    
    aspect-ratio: 1 / 1.4;
    /** border: 0.5vmin solid var(--border); **/
    cursor: pointer;
    position: relative;
    /** width: 56vmin; **/
    background: #222222;

}

.card-t:hover:before {
    background-position: 100% 100%;
    transform: scale(1.08, 1.03);
}

.card-t:hover > .card-content {
    background-position: -10% 0%;
}

.card-t:hover > .card-icon {
    color: white;
}

.card-t:hover > .card-content > .card-subtitle > .card-subtitle-word {
    opacity: 1;
    transform: translateY(0%);
    transition: opacity 0ms, transform 200ms cubic-bezier(.90, .06, .15, .90);
}

.card-t:before {
    background: linear-gradient(
            130deg,
            transparent 0% 33%,
            var(--g1) 66%,
            var(--g2) 83.5%,
            var(--g3) 100%
    );
    background-position: 0% 0%;
    background-size: 300% 300%;
    content: "";
    height: 100%;
    left: 0px;
    pointer-events: none;
    position: absolute;
    top: 0px;
    transition: background-position 350ms ease, transform 350ms ease;
    width: 100%;
    z-index: 1;
}

.card-content {
    background-image: radial-gradient(
            rgba(255, 255, 255, 0.2) 8%,
            transparent 8%
    );
    background-position: 0% 0%;
    background-size: 5vmin 5vmin;
    height: calc(100% - 4vmin);
    padding: 5vmin;
    position: relative;
    transition: background-position 350ms ease;
    width: calc(100% - 1vmin);
    z-index: 2;
}

.card-title,
.card-subtitle, .card-info {
    color: white;
    font-family: "Anek Latin", sans-serif;
    font-weight: 400;
    margin: 0px;
}

.card-title {
    font-size: 3vmin;
}

.card-subtitle {
    font-size: 2vmin;
    margin-top: 2vmin;
}
.card-info {
    font-size: 1.5vmin;
    margin-top: 2vmin;
}

.card-subtitle-word {
    display: inline-block;
    margin: 0vmin 0.3vmin;
    opacity: 0;
    position: relative;
    transform: translateY(40%);
    transition: none;
}

.card-icon {
    bottom: 0px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 7vmin;
    left: 0px;
    margin: 5vmin;
    position: absolute;
    transition: color 250ms ease;
    z-index: 2;
}
.btnfd, .btnfd:hover {
    text-decoration: none;
    color: white;
    padding: 0;
    margin: 0;
}

.fullscreen-video-background {
    background: #000;
    position: relative;
    width: 100%;
    z-index: -99;
    overflow: hidden;
    height: 83vh;
}



.fullscreen-video-background ._pattern-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    opacity: 0.3;
    bottom: 0;
    background-image: url(https://cdnjs.cloudflare.com/ajax/libs/vegas/2.3.1/overlays/03.png);
    z-index: 2;
}
.fullscreen-video-background #_buffering-background {
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
    background: #222;
    z-index: 1;
}
.fullscreen-video-background #_youtube-iframe-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: absolute;
    height: 100%;
}
.fullscreen-video-background #_youtube-iframe-wrapper #_youtube-iframe {
    position: absolute;
    pointer-events: none;
    margin: 0 auto;
    height: 300vh;
    width: 120vw;
}
