/* PAGE */

/* general page */
body {
    background-color: whitesmoke;
    padding-top: 0px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    max-width: 1200px;
    text-align: justify;
    margin: auto;
    cursor: crosshair;
    font-size: 1rem;
}

@media screen and (max-width: 800px) {
    body {
        padding-right: 5px;
        padding-left: 5px;
    }
}

/* project sections */
.text {
    max-width: 100%;
    margin: 0 10% 0 10%;
    font-size: 1rem;
}

.quote {
    max-width: 100%;
    margin: 0 15% 0 15%;
    font-size: 1rem;
}

@media screen and (max-width: 800px) {
    .text {
        max-width: 100%;
        margin: 0 5px 0 5px;
    }
}

@media screen and (max-width: 800px) {
    .quote {
        max-width: 100%;
        margin: 0 5px 0 5px;
    }
}

/* license */
.license {
    text-align: left;
    margin: 0 5px 0 0;
    font-size: 1rem;
}



/* HEADING + NAV */

/* heading */
.heading {
    background-color: rgba(255, 240, 245, 0.95);
    position: sticky;
    top: 0;
}

/* nav */
.nav {
    background-color: rgba(255, 240, 245);
    position: static;
}

.list {
    line-height: 1.2;
}

/* width */
.textclip {
    max-width: 620px;
    text-align: left;
}

/*
@media screen and (max-width: 800px) {
    .sticky {
        background-color: rgba(255, 240, 245, 0.99);
        position: static;
        top: 0;
    }
}
*/



/* RESPONSIVE */

.lg-view {
    display: inline-block;
}

.sm-view {
    display: none;
}

@media screen and (max-width: 620px) {
    .lg-view {
        display: none;
    }

    .sm-view {
        display: inline-block;
    }
}



/* PROJECT HEADINGS */

h1 {
    color: maroon;
    font-family: "Xanh Mono", monospace;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;
    max-width: 650px;
    text-align: left;
    margin-left: 5px;

    opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 500ms;
}
    
.chinese {
    color: maroon;
    font-family: "Chiron Sung HK", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 2rem;

    opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 500ms;
}
    
h2 {
    color: maroon;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    max-width: 650px;
    text-align: left;
    margin-left: 5px;

    opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 500ms;
}        

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}



/* LINKS */

a:link,
a:visited,
a:active {
    color: blue;
    text-decoration: underline;
}
    
a:hover {
    color: blueviolet;
    text-decoration: underline;
    cursor: cell;
}



/* IMAGES */

* {
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

/* single images */
.single {
    max-width: 100%;
    padding: 5px 5px;
}

/* column images */
.column {
    flex: 50%;
    max-width: 50%;
    padding: 5px 5px;
}
    
.column img {
    margin-top: 0px;
    vertical-align: middle;
}
    
@media screen and (max-width: 800px) {
    .column {
    flex: 100%;
    max-width: 100%;
    }
}      



/* PAGE NAV */

.back {
    a:hover {
        color: white;
        background:black;
    }
}

.extra {
    a:hover {
        color: white;
        background:black;
    }
    text-align: right;
}



/* ABOUT */

.note {
    background-color: white;
    outline-style: ridge;
    outline-width: medium;
    margin: 5px;
    padding: clamp(10px, 5vw, 50px);

}


.scale {
    width: 155px;
	animation-name: grow;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 3000s;
    animation-delay: 60s;
}

@keyframes grow {
	0% {
		width: 155px;
	}
    100% {
		width: 155000px;
	}
}



/* SCAM BUTTON */

.button {
    text-decoration: none!important;
    text-transform: uppercase;
    box-shadow: 0px 1px 0px 0px #fff6af;
    background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    border-radius: 50px;
    border:1px solid #ffaa22;
    display:inline-block;
    font-family:Arial;
    font-size:12px;
    font-weight:bold;
    padding:12px 16px;
    text-shadow:0px 1px 0px #ffee66;
}

.button:hover {
    background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    background-color:#ffab23;
    cursor: wait;
    text-decoration: none;
    color: crimson;
    transition-duration: 300ms;
}

.button:active {
    position:relative;
    top:2px;
    transition-duration: 300ms;
}

.button::before {
    content: "📁";
}
    
.button:hover::before {
    content: "📂";
}