/*
Theme Name: Respawn
Theme URI: https://frvncois.com
Author: Frvncois
*/

@font-face {
    font-family: 'Bold';
    src: url('fonts/bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Light';
    src: url('fonts/light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Regular';
    src: url('fonts/regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


:root {
    --is-red: #DE2E13;
    --is-white: #F5F5F5;
    --is-gray: #F5F5F5;
    --is-dark: #2e2e2e;
} 

p, h1, h2, h3, h4, h5 {
    margin-block-start: 0;
    margin-block-end: 0;
}


body {
    background-color: var(--is-white);
    font-family: 'light';
    font-size:14px;
    margin: 0px;
}

h1 {
    font-family: 'regular';
    text-transform: uppercase;
    font-weight: normal;
}

h2 {
    font-family: 'regular';
    text-transform: uppercase;
    font-size:1rem;
    font-weight: 500;
}

h3 {
    font-family: 'regular';
    text-transform: uppercase;
    font-size:1rem;
    font-weight: 500;
}

p.is_big {
    font-size: 2rem;
    font-weight: 100;
}

p.is_bold {
    font-family: 'bold';
    width: 50%;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--is-dark);
    margin-bottom: 1rem;
}

.separator {
    width: 3rem;
    height: 0.125rem;
    background-color: currentColor;
}


/* ANIMATE ON SCROLL */


p {
    opacity: 0;
    transform: translateY(-1rem);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    will-change: opacity, transform;
}

p.in-view {
    opacity: 1;
    transform: translateY(0rem);
}


/* HEADER */


.header.is_wrap {
    display: flex;
    flex-direction: row;
    position: fixed;
    top: 0;
    left: 5vw;
    right: 5vw;
    width: 90vw;
    height: 8rem;
    z-index: 9;
    border-bottom: 1px solid var(--is-red);
    align-content: space-between;
    justify-content: space-between;
    align-items: center;
}

.header.is_logo {
    height: 5rem;
    width: auto;
}

.header.is_items {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    height: 5rem;
}

.header.is_items li{
    display: flex;
    font-family: 'regular';
    text-transform: uppercase;
}

.header.is_items a {
    text-decoration: none;
    color: currentColor;
}

.header.is_items .current_page_item {
    color: var(--is-red);
}


/* BUTTONS */


.button.is_card {
    font-family: 'regular';
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--is-red);
}

.button.is_card:after {
    content:'→';
    border-radius: 100%;
    padding: 1.5rem;
    border: solid 1px var(--is-red);
    margin-left: -1rem;
}

.button.is_down {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--is-red);
    height: 5rem;
    width: 5rem;
    border-radius: 100%;
    margin-left: auto;
}

.arrow.is_down {
    height: 1.5rem;
    width: 1.5rem;
}

.wpcf7-submit {
    font-family: 'regular';
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--is-red);
    background-color: none;
    border: none;
}


/* CONTAINERS */


.container {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
}


.content.is_wrap.is_full {
    height: 100vh;
    display: flex;
    justify-content: center;
}


.content.is_wrap {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
    margin: 5rem;

}

.content.is_inline {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    align-items: flex-start;
    position: relative;
    margin: 5rem;

}

.content.is_background {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.2;
}

.content.is_element {
    width: 75%;
    margin: auto;
}


/* PANEL */


.panel.is_left {
    width: 30%;
}

.panel.is_left.is_hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--is-red);
    overflow: hidden;
    position: sticky;
    top: 0;
    height: 100vh;
}

.panel.is_left.is_title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--is-red);
    overflow: hidden;
    position: sticky;
    top: 0;
    height: 100vh;
}

.panel.is_right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 70%;
}

.panel.is_right.is_content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    width: 70%;
    padding-top: 10rem;
}


/* CARDS */


.card.is_wrap {
    display: flex;
    flex-direction: column;
    margin-bottom: 3rem;
    flex: 1;
    position: relative;
    gap: 1.5rem;
}

.card.is_columns {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.card.is_cover {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card.is_title {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    color: var(--is-red);
}

.card.is_content {
    padding: 1rem;
}

.card.is_details {
    flex: 6;
}

.card.is_intro {
    flex: 4;
    font-family: 'bold';
}

.card.is_num {
    font-family: 'regular';
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 100%;
    border: 1px solid var(--is-red);
    color: var(--is-red);
    
}

.card.is_buttons {
    display: flex;
    justify-content: flex-end;
}


/* FOOTER */


.footer.is_cta {
    background-color: var(--is-red);
    color: var(--is-white);
    padding: 10rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer.is_wrap {
        display: flex;
        flex-direction: row;
        margin-left: 5vw;
        margin-right: 5vw;
        width: 90vw;
        height: 15rem;
        z-index: 9;
        align-content: space-between;
        justify-content: space-between;
        align-items: center;
}


/* RESPONSIVE */
@media (max-width: 970px) {
    .header.is_wrap {
        background-color: var(--is-white);
        width:100%;
        left: 0;
        right: 0;
    }
    .header.is_logo {
        padding-left: 2rem;
    }
    .header-menu {
        padding-right: 2rem;
    }
    .footer-menu {
        display: none;
    }
    .footer.is_wrap {
        justify-content: center;
        align-items: center;
    }
    .container {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    .panel.is_left.is_hero {
        width: 100vw;
        overflow: hidden;
        position: relative;
    }

    .panel.is_left.is_title {
        display: none;
    }

    .panel.is_right {
        width: 100vw;
    }

    .panel.is_right.is_content {
        width: 100vw;
    }

    .content.is_inline {
        flex-direction: column;
    }

    .card.is_columns {
        flex-direction: column;
    }
}