/*@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400&family=Montserrat:wght@200&display=swap');*/

@font-face {
    font-family: 'chakrapetch';
    src: url('https://webbudata.com/static/fonts/Chakra_Petch/ChakraPetch-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --contentwidth: 50%;
    --contentwidthwider1: 60%;
    --contentwidthwider2: 70%;
    --contentwidthmobile: 95%;
    --sp_fonts_lang: 'chakrapetch', 'Comfortaa', 'Montserrat', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}

html {
    width: 100%;
    height: 300%;  /* using 200% so that the gradient doesnt end abruptly if there is scrolling */
    font-family: var(--sp_fonts);
    /*background: linear-gradient(90deg, #4b6cb7 0%, #182848 100%);*/
    background-color: #8EC5FC;
    background-image: linear-gradient(62deg, #8EC5FC 0%, #E0C3FC 100%);

    color: black;
}

body {
    margin: 0px;
}

#top_bar {
    background: rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0px;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

#top_bar_inner {
    width: var(--contentwidth);
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
}


h1 {
    font-size: 40px;
    margin-top: 0px;
    margin-bottom: 0px;
}


h3 {
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 5px;
}

h4 {
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 5px;
}

input {
    display: block;
    font-family: var(--sp_fonts);
}

a:visited {
    color: black;
}

#user_msg {
    width: 100%;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
    color: black;
    background-color: #FBDF00;
    border-radius: 5px 5px 5px 5px;
    text-align: center;
}

#parent_content_div {
    height: 2000px;
    width: 100%;
}

.content_div {
    margin-bottom: 50px;
    width: var(--contentwidth);
    margin-left: auto;
    margin-right: auto;
}

.content_div_wide {
    margin-bottom: 50px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#content_div_1 {
    padding-top: 0px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 10px;
}


.quote {
    font-style: italic;
}

.bigger_text {
    font-weight: bold;
    font-size: 20px;
}

.webbu_link {
    color: white;
}

.webbu_link:visited {
    color: white;
}

#last_text {
    margin-top: 50px;
}

#content_div_2 {
    display: flex;
}

#content_div_2b {
    text-align: center;
    margin-bottom: 100px;
}

#left_div {
    flex:1;
}

#right_div {
    flex: 2;
}

#video_div {
    margin-left: auto;
    margin-right: auto;
}

#video_iframe {
    border-radius: 10px;
    width: 100%;
    height: 315px;
    max-width: 100%;
}

#github_image {
    max-height: 24px;
}

#subscribe_div {
    margin-top: 50px;
}

.a_no_style {
    text-decoration: none;
    color: white;
}

.a_no_style:visited {
    text-decoration: none;
    color: white;
}

.app_div {
    background-color: #FCDF03;
    background-image: linear-gradient(180deg, #FCDF03 0%, #fce642 100%);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 40px;
    min-height: 300px;
}

.app_div_desc {
    font-size: 19px;
}

.app_div_link_container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px
}


@media screen and (max-width: 1600px) {

    .content_div {
        width: var(--contentwidthwider1);
        padding-top: 20px;
        padding-left: 10px;
        padding-right: 10px;
        margin-left: auto;
        margin-right: auto;
    }

}

@media screen and (max-width: 1300px) {

    .content_div {
        width: var(--contentwidthwider2);
    }

}

/* Mobile ------------------------------------------- */
@media screen and (max-width: 900px) {


    h3 {
        font-size: 26px;
        margin-top: 10px;
        margin-bottom: 20px;
    }

    body {
        margin: 0px;
    }

    #top_bar {
        margin-bottom: 10px;
    }

    #user_msg {
        width: 80%;
    }

    #parent_content_div {
        width: 100%;
    }

    .content_div {
        width: var(--contentwidthmobile);
        padding-top: 20px;
        padding-left: 5px;
        padding-right: 5px;
        margin-left: 0px;
        margin-right: 0px;
    }

    #content_div_1 {
        padding-left: 5px;
        padding-right: 5px;
    }

    #content_div_2 {
        flex-direction: column; /* on top of each other instead of side by side */
    }

    #video_iframe {
        border-radius: 10px;
        height: 400px;
    }

    .app_div {
        min-height: 380px;
    }

    .app_div_link_container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 20px
    }
}


