/*
    Copyright (C) 2020 Eric Qian. 
    <https://ericq.me/>
    All rights reserved. 
*/

#wrapper {
    outline: solid 2px #7B0000;
    transition: outline 0.6s linear;
    margin: 0.5em;
    margin-top: 0;
    position: absolute;
    width: 80vw;
    height: 50vw;
    left: 10vw;
}

body {
    background: url("/?originalUrl=https%3A%2F%2Fenumc.com%2Fimages%2FIMG_20210225_113907.jpg") center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

@media (orientation: portrait) {
    #wrapper {
        width: 95%;
        height: 75%;
        left: 0vw;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 999;
    top: 30%;
    left: 110%;
    font-size: large;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.ui-effects-transfer {
    border: 2px dotted white;
}

.icon-bar {
    width: auto;
    /* Set a specific width */
    background-color: #5554;
    /* Dark-grey background */
}

.desktop {
    z-index: 9999;
    color: black;
    left: 0%;
    top: 10%;
    height: 90%;
    position: absolute;
    border-color: black;
    width: auto;
    display: none;
}

.icon-bar a {
    display: block;
    /* Make the links appear below each other instead of side-by-side */
    text-align: center;
    /* Center-align text */
    padding: 16px;
    /* Add some padding */
    transition: all 0.3s ease;
    /* Add transition for hover effects */
    color: white;
    /* White text color */
    font-size: 36px;
    /* Increased font-size */
}

.icon-bar a:hover {
    background-color: #000;
    /* Add a hover color */
}

.active {

    background-color: #000;
    /* Add an active/current color */
}

.bottom-right {
    position: fixed;
    bottom: 0;
    right: 1vw;
    /* margin-left: auto;
    margin-right: 0;
    float: right; */
}

.top-right {
    position: absolute;
    top: 5%;
    right: 5%;
}

.top-right h4 {
    font-family: monospace;
    /* color:white; */
}

h4 {
    font-family: monospace;
    color: white;
}

h3 {
    color: white;
}

p {
    color: white;
}

a {
    font-family: monospace;
}

.colorA {
    color: #7B0000;
}

.white-text {
    color: #FFFFFF;
}

#info-section {
    /* border: 1px solid red; */
    width: 37.5vw;
    height: 15vw;
}

a svg rect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    fill: transparent;
}

a svg rect {
    stroke: #000;
    stroke-width: 4;
    transition: 1.5s;
    stroke-dasharray: 750;
    stroke-dashoffset: 750;

}

.portrait-warning {
    display: none;
}

.video-container {
    /* position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; */
}

.video-container video {
    /* Make video to at least 100% wide and tall */
    /* min-width: 100%;
    min-height: 100%; */

    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    /* width: auto;
    height: auto; */

    /* Center the video */
    /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0.5%;
    width: 99%;
    height: 99%;
    object-fit: cover;
}

.white-box {
    width: 500px;
    height: 100px;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;

    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
}

.featured:before {
    content: '+';
    font-weight: 400;
    display: inline-block;
    margin-right: 5px;
    color: #4CB1FF;
}

.vertical-text {
    width: 50px;
    height: 50px;
    margin: 30px 0 auto auto;
    background: #4CB1FF;
}

.vertical-text span {
    width: 50px;
    display: inline-block;
    text-align: center;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.simplebar-scrollbar::before {
    background-color: white !important;
}

.selection-area {
    background: rgba(46, 115, 252, 0.11);
    border: 2px solid rgba(98, 155, 255, 0.81);
    border-radius: 0.1em;
    z-index: 9999;
}


@media screen and (orientation:portrait) {
    #info-section {
        /* border: 1px solid red; */
        width: 40vw;
        height: 40vw;
    }

    .portrait-warning {
        display: block;
        z-index: 1;
        top: 75vw;
        left: 10vw;
        right: 10vw;
        width: 80vw;
        position: absolute;
        /* position: -webkit-sticky; */
        /* position: sticky; */
        /* background: rgba(255, 255, 255, 1); */
        background: black;
    }

    body {
        background: url("/?originalUrl=https%3A%2F%2Fenumc.com%2Fimages%2Fbliss.jpg") center center fixed;
    }

    .desktop {
        left: 5%;
        top: 90%;
        width: 90%;
        height: auto;
        position: absolute;
        border-color: black;
        display: none;
    }

    .icon-bar {
        width: 100%;
        /* Full-width */
        /* background-color: #555; */
        /* Dark-grey background */
        overflow: visible;
        /* allow tooltip text to show up outside of div. */
    }

    .icon-bar a {
        float: left;
        /* Float links side by side */
        text-align: center;
        /* Center-align text */
        width: 16.6%;
        /* Equal width (5 icons with 20% width each = 100%) */
        padding: 12px 0;
        /* Some top and bottom padding */
        transition: all 0.3s ease;
        /* Add transition for hover effects */
        color: white;
        /* White text color */
        font-size: min(10vw, 5vh);
        /* Increased font size */
    }

    .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: black;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0;
        position: absolute;
        bottom: 110%;
        z-index: 9999;
        top: auto;
        left: 50%;
        margin-left: -60px;
    }

    .tooltip .tooltiptext::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: black transparent transparent transparent;
    }
}