/* General */

html {
    font-family: Plain;
    font-size: 1.8vw;
    line-height: 2vw;
    color: white;
}

.rp-background-blue {
    background-color: rgb(0, 116, 255);
    padding: 5%;
}

.rp-background-green {
    background-color: rgb(0, 153, 0);
    padding: 5%;
}

h2 {
    font-family: Suisse;
    text-align: center;
    font-size: 1vw;
}

body {
    margin: 0;
    overflow-x: hidden; /* Hide horizontal scrollbar */
}

.case-border {
    border: 1px solid black;
}

.container {
    display: flex; /* or inline-flex */
    flex-direction: row;
    flex-wrap: wrap;
}

.d-hide {
    display: none;
}

#right-panel {
    height: 100vh;
    position: sticky;
    top: 0;
    background-color: rgb(255, 255, 255);
    overflow-x: hidden;
    overflow-y: scroll;
}

/* Size */

.w-full {
    width: 100%;
}

.w-half {
    width: 50%;
}

.w-quarter {
    width: 25%;
}

/* Images */

img {
    vertical-align: bottom;
}

.img-stretch {
    width: 100%;
    height: auto;
}

.rotated-img {
    animation: spin 30s linear infinite;
}
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }

.rounded-img {
    border-radius: 50%;
}

.img-moving {
    animation: floatBubble 1.5s infinite normal linear;
}
@keyframes floatBubble {
    0% {
        top:-113%;
    }
    100% {
        top: -100%;
    }
}

.huerotate {
    filter: hue-rotate(180deg);
    -webkit-filter: hue-rotate(180deg);
}

.animation-pause {
    animation-play-state: paused;
}

/* indexes */

.index-low {
    z-index: 0;
}

.index-med {
    z-index: 1;
}

.index-high {
    z-index: 2;
}

/* Panels */

.left-panel-half {
    width: 50%;
}

.left-panel-full {
    width: 100%;
}

.right-panel-show {
    width: 50%;
}

.right-panel-hide {
    width: 0%;
}

/* Fonts */

@font-face {
    font-family: Plain;
    src: url("font/Plain-Regular.otf");
}

@font-face {
    font-family: Suisse;
    src: url("font/SuisseEcalWorks-MediumItalic.otf");
}