/* 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');


/* Phone Screen  */
@media screen and (max-width: 600px){
    #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){
    #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: 2rem;
    }

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

}


html{
    height: 100%;
}

body {
    background-color: rgb(244, 244, 244);
    border: 0px solid black;
    font: 400 21px 'Barlow', sans-serif;
    margin-top:0;
    margin: 1em auto;
    width: 80%;
    max-width: 1100px;
}

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




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

a:active{
    color: darkblue;
}

a:hover{
    color: red;
}


header {
    padding-top: 1em;
    border: 0px solid black;
}


main {
    padding-top: 1em;
    border: 0px solid red;
    line-height: 1.5em;
}

footer {
    border: 0px solid yellow;
    color: darkslategrey;
}

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{
    color : black;
    line-height: 1;
    font-weight: 700;
}

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

h3{
    margin-top: 1em;
    color : black;
    font-weight: 500;
    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);
}
