@font-face {
    font-family: 'Beaver';
    src: url('/static/fonts/beaver.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Yantramanav';
    src: url('/static/fonts/Yantramanav-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'BebasNeue';
    src: url('/static/fonts/BebasNeue-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ============= Globals =============*/
:root {
    /* Primary color for all Interactive elements */
    --primary-color: #CD303B;
    /* The same but for RGBA */
    --primary-rgb: 205, 48, 59;

    /* =============LOGO=========== */
    /* A Logo URL for the primary BG logo */
    --logo-bg: url('/static/images//backgrounds/DSC_5978-Pano.jpg');
    /* Content For logo Text */
    --logo-text: 'A';
    /* Logo Font Size */
    --logo-font-size: 140vh;
    /* Logo and Logo Glitch Font Weight */
    --logo-font-weight: 200;
    /* Logo Line Height */
    --logo-line-height: 126vh;
    /* Logo Font Family */
    --logo-font-family: 'Beaver', sans-serif;
    /* Extra animation for Logo Background */
    --logo-bg-animation: backgroundMove 60s ease-in-out infinite;
    /* --logo-bg-animation: none; */

    /* Content for Logo Glitch */
    --logo-glitch-text: 'A';
    /* Logo Glitch Font Size */
    --logo-glitch-font-size: 140vh;
    /* Logo glitch space from left */
    --logo-glitch-left: 2vw
}

body {
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: BebasNeue;
    background: black;
    font-weight: 200;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.87);
}

body.light {
    background: white;
    color: rgba(0, 0, 0, 0.67);
}

p {
    font-family: 'Yantramanav', sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2rem;
    margin: 0px;
    color: inherit;
}

ul {
    font-family: 'Yantramanav', sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 1.2rem;
    margin: 0px;
    color: inherit;
    margin-top: 8px;
    margin-bottom: 8px;
}

h2 {
    font-weight: 400;
    font-size: 44px;
    margin-top: 14px;
}

h3 {
    font-weight: 400;
    font-size: 32px;
    margin-top: 14px;
}

h4 {
    font-size: 26px;
    margin-top: 14px;
    margin-bottom: 14px;
    font-weight: 200;
}

body.light a {
    color: rgba(0, 0, 0, 0.67);
}

body.light a:hover {
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.97);
    transition: all 0.3s;
}

a:hover {
    color: var(--primary-color);
}

hr {
    border-style: solid;
    margin: 0px;
}

hr.primary {
    border-color: var(--primary-color);
    border-width: 2px;
    border-radius: 2px;
}

.text-content a {
    color: white;
    text-decoration: underline;
}

.text-content h3 {
    margin-top: 14px;
    margin-bottom: 0px;
}

.text-content h4 {
    margin-top: 14px;
    margin-bottom: 4px;
}

.text-content p {
    margin-top: 4px;
    margin-bottom: 4px;
}

/* ============ Animations ============== */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeInOutIn {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes backgroundMove {
    0% {
        background-position: 0%;
    }

    50% {
        background-position: -50vw;
    }

    100% {
        background-position: 0%;
    }
}






html::-webkit-scrollbar {
    width: 4px;
}

html::-webkit-scrollbar-track {
    background-color: #616161;
    border-radius: 100px;
}

html::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background: #BDBDBD;
}

main {
    overflow-y: auto;
}

main::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

main::-webkit-scrollbar-track {
    background-color: #616161;
    border-radius: 100px;
}

main::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background: #BDBDBD;
}

textarea::-webkit-scrollbar {
    width: 4px;
}

textarea::-webkit-scrollbar-track {
    background-color: #616161;
    border-radius: 100px;
}

textarea::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background: #BDBDBD;

}

div::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

div::-webkit-scrollbar-track {
    background-color: #616161;
    border-radius: 100px;
}

div::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background: #BDBDBD;

}


/* ============= Basics =============*/

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.window-height {
    height: 100vh !important;
}


.row {
    display: flex;
    flex-direction: row;
    width: 100%;
}



.col {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 1;
    height: 100%;
}

.col.scrollable {
    overflow: hidden;
    overflow-y: auto;
}

.col-2 {
    width: 33.333333%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.333333%;
}

.col-6 {
    width: 50%;
}

.col-8 {
    width: 66.666666%;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.align-start {
    align-items: start;
}

.align-center {
    align-items: center;
}

.align-end {
    align-items: flex-end;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.pa-0 {
    padding: 0;
}

.pa-2 {
    padding: 4px;
}

.pa-4 {
    padding: 8px;
}

.px-2 {
    padding-left: 4px;
    padding-right: 4px;
}

.px-4 {
    padding-left: 8px;
    padding-right: 8px;
}

.px-8 {
    padding-left: 16px;
    padding-right: 16px;
}

.pr-2 {
    padding-right: 4px;
}

.pr-4 {
    padding-right: 8px;
}

.pr-8 {
    padding-right: 16px;
}

.width-20 {
    width: 20%;
}

.width-40 {
    width: 40%;
}

.width-50 {
    width: 50%;
}

.width-60 {
    width: 60%;
}

.width-80 {
    width: 80%;
}

.ma-0 {
    margin: 0;
}

.ml-2 {
    margin-left: 4px;
}

.ml-4 {
    margin-left: 8px;
}

.ml-8 {
    margin-left: 16px;

}

.mr-2 {
    margin-right: 4px;
}

.mr-4 {
    margin-right: 8px;
}

.mb-2 {
    margin-bottom: 4px;
}

.mb-4 {
    margin-bottom: 8px;
}

.mb-8 {
    margin-bottom: 16px;
}

.spacer:not(.col) {
    width: 100%;
}

.primary-text {
    color: var(--primary-color);
}


/* ============= Page Structure =============*/

.main {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.main::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: -1;
}

body.inner .main::before {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-in-out forwards;
}

body.light.inner .main::before {
    background-color: rgba(255, 255, 255, 0.4);
}

.card-container {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    height: 60vh;
    width: 80vw;
}

.card {
    border-radius: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
}


.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
    background-blend-mode: overlay;
}

.headline {
    font-size: 5.5rem;
    margin: 0px;
}

.masked-logo::before {
    content: var(--logo-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-family: var(--logo-font-family);
    text-align: left;
    font-size: var(--logo-font-size);
    font-weight: var(--logo-font-weight);
    line-height: var(--logo-line-height);
    background: var(--logo-bg);
    -webkit-background-clip: text;
    background-size: cover;
    color: transparent;
    -webkit-text-stroke-color: rgba(255, 255, 255, 0.67);
    -webkit-text-stroke-width: 0px;
    animation: var(--logo-bg-animation);
    overflow: hidden;
    /* Only animate opacity */
}

.masked-logo.bg-transition::before {
    animation: fadeInOutIn 1s ease-in-out forwards;
}

body.inner .masked-logo::before {
    animation: none;
}

.masked-logo::after {
    overflow: hidden;
    content: var(--logo-glitch-text);
    position: absolute;
    top: 0;
    left: var(--logo-glitch-left);
    width: calc(100% - var(--logo-glitch-left));
    font-family: var(--logo-font-family);
    font-size: var(--logo-glitch-font-size);
    font-weight: var(--logo-font-weight);
    line-height: var(--logo-line-height);
    text-align: left;
    color: rgb(var(--primary-rgb), 0.3);
    -webkit-background-clip: text;
    background-size: cover;
}


.outlined-button {
    padding: 12px 24px;
    font-size: 16px;
    color: var(--primary-color);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 0px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    outline: none;
}



.outlined-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.outlined-button.action {
    padding: 12px 24px;
    font-size: 16px;
    color: white;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 0px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    outline: none;
    margin-left: 4px;
    margin-right: 4px;
}

.outlined-button.action::before {
    content: 'A';
    font-family: 'Beaver', sans-serif;
    font-weight: 200;
    font-size: 0px;
    position: absolute;
    transform: scaleX(1) rotate(90deg) translate(-50%, 1000px);
    font-size: 50px;
    background-color: var(--primary-color);
    z-index: 2;
    height: 500px;
    width: 500px;
    transform-origin: center;
    top: 50%;
    left: 50%;
    transition: all 0.4s ease;
    text-align: center;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
}

.outlined-button.action:hover::before {
    transform: scaleX(1) rotate(90deg) translate(-50%, 50%);
    font-size: 50px;
    background-color: var(--primary-color);
    z-index: 2;
    height: 500px;
    width: 500px;
    transform-origin: center;
    top: 50%;
    left: 50%;
}

.outlined-button:hover::before {
    transform: scaleX(1);
}

.outlined-button:hover {
    color: white;
}

.outlined-button span {
    position: relative;
    z-index: 1;
}

.footer {
    background: black;
    width: 100%;
    font-size: 18px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 5px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9;
}

.footer a {
    color: rgba(255, 255, 255, 0.3);
    transition: all .4s;
}

.footer a:hover {
    color: var(--primary-color);
}

body.light .footer {
    background: white;
}



.navigation {
    position: absolute;
    top: calc(20vh - 8vh);
    right: 10vw;
    width: 80vw;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    color: rgba(255, 255, 255, 0.37);
}

.navigation a {
    color: rgba(255, 255, 255, 0.37);
    transition: all .4s;
}

.navigation a:hover {
    color: var(--primary-color);
}

body.light .navigation {
    color: rgba(0, 0, 0, 0.67);
}


/* ============MOBILE====== */

/*  */
@media screen and (max-width: 600px) {
    .card-container {
        width: 90vw;
        height: 60vh;
        overflow: hidden;
    }

    .navigation {
        width: 90vw;
        right: 5vw;
    }

    .footer {
        font-size: 1rem;
    }

    .row {
        /* flex-direction: column; */
        flex-wrap: wrap;
    }

    .col.spacer {
        display: none;
    }

    .col {
        width: 100%;
        height: auto;
    }

    .masked-logo::before {
        left: -10vw;
        width: calc(100vw + 10vw);
        overflow: hidden;
    }

    .masked-logo::after {
        left: calc(-10vw + 2vw);
        width: calc(100vw + calc(10vw - 2vw));
        overflow: hidden;
    }

    body .main::before {
        opacity: 1;
        background-color: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
        animation: fadeIn 0.3s ease-in-out forwards;
    }

    body.light .main::before {
        background-color: rgba(255, 255, 255, 0.4);
    }

    body.inner .card-container {
        height: 80vh;
        margin-top: 10vh;
        width: 90vw;
        overflow: auto;
    }
}