@charset "UTF-8";

/* Load Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');


:root {
    --bs-body-font-size: 16pt;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
}


*,
*::before,
*::after {
  box-sizing: border-box;
}


html{
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: var(--bs-body-font-size);
    
}

body {
    background-color: rgb(244, 244, 244);
    font-family: 'Barlow', sans-serif;
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    padding: 0 1.5rem;
    margin: 0 auto;
    max-width: 1100px;
}

nav p{
    color: rgb(104, 104, 104);
    margin: 0;
}

ul {
    margin: 0;
}

li {
    line-height: 1.2;
    margin-bottom: .8rem;
}

#parallax-background {
    height: 40vh;
    background-image: url('../static/images/test.png'); /* Set your background image */
    background-attachment: fixed; /* Important for parallax */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#content {
    padding: 20px;
}

a:link{
    color: blue;
    text-decoration: none;
}

a:active{
    color: darkblue;
}

a:hover{
    color: red;
}


header {
    padding-top: 2rem;
    border: 0px solid black;
}


main {
    padding-top: 1em;
    line-height: 1.5em;
    padding-bottom: 2rem;
}

footer {
    padding: 0;
    color: darkslategrey;
    padding-bottom: 2rem;
}

footer p {
    padding: 0;
    margin: 0;
}


main hr {
    border: none;
    border-top: 2px dotted #000;
}

table, th, td {
    text-align: left;
    border: 1px solid;
    border-collapse: collapse;
    padding: 5px 10px 5px 10px;
}



h1{
    font-size: 1.6rem;
    color : black;
    line-height: 1;
    font-weight: 700;
}

h2{
    font-size: 1.2rem;
    margin: 0;
    color : black;
    line-height:1;
    font-weight: bold;
}

h3{
    font-size: 1.1rem;
    margin-top: 1rem;
    margin-bottom: .5rem;
    color : black;
    font-weight: bold;
}

p em, li em{
    font-weight: bold;
    font-style: normal;
}



.image_placeholder {
    display: flex;
    background: rgb(44, 17, 17);
    color:rgb(241, 241, 241);
    justify-content: center;
    align-items: center;
}

/* Flashcard Styling  */
#flashcardContainer button {
    margin: 3px;
    padding: 2px 7px;
    font-size: .7em;
}

#flashcard{
    display: flex;
    justify-content: center;
    align-items: center;
}

#flashcard_text{
    padding: 0;
    border: 0px solid orange;
    font-weight: bold;
    color: black;
    font-family: "Comic Sans MS", "Comic Sans",'Comic Neue', Arial; /* Helvetica,
    Arial, Sans-Serif;*/
    border: 0px dashed red; 
}

#flashcard_nav {
    display: flex;
    justify-content: space-between;
    border: 0px red solid;
}

#flashcard_nav p {
    margin: 0;
    padding: 0;
}

#cardPosition {
    display: inline-block;
}


.docs, .tools {
    color: rgb(58, 39, 39);
}

.bold {
    font-weight: bold;
}

.code {
    width: 100%;
    min-height: 8rem;
    background-color: lightgray;
    border: 1px solid black;
    padding: 1rem 0;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    overflow-x: scroll;
    font-size: .7rem;
}

#codeInfo {
    margin: 0 auto;
    font-size: 10pt;
}


/* Phone Screen  */
@media screen and (max-width: 600px){
    :root {
    --bs-body-font-size: 14pt;
    }
    
    #flashcard{
        align-content: center;
        width: 95%;
        height: 0;
        padding-bottom: 60%;
        border: 6px solid rgb(74, 74, 255);
        border-radius: 15px;
        background: rgb(241, 241, 241);
        margin-bottom: 10px;
    }

    #flashcard_output {
        border: 0px solid green;
        width: 90%;
    }

    #flashcard_text{
        font-size: 3.3em;
        margin-top: 80%; /* fixes height offset if #flashcard */
    }

    .image_placeholder {
        height: 240px;
        border: 0px yellow solid;
    }

    #contact{
        display: block;
    }

    #header_container h1 {
        margin: 1;
    }

}


/* Desktop Screen  */
@media screen and (min-width: 600px){
    body {
        width: 80%;
        padding: 0;
    }


    #flashcard{
        align-content: center;
        width: 455px;
        height: 280px;
        padding:0;
        border: 8px solid rgb(74, 74, 255);
        border-radius: 15px;
        background: rgb(241, 241, 241);
        margin-bottom: 10px;
    }

    #flashcard_output {
        border: 0px solid green;
        width: 470px;
    }

    #flashcard_text{
        font-size: 4.5em;
    }

    #header_container{
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        border: 0px solid red;

    }

    #header_container h1 {
        margin: 0;
    }

    #header_container h2 {
        text-align: left;
        border: 0px solid red;
    }

    .image_placeholder {
        height: 600px;
        border: 0px green solid;
    }

    .image_placeholder p {
        font-size: 1.6rem;
    }

    #contact{
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        border: 0px solid red;
        margin-right: .5em;
    }
}


