/* colors */
:root {
    --color-main: #fff;
    --color-primary: #EB7659;
    --color-text: #201E1F;
    --color-text-light: #544F51;
}

/* General sections */

body {
    font-family: 'Inter','Roboto', sans-serif;
    padding:0px;
    margin:0px;
    max-width:100vw;
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right bottom, #ebf6fe, #f9effd, #ebf6fe);    
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px;
}

@font-face {
    font-family: 'Inter';
    font-display: auto;
    src: url('Inter-Variable.ttf');
}


/* Frontpage */
h1 {
    font-size: 3.3rem;
    font-weight: 700;
    color: #222244;
    letter-spacing: 1px;
}

#top_part {
    display: flex;
    flex-direction: row;
    left: 0px;
    width: 100vw;
}

#top_part p {
    font-size: 1.3rem;
}

.exact_half {
    width: 50vw;
    overflow: hidden;
}

/* img positioning */
#mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}

#mockup img {
    width: 300px;
}

img#laptop_mockup {
    width: 85%;
    margin-right: 15%;
    margin-top: calc(100% - 40vw);
    z-index: -5;
}

img#phone_mockup {
    position: absolute;
    right: 5%;
    width: 10%;
    transform: translateY(-10%);
    z-index: -3;
}



/* Sections */

.section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.split_section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    max-width: 1200px;
}

.split_section div, img {
    width: 50%;
    margin: 20px;
}

.full_size {
    height: 100vh;
    max-width: 100vw;
    overflow: hidden;
}

.half_size {
    max-width: 600px;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.section p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.3;
    font-weight: 400;
}

.center_content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}



/* UI Elements */

.mobile {
    display: none;
}

@media only screen and (max-width: 768px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }
}

a {
    color: #201E1F;
}

button {
    padding: 15px 30px;
    background: #222;
    border: 2px solid #222;
    border-radius: 10px;
    transition: all 0.2s;
    color: #fff;
    border: 0px;
    font-size: 1.1em;
    margin: 10px 20px;
    cursor: pointer;
    filter: drop-shadow(15px 10px 20px rgba(68, 68, 221, 0));
}

button.light {
    background: transparent;
    border: 2px solid #222;
    color: #222;
}

button:hover {
    background: #111;
    color: #fff;
    filter: drop-shadow(15px 10px 20px rgba(68, 68, 221, 0.4));
}

button.light:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
}

button i {
    margin-right: 20px;
}

button.align-left {
    margin-left: 0px;
}

input[type=text],input[type=email],textarea {
    border-radius: 10px;
    border: 0px solid #999;
    background: #f2f2f2;
    padding: 10px;
    width: 100%;
    font-size: 1.2rem;
    margin-top: 5px;
    box-sizing: border-box;
    resize: none;
}

.success {
    color: #2ecc71;
}

.error {
    color: #cc362e;
}


/* navigation bar */
nav {
    position: fixed;
    background: rgba(255, 255, 255, 0); /* White with a little transparency */
    left: 0;
    top: 0;
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0); /* Little shadow at the bottom */
    backdrop-filter: blur(10px); /* Blur effect */
    transition: all 0.3s;
    z-index: 100;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9); /* White with a little transparency */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07); /* Little shadow at the bottom */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    padding: 0 20px; /* Add some padding on the sides */
}

.project-name,.project-name a {
    flex: 1;
    font-size: 1.5rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 40px; /* Space between links */
    align-items: center;
    font-size: 1.1rem;
}

nav a {
    text-decoration: none;
    color: #222233;
}

.link-border {
    border: 1px solid #555;
    border-radius: 5px;
    padding: 4px 7px;
    transition: all 0.2s;
}

.link-border:hover {
    background: #223;
    color: #fff;
    border: 1px solid #223;
}

.hamburger_icon {
    display: none;
    cursor: pointer;
}







/* extern ============================= */
.center_textblock {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 600px;
    max-width: 100vw;
    margin-top: 100px;
    margin-bottom: 100px;
}


/* vor hier */
.align_top {
    align-items: flex-start;
}

button.small {
    padding: 15px 20px;
    margin-left: 0px;
    margin-top: 30px;
    font-size: 1rem;
}


.feature_list_icon {
    font-size: 2rem;
    border-radius: 100px;
    background: #fff;
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* feature grid */

.colorful_section {
    border-radius: 10px;
    margin: 10px;
    padding: 30px;
    background: #fff;
    color: #353535;
    line-height: 1.8;    
}

.colorful_section i {
    font-size: 1rem;
    color: #2079df;
    background: #ebf4fd;
    padding: 15px;
    margin-right: 15px;
    border-radius: 100px;
}

.colorful_section h4 {
    margin: 0px;
    font-size: 1.6rem;
    color: #233456;
}

.colorful_section ul {
    padding-left: 30px;
}

.grid_layout {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
    border-radius: 20px;
}

.grid-column {
    display: flex;
    flex-direction: column;

}

.grid_layout > div {
    flex: 1 1 150px;
}


/* Rockettiles & Plans */
.page_half .bold-section {
    background: #fff;
    color: #353535;
    width: 400px;
    padding: 30px;
    border-radius: 20px;
    line-height: 1.8;
    box-sizing: border-box;
}

.bold-section h4 {
    margin: 0px;
    font-size: 1.6rem;
    color: #233456;
}


.bold-section i {
    font-size: 1rem;
    color: #2079df;
    background: #ebf4fd;
    padding: 15px;
    margin-right: 15px;
    border-radius: 100px;
}
.colorful_section ul {
    padding-left: 30px;
}

#contact-form {
    width: 100%;
    padding: 0px;
}

#contact-form .form-group {
    width: 100%;
    padding: 0px;
    margin: 0px;
    margin-top: 10px;
}


/* Background */

.blur-dot {
    position: absolute;
    filter: blur(500px);
    width: 600px;
    height: 600px;
    left: -100px;
    bottom: -50px;
    background: rgba(255, 133, 82, 0.2);
    z-index: -10;
    border-radius: 100%;
}

.blur-dot2 {
    position: absolute;
    filter: blur(500px);
    width: 600px;
    height: 600px;
    right: -100px;
    top: -50px;
    background: rgba(0, 109, 119, 0.2);
    z-index: -10;
    border-radius: 100%;
}

.h3 {
    font-size: 3rem;
    font-weight: 600;
    color: #222244;
}



/* Footer */

#footer {
    background: #222;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100vw;
    color: #fff;
    padding: 30px;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    max-width: 1300px;
    padding: 0 20px; /* Add some padding on the sides */
    box-sizing: border-box;
}

#footer div div {
    margin: 30px 100px;
}

#footer a {
    color: #fff;
    text-decoration: none;
}

#footer div div a {
    display: flex;
    flex-direction: column;
    margin: 10px;
}








/* mobile ================================ */



@media only screen and (max-width: 768px) {

    /* navigation bar */

    nav.scrolled {
        background: rgba(255, 255, 255, 0.9); /* White with a little transparency */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07); /* Little shadow at the bottom */
    }
    
    .hamburger_icon {
        display: block;
        position: fixed;
        right: 35px;
        top: 20px;
        padding: 15px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding-top: 160px;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.9); /* White with a little transparency */
        backdrop-filter: blur(10px); /* Blur effect */
        z-index: -100;
    }

    .nav-links a {
        margin-left: 40px;
    }

    .nav-content {
        align-items: flex-start;
        width: 100%;
        padding: 0 20px; /* Add some padding on the sides */
        flex-direction: column;
    }


    /* frontpage */
    .exact_half {
        width: 100vw;
        overflow: hidden;
    }
    #top_part {
        padding-top: 100px;
        flex-direction: column;
        text-align: center;
    }

    img#laptop_mockup {
        position: absolute;
        width: 120%;
        left: -50%;
        margin-top: 20px;
        z-index: -5;
        transform: translateY(60%);
    }

    img#phone_mockup {
        position: absolute;
        right: 5%;
        width: 40%;
        z-index: -3;
        transform: translateY(60%);
    }


    /* font-size */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.6rem;
    }
    .colorful_section h4 {
        font-size: 1.3rem;
    }
    h4 {
        font-size: 1.3rem;
    }



    /* sections */

    
    .section {
        margin: 10px 0px;
        padding: 20px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .split_section {
        flex-direction: column;
    }
    
    .split_section div, img {
        width: 100%;
        margin: 20px;
    }


    /* advantages */
    .align_top {
        align-items: center;
    }

    .feature_list_icon {
        font-size: 1.2rem;
        border-radius: 100px;
        width: 3rem;
        height: 3rem;
    }



    /* feature grid mobile */
    .grid_layout {
        flex-direction: column;
    }


    .reverse-flex {
        flex-direction: column-reverse;
    }

    .colorful_section {
        padding: 15px;
        margin: 10px -5px;
    }

    .bold-section {
        padding: 15px;
        margin: 10px;
    }

    /* Rockettiles kachel */
    .page_half .bold-section {
        padding: 20px;
        width: 100%;
    }


    /* Kontakt */
    form div.form-group {
        margin: 20px 0px;
    }



    /* Footer */
    #footer {
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    #footer div div {
        margin: 30px 30px;
    }

}
