@import "frames.css";

@font-face {
    font-family: 'Croissant One';
    src: local('Croissant One'),
    url("../fonts/CroissantOne-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'Mukta';
    src: local('Mukta'),
    url("../fonts/Mukta-Regular.ttf") format("truetype");
}

:root {
    /* Background */
    --bg-color  : linear-gradient(0deg, #D6D6E0 0%, #E9E4E4 100%);
    --bg-image  : url('../img/backgrounds/bg_main2.webp');
    --bg-size   : 300px;

    /* Foreground */
    --fg-color   : white;

    /* Fonts */
    --font-m-color  : black;
    --font-h-color  : black;
	--font-a-color	: #444;
    --font-m        : 'Mukta', sans-serif;
    --font-h        : 'Croissant One', serif;
    --font-size     : calc(1rem + (1vw / 5));

    /* Characters */
    --west-bg       : #C99ABA;
    --west-color    : black;
    --west-a        : #330032;
    --west-font     : 'Mukta', sans-serif;
    --west-img      : url('../img/founders/west_pfp.webp');

    --ishara-bg     : #AEEE90;
    --ishara-color  : black;
    --ishara-a      : #004400;
    --ishara-font   : 'Mukta', sans-serif;
    --ishara-img    : url('../img/founders/ishara_pfp.webp');
}

/* --- */

img { width: 100%; }

a { color: var(--font-a-color); }
a:hover { color: var(--font-m-color); }

html { scrollbar-color: var(--font-m-color) var(--fg-color); }
::-webkit-scrollbar-track { background-color: var(--fg-color); }
::-webkit-scrollbar-thumb { background-color: var(--font-m-color); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-h);
}

form {
	border: black solid 1.5px;
	border-radius: 15px;
	padding: 1em;
}


/* --- */

body {
    font-family: var(--font-m);
    font-size: var(--font-size);

    margin: 0;
    background: var(--bg-image), var(--bg-color);
    background-attachment: fixed;
    background-size: var(--bg-size);
}

header {
	color: var(--font-h-color);
    width: 60%;
    margin: auto;
}

#logo {
	display: block;
	width: 50%;
	margin: auto;
	margin-bottom: 0px;
}

header h1 {
	margin-top: 0px;
}

nav ul {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;

    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    grid-gap: 1rem;
}
nav li {
	background: var(--bg-color);
	padding: 0px 5px;
}

nav a, footer a { color: var(--font-h-color); }
nav a:hover, footer a:hover { color: var(--fg-color); }

main {
    display: block;
    width: 60%;
    margin: 1rem auto;

	background-image: var(--floor-001);
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: bottom;
}


section {
    background: var(--fg-color);
    line-height: 1.4;
    padding: .1rem 1rem;
    margin: .5em auto;
    border-radius: 15px;
}

footer {
    display: block;
    width: 60%;
    margin: auto;
    text-align: center;

    color: var(--font-h-color);
	background: var(--bg-color);
}
footer p {
    margin: 0;
}

/* --- */

.narration {
	font-style: italic;
	text-align: center;
}

.west, .ishara {
    padding: .5em;

    display: grid;
    grid-gap: .5em;

    grid-auto-flow: column;
    grid-template-columns: 150px auto;
    grid-template-rows: 150px auto;

	grid-template-areas:
		"img quote"
		"x quote";

    border-radius: 100px 15px 15px 100px;
}

.west .quote, .ishara .quote {
	grid-area: quote;
}

.west .name, .ishara .name {
    font-style: bold;
    font-size: calc(1.2rem + (1vw / 5));
	letter-spacing: 2px;
    margin-bottom: 0px;
}

.west .img, .ishara .img {
	grid-area: img;
    display: flex;
    justify-content: center;
    align-content: center;
}

.west .img img, .ishara .img img {
    display: block;
    margin: auto;
    border-radius: 100%;
    width: 90%;
}

.west .quote p:nth-child(2), .ishara .quote p:nth-child(2) {
    margin-top: 0px;
}

.west {
    background: var(--west-bg);
    color: var(--west-color);
}
.west a { color: var(--west-a); }
.west a:hover { color: var(--west-color); }

.ishara {
    background: var(--ishara-bg);
    color: var(--ishara-color);
}
.ishara a { color: var(--ishara-a); }
.ishara a:hover { color: var(--ishara-color); }

.answers {
    display: none;
}
.answers:target {
    display: grid;
}
/* --- */

#reception {
	background-image: url('../img/founders/concept ishara.webp');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;

	height: calc(60vw);

	display: grid;
	align-content: flex-end !important;
}

#desk {
	width: 95%;
	margin: auto;
}

#west_standing {
    display: block;
    width: 50%;
    margin: auto;
}

#b_cards {
    width: calc(10vw);
    position: relative;
    top: calc(28vw);
    left: 70%;
}

#cards {
    display: none;

    z-index: 2;
    background: #000000dd;

    width: calc(100% - 4em) !important;
    height: calc(100% - 4em);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#cards:target {
    display: grid;

    grid-template-columns: 1fr 10%;
    grid-template-rows: 20% 1fr;
    grid-template-areas:
        "x close"
        "cards cards";

    padding: 2em;

    text-align: center;
}

#cards a, #cards {
    color: var(--fg-color);
}
#cards a:hover {
    color: pink;
}

#cards .card_info { grid-area: x; overflow: auto; }
#cards h2, #cards p { margin: 0px; }

#cards .close {
    grid-area: close;
    font-size: calc(2rem + (1vw / 5));
}

.cards {
    grid-area: cards;
    display: grid;
    justify-content: center;
	align-items: center;
	grid-auto-flow: dense;
	grid-template-columns: repeat( auto-fill, minmax(250px, 1fr) );
	grid-template-rows: auto;

    grid-gap: 2em;
    padding: 2em;

    overflow: auto;
}

/* -- */

.pixel {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.button {
    width: 80px;
    height: 31px;
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: crisp-edges;
}

.floor_empty {
    height: 100px;
}

.center { text-align: center; }

#thank_apply {
    display: none;
}

#thank_apply:target {
    display: grid;
}

.grid_boxes {
    display: grid;
	grid-gap: 3em;
	justify-content: center;
	align-items: flex-end;
	grid-auto-flow: dense;
	grid-template-columns: repeat( auto-fill, minmax(150px, 1fr) );
	grid-template-rows: auto;

    padding: 2em;
}

/* --- */

@media only screen and (max-width: 800px) {
    header, main, footer { width: 90%; }

	#reception {
		height: calc(90vw);
	}
    #b_cards {
        width: calc(18vw);
        top: calc(42vw);
        left: 68%;
    }

    .west, .ishara {
        padding: 1em;
        grid-template-columns: auto 50% auto;
        grid-template-rows: 1fr auto;

    	grid-template-areas:
    		"x img y"
    		"quote quote quote";

        border-radius: 100px 100px 15px 15px;
    }

}
@media only screen and (min-width: 1500px) {
    header, main, footer { width: 1000px; }

	#reception {
		height: 1000px;
	}
    #b_cards {
        width: 200px;
        top: 470px;
        left: 70%;
    }
}
