/* VARIABLES */

:root {
    --color-dark: 0, 0%, 16.5%;
    --color-light: 0, 0%, 100%;
    --color-pale-gray: 0, 0%, 87.5%;
    --color-pale-pink: 19.4, 37.8%, 82.4%;
    --transition-default: 0.6s ease;
    --transform-default: translateY(-0.6rem);
}


/* TYPE SELECTORS */

html {
    height: -webkit-fill-available;
    font-size: 62.5%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    padding: 0;
    font-size: 1.6rem;
    color: hsl(var(--color-dark));
    background-color: hsl(var(--color-pale-gray));
    background-image: url(../img/starlik-portrait-gradient.png);
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 40%;
    background-size: 90%;
}

@media (min-width: 40rem)
{
    body {
        background-position-y: center;
        background-size: contain;
    }
}

@media (min-width: 640px) and (max-height: 80rem) and (orientation: portrait)
{
    body {
        background-position-y: 40%;
        background-size: 70%;
    }
}


h1 {
    margin: 0;
}

img {
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition-default);
}

a:hover {
    transform: var(--transform-default);
}

button {
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-default);
}

button:hover {
    transform: var(--transform-default);
}

svg {
    fill: hsl(var(--color-dark));
    transition: var(--transition-default);
}

path {
    transition: var(--transition-default);
}

*, ::before, ::after {
    box-sizing: border-box;
    background-repeat: no-repeat;
}


/* SITE HEADER */

.site-header {
    width: 100vw;
    /* height: calc(100vh - 35vh); */
    height: 100vh;
    height: -webkit-fill-available;
    margin: 0;
    box-sizing: border-box;    
}

.site-header__title {
    width: 100vw;
    position: absolute;
    bottom: 6rem;
    left: 0;
}

.site-header__logo {
    width: calc(100vw - 4rem);
    margin: auto;
    transition: var(--transition-default);
}

@media (min-width: 40rem)
{
    .site-header__logo {
        width: 80vw;
    }
}

@media (min-width: 60rem)
{
    .site-header__logo {
        width: 70vw;
    }
}

@media (min-width: 80rem)
{
    .site-header__logo {
        width: 60vw;
    }
}

@media (min-width: 100rem)
{
    .site-header__logo {
        width: 50vw;
    }
}

@media (max-height: 50rem) and (orientation: landscape)
{
    .site-header__logo {
        width: 60vw;
    }
}

@media (max-height: 40rem) and (orientation: landscape)
{
    .site-header__logo {
        width: 50vw;
    }
}

@media (max-height: 30rem) and (orientation: landscape)
{
    .site-header__logo {
        width: 40vw;
    }
}

.site-header__navigation-toggle {
    padding: 0;
    cursor: pointer;
    position: fixed;
    top: 3rem;
    right: 3rem;
    z-index: 2;
}

.icon--hamburger {
    width: 6rem;
}

.icon--close {
    width: 6rem;
}

.site-header__navigation {
    display: none;
    width: 100vw;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    box-sizing: border-box;
    background: hsl(var(--color-pale-pink));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
}

.site-header__navigation-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    margin: 0;
    box-sizing: border-box;
    background: hsl(var(--color-pale-pink));
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
}

.site-header__navigation-menu-button {
    display: flex;
    width: calc(100vw - 6rem);
}

.site-header__navigation-menu-logo {
    width: 100%;
}

.site-header__navigation-menu-logo:hover .border {
    fill: hsl(var(--color-light));
}

@media (min-width: 25rem)
{
    .site-header__navigation-menu-button {
        width: 30rem;
    }
}

@media (min-width: 80rem)
{
    .site-header__navigation-menu-button {
        width: 36rem;
    }
}