/* -----------------------------------
   Base Styles
----------------------------------- */
html {
    overflow: hidden;
}

@font-face {
    font-family: inspografik;
    src: url(../assets/FrankfurterStd.otf);
}

@font-face {
    font-family: UniversStd;
    src: url(../assets/UniversLTStd.otf);
}

body {
    margin: 0;
    font-family: lores-12, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(15px, 1.4vw, 18px);
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
    color: #0049FF;
}

h1 {
    font-family: lores-12, sans-serif;
    color: #0049FF;
    font-size: clamp(32px, 4.2vw, 45px);
    margin: 20px 0;
    display: inline-block;
}

h2, h3, h4, h5, h6 {
    font-weight: 300;
}

a {
    color: #0049FF;
}

a:hover {
    color: #0049FF;
}

:focus {
    outline: 0;
}

::-webkit-scrollbar {
    display: none;
}

/* -----------------------------------
   Layout
----------------------------------- */
.row {
    display: flex;             /* flex container for left/right blocks */
    flex-wrap: nowrap;         /* keep left/right on same line */
    align-items: flex-start;   /* align top edges */
}

.content {
    flex: 0 0 auto;            /* left block natural width */
}

.bodyinfo {
    flex: 1 1 auto;            /* right block takes remaining space */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* aligns with footer .col-3 vertically */
}

.row > * {
    margin: 0 20px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.row > :first-child {
    margin-left: 0;
}

.row > :last-child {
    margin-right: 0;
}

.content p {
    margin: 1em 0;
}

button {
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    cursor: pointer;
    outline: 0;
    border: none;
    display: block;
    padding: 0;
}

/* -----------------------------------
   Responsive Layout
----------------------------------- */
@media only screen and (max-width: 750px) {
    html {
        overflow: hidden;
    }

    .row {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .row > * {
        margin-right: 0;
        margin-left: 0;
    }

    .view-home {
        padding-left: 25px;
        padding-right: 25px;
    }

    footer {
        padding: 25px;
    }

    footer .col-2,
    footer .col-3 {
        margin-top: 20px;
    }
}

/* -----------------------------------
   Container & Content
----------------------------------- */
.container {
    position: relative;
    z-index: 10; /* above background images */
}

.container #description {
    position: absolute;
    visibility: hidden;
    opacity: 0;
}

.view-home {
    text-transform: uppercase;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px 30px 100px;
    min-height: 100vh;
    margin: auto;
}

.view-home .bodyinfo {
    margin-bottom: 20px;
    margin-top: 20px;
}

.view-home .bodyinfo .inspografik-content,
.view-home .bodyinfo .inspografik-content ul {
    display: inline;
}

.view-home .bodyinfo ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.view-home .bodyinfo li {
    display: inline-block;
    margin-right: 10px;
}

.view-home .bodyinfo li.title::after,
.view-home .bodyinfo li:last-child::after {
    display: none;
}

.view-home .bodyinfo h3 {
    display: inline-block;
    font-size: clamp(14px, 1.3vw, 17px);
    margin: 0;
}

/* -----------------------------------
   Footer
----------------------------------- */
footer {
    text-transform: uppercase;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: fixed;  /* changed from absolute */
    bottom: env(safe-area-inset-bottom, 0);
    margin: auto;
    right: 0;
    left: 0;
    padding: 30px;
}

footer .col-1 li,
footer .col-1 p,
footer .col-1 ul {
    display: inline;
    margin: 0;
}

footer .col-1 ul {
    list-style-type: none;
    margin-left: 10px;
    padding: 0;
}

footer .col-1 li {
    margin-left: 10px;
}

footer .col-1 li::after {
    content: ",";
}

footer .col-1 li:last-child::after {
    content: "";
}

footer .col-2 p,
footer .col-3 p {
    margin: 0;
}

/* -----------------------------------
   Tumblr Background Images
----------------------------------- */
#weblog {
    position: fixed;       /* full page background */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.2;
    z-index: 0;            /* behind main content */
}

#weblog img.img_post {
    position: absolute;    /* floating images */
    width: auto;           /* natural width */
    height: auto;          /* maintain aspect ratio */
    max-width: 400px;     
    cursor: grab;
    transition: transform 0.2s ease;
}

#weblog img.img_post:hover {
    transform: scale(1.05);
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Responsive scaling */
@media (max-width: 768px) {
    #weblog img.img_post {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    #weblog img.img_post {
        max-width: 100px;
    }
    footer {
        padding-bottom: calc(30px + env(safe-area-inset-bottom));
    }
}
}
