@font-face {
    font-family: "Nexa";
    src: url("../fonts/NexaRegular.otf") format("opentype");
    font-weight: normal;
}

@font-face {
    font-family: "Nexa";
    src: url("../fonts/NexaHeavy.otf") format("opentype");
    font-weight: bold;
}

@font-face {
    font-family: "Furore";
    src: url("../fonts/Furore.otf") format("opentype");
    font-weight: normal;
}

@font-face {
    font-family: "Lato";
    src: url("../fonts/LatoBold.ttf") format("truetype");
    font-weight: bold;
}

:root {
    font-size: 14px;
}

body {
    background-color: #000;

    font-family: 'Nexa', sans-serif;
    font-weight: normal;
}


#elements {
    background-image: 
        linear-gradient(to bottom,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0) 90%,
        rgba(0, 0, 0, 0) 80%,
        rgba(0, 0, 0, 0.9) 100%),
        url("../assets/stars-background-pattern.jpg");
    background-position-x: center;
    background-position-y: top;
    background-size: 300%;
}

@media (min-width: 1024px) {
    #elements {
        background: none;
    }

    #main {
        background-image:
            linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0) 50%,
            rgba(0, 0, 0, 0) 95%,
            rgba(0, 0, 0, 1) 100%),
            url("../assets/stars-background-pattern.jpg");
        background-position-x: center;
    }

    #main-container {
        background-image: url("../assets/voyager-main-background.png");
        background-repeat: no-repeat;
        background-position-x: center;
    }
    

    .elements-detail-1 {
        background-image: url("../assets/elements-background-detail1.png");
        background-size: cover;
        background-position-x: right;
        background-repeat: no-repeat;
        
        height: 20em;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 10em;
    }

    .elements-detail-2 {
        background-image: url("../assets/elements-background-detail2.png");
        background-size: cover;
        background-position-x: left;
        background-repeat: no-repeat;

        height: 20em;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 10em;    
    }

    .elements-detail-3 {
        background-image: url("../assets/elements-background-detail3.png");
        background-size: cover;
        background-position-x: right;
        background-position-y: center;
        background-repeat: no-repeat;

        height: 20em;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 10em;
    }
}

#mission {
    background-image: url("../assets/stars-background-mobile.jpg");
    background-repeat: no-repeat;
    background-position-x: center;
}

@media (min-width: 1024px) {
    #mission {
        background-image: url("../assets/stars-background.jpg");
    }
}

#case {
    background-image: url("../assets/footer-background-mobile.jpg");
    background-repeat: no-repeat;
    background-position-x: center;
}

@media (min-width: 1024px) {
    #case {
        background-image: url("../assets/footer-background.jpg");
    }
}