/*
    Theme Name: Tracon Divi
    Theme URI: https://github.com/con2/divi-child-tracon
    Description: Divi Child Theme for Tracon
    Author: Eelinki
    Author URI: https://github.com/Eelinki
    Template: Divi
    Version: 1.1
 */

/* ============================================ */

/* Fonts */

/* alegreya-sans-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 100;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-100italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 100;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 300;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-300italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 300;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 500;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-500italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 500;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 700;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-700italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 700;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 800;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-800italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 800;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: normal;
    font-weight: 900;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* alegreya-sans-900italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Alegreya Sans';
    font-style: italic;
    font-weight: 900;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Alegreya_Sans/alegreya-sans-v26-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* radley-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Radley';
    font-style: normal;
    font-weight: 400;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Radley/radley-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* radley-italic - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Radley';
    font-style: italic;
    font-weight: 400;
    src: url('/wp-content/themes/divi-child-tracon/static/fonts/Radley/radley-v24-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Tracon 2026 */

/* Font sizes */
h1 {
    font-family: "Radley", sans-serif;
    font-size: clamp(1.375rem, 2.5vw + 1rem, 1.875rem);
    font-weight: 700;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-family: "Radley", sans-serif;
    font-size: clamp(1.25rem, 2vw + 1rem, 1.75rem);
    font-weight: 700;
    font-style: normal;
    padding-top: 35px;
    letter-spacing: 1px;
}

h3 {
    font-family: "Radley", sans-serif;
    font-size: clamp(1.125rem, 1.5vw + 1rem, 1.4375rem);
    font-weight: 750;
    font-style: normal;
    padding-top: 30px;
    letter-spacing: 1px;
}

h4 {
    font-family: "Radley", sans-serif;
    font-size: clamp(0.9375rem, 1vw + 0.8rem, 1.0625rem);
    font-weight: 750;
    font-style: normal;
    padding-top: 10px;
    letter-spacing: 1px;
}

h4, h5, h6 {
    font-family: "Radley", sans-serif;
    font-weight: 800;
    font-style: normal;
}

p {
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    letter-spacing: 0.7px;
}

a {
    font-family: 'Alegreya Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.7px;
}

/* background */
.bg-gradient {
    background: #0e1121;
}
@media (min-width: 601px) {
    .bg-gradient {
        background:
                linear-gradient(90deg,
                transparent 0%,
                #0e1121 clamp(200px, 20%, 800px),
                #0e1121 calc(100% - clamp(200px, 20%, 800px)),
                transparent 100%
                ),
                url('/wp-content/themes/divi-child-tracon/static/images/2026/noise.svg') repeat;
        background-size: auto, 200px 200px;
    }
}
.star-constellation-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}
@media (max-width: 600px) {
    .star-constellation-container {
        display: none;
    }
}
.star-constellation {
    position: absolute;
    pointer-events: none;
    animation: twinkle var(--duration) ease-in-out var(--delay) infinite;
}
@keyframes twinkle {
    0%, 100% { opacity: var(--base-opacity); }
    50% { opacity: var(--dim-opacity); }
}