@import "normal.css";
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100;200;300;400;500;600;700;800;900&family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    --backgroundC:white;
    --darkBackground:#303B5B;
    --textC:#303b5b;
    --textCs:#d8f2f3;
    --purple: #9c6fd8;
    --pink: #eac6f2;
    scroll-behavior: smooth;
}

::selection {
    color: --textC;
    background: var(--textCs);
}

html{
    scroll-behavior: smooth;
}

body{
    background-color:var(--backgroundC);
    color: var(--textC);
    font-size: 1.25rem;
    /*font-family: 'Raleway', sans-serif;*/
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: auto;
}

.container{
    margin: auto;
    padding-bottom: 2rem;
    width: 80%;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Heebo", sans-serif;
    text-align: center;
}

/* .back-to-top-link {
    display: inline-block;
    text-decoration: none;
    font-size: 2rem;
    line-height: 3rem;
    text-align: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--darkBackground);
    emoji don't behave like regular fonts
       so this helped position it correctly
    padding: .5rem .25rem 0 0.25rem;
    color: white;
    position: absolute;
    right: 0;
    bottom: 5%;
  } */
/* .back-to-top-link:hover{
    background-color: #d8f2f3;
    color: var(--textC);
} */
/* .back-to-top-wrapper {
    position: sticky;
    bottom: 5%;
} */

.back-to-top-wrapper{
    position: sticky;
    bottom: 5%;
    right:5rem;
    height: 100%;
}

.top-button{
    position: relative;
    left: 40%;
    padding: 1rem 1.5rem;
    border-radius: 100%;
}

/* .back-to-top-wrapper:before{
    content: '';
    display: block;
    height: 100vh;
    pointer-events: none;
} */

/* .back-to-top-wrapper a{
    position: sticky;
    top: 88vh;
    cursor: pointer;
    font-size: 20px;
} */

p{
    max-width: 75ch;
    margin: auto;
    padding-bottom: 1rem;
    line-height: 1.5;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

figcaption{
    text-align: center;
}

a{
    color: var(--purple);
    text-decoration: none;
}

a:hover{
    color: var(--textCs);
}

ul, li{
    margin: auto;
    max-width: 65ch;
    line-height: 1.5;
}
ul{
    padding-right:1rem;
}

@media (max-width: 775px){
    pre{
        font-size: 75%;
    }
}

pre{
    background-color: var(--purple);
    color: white;
    padding: 2.5rem;
    border-radius: 25px;
    width: fit-content;
    margin: auto;
}

.ul-hide{
    list-style: none;
    padding: 0;
}


footer{
    text-align: center;
    color: var(--textC);
    margin: auto;
    padding-bottom: 2rem;
}

button{
    background-color: var(--textC);
    border: none;
    display: block;
    padding: 1rem;
    margin: 1rem auto;
    border-radius: 25px;
    color: var(--textCs);
}

button:hover{
    background-color: var(--textCs);
    color: var(--textC);
    cursor: pointer;
}

.className h1{
    text-align: left;
    margin-left: 10%;
    margin-bottom: .25rem;
}

.anButton{
    padding: 1rem 2rem;
    margin: 0;
}

.button, .links{
    width: fit-content;
}

.buttonCenter{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    margin-bottom: 1rem;
}

img, video{
    width: 100%;
    max-width: 50rem;
    display: inline-block;
    text-align: center;
    margin: 1rem auto;
    display: block;
    border: 5px solid var(--purple);
    border-radius: 10px;
}

.smallerIMG{
    width: 10rem;
}

.flexItem{
    flex: 1 0 25%;
    margin: 5px;
}
.flexIMG{
    display: flex;
    flex-flow: wrap;
}


.section{
    padding-top: 1rem;
}

.section li{
    padding-top: .5rem;
}

iframe{
    display: block;
    margin: auto;
}

.center{
    margin: auto;
    text-align: center;
}