/* ==========================================================
   ALUMBRA ENERGIA
   Página Brevemente
   ========================================================== */


/* ----------------------------------------------------------
   RESET
   ---------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    background: #000;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    color: #fff;
}


/* ----------------------------------------------------------
   LINKS
   ---------------------------------------------------------- */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}


/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */

#hero {
    position: relative;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    overflow: hidden;

    background-image: url("/_assets/img/bgk.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


/* ----------------------------------------------------------
   CONTAINER
   ---------------------------------------------------------- */

.hero-container {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    padding:
        max(50px, env(safe-area-inset-top))
        20px
        max(25px, env(safe-area-inset-bottom));
}


/* ----------------------------------------------------------
   CONTEÚDO CENTRAL
   ---------------------------------------------------------- */

.hero-content {
    display: flex;
    flex: 1;

    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;

    text-align: center;

    padding-bottom: 40px;
}


/* ----------------------------------------------------------
   LOGÓTIPO
   ---------------------------------------------------------- */

.logo {
    width: 100%;

    margin: 0 0 50px;
    padding: 0;

    text-align: center;
}

.logo img {
    display: block;

    width: auto;
    height: auto;

    max-width: min(420px, 80vw);
    max-height: 180px;

    margin: 0 auto;
}


/* ----------------------------------------------------------
   TEXTO
   ---------------------------------------------------------- */

.texto {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}

.texto h1 {
    margin: 0 0 20px;

    font-family: "Raleway", Arial, sans-serif;

    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 700;

    text-transform: uppercase;

    color: #CDA45E;

    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.9);
}

.texto p {
    margin: 0 0 28px;

    font-size: clamp(18px, 2vw, 24px);
    line-height: 1.5;
    font-weight: 400;

    color: #fff;

    text-shadow:
        1px 1px 3px rgba(0, 0, 0, 0.85);
}

.texto p:last-child {
    margin-bottom: 0;
}


/* ----------------------------------------------------------
   CRÉDITOS
   ---------------------------------------------------------- */

.credits {
    flex: 0 0 auto;

    width: 100%;

    padding-top: 15px;

    text-align: center;

    font-size: 15px;
    line-height: 1.4;

    color: #111;

    text-shadow:
        0 1px 1px rgba(255, 255, 255, 0.25);
}

.credits a {
    color: #000;
    font-weight: 600;

    transition: opacity 0.2s ease;
}

.credits a:hover {
    opacity: 0.65;
}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media (max-width: 768px) {

    .hero-container {
        padding-top: max(50px, env(safe-area-inset-top));
    }

    .logo {
        margin-bottom: 35px;
    }

    .logo img {
        max-width: 75vw;
        max-height: 150px;
    }

    .hero-content {
        padding-bottom: 30px;
    }

}


/* ----------------------------------------------------------
   TELEMÓVEL
   ---------------------------------------------------------- */

@media (max-width: 480px) {

    .hero-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .logo {
        margin-bottom: 30px;
    }

    .logo img {
        max-width: 82vw;
        max-height: 130px;
    }

    .texto p {
        margin-bottom: 20px;
    }

    .credits {
        font-size: 13px;
    }

}