@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body {
    --brand-color: rgb(255, 111, 0);
    --background-primary: black;
    --background-secondary: rgb(33, 33, 33);
    --background-tertiary: rgb(70, 70, 70);
    --border-color: rgb(83, 83, 83);

    --font-header-size: 2.5rem;
    --font-subtitle-size: 1.2rem;


    min-height: 100vh;
    margin: 0;
    /* background: linear-gradient(120deg, #2a5298, #010f29); */
    /* background: linear-gradient(120deg, #e3e5e9, #9c9797); */
    background: linear-gradient(120deg, #000000, #171717);
    font-family: system-ui, sans-serif;
    overflow-x: hidden;

}

html,
body {
    /* font-family: system-ui; */
    /* overflow: hidden; */
    overflow-x: hidden;
    /* background: linear-gradient(120deg, #000000, #171717); */
    background-color: #000;
}

:root {
    background-color: #000;
}


.background {
    position: fixed;
}


.page_layout {
    width: 1300px;
    margin: 0 auto;
    position: relative;
    display: block;
    /* background-color: #8f0000; */
    padding-right: 50px;
    padding-left: 50px;
    /* height: 5rem; */

}

/* ------------------------------ */
/*              HEADER            */
/* ------------------------------ */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    margin-bottom: 1rem;
    /* background-color: #01194a; */
}

.header_logo {
    font-size: var(--font-header-size);
    font-weight: bold;
    color: white;
    display: flex;
}

#header_logo_bytes {
    color: var(--brand-color);
}

.navbar {
    display: flex;
    gap: 2.5rem;
}

.navbar a {
    text-decoration: none;
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    display: block;
}


/* ------------------------------ */
/*              BANNER            */
/* ------------------------------ */

.main_banner {
    height: calc(100vh - 100px - 2rem);
    max-height: 800px;
    min-height: 620px;
    display: flex;
    background: linear-gradient(120deg, #131313, #191919);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.banner_text {
    /* background-color: antiquewhite; */
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 20px;
}

.banner_text_side {
    padding-left: 20px;
}

.banner_text>div {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: flex-start;
}

.banner_text_title {
    font-size: 3.3rem;
    font-weight: bold;
    color: var(--brand-color);
    position: relative;
    z-index: 2;
    /* background-color: rgb(250, 211, 161); */
    width: fit-content;
}

.banner_image_side {
    flex: 0 0 57%;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #24008f; */
}

#banner_main_image {
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-10deg);
    width: 122%;
    max-width: 1100px;
    pointer-events: none;
    z-index: 1;
}

.banner_typewriter_messages {
    /* background-color: #24008f; */
    color: white;
    font-weight: bold;
    font-size: 20pt;
    width: 100%;
    /* margin-left: 2rem; */
    /* margin-top: 1.5rem; */
    /* padding-right: 2rem; */
    display: inline-block;
}

.cursor {
    font-weight: bold;
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.banner_contact_us {
    color: rgb(212, 212, 212);
    font-size: var(--font-subtitle-size);
    display: inline-block;
    border-radius: 1rem;
}

#banner_contact_us_arrow {
    padding-left: 0.5rem;
    display: inline-block;
    /* required for transform */
    transition: transform 0.9s ease;
    animation: arrow-swing 2.5s ease-in-out infinite alternate;
}

/* ------------------------------ */
/*              SNAKE             */
/* ------------------------------ */


.the_snake {
    position: relative;
    z-index: 0;
}

.snake_svg_wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    top: -12px;
    z-index: 0;
}

/* ------------------------------ */
/*              SNAKE             */
/* ------------------------------ */



.offering {
    position: absolute;
    color: white;
    width: 530px;
    height: 250px;
    overflow: visible;
    display: inline-block;

    border-radius: 30px;
    margin-top: 50px;
    /* background-color: red; */
    /* transform: scale(0.9);
    transition: transform 0.15s linear;
    will-change: transform; */

}

.offering-title {
    color: var(--brand-color);
    margin-left: 30px;
    margin-top: 20px;
    font-size: 30pt;
    font-weight: bold;
}

.offering-text {
    /* color: var(--brand-color); */
    margin-left: 30px;
    margin-top: 20px;
    font-size: 20pt;
    font-weight: bold;
}

.offering-learn-more {
    /* background-color: var(--background-tertiary); */
    color: rgb(179, 179, 179);
    font-size: var(--font-subtitle-size);
    margin-left: 2rem;
    margin-top: 2rem;
    /* padding: 1rem 2rem;  */
    /* padding-right: 2rem; */
    /* display: inline-block; */
    /* border-radius: 1rem;  */
}

#offering1 {
    left: 100px;
    top: 220px;
}

#offering2 {
    right: 70px;
    top: 480px;
}

#offering3 {
    left: 60px;
    top: 800px;
}

#snake_contact_us_arrow {
    padding-left: 0.5rem;
    display: inline-block;
    /* required for transform */
    transition: transform 0.9s ease;
    animation: arrow-swing 2.5s ease-in-out infinite alternate;
}

/* ------------------------------ */
/*          CONTACT US            */
/* ------------------------------ */


.do_you_have_any_questions {
    font-size: 20pt;
}

.contact_us_large_main {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
}

.contact_us_large_text {
    color: var(--brand-color);
    font-size: 60pt;
    font-weight: bold;
    text-decoration: none;
}

.contact_us_large_text a {
    text-decoration: none;
    color: var(--brand-color);
}
.contact_us_large_text a:hover {
    text-decoration: none;
    color: rgb(134, 58, 0);
}

.we_wont_byte {
    margin-top: 13px;
}

#contact_us_large_sign {
    width: 140px;
    transform-origin: 0% 75%;
    position: relative;
    top: -30px;
}

.contact_us_large {
    margin-top: 20px;
    color: rgb(195, 195, 195);
    width: 100%;
    text-align: center;
    /* font-size: 10pt; */
}

@keyframes signWobble {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(6deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

#contact_us_large_sign {
    animation: signWobble 2s ease-in-out infinite;
}



/* ------------------------------ */
/*            PROJECTS            */
/* ------------------------------ */

.projects {
    color: white;
}

.pineapple_title {
    font-size: 30pt;
}

.pineapple_side.left {
    flex: 0.3;
}

.pineapple_side.right {
    display: flex;
    flex-direction: column;
    height: 400px;
}

.pineapple {
    width: 100%;
    height: 1000px;
    position: relative;
    display: flex;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
}

.pineapple_row {
    width: 100%;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    gap: 2rem;
}

.pineapple_side {
    flex: 1;
    /* height: 300px; */
    background: rgba(0, 0, 0, 0.05);
}

.pineapple_wrapper {
    position: relative;
    width: 400px;
    height: 600px;
    overflow: hidden;
    flex-shrink: 0;
    /* IMPORTANT */
}

#pineapple_top_wrapper {
    position: absolute;
    bottom: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-top: 2px solid orange;
}

#pineapple_bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
}

#pineapple_top {
    width: 100%;
}

.pineapple_info {
    margin-top: auto;
    flex: 1;
    display: flex;
    /* align-items: flex-start; */
    align-items: center;
}

.take_a_look_projects_arrow {
    padding-top: 10px;
    padding-left: 0.5rem;
    display: inline-block;
    transition: transform 0.9s ease;
    animation: arrow-swing-down 2.5s ease-in-out infinite alternate;
}

.pineapple_info_hover_toast {
    color: rgb(139, 139, 139);
    width: 100%;
}

.arrow-swing-left {
    display: inline-block;
    transition: transform 0.9s ease;
    animation: arrow-swing-left 2.5s ease-in-out infinite alternate;
}

@keyframes arrow-swing-down {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes arrow-swing-left {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}









@keyframes arrow-swing {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }

    /* move right */
    100% {
        transform: translateX(0);
    }

    /* back to original */
}





@media only screen and (max-width: 1400px) {
    .page_layout {
        width: 1200px;
        /* background-color: red; */
    }

    #offering1 {
        left: 90px;
        top: 190px;
    }

    #offering2 {
        right: 40px;
        top: 430px;
    }

    #offering3 {
        left: 60px;
        top: 720px;
    }

}

@media only screen and (max-width: 1300px) {
    .page_layout {
        width: 1100px;
    }

    #offering1 {
        left: 60px;
        top: 160px;
    }

    #offering2 {
        right: 30px;
        top: 370px;
    }

    #offering3 {
        left: 55px;
        top: 660px;
    }

}

@media only screen and (max-width: 1200px) {
    .page_layout {
        width: 1000px;
    }

    #offering1 {
        left: 60px;
        top: 130px;
    }

    #offering2 {
        right: 5px;
        top: 330px;
    }

    #offering3 {
        left: 45px;
        top: 590px;
    }
}

@media only screen and (max-width: 1100px) {
    .page_layout {
        width: 900px;
    }

    #offering1 {
        left: 40px;
        top: 100px;
    }

    #offering2 {
        right: -15px;
        top: 280px;
    }

    #offering3 {
        left: 25px;
        top: 510px;
    }
}


@media only screen and (max-width: 500px) {
    .page_layout {
        width: 90vw;
        padding-right: 0px;
        padding-left: 0px;
    }

    #offering1 {
        left: 0px;
        top: 0px;
    }

    #offering2 {
        right: 0px;
        top: 0px;
    }

    #offering3 {
        left: 0px;
        top: 0px;
    }

    .banner_text {
        padding-left: 0px;
        flex: 0 0 100%;
    }

    .banner_text_side {
        padding: 10px;
    }

    .banner_text_title {
        justify-content: center;
        text-align: center;
    }

    .banner_typewriter_messages {
        display: flex;
        /* justify-content: center; */
        align-items: center;
        display: flex;
        width: 100%;
        height: 3rem;
    }

    .banner_typewriter_messages p {
        width: 100%;
        /* IMPORTANT */
        margin: 0;
        line-height: 1.2;
        text-align: center;
        /* centers typing */
    }

    .banner_image_side {
        /* visibility: none; */
        display: none;
    }

    .snake_svg_wrapper svg {
        /* visibility: none; */
        display: none;
    }

    .header {
        position: relative;
        /* Crucial for absolute positioning of the nav */
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        color: white;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        padding: 1rem;
        display: none;
        z-index: 1000;
    }
    
    .navbar.active {
        display: flex;
        background-color: rgb(42, 42, 42);
    }

    .navbar a {
        color: white;
        text-decoration: none;
        padding: 10px 0;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        background: none;
        border: none;
        gap: 5px;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
        font-size: 0;
    }

    .offering {
        display: inline-block;
        position: relative;
        left: 0px;
        right: 0px;
        top: 0px;
        background: linear-gradient(120deg, #131313, #191919);
        width: 100%;
        height: fit-content;
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .the_snake {
        width: 100%;
        padding: 0px;
    }

    .contact_us_large {
        gap: 1.2rem;
        margin-top: 60px;
    }
    .do_you_have_any_questions {
        font-size: 15pt;
        margin-bottom: 20px;
    }
    .contact_us_large_text {
        font-size: 30pt;
    }
    #contact_us_large_sign {
        width: 50px;
        transform-origin: 0% 75%;
        position: relative;
        top: -10px;     
        left: -15px;  
    }
    .take_a_look_projects {
        margin-top: 20px;

    }
    .projects {
        display: none;
    }
    .take_a_look_projects {
        display: none;
    }
    .take_a_look_projects_arrow {
        display: none;
    }
}