/* global begin */
:root {
    --fg: #000000;
    --bo: #4A4A4A;
    --mg: #939393;
    --bg: #DDDDDD;
    --al: #5CFF72;
    --am: #3DA94B;
    --ad: #1D5224;
    --af: #BCF6BC;
    --wf: #F8E8A0;
    --ef: #F2ABB5;
    --if: #9298ED;
    --ab: #037603;
    --wb: #715D01;
    --eb: #710211;
    --ib: #030968;
}

:root {
    --header-height: 64px;
    --text-size: 24px;
    --h2-size: 32px;
    --h1-size: 48px;
}

@media (hover: none) {
    :root {
        --header-height: 6rem;
        --text-size: 3.0rem;
        --h2-size: 3.5rem;
        --h1-size: 4.2rem;
    }
}

h2 {
    font-size: var(--h2-size);
}

body {
    -webkit-text-size-adjust: none;

    font-family: 'Noto Sans';
    padding: 0;
    margin: 0;
    font-size: var(--text-size);
    background: var(--bg);
}

button {
    background: var(--bd);

    color: var(--bg);
    font-size: var(--text-size);
    font-weight: bold;

    padding: 3px;

    border-color: var(--fg);
    border-width: 3px;
    border-style: solid;
    border-radius: 5px;

    transition: ease-in-out 300ms;
}

button:hover {
    background: var(--am);
    color: var(--bo);

    transition: ease-in-out 300ms;
}

.lbtn a {
    background: var(--bd);
    text-decoration: none;

    padding: 3px;

    display: block;

    color: var(--bg);
    font-size: var(--text-size);
    font-weight: bold;

    border-color: var(--fg);
    border-width: 3px;
    border-style: solid;
    border-radius: 5px;

    transition: ease-in-out 300ms;
}

.lbtn a:hover {
    text-decoration: none;
    background: var(--am);
    color: var(--bo);

    transition: ease-in-out 300ms;
}

.body {
    padding-left: 20%;
    padding-right: 20%;
}

@media (hover:none) {
    .body {
        padding-left: 5%;
        padding-right: 5%;
    }
}

#head {
    display: flex;
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 4px;

    padding-left: 15%;
    padding-right: 15%;

    background: var(--ad);

    border-bottom-color: var(--am);
    border-bottom-style: solid;
}

@media (hover:none) {
    #head {
        padding-left: 3%;
        padding-right: 3%;
    }
}

#header-lang {
    flex: 1;

    text-align: right;

    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: right;

    text-orientation: sideways;
}

#header-lang>* {
    padding-left: 4px;
    padding-right: 4px;
}

#header-title {
    flex: 1;

    font-weight: bold;
    font-size: var(--h1-size);

    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: row;
}

#header-title>a {
    text-decoration: none;
    color: var(--af);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;

    padding-left: 4px;
    padding-right: 4px;

    transition: ease-in-out 300ms;
}

#header-title>a:hover {
    color: var(--fd);

    transition: ease-in-out 300ms;
}

#header-title>a>* {
    padding-left: 1%;
    padding-right: 1%;
}

#head-icon {
    height: var(--h1-size);
}

#head-title {
    font-size: var(--h1-size);
}

.vcenter {
    display: flex;
    align-content: center;
}

#header-menu {
    flex: 2;
}

#header-menu-btn:hover #header-menu-content {
    display: flex;
    flex-direction: column;

    animation: 300ms fadeIn;
    transition: ease-in-out 1s;
}

#header-menu-btn {
    position: relative;
    display: inline-block;
}

#header-menu-content {
    display: none;
    position: absolute;

    top: 100%;
    min-width: 240px;
    left: 0;
    right: 0;
    margin: auto;

    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);

    background: var(--c1);

    text-align: left;
    padding: 4px;

    width: 100%;
}

.slider {
    text-align: center;
    overflow: hidden;
}

.slides {
    display: flex;

    overflow-x: auto;
    scroll-snap-type: x mandatory;



    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slides::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.slides::-webkit-scrollbar-thumb {
    background: black;
    border-radius: 10px;
}

.slides::-webkit-scrollbar-track {
    background: transparent;
}

.slides>div {
    scroll-snap-align: start;
    flex-shrink: 0;
    margin-right: 50px;
    border-radius: 10px;
    transform-origin: center center;
    transform: scale(1);
    transition: transform 0.5s;
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 100px;
}

.slides>div>img {
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slides>div>div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;

    width: 100%;
    height: 100%;

    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;

    font-size: var(--text-size);
    font-weight: bold;
    color: var(--fg);
    -webkit-text-stroke: 1px var(--bg);
}

.slider>a {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 0 0.5rem 0;
    position: relative;
    background: var(--ad);
}

.slider>a:active {
    top: 2px;
}

.slider>a:hover {
    background: #000;
}

#prof>.slider>.slides>div {
    height: 600px;
    width: 100%;
}

#prof {
    background: var(--if);
    display: flex;
    justify-content: center;
    flex-direction: row;
}

#foot-c {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding-top: 8px;
    padding-bottom: 8px;

    padding-left: 15%;
    padding-right: 15%;

    background: var(--ad);
}

@media (hover:none) {
    #foot-c {
        padding-left: 3%;
        padding-right: 3%;
    }
}

h1 {
    color: var(--ad);
}

#index-loc {
    position: relative;
}

#index-loc-embed {
    width: 100%;
    height: calc(var(--h2-size) * 4 + var(--text-size) * 3);
    display: block;
}

#index-loc-shape {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;

    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;

    width: 100%;
    height: 100%;
}

#index-loc-text {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 2;

    background: rgba(255, 255, 255, 0.7);
}

#index-location {
    background: var(--wb);
}

#index-loc-circle {
    border-style: dashed;
    border-radius: 50%;
    width: calc(var(--h1-size)*2);
    height: calc(var(--h1-size)*2);
    border-width: 8px;
    border-color: var(--eb);

    position: absolute;

    z-index: 1;
}

#header-menu>p {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#sound-ctrl {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#sound-transcript {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

#sound-transcript>* {
    padding-left: 3px;
    padding-right: 3px;
}
