/* import from _header.css */
@import url("/assets/css/_header.css");
@import url("/assets/css/_footer.css");
@import url("/assets/css/_responsive.css");

:root {
    --linkedin-color: #0077b5;
    --interpol-color: #cf0a2c;
    --light-gray: #f3f2ef;
    --dark-gray: #333333;
    --success: #0a8040;
    --error: #d11124;
}

/* presets */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

*:focus-visible {
    outline: 3px solid var(--linkedin-color);
    outline-offset: 2px;
    border-radius: 3px;
}

html {
    height: 100%;
}

body {
    background-color: #e0e2ff;
    color: var(--dark-gray);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    z-index: 0;
}

body>* {
    z-index: 3;
}

/* MAIN CONTENT */

main {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    margin: 0 auto;
    width: 100vh;
    height: 100%;
}

.content {
    width: 40vw;
    height: 100%;
}

/* ads */

.column {
    display: flex;
    flex-direction: row;
    width: 25vw;
    margin-left: 5vw;
    margin-right: 5vw;
}

.column>* {
    margin: 1vw;
}

/* loading spinner */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background removed so placeholder remains visible */
    z-index: 10;
    height: 40px;
    width: 40px;
    margin-left: 50%;
    transform: translate(-50%, 50%);
    margin-top: 25%;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: var(--dark-gray);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Background Pixel Animation */
.pixelCon {
    position: fixed;
    width: 110%;
    height: 110%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
    z-index: 1;
}

.pixel {
    background: #ffd7d7;
    width: 3%;
    height: 1%;
    padding-top: 10%;
    float: left;
    opacity: 0;
    animation: blink 6s infinite;
    z-index: 0;
}

@keyframes blink {

    0%,
    25%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 0.4;
    }
}