@import url('https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root
{
 --site-width: 1280px;
 --color-bg: #9353aa;
 --color-textbg: #282828;
 --color-text: #e8e8e8;
 --color-purple: #9353aa;
 --color-red: #c10000;
 --color-gray: #282828;
 --color-lightgray: #e8e8e8;
}

*
{
 box-sizing: border-box;
}

html
{
 height: 100%;
}

body
{
 margin: 0;
 padding: 0;
 font-family: 'PT Sans', 'Arial CE', 'Arial', sans-serif;
 font-size: 14pt;
 line-height: 1.3em;
 color: var(--color-text);
 background-color: var(--color-bg);
 height: 100%;
 max-height: 100vh;
}

p
{
 margin: 0;
}

a
{
 text-decoration: none;
}

/* index */

#index
{
 position: relative;
 width: 100%;
 height: 100%;
 overflow: hidden;
}

#index-gray
{
 position: absolute;
 top: 0;
 left: 0;
 width: calc(100% - 100px);
 height: calc(100% - 100px);
 margin: 50px;
 background-color: #282828;
 border-radius: 50px;
 z-index: 10;
}

#index-overlay
{
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: url(/img/kanonok-back-big.png) bottom no-repeat;
 background-size: 100%;
 z-index: 20;
}

#index-overlay-left
{
 position: absolute;
 bottom: 0;
 left: -50px;
 max-width: 48%;
 z-index: 20;
}

#index-overlay-right
{
 position: absolute;
 bottom: 0;
 right: -50px;
 max-width: 48%;
 z-index: 20;
}

#index-overlay-left img,
#index-overlay-right img
{
 display: block;
 width: 100%;
}

#index-content
{
 top: 50px;
 width: 100%;
 position: absolute;
 z-index: 30;
 text-align: center;
}

#index h1
{
 display: inline-block;
 font-size: 60pt;
 text-transform: uppercase;
 margin: 0 auto;
 padding: 100px 40px 40px 40px;
 border-bottom-left-radius: 40px;
 border-bottom-right-radius: 40px;
 background-color: var(--color-purple);
 white-space: nowrap;
}

#index-search
{
 display: block;
 margin-top: 35px;
}

#search-title
{
 display: inline-block;
 background-color: var(--color-purple);
 padding: 20px 30px;
 vertical-align: middle;
 border-radius: 20px;
 font-size: 30pt;
 font-weight: bold;
 color: #fff;
}

#index-search-fields
{
 width: calc(100% - 100px);
 margin: auto;
}

.search-field
{
 display: inline-block;
 width: 50%;
 text-align: left;
 padding: 50px 100px 0 100px;
 color: var(--color-purple);
 font-size: 24pt;
 vertical-align: top;
}

.search-field p
{
 padding-left: 15px;
}

.search-box
{
 position: relative;
 width: 100%;
 height: 14em;
 background-color: rgba(255, 255, 255, .3);
 border-radius: 15px;
 padding: 10px 15px;
 margin-top: 10px;
 overflow: hidden;
}

.search-box > ul
{
 position: absolute;
 top: 0;
 list-style: none;
 margin: 10px 0 0 0;
 padding: 0;
}

.search-box > ul li
{
 padding: 10px 0;
 color: #fff;
}

.search-bottom
{
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 height: 40px;
 background: linear-gradient(rgba(40, 40, 40, 0), rgba(40, 40, 40, 1) 90%);
 color: #fff;
 z-index: 1;
 text-align: center;
 padding-bottom: 10px;
 font-size: 30px;
 text-shadow: 1px 1px 10px #000;
 cursor: pointer;
}

.search-top
{
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 40px;
 background: linear-gradient(rgba(40, 40, 40, 1) 10%, rgba(40, 40, 40, 0));
 color: #fff;
 z-index: 1;
 text-align: center;
 padding-top: 20px;
 font-size: 30px;
 text-shadow: 1px 1px 10px #000;
 cursor: pointer;
}

/* kanonok */

header
{
 width: 100%;
 height: 100px;
 max-height: 100px;
}

header > h1
{
 margin-top: 0;
 margin-bottom: .5em;
 font-size: 48px;
 color: var(--color-purple);
 background-color: var(--color-textbg);
 padding: .5em 1em;
 width: 50%;
 border-bottom-right-radius: 15px;
 display: inline-block;
 text-align: center;
}

.button
{
 font-size: 20pt;
 font-weight: bold;
 color: #fff;
 background-color: var(--color-blue);
 padding: 20px;
 border-radius: 20px;
 border: 0;
 cursor: pointer;
 -webkit-box-shadow: 0px 8px 8px -3px rgba(0,0,0,0.5);
 -moz-box-shadow: 0px 8px 8px -3px rgba(0,0,0,0.5);
 box-shadow: 0px 8px 8px -3px rgba(0,0,0,0.5);
}

#content
{
 height: 100%;
}

#main
{
 height: calc(100vh - 100px);
}

#left
{
 display: inline-block;
 vertical-align: top;
 background-color: var(--color-textbg);
 width: 50%;
 height: 100%;
 padding: 40px 40px 0 40px;
 text-align: center;
}

#image
{
 margin: 0 auto;
 height: calc(100% - 92px);
}

#image > img
{
 max-width: 100%;
 max-height: 100%;
 display: block;
 margin: 0 auto;
}

#right
{
 display: inline-block;
 vertical-align: top;
 width: 50%;
 height: 100%;
 padding-right: 40px;
}

#right-content
{
 display: flex;
 flex-direction: column;
 max-height: 100%;
}

#author
{
 width: 100%;
 padding: 20px 40px;
 background-color: var(--color-textbg);
 margin-bottom: 20px;
 border-top-right-radius: 15px;
 border-bottom-right-radius: 15px;
}

#author > h2
{
 color: #fff;
 margin: 0 0 10px 0;
 font-size: 32px;
 line-height: 1.1em;
}

#author > div
{
 display: inline-block;
 margin-right: 1.5em;
}

#author > div:last-child
{
 margin-right: 0;
}

#inscription
{
 width: 100%;
 padding: 20px 40px;
 background-color: var(--color-textbg);
 margin-bottom: 20px;
 border-top-right-radius: 15px;
 border-bottom-right-radius: 15px;
}

#inscription > h3
{
 color: var(--color-purple);
 margin: 0 0 10px 0;
 font-size: 28px;
}

#bio
{
 position: relative;
 padding: 20px;
 margin: 0 0 20px 20px;
 background-color: var(--color-textbg);
 border-radius: 15px;
 flex: 1;
 overflow-y: hidden;
 overflow-x: hidden;
 height: 100%;
 max-height: 100%;
}

#bio h3
{
 color: var(--color-purple);
 margin: 0 0 10px 0;
 font-size: 28px;
}

#bio p
{
 text-align: justify;
 margin-bottom: .5em;
}

#bio-content
{
}

#bio-fade-bottom
{
 position: absolute;
 bottom: 0;
 left: 0;
 width: 100%;
 height: 50px;
 background: linear-gradient(rgba(40, 40, 40, 0), rgba(40, 40, 40, 1) 90%);
 z-index: 1;
 text-align: center;
 padding-bottom: 20px;
 font-size: 30px;
 text-shadow: 1px 1px 10px #000;
}

#bio-fade-top
{
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 50px;
 background: linear-gradient(rgba(40, 40, 40, 1) 10%, rgba(40, 40, 40, 0));
 z-index: 1;
 text-align: center;
 padding-top: 20px;
 font-size: 30px;
 text-shadow: 1px 1px 10px #000;
}

#buttons
{
 margin: 20px 0;
 text-align: right;
 height: 52px;
}

.arrow
{
 height: 52px;
 cursor: pointer;
 border: 0;
 border-radius: 10px;
 color: var(--color-purple);
 font-size: 20px;
 font-weight: bold;
 text-transform: uppercase;
 vertical-align: top;
}