/* Font Faces */
@font-face {
    font-family: "Red Hat Display";
    src: url('fonts/RedHatDisplay.woff2') format('woff2');
}

@font-face {
    font-family: "Red Hat Text";
    src: url('fonts/RedHatText.woff2') format('woff2');
}

@font-face {
    font-family: 'Carentro';
    src: url('fonts/carentro-webfont.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-Regular.woff2') format('woff2');
}

/* General Body Styles */
html,
body{
    position: relative;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
}

h1, h3 {
    margin: 0;
    padding: 0;
}

.panel {
    top: 0;
    position: sticky;
    position: -webkit-sticky;
}

@media (max-width:90em) {
    .panel{
        top: 0;
        position: initial;
    }
}

/* Header */
header {
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 999;
    background-color: #262B35;
    margin-left: auto;
    margin-right: auto;
}

.site-logo img {
    transition: 0.15s ease-in;
    height: 4rem;
    transition: height 0.3s ease;
}

.site-logo img:hover {
    filter: brightness(0.5);
}

.compact-logo img{
    transition: 0.15s ease-in;
    opacity: 0;
}

.compact-logo img:hover {
    filter: brightness(0.5);
}

.header--container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-left: 6.25rem;
    margin-right: 6.25rem;
}

@media (max-width: 80em) {
    .header--container {
        margin-left: 3rem;
        margin-right: 3rem;
    }
}

.header--spacing {
    width: 5.125rem;
    color: transparent;
    user-select: none;
}

.site-branding {
    /* padding-top: 0.5rem; */
    max-width: 28.95rem;
    height: auto;
    position: relative;
}

#compact-logo img{
    width: 20rem;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translate(-50%,0);
    top: 0;
}

#compact-logo {
    /* display: none; */
}

.header--container{

}

/* Header animation */

.show-compact-logo #site-logo img{
    /* display: none; */
    opacity: 0;
    height:1rem;
}

.show-compact-logo .header--container{

}

.show-compact-logo #compact-logo img {
    /* display: block; */
    opacity: 1;
}

/* .header--container{
    transition: margin-bottom 0.33s ease;
}

.show-compact-logo .header--container{
    margin-bottom: 0rem;
} */

/*  */

.header svg {
    padding-left: 2rem;
}

@media (max-width: 48em) {
    .site-branding {
        padding-top: 0rem;
    }

    .header--container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .header--spacing {
        display: none;
    }

    .header--container {
        margin-left: 2rem;
        margin-right: 2rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .site-logo img {
        width: 14rem;
    }

    #compact-logo img{
        width: 14rem;
    }
}

/* Buttons */
.button-type-B-white {
    display: block;
    box-sizing: border-box;
    padding: 1rem 2rem;
    min-width: 12.5rem;
    background: rgba(48, 53, 63, 0.45);
    color: #F6F7F7;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid #F6F7F7;
    font-family: "Montserrat";
    font-size: 1rem;
    letter-spacing: 2.56px;
    font-weight: 500;
    white-space: nowrap;
}

.button-type-B-white:hover {
    color: #000000;
    text-decoration: none;
    background: #F6F7F7;
    border: 1px solid #F6F7F7;
}

@media (max-width: 48em) {
    .button-type-B-white {
        padding: 0.5rem 1rem;
    }
}