/* =================================
   ARBORIA
================================= */

@font-face {
    font-family: 'Arboria';
    src: url('../assets/fonts/arboria/Arboria-Thin.OTF') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Arboria';
    src: url('../assets/fonts/arboria/Arboria-Light.OTF') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Arboria';
    src: url('../assets/fonts/arboria/Arboria-Medium.OTF') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Arboria';
    src: url('../assets/fonts/arboria/Arboria-Medium-Italic.OTF') format('opentype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Arboria';
    src: url('../assets/fonts/arboria/Arboria-Bold.OTF') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Arboria';
    src: url('../assets/fonts/arboria/Arboria-Black.OTF') format('opentype');
    font-weight: 900;
    font-style: normal;
}


/* =================================
   WORLD BRUSH
================================= */

@font-face {
    font-family: 'World Brush';
    src: url('../assets/fonts/world-brush/World-Brush.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* =================================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background: var(--color-background);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}


/* =================================
   ESTRUCTURA GENERAL
================================= */

.nebula-site {
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.nebula-container {
    width: min(calc(100% - 48px),
            var(--container-width));
    margin-inline: auto;
}

section {
    position: relative;
    width: 100%;
}


/* =================================
   RESPONSIVE
================================= */

@media (max-width: 768px) {

    .nebula-container {
        width: min(calc(100% - 32px),
                var(--container-width));
    }

}