{% extends "base.html" %}
{% block body_class%}body--home{% endblock %}
{% block head %}
	<style type="text/css">
		.body--home {
			display: flex;
			flex-direction: column;
			background-color: #000;
			min-height: 100vh;
		}

		.body--home main {
			margin:  auto;
		}
		
		.body--home h2 {
			font-size: 20px;
			color: #fff;
		}

		@font-face { 
	        font-family: "wrong font"; 
	        src: url("https://files.pad.ma/ttf/wrongfont.woff") format("woff"); 
	    } 

		h1 {
		    font-family: "wrong font";
		    margin: auto;
		    font-weight: normal;
		    color: yellow;
		    font-size: 52px;
		    font-weight: bold;
		}
		
		.h1-en-home {
			line-height: 1.2;
		}

		.h1-zh-home {
			font-size: 42px;			
		}

		@media screen and (min-width: 800px) {
			h1 {
				font-size: 66px;
			}

			.h1-zh-home {
				font-size: 50px;
			}
		}

		@keyframes rainbow_animation {
		    0%,100% {
		        background-position: 0 0;
		    }

		    50% {
		        background-position: 100% 0;
		    }
		}

		.topnav {
			background-color: transparent;
			order: 10;
			font-weight: 700;
		}

		.topnav a.title {
			display: none;
		}

		.topnav nav {
			margin: auto;
		}

		.topnav nav .text .hide-mobile {
			display: none;
		}

		.topnav a {
			font-size: 16px;
			border-bottom: 1px solid rgba(255, 255, 255, 0.5);
		}

		@media screen and (min-width: 800px) {
			.topnav a {
				font-size: 20px;
			}
		}

		main > .index {
			font-size: 18px;
			line-height: 1.5;
			padding: 0 16px;
		}

		.rainbow_text_animated {
		    background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff);
		    -webkit-background-clip: text;
		    background-clip: text;
		    color: transparent;
		    animation: rainbow_animation 6s ease-in-out infinite;
		    background-size: 400% 100%;
		}

	</style>
{% endblock head %}
{% block main %}
<div class="index">
	<h1 class="h1-en-home rainbow rainbow_text_animated">Phantasmapolis</h1>
	<h2>Looking back to the future</h2><br>
	<h1 class="h1-zh-home rainbow rainbow_text_animated">未至之城</h1>
	<p>回望未來</p>

	<div class="font-bold">Video art programme</div>
	<p2>2021 Asian Art Biennale</p>
	
	<div class="font-bold">錄像計畫</div>
	<p>2021亞洲藝術雙年展</p>
	<p>2021.10.30 - 2022.3.6</p>

	<div><a href="{% url 'films'%}" class="animated-title font-bold h3"><span class="text">Films</span></a></div>
	<p>21 films on subjects from animism to zoology</p>
	
	<div><a href="{% url 'films'%}" class="animated-title h3">亞洲藝術雙年展</a></div>
	<p>回望未來<p>

	<div><a href="{% url 'texts' %}" class="animated-title font-bold h3"><span class="text">Assemblies</span></a></div>
	<p>31 sequences of commentary on clips within or across film</p>
	
	<div><a href="{% url 'texts'%}" class="animated-title h3">亞洲藝術雙年展</a></div>
	<p>回望未來<p>

	<div><a href="{% url 'about' %}" class="animated-title font-bold h3"><span class="text">About</span></a></div>
	<p>phantas.ma/polis is a ...</p>
	
	<div><a href="{% url 'about'%}" class="animated-title h3">亞洲藝術雙年展</a></div>
	<p>回望未來<p>
</div>
{% endblock %}