/* =========================================================
   leepeichin.com — combined stylesheet
   (was: style.css + style.media.css)
   ========================================================= */

html, body {
    position: relative;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-size: 30px;
    overflow-x: hidden;
    font-family: neue-haas-grotesk-display, sans-serif;
    font-weight: 700;
    font-style: normal;
}

* { box-sizing: border-box; }

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

p {
    margin-bottom: 0;
    margin-top: 0;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    color: red;
}

a:link, a:visited {
    text-decoration: none;
}

a:link:active, a:visited:active {
    color: (black);
}

img {
    display: block;
}

.underline {
    text-decoration: underline;
}

.uppercase {
    text-transform: uppercase;
}

.noSelect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    outline: none;
}

.hide {
    display: none;
}

/* ---------- Header / logo bar ---------- */

.logo-wrapper {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 80px;
    width: 100vw;
    padding: 20px;
    background-color: white;
    z-index: 10;
}

.logo-wrapper-2 {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 80px;
    width: 100vw;
    padding: 20px;
    background-color: none;
    z-index: 10;
}

.logo-background {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 80px;
    width: 100vw;
    padding: 20px;
    background-color: white;
    z-index: 8;
    opacity: 0.8;
}

.footer-wrapper {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100vw;
    padding: 20px;
    background-color: white;
    z-index: 10;
}

.contact-span {
    position: fixed;
    top: 20px;
    right: 20px;
}

/* ---------- Hover translations (header links) ---------- */

#contact-ch,
#imprint-ch,
#cv-ch,
#pcl-ch {
    position: fixed;
    top: 50vh;
    left: 50vw;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.contact:hover #contact-ch,
.imprint:hover #imprint-ch,
.cv:hover #cv-ch,
.pcl:hover #pcl-ch {
    opacity: 1;
}

#close {
    position: fixed;
    top: 20px;
    right: 20px;
}

/* ---------- Project list (home) ---------- */

.name-list-wrapper {
    position: absolute;
    left: 20px;
    top: 80px;
    z-index: 9;
    padding-bottom: 20px;
}

/* Hover preview thumbnail — shared by every list entry (.how-to) */
#how-to-img img {
    position: fixed;
    top: 50vh;
    left: 50vw;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%);
    height: auto;
    width: 60vw;
    z-index: -1;
}

.how-to:hover #how-to-img img {
    opacity: 1;
}

/* ---------- Project pages ---------- */

.video-wrapper {
    margin-top: 80px;
    position: relative;
    z-index: 9;
}

.video-info-wrapper {
    position: relative;
    padding: 20px;
}

.photo-wrapper {
    padding-left: 20px;
    padding-right: 20px;
}

.hochf,
.weitf {
    max-width: 20vw;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    float: left;
}

.photo-prev-wrapper {
    padding-top: 80px;
}

.photo-prev-wrapper img {
    width: 100vw;
}

/* ---------- Responsive / show-hide helpers (was style.media.css) ---------- */

.phone-show,
.phone-show-generell,
.phone-show-quer,
.landscape-show,
.landscape-show-big,
.landscape-show-Long,
.ipad-show,
.square-show,
.square-show-Medium {
    display: none !important;
}

.PC-show-generell {
    display: block !important;
}

/* PHONE SETTINGS */
@media only screen and (max-width: 580px) {
    .phone-show {
        display: block !important;
    }
    .PC-show-generell {
        display: none !important;
    }
    body {
        font-size: 16px;
    }
}
