/* =========================================
   Reset
========================================= */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

@font-face {
  font-family: 'Aileron';
  src: url('./static/Aileron-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
    font-family:
        "Aileron";

    color: #050505;
}

::selection { background: #050505; color: #CADEE9; }



/* =========================================
   Page
========================================= */

.construction-page {
    min-height: 100vh;
    min-height: 100svh;

    background: rgb(202, 222, 233);

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}


/* =========================================
   Main content
========================================= */

.content {
    width: min(100%, 600px);

    min-height: 100vh;
    min-height: 100svh;

    display: flex;
    flex-direction: column;
    align-items: center;

    position: relative;

    padding: 12.5rem 1.5rem 3rem;
}


/* =========================================
   Logo
========================================= */

.logo {
    text-align: center;
}

.logo h1 {
    font-size: 2.55rem;
    line-height: 0.95;

    font-weight: 800;
    letter-spacing: -0.055em;
}

.logo span {
    display: block;

    margin-top: 0.35rem;

    font-size: 1.15rem;
    line-height: 1;

    font-weight: 400;
    letter-spacing: 0.25em;

    padding-left: 0.25em;
}


/* =========================================
   Message
========================================= */

.message {
    margin-top: 6.55rem;

    text-align: center;

    font-size: 1.52rem;
    line-height: 1.27;

    font-weight: 400;

    letter-spacing: 0.035em;
}

.message p + p {
    margin-top: 2.65rem;
}


/* =========================================
   Digger icon
========================================= */

.digger-icon {
    display: block;

    width: 42px;
    height: 42px;

    object-fit: contain;

    margin: 1.15rem auto 0;
}


/* =========================================
   Email
========================================= */

.email {
    display: inline-block;

    margin-top: 6.25rem;

    color: #050505;
    text-decoration: none;

    font-size: 1.05rem;
    line-height: 1.2;

    font-weight: 700;
    font-style: italic;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.email:hover {
    opacity: 0.65;
    transform: translateY(-1px);
}

.email:focus-visible {
    outline: 2px solid #050505;
    outline-offset: 5px;
}


/* =========================================
   Tablet
========================================= */

@media (max-width: 768px) {

    .content {
        padding-top: 9rem;
    }

    .logo h1 {
        font-size: 2.35rem;
    }

    .logo span {
        font-size: 1.05rem;
    }

    .message {
        margin-top: 5.5rem;
        font-size: 1.35rem;
    }

    .message p + p {
        margin-top: 2.35rem;
    }

    .email {
        margin-top: 5.5rem;
    }
}


/* =========================================
   Mobile
========================================= */

@media (max-width: 480px) {

    .content {
        padding:
            6rem
            1.25rem
            2.5rem;
    }

    .logo h1 {
        font-size: 2rem;
    }

    .logo span {
        margin-top: 0.3rem;

        font-size: 0.9rem;
        letter-spacing: 0.23em;
    }

    .message {
        margin-top: 4.5rem;

        font-size: 1.15rem;
        line-height: 1.3;

        letter-spacing: 0.025em;
    }

    .message p + p {
        margin-top: 2rem;
    }

    .digger-icon {
        width: 38px;
        height: 38px;

        margin-top: 1rem;
    }

    .email {
        margin-top: 4.5rem;

        font-size: 0.95rem;
    }
}


/* =========================================
   Very small screens
========================================= */

@media (max-height: 650px) and (max-width: 480px) {

    .content {
        padding-top: 3.5rem;
    }

    .message {
        margin-top: 3rem;
    }

    .message p + p {
        margin-top: 1.5rem;
    }

    .email {
        margin-top: 3rem;
    }
}
