/*
Theme Name: Little Orange Snakes
Theme URI: https://littleorangesnakes.com
Description: Custom Astra child theme for Little Orange Snakes.
Author: MKUltra Studios
Author URI: https://mkultrastudios.com
Template: astra
Version: 1.0.0
Text Domain: los-astra-child
*/

/* Custom styles */

/* DISTRESS IMAGE EDGES */
.single-img {
    mask-image: url('assets/distressed-mask.png');
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
    mask-position: center;
}


body .ast-primary-header-bar {
    background: #686882;
    background: radial-gradient(circle, rgba(26, 26, 102, 1) 0%, rgba(1, 1, 45, 1) 36%);
}

@media screen and (max-width:960px) {
    section {
        border-top: 1px solid #29298b;
        border-top-width: 33%;
    }

    .yt-wrap p {
        max-width: 520px;
        width: auto;
        text-align: center;

        margin: 0 auto 12px auto;
    }
}

@media screen and (min-width:960px) {
    .los-section {
        padding: 0 0 96px 0 !important;
    }

}

@media (max-width: 921px) {

    .ast-plain-container,
    .ast-page-builder-template {
        background-color: #01012d;
    }

    .los-section {
        padding-left: 0;
        padding-right: 0;
        padding-top: 36px !important;
    }
}

.ast-header-break-point .ast-primary-header-bar {
    border-bottom-width: 0;
}

.los-section {
    color: #f7f3ed;
    padding: 0 20px 36px 20px;
}

.los-section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.los-section-inner .container div.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 -18px;
}

.los-section-inner .container div.row div {
    padding: 0;
}

.rel-info {
    padding: 18px 18px 18px 42px;
}

.single-img {
    display: block;
    width: 100%;
    max-width: 540px;
    height: auto;
    margin: 0 auto;
}

.single-sub {
    margin: 0 0 10px;
    color: #f2653c;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.single-title {
    margin: 0px 0px 18px;
    color: #f7f3ed;
    font-size: 39px;
    line-height: 0.82;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.single-desc {
    max-width: 520px;
    margin: 0 0 28px;
    color: #d9d1c8;
    font-size: 20px;
    line-height: 1.55;
}

.single-opt {
    /* margin: 8px 0 0; */
    color: #f2653c;
    text-decoration: underline;
    font-weight: bold;
}

.yt-wrap {
    margin: 0 auto;
    /* max-width: 960px; */

    margin-top: 0;
}

.yt-wrap p {
    margin: 0 0 14px;
    color: #f2653c;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.yt-wrap p a {
    color: #f7f3ed;
    text-decoration: underline;
    letter-spacing: .08em;
}

.yt-wrap div {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #111;
}

.yt-wrap div iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width:921px) {

    .rel-info {
        padding: 12px;
        margin: 0 auto;
        width: auto !important;
    }



    .single-img {}

    .single-sub {}

    .single-title {}

    .single-desc {}

    .yt-wrap {}

}

.los-button1,
.los-button2 {
    margin: 0 0 12px;
}

p.los-button2 a,
p.los-button1 a {
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 14px 24px;
    background: transparent;
    color: #f7f3ed;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    border: 2px solid #f7f3ed;
    border-radius: 500px;
    transition: all .3s ease-in-out 0s;
}

p.los-button1 a:hover,
p.los-button2 a:hover {
    background: #f2653c;
    color: #090909;
    border: 2px solid transparent;
}

h1.entry-title {
    display: none;
}

h2 {
    letter-spacing: normal !important;
}

body .ast-primary-header-bar,
.site-above-footer-wrap,
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    background-color: #01012d !important;
}

.site-primary-footer-wrap[data-section="section-primary-footer-builder"] {
    color: #ffffff;
    border-top-width: 0;
}

/* Animated LOS logo */
.los-logo {
    position: relative;
    display: block;
    width: 450px;
    /* max-width: 80vw; */
    aspect-ratio: 1 / 1;

    /* margin: 66px auto 0 auto; */
}

footer .los-logo {
    width: 150px;
    max-width: 150px;
}

.los-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.los-snake {
    transform-origin: 50% 50%;
    /* animation: los-rotate 6s linear infinite; */
    animation: los-rotate 3s steps(81) infinite;
}

@keyframes los-rotate {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .los-snake {
        animation: steps(81);
    }
}

.los-logotype {
    animation: los-shake 3.3s linear infinite;
    transform-origin: 50% 50%;
    scale: 0.95;
    translate: -8px 0;
}

footer .los-logotype {
    transform-origin: 50% 50%;
    scale: 0.95;
    translate: -2px 0;
}

@keyframes los-shake {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    15% {
        transform: translate(-1px, 1px) rotate(-0.4deg);
    }

    35% {
        transform: translate(1px, -1px) rotate(0.3deg);
    }

    50% {
        transform: translate(-1px, 0) rotate(-0.2deg);
    }

    70% {
        transform: translate(1px, 1px) rotate(0.4deg);
    }

    85% {
        transform: translate(0, -1px) rotate(-0.3deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .los-logotype {
        animation: none;
    }
}

@media (min-width: 922px) {
    .ast-primary-header-bar {
        border-bottom-width: 0 !important;
    }

    .los-section-inner .container div.row div.rel-info {
        padding: 18px 0 0 12px;
        max-width: 540px;


        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    #masthead {
        overflow: hidden;
    }

    #ast-mobile-header .ast-builder-html-element {
        position: relative;
        width: 1px;
        height: 450px;
    }

    .site-header .los-logo {
        position: absolute;
        width: 450px;
        max-width: none;
        margin: 0;
        top: 0;
        left: 50%;
        translate: -50% 0;
    }
}

footer .los-logo {
    margin: 0 auto;
}