@font-face {
    font-family: 'Roboto';
    src: url(../fonts/Roboto/Roboto-Regular.ttf);
}

@font-face {
    font-family: 'Open-Sans';
    src: url(../fonts/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf);
}

@font-face {
    font-family: 'Now-font';
    src: url(../fonts/Now_Font/Now-Bold.otf);
}

@font-face {
    font-family: 'Allura';
    src: url(../fonts/Allura/Allura-Regular.ttf);
}

:root {

    /*Paletas de colores*/
    --color-one: #7400b8;
    --color-two: #6930c3;
    --color-three: #5e60ce;
    --color-four: #5390d9;
    --color-five: #4ea8de;
    --color-six: #48bfe3;
    --color-seven: #56cfe1;
    --color-eight: #64dfdf;
    --color-nine: #72efdd;
    --color-ten: #80ffdb;
    --color-rosa: #f50a80;

    --color-bg-opacity: #7500b875;

    --color-dark: #0d1113;
    --color-bg-2: #1d1131;

    color-scheme: dark;
}

/*inicio de codigo */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, sans-serif;
    background-color: var(--color-dark);
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin-inline: auto;
    overflow: hidden;
}

.main {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section__title {
    font-family: 'Now-font';
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: transparent;
    -webkit-text-stroke-width: 0.5px;
    -webkit-text-stroke-color: #fff;
}

.scroll-to-top{
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex; 
    place-content: center;
    background-color: var(--color-dark);
    border: 2px solid #fff;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    transform: rotate(40deg);
    transition: opacity .3s ease, border .3s, transform .3s;
    z-index: 99;

    & img{
        background-image: url(../images/arrow-up.svg);
        background-repeat: no-repeat;
        width: 20px;
        z-index: 22;
        margin: auto;
    }

    &:hover {
        border: 2px solid var(--color-one);
        transform: rotate(0) scale(1.1);
    }
}

@media (width > 768px) {
    .section__title {
        text-align: left;
        font-size: 5rem;
        margin-bottom: 0;
    }
}