/*
    ----- Fonts -----
*/

@font-face {
    font-family: "Source Sans 3";
    font-weight: 200 900;
    font-style: normal;
    font-stretch: normal;
    src: url("../fonts/SourceSans3VF-Upright.otf.woff2");
}

@font-face {
    font-family: "Source Sans 3";
    font-weight: 200 900;
    font-style: italic;
    font-stretch: normal;
    src: url("../fonts/SourceSans3VF-Italic.otf.woff2");
}


/*
    ----- General -----
*/

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

body {
    margin: 4.75rem 0 0 0; /* space for navbar */
    padding: 0;
    border: 0;

    font-family: "Source Sans 3", sans-serif;
    color: white;
    background-color: rgb(10, 10, 20);

    background-attachment: fixed;
    background-size: 100% 100%;
    background-position: 0px 0px,0px 0px,0px 0px,0px 0px,0px 0px;
    background-image: radial-gradient(75% 75% at 19% 23%, #577EC405 0%, #250E7314 100%),radial-gradient(48% 48% at 60% 45%, #0D3AAC21 0%, #30349508 99%),radial-gradient(75% 75% at 17% 56%, #3CDCC60D 0%, #1E32570D 100%),radial-gradient(75% 75% at 71% 67%, #22336224 0%, #34357612 100%),radial-gradient(75% 75% at 44% 52%, #080808FF 0%, #070D11FF 99%);
}

hr {
    width: 33%;
    margin: 4rem auto;
    max-width: 35rem;
    color: rgba(255,255,255,0.2);
}

a {
    color: rgb(200, 200, 255);
}

section {
    scroll-margin-top: 4.75rem;
}


/*
    ----- Navbar -----
*/

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    background-color: black;
    padding: 1rem;
    background-color: rgba(0, 0, 10, 0.7);
    backdrop-filter: blur(0.5rem) saturate(150%);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0px 2px 5px rgba(0,0,0,0.5), inset 4px 4px 24px rgba(255,255,255,0.06), inset -4px -4px 24px rgba(255,255,255,0.03);
    justify-content: left;
}

nav>a {
    font-family: sans-serif;
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    transition-duration: 200ms;
    border-bottom: 1px solid transparent;
}

nav>a:hover {
    border-bottom: 1px solid white;
}

nav>.expand_button {
    color: white;
    padding: 0.4rem 0.8rem;
    border: 1px solid white;
    border-radius: 0.2rem;
    display: none;
    transition-duration: 200ms;
}

nav>.expand_button:hover {
    cursor: pointer;
    background-color: white;
    color: black;
}

ul.footer_nav {
    margin: 0;
    list-style-type: "";
    padding: 0;
}

ul.footer_nav>li {
    margin: 0.5rem 0;
}

ul.footer_nav>li>a {
    color: inherit;
    text-decoration: inherit;

    border-bottom: 1px solid transparent;
    transition-duration: 200ms;
}

ul.footer_nav>li>a:hover {
    border-bottom: 1px solid white;
}


@media screen and (max-width: 700px) {
    nav>.expand_button {
        display: initial;
    }

    nav>a {
        display: none;
    }

    nav.expanded>.expand_button {
        margin-bottom: 1rem;
    }

    nav.expanded>a {
        display: initial;
        padding: 0.5rem 0;
        width: 100%;
    }

    nav {
        justify-content: left;
    }
}

/*
    ----- Containers -----
*/

div.container {
    margin: 0 auto;
    padding: 0.5rem;
    width: 100%;
    max-width: 75rem;
}

/*
    ----- Headers -----
*/

header.banner {
    margin: 1rem 0;
    padding: 2rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

header.banner>h1 {
    font-size: 5rem;
    text-shadow: 0.2rem 0.2rem 0.4rem rgba(0,0,0,0.5);
}

header.banner>h2 {
    font-size: 1.8rem;
    text-shadow: 0.2rem 0.2rem 0.4rem rgba(0,0,0,0.5);
}

section>header {
    font-size: 2rem;
    margin: 1rem 0;
}

header.hero {
    margin: 0 auto;
    text-align: center;
    padding: 8rem 1rem;
    border-radius: 0.5rem;
    background-image: url("../images/cosi-room.jpg");
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0.5rem 0.5rem 1rem rgba(0,0,0,0.5);
}

header.hero>h1 {
    font-size: 5rem;
    text-shadow: 0.1rem 0.1rem 0.2rem rgba(0,0,0,0.5);
}

header.hero>h2 {
    font-size: 1.8rem;
    text-shadow: 0.1rem 0.1rem 0.2rem rgba(0,0,0,0.5);
}



/*
    ----- Footers -----
*/

body>footer {
    width: 100%;
    padding: 0 0.5rem;
}

footer>article.card {
    padding: 1rem 1.5rem;
}

/*
    ----- Cards -----
*/

.card_container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    grid-gap: 1rem;
}

article.card {
    border-radius: 0.5rem;
    background-color: rgb(10,10,20);
    border: 1px solid rgba(255,255,255,0.15);
    display: grid;
    grid-template-rows: 12rem max-content 1fr max-content;
    box-shadow: 0.5rem 0.5rem 1rem rgba(0,0,0,0.5);
}

article.card.noimg {
    grid-template-rows: max-content 1fr max-content;
}

article.card>header {
    padding: 0.75rem 0.75rem 0 0.75rem;
}

article.card>div.content {
    padding: 0.75rem;
}

article.card>footer {
    background-color: rgb(3,3,12);
    border-radius: 0 0 0.5rem 0.5rem;
    width: 100%;
    padding: 0.75rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

article.card>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem 0.5rem 0 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

article.card.twocol {
    grid-template-rows: initial;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 600px) {
    article.card.twocol {
        grid-template-columns: 1fr;
        grid-template-rows: initial;
    }
}



/*
    ----- Buttons -----
*/

a.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(25,25,70);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 0.5rem;
    margin: 0;
    text-align: center;

    text-decoration: inherit;
    color: inherit;
    transition-duration: 200ms;
}

a.button.large {
    width: 100%;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
}

a.button:hover {
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.5);
    background-color: rgba(35,35,90);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.7), inset 4px 4px 32px rgba(100,100,255,0.08), inset -4px -4px 32px rgba(100,100,255,0.08);
}

/*
    ----- Quick modifiers -----
*/

.right {
    text-align: right;
}
