:root {
    --left-blur: left;
    --right-blur: right;
}

.ofelia-display {
    font-family: "ofelia-display", sans-serif;
    font-weight: 200;
    font-style: normal;
    font-variation-settings: "wdth" 110, "wght" 300;
    font-size: 48.03px;
}

.ofelia-font {
    font-family: "ofelia-display", sans-serif;
    font-weight: 300;
    font-style: normal;
}

blockquote, figure, h1, h2, h3, h4, h5, h6, p, pre {
    margin: 0;
}

body {
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overscroll-behavior: none;
    /* overflow: hidden; */
}

body.loading {
    overflow-y: hidden;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #bdbdbd #ffffff;
    scroll-behavior: smooth;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: scrollbar-width;
}

html.loading {
    scrollbar-width: none;
}

main {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    overflow: hidden;
}

section {
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    position: relative;
}

#section-background {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    
}

#cubic-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#cubic-background {
    height: 100%;
    width: 100%;
    transform: scale(1.2);
    display: block;
    filter: blur(10px);
}

#cubic-background-mobile {
    height: 100%;
    width: auto;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    filter: blur(10px);
}

/* .cubic-139 {
    height: 150%;
    width: 150%;
} */



#background-container {
    width: 30%;
    display: flex;
    flex-direction: row;
    height: 100%;
    position: relative;
}

#background-left {
    width: 50%;
    height: 100%;
    background-color: #364453;
}

#background-left {
    width: 50%;
    height: 100%;
    background-color: #485b6e;
}

#background-icon {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(15px);
}

#icon-center {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

#contact-logo {
    width: 400px;
}

#main-header:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 1;
    background-color: rgba(255, 255, 255, 0);
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: opacity;
}

.link-text {
    font-size: 24px;
    /* line-height: 24px; */
    margin: 0px;
    color:#ffffff;
    white-space: nowrap;
}

.link-decoration {
    background-color: #ffffff;
    height: 2.5px;
    width: 0%;
    transition-duration: 0.2s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: width;
}

.hover-card .link-text {
    color:#000000;
}

.absolute-positioner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    height: 100%;
}


.relative-positioner {
    position: relative;
    height: 100%;
    width: 30%;
}

#section-container {
    position: absolute;
    inset: 0;
    display: flex;
    /* backdrop-filter: blur(10px); */
    background: linear-gradient(45deg, rgb(200, 15, 25), rgba(200, 15, 25, 0.3) 30.71%, rgba(200, 15, 25, 0) 50%), 
    linear-gradient(135deg, rgb(53, 116, 233), rgba(53, 116, 233, 0.3) 30.71%, rgba(53, 116, 233, 0) 50%), 
    linear-gradient(90deg, rgb(255, 246, 120), rgb(255, 246, 120) 30%, rgba(255, 255, 255, 0));
}

#section-content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 80px 120px 80px;
    width: calc(100% - 160px);
    height: calc(100% - 240px);
    z-index: 10;
}

.title-card {
    width: 50%;
    height: auto;
    padding: 20px;
    /* backdrop-filter: blur(15px); */
    border-radius: 10px;
}

.content-card {
    display: flex;
    flex-direction: row;
    position: relative;
    width: min-content;
    height: auto;
    padding: 20px;
    backdrop-filter: blur(15px);
    border-radius: 30px;
    
    background-color: #ffffffac;
    box-shadow: inset -1px -1px #ffffff, inset 1px 1px #ffffff, inset -1px 1px #ffffff, inset 1px -1px #ffffff, 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0);
    
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: box-shadow, background-color, backdrop-filter;
}

.content-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
    border-radius: 30px;
    background: linear-gradient(45deg, rgb(255, 241, 164), rgba(255, 241, 164, 0.3) 30.71%, rgba(255, 241, 164, 0) 50%), 
    linear-gradient(135deg, rgb(140, 220, 255), rgba(140, 220, 255, 0.3) 30.71%, rgba(140, 220, 255, 0) 50%), 
    linear-gradient(90deg, rgb(196, 102, 255) 30%, rgba(196, 102, 255, 0));
    
    transition-duration: 0.4s;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-property: opacity;
}

.content-card:hover {
    background-color: #88ffffc9;
    box-shadow: inset -4px -4px white, inset 4px 4px #ffffff, inset -4px 4px #ffffff, inset 4px -4px #ffffff, 0 0.3px 0.7px rgba(0, 0, 0, 0.126), 0 0.9px 1.7px rgba(0, 0, 0, 0.179), 0 1.8px 3.5px rgba(0, 0, 0, 0.224), 0 3.7px 7.3px rgba(0, 0, 0, 0.277), 0 10px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
}

.content-card:before:hover {
    opacity: 0.25
}

.content-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.copy-title {
    font-size: 73px;
    font-weight: 400;
    line-height: 98px;
    margin: 0;
    color: #f2f2f2;
}

.content-title .h2 {
    font-size: 48px;
    font-weight: 500;
    /* line-height: 98px; */
    margin: 10px 0;
    color: #921d1d;
    
    white-space: nowrap;
}

.content-information {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px;
}

.link-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin: 0 20px 0 20px;
    font-weight: 400;
    font-size: 24px;
}

.content-information a {
    color: #921d1d;
    margin: 10px 5px;
    font-size: 100%;
    cursor: pointer;
    text-decoration: none;
}

@media only screen and (max-width: 1020px) {
    #cubic-background {
        height: 100%;
        width: 100%;
        transform: scale(1.2);
        display: none;
        filter: blur(10px);
    }

    #cubic-background-mobile {
        height: 100%;
        width: auto;
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        filter: blur(10px);
    }

    #section-container {
        position: absolute;
        inset: 0;
        display: flex;
        /* backdrop-filter: blur(10px); */
        background: linear-gradient(135deg, rgb(200, 15, 25), rgba(200, 15, 25, 0.3) 30.71%, rgba(200, 15, 25, 0) 50%), 
        linear-gradient(225deg, rgb(53, 116, 233), rgba(53, 116, 233, 0.3) 30.71%, rgba(53, 116, 233, 0) 50%), 
        linear-gradient(180deg, rgb(255, 246, 120), rgb(255, 246, 120) 30%, rgba(255, 255, 255, 0));
    }

    #section-content-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 80px 20px 80px 20px;
        width: calc(100% - 40px);
        height: calc(100% - 160px);
        z-index: 10;
    }

    .title-card {
        width: 100%;
        height: auto;
        padding: 20px 0;
        /* backdrop-filter: blur(15px); */
        border-radius: 10px;
    }

    .content-title {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .copy-title {
        font-size: 48px;
        font-weight: 400;
        line-height: 60px;
        margin: 0;
        color: #f2f2f2;
    }

    .content-card {
        display: flex;
        flex-direction: column;
        position: relative;
        width: calc(100% - 40px);
        height: auto;
        padding: 20px;
        backdrop-filter: blur(15px);
        border-radius: 30px;
        margin-top: 1.5rem;
        background-color: #ffffffac;
        box-shadow: inset -1px -1px #ffffff, inset 1px 1px #ffffff, inset -1px 1px #ffffff, inset 1px -1px #ffffff, 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0), 0 0px 0px rgba(0, 0, 0, 0);
        
        transition-duration: 0.4s;
        transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
        transition-property: box-shadow, background-color, backdrop-filter;
    }

    .content-card:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 0.5;
        border-radius: 30px;
        background: linear-gradient(45deg, rgb(255, 241, 164), rgba(255, 241, 164, 0.3) 30.71%, rgba(255, 241, 164, 0) 50%), 
        linear-gradient(135deg, rgb(140, 220, 255), rgba(140, 220, 255, 0.3) 30.71%, rgba(140, 220, 255, 0) 50%), 
        linear-gradient(90deg, rgb(196, 102, 255) 30%, rgba(196, 102, 255, 0));
        
        transition-duration: 0.4s;
        transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
        transition-property: opacity;
    }

    .content-title {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .content-title .h2 {
        font-size: 36px;
        font-weight: 500;
        /* line-height: 98px; */
        margin: 10px 0;
        color: #921d1d;
        
        white-space: nowrap;
    }

    .content-information {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 10px;
    }

    .link-content {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin: 0 0 0 0;
        font-weight: 400;
        font-size: 24px;
    }

    .content-information a {
        color: #921d1d;
        margin: 10px 5px;
        font-size: 100%;
        cursor: pointer;
        text-decoration: none;
    }

    #mobile-header {
        display: inline;
        position: fixed;
        width: 100vw;
        /* background-color: white; */
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        z-index: 50;
        transform: translateY(0%);
        animation-duration: 1600ms;
        animation-delay: 0001ms;
        animation-timing-function: cubic-bezier(0.17, 0.17, 0.24, 1);
        animation-iteration-count: 1;
        animation-direction: normal;
        animation-fill-mode: forwards;
        animation-play-state: paused;
        animation-name: header-drop;
    }

    #mobile-header:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
        opacity: 1;
        background-color: rgba(255, 255, 255, 0);
        transition-duration: 0.4s;
        transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
        transition-property: opacity;
    }

}
